Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local UserInputService = game:GetService("UserInputService")
- local player = Players.LocalPlayer
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "TrollPlayerGui"
- ScreenGui.ResetOnSpawn = false
- ScreenGui.Parent = player:WaitForChild("PlayerGui")
- local Frame = Instance.new("Frame")
- Frame.Size = UDim2.new(0, 340, 0, 300)
- Frame.Position = UDim2.new(0.5, -170, 0.5, -150)
- Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Frame.BorderSizePixel = 0
- Frame.Parent = ScreenGui
- Frame.Active = true
- local Title = Instance.new("TextLabel")
- Title.Size = UDim2.new(1, 0, 0, 50)
- Title.BackgroundTransparency = 1
- Title.Text = "Troll player GUi Fe"
- Title.TextColor3 = Color3.fromRGB(255, 0, 0)
- Title.Font = Enum.Font.GothamBold
- Title.TextSize = 24
- Title.Parent = Frame
- local ToolButton = Instance.new("TextButton")
- ToolButton.Size = UDim2.new(0.8, 0, 0, 40)
- ToolButton.Position = UDim2.new(0.1, 0, 0.30, 0)
- ToolButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- ToolButton.Text = "Get Tool For Troll "
- ToolButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ToolButton.Font = Enum.Font.GothamBold
- ToolButton.TextSize = 20
- ToolButton.Parent = Frame
- local MoneyButton = Instance.new("TextButton")
- MoneyButton.Size = UDim2.new(0.8, 0, 0, 40)
- MoneyButton.Position = UDim2.new(0.1, 0, 0.47, 0)
- MoneyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
- MoneyButton.Text = "Get money Inf [OP]"
- MoneyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- MoneyButton.Font = Enum.Font.GothamBold
- MoneyButton.TextSize = 20
- MoneyButton.Parent = Frame
- local LoopSlashButton = Instance.new("TextButton")
- LoopSlashButton.Size = UDim2.new(0.8, 0, 0, 40)
- LoopSlashButton.Position = UDim2.new(0.1, 0, 0.64, 0)
- LoopSlashButton.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
- LoopSlashButton.Text = "Loop slash all ☠️"
- LoopSlashButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- LoopSlashButton.Font = Enum.Font.GothamBold
- LoopSlashButton.TextSize = 20
- LoopSlashButton.Parent = Frame
- ToolButton.MouseButton1Click:Connect(function()
- local args = {
- 0,
- "Overkill"
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Gamepasses_Remotes"):WaitForChild("PurchaseShop"):FireServer(unpack(args))
- end)
- MoneyButton.MouseButton1Click:Connect(function()
- while wait (0.1) do
- local args = {
- "67676767"
- }
- game:GetService("ReplicatedStorage"):WaitForChild("CratesUtilities"):WaitForChild("Remotes"):WaitForChild("GiveReward"):FireServer(unpack(args))
- end
- end)
- local loopEnabled = false
- LoopSlashButton.MouseButton1Click:Connect(function()
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- while task.wait(0.1) do
- for _, plr in pairs(Players:GetPlayers()) do
- if plr ~= LocalPlayer and plr.Character then
- local args = {
- "slash",
- plr.Character,
- vector.create(-4666777766.837049961090088, -661.4596538733258058e-97, 5.059935569763184)
- }
- LocalPlayer.Character
- :WaitForChild("OverGlove")
- :WaitForChild("Event")
- :FireServer(unpack(args))
- end
- end
- end
- end)
- local dragging = false
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- Frame.Position = UDim2.new(
- startPos.X.Scale,
- startPos.X.Offset + delta.X,
- startPos.Y.Scale,
- startPos.Y.Offset + delta.Y
- )
- end
- Frame.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1
- or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if dragging and
- (input.UserInputType == Enum.UserInputType.MouseMovement
- or input.UserInputType == Enum.UserInputType.Touch) then
- update(input)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment