Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Piggy Gui
- -- Key binds
- -- Noclip:
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- game.StarterGui:SetCore("SendNotification", {
- Title = "Noclip";
- Text = "Toggled";
- Icon = "";
- Duration = 0.001;
- Callback = bindableFunction;
- Button1 = "";
- Button2 = "";
- })
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- -- Ctrl + Click Tp
- local speed = 50 -- set this lower to make it slower
- local bodyvelocityenabled = true -- set this to false if you are getting kicked
- local Imput = game:GetService("UserInputService")
- local Plr = game.Players.LocalPlayer
- local Mouse = Plr:GetMouse()
- function To(position)
- local Chr = Plr.Character
- if Chr ~= nil then
- local ts = game:GetService("TweenService")
- local char = game.Players.LocalPlayer.Character
- local hm = char.HumanoidRootPart
- local dist = (hm.Position - Mouse.Hit.p).magnitude
- local tweenspeed = dist/tonumber(speed)
- local ti = TweenInfo.new(tonumber(tweenspeed), Enum.EasingStyle.Linear)
- local tp = {CFrame = CFrame.new(position)}
- ts:Create(hm, ti, tp):Play()
- if bodyvelocityenabled == true then
- local bv = Instance.new("BodyVelocity")
- bv.Parent = hm
- bv.MaxForce = Vector3.new(100000,100000,100000)
- bv.Velocity = Vector3.new(0,0,0)
- wait(tonumber(tweenspeed))
- bv:Destroy()
- end
- end
- end
- Imput.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 and Imput:IsKeyDown(Enum.KeyCode.LeftControl) then
- To(Mouse.Hit.p)
- end
- end)
- -- Instances:
- local Script = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local More = Instance.new("Frame")
- local Noclip = Instance.new("TextButton")
- local Speed = Instance.new("TextButton")
- local Speed2 = Instance.new("TextButton")
- local Jump = Instance.new("TextButton")
- local Jump2 = Instance.new("TextButton")
- local Speed_2 = Instance.new("TextButton")
- local MoreBtn = Instance.new("TextButton")
- local MoreBtn2 = Instance.new("TextButton")
- local NoMap = Instance.new("TextButton")
- local PlayBtnColor = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local Yellow = Instance.new("TextButton")
- local Red = Instance.new("TextButton")
- local Orange = Instance.new("TextButton")
- local Blue = Instance.new("TextButton")
- --Properties:
- Script.Name = "Script"
- Script.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Script.ResetOnSpawn = false
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = Script
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.fromRGB(147, 255, 32)
- MainFrame.BackgroundTransparency = 0.250
- MainFrame.Position = UDim2.new(0.442345977, 0, 0.066805847, 0)
- MainFrame.Size = UDim2.new(0, 257, 0, 414)
- MainFrame.Draggable = true
- More.Name = "More"
- More.Parent = MainFrame
- More.Active = true
- More.BackgroundColor3 = Color3.fromRGB(255, 138, 20)
- More.BackgroundTransparency = 0.250
- More.Position = UDim2.new(-0.579588652, 0, -0.000862305867, 0)
- More.Size = UDim2.new(0, 148, 0, 414)
- More.Visible = false
- Noclip.Name = "Noclip"
- Noclip.Parent = More
- Noclip.BackgroundColor3 = Color3.fromRGB(178, 255, 236)
- Noclip.Position = UDim2.new(0.087878257, 0, 0.146137789, 0)
- Noclip.Size = UDim2.new(0, 121, 0, 50)
- Noclip.Font = Enum.Font.Cartoon
- Noclip.Text = "Noclip [E]"
- Noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
- Noclip.TextScaled = true
- Noclip.TextSize = 14.000
- Noclip.TextWrapped = true
- Speed.Name = "Speed"
- Speed.Parent = More
- Speed.BackgroundColor3 = Color3.fromRGB(178, 255, 236)
- Speed.Position = UDim2.new(0.087878257, 0, 0.334543586, 0)
- Speed.Size = UDim2.new(0, 121, 0, 50)
- Speed.Font = Enum.Font.Cartoon
- Speed.Text = "Speed: On"
- Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
- Speed.TextScaled = true
- Speed.TextSize = 14.000
- Speed.TextWrapped = true
- Speed.Visible = false
- Speed.MouseButton1Down:Connect(function()
- local player = game.Players.LocalPlayer.Character.Humanoid
- Speed2.Visible = true
- Speed.Visible = false
- player.WalkSpeed = 16
- end)
- Speed2.Name = "Speed"
- Speed2.Parent = More
- Speed2.BackgroundColor3 = Color3.fromRGB(178, 255, 236)
- Speed2.Position = UDim2.new(0.087878257, 0, 0.334543586, 0)
- Speed2.Size = UDim2.new(0, 121, 0, 50)
- Speed2.Font = Enum.Font.Cartoon
- Speed2.Text = "Speed: Off"
- Speed2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Speed2.TextScaled = true
- Speed2.TextSize = 14.000
- Speed2.TextWrapped = true
- Speed2.Visible = true
- Speed2.MouseButton1Down:Connect(function()
- local player = game.Players.LocalPlayer.Character.Humanoid
- Speed2.Visible = false
- Speed.Visible = true
- player.WalkSpeed = 70
- end)
- Jump.Name = "Jump"
- Jump.Parent = More
- Jump.BackgroundColor3 = Color3.fromRGB(178, 255, 236)
- Jump.Position = UDim2.new(0.087878257, 0, 0.334543586, 85)
- Jump.Size = UDim2.new(0, 121, 0, 50)
- Jump.Font = Enum.Font.Cartoon
- Jump.Text = "Jump: On"
- Jump.TextColor3 = Color3.fromRGB(0, 0, 0)
- Jump.TextScaled = true
- Jump.TextSize = 14.000
- Jump.TextWrapped = true
- Jump.Visible = true
- Jump.MouseButton1Down:Connect(function()
- local player = game.Players.LocalPlayer.Character.Humanoid
- Jump.Visible = false
- Jump2.Visible = true
- player.JumpPower = 40
- end)
- Jump2.Name = "Jump"
- Jump2.Parent = More
- Jump2.BackgroundColor3 = Color3.fromRGB(178, 255, 236)
- Jump2.Position = UDim2.new(0.087878257, 0, 0.334543586, 85)
- Jump2.Size = UDim2.new(0, 121, 0, 50)
- Jump2.Font = Enum.Font.Cartoon
- Jump2.Text = "Jump: Off"
- Jump2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Jump2.TextScaled = true
- Jump2.TextSize = 14.000
- Jump2.TextWrapped = true
- Jump2.Visible = true
- Jump2.MouseButton1Down:Connect(function()
- local player = game.Players.LocalPlayer.Character.Humanoid
- Jump2.Visible = false
- Jump.Visible = true
- player.JumpPower = 140
- end)
- Speed_2.Name = "Speed"
- Speed_2.Parent = More
- Speed_2.BackgroundColor3 = Color3.fromRGB(178, 255, 236)
- Speed_2.Position = UDim2.new(0.087878257, 0, 0.745171607, 0)
- Speed_2.Size = UDim2.new(0, 121, 0, 50)
- Speed_2.Font = Enum.Font.Cartoon
- Speed_2.Text = "CTRL + Click TP"
- Speed_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Speed_2.TextScaled = true
- Speed_2.TextSize = 14.000
- Speed_2.TextWrapped = true
- MoreBtn.Name = "MoreBtn"
- MoreBtn.Parent = MainFrame
- MoreBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- MoreBtn.Position = UDim2.new(-0.00755766034, 0, 0.865944505, 0)
- MoreBtn.Size = UDim2.new(0, 79, 0, 55)
- MoreBtn.Font = Enum.Font.SourceSans
- MoreBtn.Text = "+"
- MoreBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
- MoreBtn.TextScaled = true
- MoreBtn.TextSize = 50.000
- MoreBtn.TextWrapped = true
- MoreBtn.Visible = true
- MoreBtn.MouseButton1Down:Connect(function()
- More.Visible = true
- MoreBtn2.Visible = true
- MoreBtn.Visible = false
- end)
- MoreBtn2.Name = "MoreBtn"
- MoreBtn2.Parent = MainFrame
- MoreBtn2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- MoreBtn2.Position = UDim2.new(-0.00755766034, 0, 0.865944505, 0)
- MoreBtn2.Size = UDim2.new(0, 79, 0, 55)
- MoreBtn2.Font = Enum.Font.SourceSans
- MoreBtn2.Text = "-"
- MoreBtn2.TextColor3 = Color3.fromRGB(0, 0, 0)
- MoreBtn2.TextScaled = true
- MoreBtn2.TextSize = 50.000
- MoreBtn2.TextWrapped = true
- MoreBtn2.Visible = false
- MoreBtn2.MouseButton1Down:Connect(function()
- More.Visible = false
- MoreBtn2.Visible = false
- MoreBtn.Visible = true
- end)
- NoMap.Name = "NoMap"
- NoMap.Parent = MainFrame
- NoMap.BackgroundColor3 = Color3.fromRGB(129, 71, 255)
- NoMap.Position = UDim2.new(0.101391651, 0, 0.334543586, 0)
- NoMap.Size = UDim2.new(0, 200, 0, 50)
- NoMap.Font = Enum.Font.Cartoon
- NoMap.Text = "No Map"
- NoMap.TextColor3 = Color3.fromRGB(0, 0, 0)
- NoMap.TextScaled = true
- NoMap.TextSize = 14.000
- NoMap.TextWrapped = true
- NoMap.MouseButton1Down:Connect(function()
- game.Workspace.LoadedMap:Destroy()
- end)
- PlayBtnColor.Name = "PlayBtnColor"
- PlayBtnColor.Parent = MainFrame
- PlayBtnColor.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PlayBtnColor.Position = UDim2.new(0.15975751, 0, 0.525364876, 0)
- PlayBtnColor.Size = UDim2.new(0, 169, 0, 55)
- PlayBtnColor.Font = Enum.Font.SourceSans
- PlayBtnColor.Text = "PlayButton Color"
- PlayBtnColor.TextColor3 = Color3.fromRGB(0, 0, 0)
- PlayBtnColor.TextScaled = true
- PlayBtnColor.TextSize = 50.000
- PlayBtnColor.TextWrapped = true
- PlayBtnColor.MouseButton1Down:Connect(function()
- PlayBtnColor.Frame.Visible = not PlayBtnColor.Frame.Visible
- end)
- Frame.Parent = PlayBtnColor
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.Position = UDim2.new(0, 0, 1, 0)
- Frame.Size = UDim2.new(0, 169, 0, 100)
- Yellow.Name = "Yellow"
- Yellow.Parent = Frame
- Yellow.BackgroundColor3 = Color3.fromRGB(255, 255, 11)
- Yellow.Position = UDim2.new(0, 0, 0.489091039, 0)
- Yellow.Size = UDim2.new(0, 169, 0, 25)
- Yellow.Font = Enum.Font.SourceSans
- Yellow.Text = "Yellow"
- Yellow.TextColor3 = Color3.fromRGB(0, 0, 0)
- Yellow.TextScaled = true
- Yellow.TextSize = 14.000
- Yellow.TextWrapped = true
- Yellow.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.BorderColor3 = Color3.fromRGB(255, 255, 11)
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.TextColor3 = Color3.fromRGB(255, 255, 11)
- end)
- Red.Name = "Red"
- Red.Parent = Frame
- Red.BackgroundColor3 = Color3.fromRGB(255, 55, 20)
- Red.Size = UDim2.new(0, 169, 0, 25)
- Red.Font = Enum.Font.SourceSans
- Red.Text = "Red"
- Red.TextColor3 = Color3.fromRGB(0, 0, 0)
- Red.TextScaled = true
- Red.TextSize = 14.000
- Red.TextWrapped = true
- Red.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.BorderColor3 = Color3.fromRGB(255, 55, 20)
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.TextColor3 = Color3.fromRGB(255, 55, 20)
- end)
- Orange.Name = "Orange"
- Orange.Parent = Frame
- Orange.BackgroundColor3 = Color3.fromRGB(255, 126, 14)
- Orange.Position = UDim2.new(0, 0, 0.244545519, 0)
- Orange.Size = UDim2.new(0, 169, 0, 25)
- Orange.Font = Enum.Font.SourceSans
- Orange.Text = "Orange"
- Orange.TextColor3 = Color3.fromRGB(0, 0, 0)
- Orange.TextScaled = true
- Orange.TextSize = 14.000
- Orange.TextWrapped = true
- Orange.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.BorderColor3 = Color3.fromRGB(255, 126, 14)
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.TextColor3 = Color3.fromRGB(255, 126, 14)
- end)
- Blue.Name = "Blue"
- Blue.Parent = Frame
- Blue.BackgroundColor3 = Color3.fromRGB(5, 38, 255)
- Blue.Position = UDim2.new(-5.58793545e-08, 0, 0.743636489, 0)
- Blue.Size = UDim2.new(0, 169, 0, 25)
- Blue.Font = Enum.Font.SourceSans
- Blue.Text = "Blue"
- Blue.TextColor3 = Color3.fromRGB(0, 0, 0)
- Blue.TextScaled = true
- Blue.TextSize = 14.000
- Blue.TextWrapped = true
- Blue.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.BorderColor3 = Color3.fromRGB(5, 38, 255)
- game.Players.LocalPlayer.PlayerGui.MainMenu.Play.TextColor3 = Color3.fromRGB(5, 38, 255)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement