local Players = game:GetService("Players")
local player = Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "👻 Ghost Troll Slap tower"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 250, 0, 300)
frame.Position = UDim2.new(0.5, -125, 0.35, -80)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
frame.BackgroundTransparency = 0.1
frame.Active = true
frame.Draggable = true
frame.Parent = gui
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 40)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
title.BackgroundTransparency = 0.3
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextScaled = true
title.Font = Enum.Font.GothamBold
title.Text = "👻 Ghost Troll Slap tower Script"
title.Parent = frame
local slapButton = Instance.new("TextButton")
slapButton.Size = UDim2.new(0, 200, 0, 50)
slapButton.Position = UDim2.new(0.5, -100, 0, 50)
slapButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
slapButton.TextColor3 = Color3.fromRGB(255, 255, 255)
slapButton.TextScaled = true
slapButton.Font = Enum.Font.GothamBold
slapButton.Text = "Get OP Slap"
slapButton.Parent = frame
local winButton = Instance.new("TextButton")
winButton.Size = UDim2.new(0, 200, 0, 50)
winButton.Position = UDim2.new(0.5, -100, 0, 110)
winButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
winButton.TextColor3 = Color3.fromRGB(255, 255, 255)
winButton.TextScaled = true
winButton.Font = Enum.Font.GothamBold
winButton.Text = "Auto Win : OFF"
winButton.Parent = frame
local diamondButton = Instance.new("TextButton")
diamondButton.Size = UDim2.new(0, 200, 0, 50)
diamondButton.Position = UDim2.new(0.5, -100, 0, 170)
diamondButton.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
diamondButton.TextColor3 = Color3.fromRGB(255, 255, 255)
diamondButton.TextScaled = true
diamondButton.Font = Enum.Font.GothamBold
diamondButton.Text = "Auto Get Diamond : OFF"
diamondButton.Parent = frame
local noclipButton = Instance.new("TextButton")
noclipButton.Size = UDim2.new(0, 200, 0, 50)
noclipButton.Position = UDim2.new(0.5, -100, 0, 230)
noclipButton.BackgroundColor3 = Color3.fromRGB(170, 0, 170)
noclipButton.TextColor3 = Color3.fromRGB(255, 255, 255)
noclipButton.TextScaled = true
noclipButton.Font = Enum.Font.GothamBold
noclipButton.Text = "Noclip : OFF"
noclipButton.Parent = frame
local opSlapCFrame = CFrame.new(-111.214, 485.613, 131.393)
local winCFrame = CFrame.new(-113.150, 482.493, 105.854)
local diamondCFrame = CFrame.new(-112.739, 482.478, 118.422)
local autoWin = false
local autoDiamond = false
local noclip = false
slapButton.MouseButton1Click:Connect(function()
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
hrp.CFrame = opSlapCFrame
end)
winButton.MouseButton1Click:Connect(function()
autoWin = not autoWin
if autoWin then
winButton.Text = "Auto Win : ON"
winButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
task.spawn(function()
while autoWin do
local char = player.Character
if char and char:FindFirstChild("HumanoidRootPart") then
char.HumanoidRootPart.CFrame = winCFrame
end
task.wait(0.3)
end
end)
else
winButton.Text = "Auto Win : OFF"
winButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
end
end)
diamondButton.MouseButton1Click:Connect(function()
autoDiamond = not autoDiamond
if autoDiamond then
diamondButton.Text = "Auto Get Diamond : ON"
diamondButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
task.spawn(function()
while autoDiamond do
local char = player.Character
if char and char:FindFirstChild("HumanoidRootPart") then
char.HumanoidRootPart.CFrame = diamondCFrame
end
task.wait(0.3)
end
end)
else
diamondButton.Text = "Auto Get Diamond : OFF"
diamondButton.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
end
end)
noclipButton.MouseButton1Click:Connect(function()
noclip = not noclip
if noclip then
noclipButton.Text = "Noclip : ON"
noclipButton.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
task.spawn(function()
while noclip do
local char = player.Character
if char then
for _, part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end
task.wait(0.1)
end
end)
else
noclipButton.Text = "Noclip : OFF"
noclipButton.BackgroundColor3 = Color3.fromRGB(170, 0, 170)
local char = player.Character
if char then
for _, part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = true
end
end
end
end
end)
Comments
No comments yet
Be the first to share your thoughts!