-- script for 'Gear Troll Tower' local EzGui = Instance.new("ScreenGui") local TextLabel = Instance.new("TextLabel") local Frame = Instance.new("Frame") local TextButton = Instance.new("TextButton") local UICorner = Instance.new("UICorner") local UIStroke = Instance.new("UIStroke") local TextButton_2 = Instance.new("TextButton") local UICorner_2 = Instance.new("UICorner") local UIStroke_2 = Instance.new("UIStroke") local TextButton_3 = Instance.new("TextButton") local UICorner_3 = Instance.new("UICorner") local UIStroke_3 = Instance.new("UIStroke") local TextButton_4 = Instance.new("TextButton") local UICorner_4 = Instance.new("UICorner") local UIStroke_4 = Instance.new("UIStroke") local TextButton_5 = Instance.new("TextButton") local UICorner_5 = Instance.new("UICorner") local UIStroke_5 = Instance.new("UIStroke") local TextButton_6 = Instance.new("TextButton") local UICorner_6 = Instance.new("UICorner") local UIStroke_6 = Instance.new("UIStroke") local UIListLayout = Instance.new("UIListLayout") local TextButton_7 = Instance.new("TextButton") local UICorner_7 = Instance.new("UICorner") local UIStroke_7 = Instance.new("UIStroke") local TextButton_8 = Instance.new("TextButton") local UICorner_8 = Instance.new("UICorner") local UIStroke_8 = Instance.new("UIStroke") local TextButton_9 = Instance.new("TextButton") local UICorner_9 = Instance.new("UICorner") local UIStroke_9 = Instance.new("UIStroke") local TextButton_10 = Instance.new("TextButton") local UICorner_10 = Instance.new("UICorner") local UIStroke_10 = Instance.new("UIStroke") local TextButton_11 = Instance.new("TextButton") local UICorner_11 = Instance.new("UICorner") local UIStroke_11 = Instance.new("UIStroke") local TextButton_12 = Instance.new("TextButton") local UICorner_12 = Instance.new("UICorner") local UIStroke_12 = Instance.new("UIStroke") local TextButton_13 = Instance.new("TextButton") local UICorner_13 = Instance.new("UICorner") local UIStroke_13 = Instance.new("UIStroke") EzGui.Name = "Ez Gui" EzGui.Parent = game.CoreGui TextLabel.Parent = EzGui TextLabel.BackgroundColor3 = Color3.fromRGB(18, 15, 45) TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0) TextLabel.BorderSizePixel = 0 TextLabel.Position = UDim2.new(0.0532407425, 0, 0.384313732, 0) TextLabel.Size = UDim2.new(0, 297, 0, 26) TextLabel.ZIndex = 2 TextLabel.Font = Enum.Font.Roboto TextLabel.Text = "Gear Troll Tower" TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel.TextSize = 14.000 TextLabel.TextWrapped = true Frame.Parent = TextLabel Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Frame.BorderColor3 = Color3.fromRGB(13, 13, 13) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(-0.00103646738, 0, 1, 0) Frame.Size = UDim2.new(1, 0, -0.00361985434, 273) TextButton.Parent = Frame TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton.BackgroundTransparency = 1.000 TextButton.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton.Size = UDim2.new(0, 145, 0, 23) TextButton.Font = Enum.Font.Arial TextButton.Text = "Get Time-Bomb" TextButton.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton.TextSize = 14.000 TextButton.TextWrapped = true UICorner.CornerRadius = UDim.new(0, 4) UICorner.Parent = TextButton UIStroke.Parent = TextButton UIStroke.Color = Color3.fromRGB(255, 255, 255) UIStroke.Transparency = 0.700 UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_2.Parent = Frame TextButton_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_2.BackgroundTransparency = 1.000 TextButton_2.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_2.Position = UDim2.new(0.515050173, 0, 0, 0) TextButton_2.Size = UDim2.new(0, 145, 0, 23) TextButton_2.Font = Enum.Font.Arial TextButton_2.Text = "Get Gigant Slap" TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_2.TextSize = 14.000 TextButton_2.TextWrapped = true UICorner_2.CornerRadius = UDim.new(0, 4) UICorner_2.Parent = TextButton_2 UIStroke_2.Parent = TextButton_2 UIStroke_2.Color = Color3.fromRGB(255, 255, 255) UIStroke_2.Transparency = 0.700 UIStroke_2.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_3.Parent = Frame TextButton_3.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_3.BackgroundTransparency = 1.000 TextButton_3.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_3.Position = UDim2.new(0, 0, 0.089201875, 0) TextButton_3.Size = UDim2.new(0, 145, 0, 23) TextButton_3.Font = Enum.Font.Arial TextButton_3.Text = "Get God Slap" TextButton_3.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_3.TextSize = 14.000 TextButton_3.TextWrapped = true UICorner_3.CornerRadius = UDim.new(0, 4) UICorner_3.Parent = TextButton_3 UIStroke_3.Parent = TextButton_3 UIStroke_3.Color = Color3.fromRGB(255, 255, 255) UIStroke_3.Transparency = 0.700 UIStroke_3.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_4.Parent = Frame TextButton_4.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_4.BackgroundTransparency = 1.000 TextButton_4.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_4.Position = UDim2.new(0.515050173, 0, 0.089201875, 0) TextButton_4.Size = UDim2.new(0, 145, 0, 23) TextButton_4.Font = Enum.Font.Arial TextButton_4.Text = "Get Group Slap" TextButton_4.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_4.TextSize = 14.000 TextButton_4.TextWrapped = true UICorner_4.CornerRadius = UDim.new(0, 4) UICorner_4.Parent = TextButton_4 UIStroke_4.Parent = TextButton_4 UIStroke_4.Color = Color3.fromRGB(255, 255, 255) UIStroke_4.Transparency = 0.700 UIStroke_4.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_5.Parent = Frame TextButton_5.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_5.BackgroundTransparency = 1.000 TextButton_5.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_5.Position = UDim2.new(0, 0, 0.17840375, 0) TextButton_5.Size = UDim2.new(0, 145, 0, 23) TextButton_5.Font = Enum.Font.Arial TextButton_5.Text = "Get Fire Slap" TextButton_5.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_5.TextSize = 14.000 TextButton_5.TextWrapped = true UICorner_5.CornerRadius = UDim.new(0, 4) UICorner_5.Parent = TextButton_5 UIStroke_5.Parent = TextButton_5 UIStroke_5.Color = Color3.fromRGB(255, 255, 255) UIStroke_5.Transparency = 0.700 UIStroke_5.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_6.Parent = Frame TextButton_6.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_6.BackgroundTransparency = 1.000 TextButton_6.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_6.Position = UDim2.new(0, 0, 0.539906085, 0) TextButton_6.Size = UDim2.new(0, 145, 0, 23) TextButton_6.Font = Enum.Font.Arial TextButton_6.Text = "Get Group Slap" TextButton_6.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_6.TextSize = 14.000 TextButton_6.TextWrapped = true UICorner_6.CornerRadius = UDim.new(0, 4) UICorner_6.Parent = TextButton_6 UIStroke_6.Parent = TextButton_6 UIStroke_6.Color = Color3.fromRGB(255, 255, 255) UIStroke_6.Transparency = 0.700 UIStroke_6.ApplyStrokeMode = Enum.ApplyStrokeMode.Border UIListLayout.Parent = Frame UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 7) UIListLayout.Wraps = true TextButton_7.Parent = Frame TextButton_7.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_7.BackgroundTransparency = 1.000 TextButton_7.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_7.Position = UDim2.new(0.515050173, 0, 0.17840375, 0) TextButton_7.Size = UDim2.new(0, 145, 0, 23) TextButton_7.Font = Enum.Font.Arial TextButton_7.Text = "Get Thanos Glove" TextButton_7.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_7.TextSize = 14.000 TextButton_7.TextWrapped = true UICorner_7.CornerRadius = UDim.new(0, 4) UICorner_7.Parent = TextButton_7 UIStroke_7.Parent = TextButton_7 UIStroke_7.Color = Color3.fromRGB(255, 255, 255) UIStroke_7.Transparency = 0.700 UIStroke_7.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_8.Parent = Frame TextButton_8.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_8.BackgroundTransparency = 1.000 TextButton_8.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_8.Position = UDim2.new(0.515050173, 0, 0.17840375, 0) TextButton_8.Size = UDim2.new(0, 145, 0, 23) TextButton_8.Font = Enum.Font.Arial TextButton_8.Text = "Farm Money OFF" TextButton_8.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_8.TextSize = 14.000 TextButton_8.TextWrapped = true UICorner_8.CornerRadius = UDim.new(0, 4) UICorner_8.Parent = TextButton_8 UIStroke_8.Parent = TextButton_8 UIStroke_8.Color = Color3.fromRGB(255, 255, 255) UIStroke_8.Transparency = 0.700 UIStroke_8.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_9.Parent = Frame TextButton_9.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_9.BackgroundTransparency = 1.000 TextButton_9.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_9.Position = UDim2.new(0.515050173, 0, 0.17840375, 0) TextButton_9.Size = UDim2.new(0, 145, 0, 23) TextButton_9.Font = Enum.Font.Arial TextButton_9.Text = "Bypass math door OFF" TextButton_9.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_9.TextSize = 14.000 TextButton_9.TextWrapped = true UICorner_9.CornerRadius = UDim.new(0, 4) UICorner_9.Parent = TextButton_9 UIStroke_9.Parent = TextButton_9 UIStroke_9.Color = Color3.fromRGB(255, 255, 255) UIStroke_9.Transparency = 0.700 UIStroke_9.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_10.Parent = Frame TextButton_10.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_10.BackgroundTransparency = 1.000 TextButton_10.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_10.Position = UDim2.new(0.515050173, 0, 0.17840375, 0) TextButton_10.Size = UDim2.new(0, 145, 0, 23) TextButton_10.Font = Enum.Font.Arial TextButton_10.Text = "Auto Bomb Transfer OFF" TextButton_10.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_10.TextSize = 14.000 TextButton_10.TextWrapped = true UICorner_10.CornerRadius = UDim.new(0, 4) UICorner_10.Parent = TextButton_10 UIStroke_10.Parent = TextButton_10 UIStroke_10.Color = Color3.fromRGB(255, 255, 255) UIStroke_10.Transparency = 0.700 UIStroke_10.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_11.Parent = Frame TextButton_11.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_11.BackgroundTransparency = 1.000 TextButton_11.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_11.Position = UDim2.new(0.515050173, 0, 0.17840375, 0) TextButton_11.Size = UDim2.new(0, 145, 0, 23) TextButton_11.Font = Enum.Font.Arial TextButton_11.Text = "Rainbow Trail OFF" TextButton_11.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_11.TextSize = 14.000 TextButton_11.TextWrapped = true UICorner_11.CornerRadius = UDim.new(0, 4) UICorner_11.Parent = TextButton_11 UIStroke_11.Parent = TextButton_11 UIStroke_11.Color = Color3.fromRGB(255, 255, 255) UIStroke_11.Transparency = 0.700 UIStroke_11.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_12.Parent = Frame TextButton_12.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_12.BackgroundTransparency = 1.000 TextButton_12.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_12.Position = UDim2.new(0.515050173, 0, 0.17840375, 0) TextButton_12.Size = UDim2.new(0, 145, 0, 23) TextButton_12.Font = Enum.Font.Arial TextButton_12.Text = "Attempt to Get All Daily" TextButton_12.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_12.TextSize = 14.000 TextButton_12.TextWrapped = true UICorner_12.CornerRadius = UDim.new(0, 4) UICorner_12.Parent = TextButton_12 UIStroke_12.Parent = TextButton_12 UIStroke_12.Color = Color3.fromRGB(255, 255, 255) UIStroke_12.Transparency = 0.700 UIStroke_12.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton_13.Parent = Frame TextButton_13.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextButton_13.BackgroundTransparency = 1.000 TextButton_13.BorderColor3 = Color3.fromRGB(13, 13, 13) TextButton_13.Position = UDim2.new(0.515050173, 0, 0.17840375, 0) TextButton_13.Size = UDim2.new(0, 145, 0, 23) TextButton_13.Font = Enum.Font.Arial TextButton_13.Text = "Get all Buyable item" TextButton_13.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton_13.TextSize = 14.000 TextButton_13.TextWrapped = true UICorner_13.CornerRadius = UDim.new(0, 4) UICorner_13.Parent = TextButton_13 UIStroke_13.Parent = TextButton_13 UIStroke_13.Color = Color3.fromRGB(255, 255, 255) UIStroke_13.Transparency = 0.700 UIStroke_13.ApplyStrokeMode = Enum.ApplyStrokeMode.Border local function XWRQU_script() local script = Instance.new('LocalScript', TextButton) script.Parent.MouseButton1Click:Connect(function() local root = game.Players.LocalPlayer.Character.HumanoidRootPart local oldPos = root.Position root.CFrame = CFrame.new(253, -76, 0) wait(0.3) root.CFrame = CFrame.new(oldPos) end) end coroutine.wrap(XWRQU_script)() local function DCSI_script() local script = Instance.new('LocalScript', TextButton_2) script.Parent.MouseButton1Click:Connect(function() local root = game.Players.LocalPlayer.Character.HumanoidRootPart local oldPos = root.Position root.CFrame = CFrame.new(22, -188, 181) wait(0.3) root.CFrame = CFrame.new(oldPos) end) end coroutine.wrap(DCSI_script)() local function GSAIO_script() local script = Instance.new('LocalScript', TextButton_3) script.Parent.MouseButton1Click:Connect(function() local root = game.Players.LocalPlayer.Character.HumanoidRootPart local oldPos = root.Position root.CFrame = CFrame.new(-16, -287, -61) wait(0.3) root.CFrame = CFrame.new(oldPos) end) end coroutine.wrap(GSAIO_script)() local function ODHB_script() local script = Instance.new('LocalScript', TextButton_4) script.Parent.MouseButton1Click:Connect(function() local root = game.Players.LocalPlayer.Character.HumanoidRootPart local oldPos = root.Position root.CFrame = CFrame.new(17, -287, -27) wait(0.3) root.CFrame = CFrame.new(oldPos) end) end coroutine.wrap(ODHB_script)() local function INMQP_script() local script = Instance.new('LocalScript', TextButton_5) script.Parent.MouseButton1Click:Connect(function() local root = game.Players.LocalPlayer.Character.HumanoidRootPart local oldPos = root.Position root.CFrame = CFrame.new(-44, -310, 111) wait(0.3) root.CFrame = CFrame.new(oldPos) end) end coroutine.wrap(INMQP_script)() local function OCTAB_script() local script = Instance.new('LocalScript', TextButton_6) script.Parent.MouseButton1Click:Connect(function() local root = game.Players.LocalPlayer.Character.HumanoidRootPart local oldPos = root.Position root.CFrame = CFrame.new(17, -287, -27) wait(0.3) root.CFrame = CFrame.new(oldPos) end) end coroutine.wrap(OCTAB_script)() local function XIWWUGW_script() local script = Instance.new('LocalScript', TextButton_7) script.Parent.MouseButton1Click:Connect(function() local root = game.Players.LocalPlayer.Character.HumanoidRootPart local oldPos = root.Position root.CFrame = CFrame.new(-16, 99, 74) wait(0.3) root.CFrame = CFrame.new(oldPos) end) end coroutine.wrap(XIWWUGW_script)() local function IRUSY_script() local script = Instance.new('LocalScript', TextButton_8) local farming = false local oldPos = nil local connection = nil script.Parent.MouseButton1Click:Connect(function() farming = not farming if farming then local root = game.Players.LocalPlayer.Character.HumanoidRootPart oldPos = root.Position connection = game:GetService("RunService").Heartbeat:Connect(function() game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-81, -13, 880) end) script.Parent.Text = "Farm Money ON" else if connection then connection:Disconnect() end if oldPos then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(oldPos) end script.Parent.Text = "Farm Money OFF" end end) end coroutine.wrap(IRUSY_script)() local function CQSXG_script() local script = Instance.new('LocalScript', TextButton_9) local bypassing = false local door = nil script.Parent.MouseButton1Click:Connect(function() bypassing = not bypassing if bypassing then for _, part in pairs(workspace:GetChildren()) do if part:IsA("BasePart") and part.Name == "Door" then door = part break end end if door then door.Transparency = 1 door.CanCollide = false script.Parent.Text = "Bypass math door ON" else bypassing = false end else if door then door.Transparency = 0 door.CanCollide = true door = nil end script.Parent.Text = "Bypass math door OFF" end end) game:GetService("RunService").Heartbeat:Connect(function() if bypassing and door then door.Transparency = 1 door.CanCollide = false end end) end coroutine.wrap(CQSXG_script)() local function HVLQWOC_script() local script = Instance.new('LocalScript', Frame) local function UnlockHardTower() local player = game.Players.LocalPlayer local hardTowerValue = player:FindFirstChild("HardTowerUnlocked") if hardTowerValue and hardTowerValue:IsA("BoolValue") then hardTowerValue.Value = true end end UnlockHardTower() end coroutine.wrap(HVLQWOC_script)() local function FUXH_script() local script = Instance.new('LocalScript', TextButton_10) local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local enabled = false local rotating = false local oldPos = nil local connection = nil local usedPlayers = {} local function getRandomPlayer() local availablePlayers = {} for _, p in pairs(Players:GetPlayers()) do if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") and not usedPlayers[p] then table.insert(availablePlayers, p) end end if #availablePlayers == 0 then usedPlayers = {} return getRandomPlayer() end local randomPlayer = availablePlayers[math.random(1, #availablePlayers)] usedPlayers[randomPlayer] = true return randomPlayer end local function toggle() enabled = not enabled if enabled then script.Parent.Text = "Auto Bomb Transfer ON" usedPlayers = {} else script.Parent.Text = "Auto Bomb Transfer OFF" rotating = false if connection then connection:Disconnect() connection = nil end if oldPos then local character = player.Character if character and character:FindFirstChild("HumanoidRootPart") then character.HumanoidRootPart.CFrame = CFrame.new(oldPos) end oldPos = nil end end end script.Parent.MouseButton1Click:Connect(toggle) spawn(function() while true do wait(0.1) if not enabled then continue end local character = player.Character if not character then continue end local root = character:FindFirstChild("HumanoidRootPart") if not root then continue end local hasBomb = false for _, item in pairs(character:GetChildren()) do if item:IsA("Tool") and (item.Name == "Bomb" or item.Name == "HugeBomb") then hasBomb = true break end end if hasBomb and not rotating then rotating = true oldPos = root.Position local target = getRandomPlayer() if target then local angle = 0 connection = RunService.Heartbeat:Connect(function(delta) if not rotating or not enabled then return end local targetChar = target.Character if not targetChar or not targetChar:FindFirstChild("HumanoidRootPart") then connection:Disconnect() rotating = false return end local targetRoot = targetChar.HumanoidRootPart angle = angle + delta * 5 local x = targetRoot.Position.X + math.cos(angle) * 6 local z = targetRoot.Position.Z + math.sin(angle) * 6 local y = targetRoot.Position.Y root.CFrame = CFrame.new(x, y, z) end) end elseif not hasBomb and rotating then rotating = false if connection then connection:Disconnect() connection = nil end if oldPos then root.CFrame = CFrame.new(oldPos) oldPos = nil end end end end) end coroutine.wrap(FUXH_script)() local function UMXLWD_script() local script = Instance.new('LocalScript', TextButton_11) script.Parent.MouseButton1Click:Connect(function() local trail = game.Players.LocalPlayer:FindFirstChild("HasRainbowTrail") if trail then trail.Value = not trail.Value if trail.Value then script.Parent.Text = "Rainbow Trail ON" else script.Parent.Text = "Rainbow Trail OFF" end end end) end coroutine.wrap(UMXLWD_script)() local function RHEEBQ_script() local script = Instance.new('LocalScript', TextButton_12) script.Parent.MouseButton1Click:Connect(function() local RequestFreeItem = game:GetService("ReplicatedStorage"):WaitForChild("RequestFreeItem") local rewards = { "FreeReward", "FreeReward2", "FreeReward3", "FreeReward4" } for _, rewardName in pairs(rewards) do RequestFreeItem:FireServer(rewardName) end end) end coroutine.wrap(RHEEBQ_script)() local function TQCFFLX_script() local script = Instance.new('LocalScript', TextButton_13) local ReplicatedStorage = game:GetService("ReplicatedStorage") local ShopPurchase = ReplicatedStorage:WaitForChild("ShopPurchase") local allItems = { "Atmoblaster777", "BlowDryer", "BodySwapPotion", "GravityGun", "HyperlaserGun", "Magic Carpet", "TrololoCapeOfInvisibility", "Admin" } for _, item in pairs(allItems) do ShopPurchase:FireServer(item, 0) wait(0.1) end end coroutine.wrap(TQCFFLX_script)() local function PDYDP_script() local script = Instance.new('LocalScript', TextLabel) local UserInputService = game:GetService("UserInputService") local runService = (game:GetService("RunService")); local gui = script.Parent local dragging local dragInput local dragStart local startPos function Lerp(a, b, m) return a + (b - a) * m end; local lastMousePos local lastGoalPos local DRAG_SPEED = (8); function Update(dt) if not (startPos) then return end; if not (dragging) and (lastGoalPos) then gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED)) return end; local delta = (lastMousePos - UserInputService:GetMouseLocation()) local xGoal = (startPos.X.Offset - delta.X); local yGoal = (startPos.Y.Offset - delta.Y); lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal) gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED)) end; gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position lastMousePos = UserInputService:GetMouseLocation() input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) runService.Heartbeat:Connect(Update) end coroutine.wrap(PDYDP_script)()