Testing Lab
Analyzing: Nuke Free No key Script
120
Lines
--
Functions
--
Security
--
Performance
--
Quality
--
Issues
Source Code
120 lines
1
local ReplicatedStorage = game:GetService("ReplicatedStorage")
2
local CoreGui = game:GetService("CoreGui")
3
local Players = game:GetService("Players")
4
local UserInputService = game:GetService("UserInputService")
5
local remote = ReplicatedStorage:WaitForChild("RE"):WaitForChild("FireMissile")
6
7
-- Staroe hehee
8
if CoreGui:FindFirstChild("NukeSystem") then CoreGui.NukeSystem:Destroy() end
9
10
local screenGui = Instance.new("ScreenGui")
11
screenGui.Name = "NukeSystem"
12
screenGui.Parent = CoreGui
13
screenGui.IgnoreGuiInset = true
14
15
-- Settings artillery
16
local ammoTypes = {"Nuke", "Artillery Barrage", "Light Artillery", "Heavy Artillery"}
17
local currentAmmoIndex = 1
18
19
-- ???????? ????????? (BUBAAA)
20
local mainFrame = Instance.new("Frame")
21
mainFrame.Size = UDim2.new(0, 200, 0, 150)
22
mainFrame.Position = UDim2.new(0.5, -100, 0.2, 0)
23
mainFrame.BackgroundTransparency = 1
24
mainFrame.Parent = screenGui
25
26
-- ?????? ?????
27
local button = Instance.new("TextButton")
28
button.Size = UDim2.new(1, 0, 0, 60)
29
button.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
30
button.BorderSizePixel = 2
31
button.Text = "????: ????"
32
button.TextColor3 = Color3.fromRGB(255, 255, 255)
33
button.Font = Enum.Font.RobotoMono
34
button.TextSize = 20
35
button.Parent = mainFrame
36
37
-- ?????? ?????? ???????
38
local selectButton = Instance.new("TextButton")
39
selectButton.Size = UDim2.new(1, 0, 0, 40)
40
selectButton.Position = UDim2.new(0, 0, 0, 65)
41
selectButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
42
selectButton.Text = "??????? ???"
43
selectButton.TextColor3 = Color3.fromRGB(255, 255, 0)
44
selectButton.Font = Enum.Font.RobotoMono
45
selectButton.TextSize = 16
46
selectButton.Parent = mainFrame
47
48
-- ????? ? ??????? ????????
49
local ammoLabel = Instance.new("TextLabel")
50
ammoLabel.Size = UDim2.new(1, 0, 0, 30)
51
ammoLabel.Position = UDim2.new(0, 0, 0, 110)
52
ammoLabel.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
53
ammoLabel.BackgroundTransparency = 0.3
54
ammoLabel.Text = "???: " .. ammoTypes[currentAmmoIndex]
55
ammoLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
56
ammoLabel.Font = Enum.Font.RobotoMono
57
ammoLabel.TextSize = 14
58
ammoLabel.Parent = mainFrame
59
60
--- ?????? ?????????????? (?????? ?? mainFrame) ---
61
local dragging, dragInput, dragStart, startPos
62
mainFrame.InputBegan:Connect(function(input)
63
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
64
dragging = true
65
dragStart = input.Position
66
startPos = mainFrame.Position
67
end
68
end)
69
UserInputService.InputChanged:Connect(function(input)
70
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
71
local delta = input.Position - dragStart
72
mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
73
end
74
end)
75
UserInputService.InputEnded:Connect(function(input)
76
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end
77
end)
78
79
--- ?????? ?????? artillery ---
80
selectButton.MouseButton1Click:Connect(function()
81
currentAmmoIndex = currentAmmoIndex + 1
82
if currentAmmoIndex > #ammoTypes then currentAmmoIndex = 1 end
83
ammoLabel.Text = "???: " .. ammoTypes[currentAmmoIndex]
84
end)
85
86
--- ?????? artillery ---
87
local isNuking = false
88
local lp = Players.LocalPlayer
89
90
button.MouseButton1Click:Connect(function()
91
isNuking = not isNuking
92
if isNuking then
93
button.Text = "????: on"
94
button.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
95
96
task.spawn(function()
97
while isNuking do
98
local char = lp.Character
99
local root = char and char:FindFirstChild("HumanoidRootPart")
100
if root then
101
local p = root.Position
102
for i = 1, 30 do
103
if not isNuking then break end
104
local targetPos = vector.create(
105
p.X + math.random(-150, 150),
106
p.Y - 5,
107
p.Z + math.random(-150, 150)
108
)
109
-- ?????????? ????????? ??? ???????
110
remote:FireServer(ammoTypes[currentAmmoIndex], targetPos)
111
end
112
end
113
task.wait(0.05)
114
end
115
end)
116
else
117
button.Text = "????: off"
118
button.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
119
end
120
end)
Ready to Analyze
Click "Run Analysis" to scan the script for issues
Security Analysis
Run analysis to see security details
Performance Analysis
Run analysis to see performance metrics
Code Quality
Run analysis to see quality metrics
Code Metrics
Run analysis to see detailed metrics
Dependencies
Run analysis to detect dependencies
Console Output
Analysis logs will appear here
Running comprehensive analysis...
Copied!