Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- local TextButton_5 = Instance.new("TextButton")
- local TextButton_6 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
- Frame.BorderColor3 = Color3.fromRGB(74, 225, 255)
- Frame.BorderSizePixel = 4
- Frame.Position = UDim2.new(0.0626700148, 0, 0.15797317, 0)
- Frame.Size = UDim2.new(0, 429, 0, 427)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(3.55682737e-08, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 429, 0, 50)
- TextLabel.Font = Enum.Font.Ubuntu
- TextLabel.Text = "z00pkidd epic gui"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 31.000
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.0740493685, 0, 0.253353179, 0)
- TextButton.Size = UDim2.new(0, 100, 0, 50)
- TextButton.Font = Enum.Font.Ubuntu
- TextButton.Text = "Speed 100"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 19.000
- TextButton_2.Parent = ScreenGui
- TextButton_2.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
- TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.166110739, 0, 0.253353179, 0)
- TextButton_2.Size = UDim2.new(0, 100, 0, 50)
- TextButton_2.Font = Enum.Font.Ubuntu
- TextButton_2.Text = "Gravity"
- TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.TextSize = 19.000
- TextButton_3.Parent = ScreenGui
- TextButton_3.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
- TextButton_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.260840565, 0, 0.253353179, 0)
- TextButton_3.Size = UDim2.new(0, 100, 0, 50)
- TextButton_3.Font = Enum.Font.Ubuntu
- TextButton_3.Text = "Tp tool"
- TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_3.TextSize = 19.000
- TextButton_4.Parent = ScreenGui
- TextButton_4.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
- TextButton_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_4.BorderSizePixel = 0
- TextButton_4.Position = UDim2.new(0.0740493685, 0, 0.365126669, 0)
- TextButton_4.Size = UDim2.new(0, 100, 0, 50)
- TextButton_4.Font = Enum.Font.Ubuntu
- TextButton_4.Text = "Fly"
- TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_4.TextSize = 19.000
- TextButton_5.Parent = ScreenGui
- TextButton_5.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
- TextButton_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_5.BorderSizePixel = 0
- TextButton_5.Position = UDim2.new(0.166110739, 0, 0.365126669, 0)
- TextButton_5.Size = UDim2.new(0, 100, 0, 50)
- TextButton_5.Font = Enum.Font.Ubuntu
- TextButton_5.Text = "Spin"
- TextButton_5.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_5.TextSize = 19.000
- TextButton_6.Parent = ScreenGui
- TextButton_6.BackgroundColor3 = Color3.fromRGB(101, 183, 255)
- TextButton_6.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_6.BorderSizePixel = 0
- TextButton_6.Position = UDim2.new(0.260840565, 0, 0.365126669, 0)
- TextButton_6.Size = UDim2.new(0, 100, 0, 50)
- TextButton_6.Font = Enum.Font.Ubuntu
- TextButton_6.Text = "Team z00pkidd"
- TextButton_6.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_6.TextSize = 15.000
- -- Adicione esta parte para tornar a GUI arrastável
- local UIS = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function updateInput(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 input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- updateInput(input)
- end
- end)
- -- Adicione esta parte para alterar a velocidade, gravidade e teletransporte
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local function setSpeed(speed)
- humanoid.WalkSpeed = speed
- end
- local function setGravity(gravity)
- workspace.Gravity = gravity
- end
- local function giveTool()
- local tool = Instance.new("Tool")
- tool.RequiresHandle = true
- tool.Name = "TeleportTool"
- local function onActivated()
- local mouse = player:GetMouse()
- local targetPosition = mouse.Hit.p
- -- Verifique se o objeto clicado está em um raio razoável
- local ray = Ray.new(character.Head.Position, targetPosition - character.Head.Position)
- local part, hitPoint = workspace:FindPartOnRay(ray, character, false, true)
- if part then
- character:SetPrimaryPartCFrame(CFrame.new(hitPoint))
- end
- end
- tool.Activated:Connect(onActivated)
- return tool
- end
- -- Botão "Speed 100"
- TextButton.MouseButton1Click:Connect(function()
- setSpeed(100)
- end)
- -- Botão "Gravity"
- TextButton_2.MouseButton1Click:Connect(function()
- setGravity(5) -- Altere o valor conforme necessário
- end)
- -- Botão "Tp tool"
- TextButton_3.MouseButton1Click:Connect(function()
- local tool = giveTool()
- tool.Parent = player.Backpack
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement