local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "VLK"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.Parent = playerGui
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 200, 0, 200)
mainFrame.Position = UDim2.new(0.5, -100, 0.5, -100)
mainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(0, 255, 150)
stroke.Thickness = 2
stroke.Parent = mainFrame
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 0)
corner.Parent = mainFrame
local glow = Instance.new("ImageLabel")
glow.Name = "Glow"
glow.Size = UDim2.new(1, 40, 1, 40)
glow.Position = UDim2.new(0, -20, 0, -20)
glow.BackgroundTransparency = 1
glow.Image = "rbxassetid://131604521"
glow.ImageColor3 = Color3.fromRGB(0, 255, 150)
glow.ImageTransparency = 0.8
glow.ScaleType = Enum.ScaleType.Slice
glow.SliceCenter = Rect.new(10, 10, 118, 118)
glow.Parent = mainFrame
local titleText = Instance.new("TextLabel")
titleText.Name = "Title"
titleText.Size = UDim2.new(1, 0, 0, 30)
titleText.Position = UDim2.new(0, 0, 0, 10)
titleText.BackgroundTransparency = 1
titleText.Text = "VLK"
titleText.TextColor3 = Color3.fromRGB(0, 255, 150)
titleText.TextSize = 24
titleText.Font = Enum.Font.GothamBold
titleText.TextXAlignment = Enum.TextXAlignment.Center
titleText.Parent = mainFrame
local statusLabel = Instance.new("TextLabel")
statusLabel.Name = "Status"
statusLabel.Size = UDim2.new(1, -20, 0, 20)
statusLabel.Position = UDim2.new(0, 10, 0, 45)
statusLabel.BackgroundTransparency = 1
statusLabel.Text = "Status: Inactive"
statusLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
statusLabel.TextSize = 12
statusLabel.Font = Enum.Font.Gotham
statusLabel.TextXAlignment = Enum.TextXAlignment.Center
statusLabel.Parent = mainFrame
local activateBtn = Instance.new("TextButton")
activateBtn.Name = "ActivateBtn"
activateBtn.Size = UDim2.new(0, 160, 0, 50)
activateBtn.Position = UDim2.new(0.5, -80, 0, 110)
activateBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 150)
activateBtn.Text = "ACTIVATE"
activateBtn.TextColor3 = Color3.fromRGB(10, 10, 10)
activateBtn.TextSize = 18
activateBtn.Font = Enum.Font.GothamBold
activateBtn.Parent = mainFrame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 0)
btnCorner.Parent = activateBtn
local btnStroke = Instance.new("UIStroke")
btnStroke.Color = Color3.fromRGB(0, 255, 150)
btnStroke.Thickness = 1
btnStroke.Parent = activateBtn
local closeBtn = Instance.new("TextButton")
closeBtn.Name = "Close"
closeBtn.Size = UDim2.new(0, 20, 0, 20)
closeBtn.Position = UDim2.new(1, -25, 0, 5)
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
closeBtn.Text = "×"
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.TextSize = 14
closeBtn.Font = Enum.Font.GothamBold
closeBtn.Parent = mainFrame
local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 0)
closeCorner.Parent = closeBtn
local isDragging = false
local dragStart = nil
local startPos = nil
local isActive = false
local activeConnection = nil
titleText.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
isDragging = true
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
isDragging = false
end
end)
end
end)
UserInputService.InputChanged:Connect(function(input)
if isDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStart
mainFrame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
closeBtn.MouseButton1Click:Connect(function()
screenGui:Destroy()
if activeConnection then
activeConnection:Disconnect()
activeConnection = nil
end
isActive = false
end)
activateBtn.MouseEnter:Connect(function()
TweenService:Create(activateBtn, TweenInfo.new(0.2), {
BackgroundColor3 = Color3.fromRGB(0, 200, 120)
}):Play()
end)
activateBtn.MouseLeave:Connect(function()
if not isActive then
TweenService:Create(activateBtn, TweenInfo.new(0.2), {
BackgroundColor3 = Color3.fromRGB(0, 255, 150)
}):Play()
end
end)
activateBtn.MouseButton1Click:Connect(function()
if not isActive then
isActive = true
activateBtn.Text = "DEACTIVATE"
activateBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
activateBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
statusLabel.Text = "Status: Active"
statusLabel.TextColor3 = Color3.fromRGB(0, 255, 150)
activeConnection = game:GetService("RunService").Heartbeat:Connect(function()
if not isActive then return end
local args = {
[1] = "AllyJuggernaut"
}
pcall(function()
ReplicatedStorage.RemoteEvents.SolderInventory.SellSoldierEvent:FireServer(unpack(args))
end)
task.wait()
end)
else
isActive = false
activateBtn.Text = "ACTIVATE"
activateBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 150)
activateBtn.TextColor3 = Color3.fromRGB(10, 10, 10)
statusLabel.Text = "Status: Inactive"
statusLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
if activeConnection then
activeConnection:Disconnect()
activeConnection = nil
end
end
end)
activateBtn.MouseButton1Down:Connect(function()
TweenService:Create(activateBtn, TweenInfo.new(0.1), {
Size = UDim2.new(0, 155, 0, 48),
Position = UDim2.new(0.5, -77.5, 0, 111)
}):Play()
end)
activateBtn.MouseButton1Up:Connect(function()
TweenService:Create(activateBtn, TweenInfo.new(0.1), {
Size = UDim2.new(0, 160, 0, 50),
Position = UDim2.new(0.5, -80, 0, 110)
}):Play()
end)
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and input.KeyCode == Enum.KeyCode.RightShift then
mainFrame.Visible = not mainFrame.Visible
end
end)Get unlimited money instantly in Base vs Waves with this simple and effective script. Farm cash faster, unlock upgrades easily, and progress without grinding. Lightweight, smooth, and fully keyless for both mobile and PC.
No comments yet. Be the first to comment!
1local Players = game:GetService("Players")
2local ReplicatedStorage = game:GetService("ReplicatedStorage")
3local TweenService = game:GetService("TweenService")
4local UserInputService = game:GetService("UserInputService")
5
6local player = Players.LocalPlayer
7local playerGui = player:WaitForChild("PlayerGui")
8
9local screenGui = Instance.new("ScreenGui")
10screenGui.Name = "VLK"
11screenGui.ResetOnSpawn = false
12screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
13screenGui.Parent = playerGui
14
15local mainFrame = Instance.new("Frame")
16mainFrame.Name = "MainFrame"
17mainFrame.Size = UDim2.new(0, 200, 0, 200)
18mainFrame.Position = UDim2.new(0.5, -100, 0.5, -100)
19mainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
20mainFrame.BorderSizePixel = 0
21mainFrame.Parent = screenGui
22
23local stroke = Instance.new("UIStroke")
24stroke.Color = Color3.fromRGB(0, 255, 150)
25stroke.Thickness = 2
26stroke.Parent = mainFrame
27
28local corner = Instance.new("UICorner")
29corner.CornerRadius = UDim.new(0, 0)
30corner.Parent = mainFrame
31
32local glow = Instance.new("ImageLabel")
33glow.Name = "Glow"
34glow.Size = UDim2.new(1, 40, 1, 40)
35glow.Position = UDim2.new(0, -20, 0, -20)
36glow.BackgroundTransparency = 1
37glow.Image = "rbxassetid://131604521"
38glow.ImageColor3 = Color3.fromRGB(0, 255, 150)
39glow.ImageTransparency = 0.8
40glow.ScaleType = Enum.ScaleType.Slice
41glow.SliceCenter = Rect.new(10, 10, 118, 118)
42glow.Parent = mainFrame
43
44local titleText = Instance.new("TextLabel")
45titleText.Name = "Title"
46titleText.Size = UDim2.new(1, 0, 0, 30)
47titleText.Position = UDim2.new(0, 0, 0, 10)
48titleText.BackgroundTransparency = 1
49titleText.Text = "VLK"
50titleText.TextColor3 = Color3.fromRGB(0, 255, 150)
51titleText.TextSize = 24
52titleText.Font = Enum.Font.GothamBold
53titleText.TextXAlignment = Enum.TextXAlignment.Center
54titleText.Parent = mainFrame
55
56local statusLabel = Instance.new("TextLabel")
57statusLabel.Name = "Status"
58statusLabel.Size = UDim2.new(1, -20, 0, 20)
59statusLabel.Position = UDim2.new(0, 10, 0, 45)
60statusLabel.BackgroundTransparency = 1
61statusLabel.Text = "Status: Inactive"
62statusLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
63statusLabel.TextSize = 12
64statusLabel.Font = Enum.Font.Gotham
65statusLabel.TextXAlignment = Enum.TextXAlignment.Center
66statusLabel.Parent = mainFrame
67
68local activateBtn = Instance.new("TextButton")
69activateBtn.Name = "ActivateBtn"
70activateBtn.Size = UDim2.new(0, 160, 0, 50)
71activateBtn.Position = UDim2.new(0.5, -80, 0, 110)
72activateBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 150)
73activateBtn.Text = "ACTIVATE"
74activateBtn.TextColor3 = Color3.fromRGB(10, 10, 10)
75activateBtn.TextSize = 18
76activateBtn.Font = Enum.Font.GothamBold
77activateBtn.Parent = mainFrame
78
79local btnCorner = Instance.new("UICorner")
80btnCorner.CornerRadius = UDim.new(0, 0)
81btnCorner.Parent = activateBtn
82
83local btnStroke = Instance.new("UIStroke")
84btnStroke.Color = Color3.fromRGB(0, 255, 150)
85btnStroke.Thickness = 1
86btnStroke.Parent = activateBtn
87
88local closeBtn = Instance.new("TextButton")
89closeBtn.Name = "Close"
90closeBtn.Size = UDim2.new(0, 20, 0, 20)
91closeBtn.Position = UDim2.new(1, -25, 0, 5)
92closeBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
93closeBtn.Text = "×"
94closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
95closeBtn.TextSize = 14
96closeBtn.Font = Enum.Font.GothamBold
97closeBtn.Parent = mainFrame
98
99local closeCorner = Instance.new("UICorner")
100closeCorner.CornerRadius = UDim.new(0, 0)
101closeCorner.Parent = closeBtn
102
103local isDragging = false
104local dragStart = nil
105local startPos = nil
106local isActive = false
107local activeConnection = nil
108
109titleText.InputBegan:Connect(function(input)
110 if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
111 isDragging = true
112 dragStart = input.Position
113 startPos = mainFrame.Position
114
115 input.Changed:Connect(function()
116 if input.UserInputState == Enum.UserInputState.End then
117 isDragging = false
118 end
119 end)
120 end
121end)
122
123UserInputService.InputChanged:Connect(function(input)
124 if isDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
125 local delta = input.Position - dragStart
126 mainFrame.Position = UDim2.new(
127 startPos.X.Scale,
128 startPos.X.Offset + delta.X,
129 startPos.Y.Scale,
130 startPos.Y.Offset + delta.Y
131 )
132 end
133end)
134
135closeBtn.MouseButton1Click:Connect(function()
136 screenGui:Destroy()
137 if activeConnection then
138 activeConnection:Disconnect()
139 activeConnection = nil
140 end
141 isActive = false
142end)
143
144activateBtn.MouseEnter:Connect(function()
145 TweenService:Create(activateBtn, TweenInfo.new(0.2), {
146 BackgroundColor3 = Color3.fromRGB(0, 200, 120)
147 }):Play()
148end)
149
150activateBtn.MouseLeave:Connect(function()
151 if not isActive then
152 TweenService:Create(activateBtn, TweenInfo.new(0.2), {
153 BackgroundColor3 = Color3.fromRGB(0, 255, 150)
154 }):Play()
155 end
156end)
157
158activateBtn.MouseButton1Click:Connect(function()
159 if not isActive then
160 isActive = true
161 activateBtn.Text = "DEACTIVATE"
162 activateBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
163 activateBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
164 statusLabel.Text = "Status: Active"
165 statusLabel.TextColor3 = Color3.fromRGB(0, 255, 150)
166
167 activeConnection = game:GetService("RunService").Heartbeat:Connect(function()
168 if not isActive then return end
169
170 local args = {
171 [1] = "AllyJuggernaut"
172 }
173
174 pcall(function()
175 ReplicatedStorage.RemoteEvents.SolderInventory.SellSoldierEvent:FireServer(unpack(args))
176 end)
177
178 task.wait()
179 end)
180
181 else
182 isActive = false
183 activateBtn.Text = "ACTIVATE"
184 activateBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 150)
185 activateBtn.TextColor3 = Color3.fromRGB(10, 10, 10)
186 statusLabel.Text = "Status: Inactive"
187 statusLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
188
189 if activeConnection then
190 activeConnection:Disconnect()
191 activeConnection = nil
192 end
193 end
194end)
195
196activateBtn.MouseButton1Down:Connect(function()
197 TweenService:Create(activateBtn, TweenInfo.new(0.1), {
198 Size = UDim2.new(0, 155, 0, 48),
199 Position = UDim2.new(0.5, -77.5, 0, 111)
200 }):Play()
201end)
202
203activateBtn.MouseButton1Up:Connect(function()
204 TweenService:Create(activateBtn, TweenInfo.new(0.1), {
205 Size = UDim2.new(0, 160, 0, 50),
206 Position = UDim2.new(0.5, -80, 0, 110)
207 }):Play()
208end)
209
210UserInputService.InputBegan:Connect(function(input, gameProcessed)
211 if not gameProcessed and input.KeyCode == Enum.KeyCode.RightShift then
212 mainFrame.Visible = not mainFrame.Visible
213 end
214end)