Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- https://pastebin.com/raw/KKVPEXBN
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local CC = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Warhammer = Instance.new("TextButton")
- local InfJump = Instance.new("TextButton")
- local Noclip = Instance.new("TextButton")
- local ObsidianArmor = Instance.new("TextButton")
- local Fly = Instance.new("TextButton")
- local Speed = Instance.new("TextButton")
- --Properties:
- CC.Name = "CC"
- CC.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- CC.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = CC
- Main.BackgroundColor3 = Color3.fromRGB(0, 63, 14)
- Main.Position = UDim2.new(0.589302778, 0, 0.560675859, 0)
- Main.Size = UDim2.new(0, 430, 0, 304)
- Main.Draggable = true
- Main.Active = true
- TextLabel.Parent = Main
- TextLabel.BackgroundColor3 = Color3.fromRGB(89, 255, 0)
- TextLabel.BorderColor3 = Color3.fromRGB(130, 203, 255)
- TextLabel.Size = UDim2.new(0, 429, 0, 50)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.Text = "Crapper Chaos"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 14.000
- Warhammer.Name = "Warhammer"
- Warhammer.Parent = Main
- Warhammer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Warhammer.Position = UDim2.new(0, 0, 0.453947365, 0)
- Warhammer.Size = UDim2.new(0, 188, 0, 50)
- Warhammer.Font = Enum.Font.SciFi
- Warhammer.Text = "Buy Warhammer (750 GP)"
- Warhammer.TextColor3 = Color3.fromRGB(0, 0, 0)
- Warhammer.TextSize = 14.000
- Warhammer.MouseButton1Down:Connect(function()
- local args = {
- [1] = "Warhammer",
- [2] = true,
- }
- game:GetService("ReplicatedStorage").Remotes.EquipWeapon:InvokeServer(unpack(args))
- end)
- InfJump.Name = "InfJump"
- InfJump.Parent = Main
- InfJump.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- InfJump.Position = UDim2.new(-0.000874506019, 0, 0.230263159, 0)
- InfJump.Size = UDim2.new(0, 188, 0, 50)
- InfJump.Font = Enum.Font.SciFi
- InfJump.Text = "Infinite Jump"
- InfJump.TextColor3 = Color3.fromRGB(0, 0, 0)
- InfJump.TextSize = 14.000
- InfJump.MouseButton1Down:Connect(function()
- local Player = game:GetService'Players'.LocalPlayer;
- local UIS = game:GetService'UserInputService';
- _G.JumpHeight = 50;
- function Action(Object, Function) if Object ~= nil then Function(Object); end end
- UIS.InputBegan:connect(function(UserInput)
- if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
- Action(Player.Character.Humanoid, function(self)
- if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
- Action(self.Parent.HumanoidRootPart, function(self)
- self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
- end)
- end
- end)
- end
- end)
- end)
- Noclip.Name = "Noclip"
- Noclip.Parent = Main
- Noclip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Noclip.Position = UDim2.new(-0.000874506019, 0, 0.703947365, 0)
- Noclip.Size = UDim2.new(0, 188, 0, 50)
- Noclip.Font = Enum.Font.SciFi
- Noclip.Text = "Noclip OP"
- Noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
- Noclip.TextSize = 14.000
- Noclip.MouseButton1Down:Connect(function()
- wait()
- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- -- @CloneTrooper1019, 2015
- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- local Tool = Instance.new("HopperBin")
- Tool.Parent = game.Players.LocalPlayer.Backpack
- Tool.Name = "NoClip"
- wait(1)
- local c = workspace.CurrentCamera
- local player = game.Players.LocalPlayer
- local userInput = game:GetService("UserInputService")
- local rs = game:GetService("RunService")
- local starterPlayer = game:GetService("StarterPlayer")
- local selected = false
- local speed = 60
- local lastUpdate = 0
- function getNextMovement(deltaTime)
- local nextMove = Vector3.new()
- -- Left/Right
- if userInput:IsKeyDown("A") or userInput:IsKeyDown("Left") then
- nextMove = Vector3.new(-1,0,0)
- elseif userInput:IsKeyDown("D") or userInput:IsKeyDown("Right") then
- nextMove = Vector3.new(1,0,0)
- end
- -- Forward/Back
- if userInput:IsKeyDown("W") or userInput:IsKeyDown("Up") then
- nextMove = nextMove + Vector3.new(0,0,-1)
- elseif userInput:IsKeyDown("S") or userInput:IsKeyDown("Down") then
- nextMove = nextMove + Vector3.new(0,0,1)
- end
- -- Up/Down
- if userInput:IsKeyDown("Space") then
- nextMove = nextMove + Vector3.new(0,1,0)
- elseif userInput:IsKeyDown("LeftControl") then
- nextMove = nextMove + Vector3.new(0,-1,0)
- end
- return CFrame.new( nextMove * (speed * deltaTime) )
- end
- game.Players.LocalPlayer.Backpack.NoClip.Selected:connect()
- local char = player.Character
- if char then
- local humanoid = char:WaitForChild("Humanoid")
- local root = char:WaitForChild("HumanoidRootPart")
- currentPos = root.Position
- selected = true
- root.Anchored = true
- lastUpdate = tick()
- humanoid.PlatformStand = true
- while selected do
- wait()
- local delta = tick()-lastUpdate
- local look = (c.Focus.p-c.CoordinateFrame.p).unit
- local move = getNextMovement(delta)
- local pos = root.Position
- root.CFrame = CFrame.new(pos,pos+look) * move
- lastUpdate = tick()
- end
- root.Anchored = false
- root.Velocity = Vector3.new()
- humanoid.PlatformStand = false
- end
- game.Players.LocalPlayer.Backpack.NoClip.Deselected:connect()
- selected = false
- end)
- ObsidianArmor.Name = "ObsidianArmor"
- ObsidianArmor.Parent = Main
- ObsidianArmor.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ObsidianArmor.Position = UDim2.new(0.579069793, 0, 0.453947365, 0)
- ObsidianArmor.Size = UDim2.new(0, 179, 0, 50)
- ObsidianArmor.Font = Enum.Font.SciFi
- ObsidianArmor.Text = "Buy Obsidian Armor (650 GP)"
- ObsidianArmor.TextColor3 = Color3.fromRGB(0, 0, 0)
- ObsidianArmor.TextSize = 14.000
- ObsidianArmor.MouseButton1Down:Connect(function()
- local args = {
- [1] = "Leather Armor",
- [2] = true,
- }
- game:GetService("ReplicatedStorage").Remotes.BuyArmor:InvokeServer(unpack(args))
- end)
- Fly.Name = "Fly"
- Fly.Parent = Main
- Fly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Fly.Position = UDim2.new(0.579069793, 0, 0.230263159, 0)
- Fly.Size = UDim2.new(0, 181, 0, 50)
- Fly.Font = Enum.Font.SciFi
- Fly.Text = "Fly"
- Fly.TextColor3 = Color3.fromRGB(0, 0, 0)
- Fly.TextSize = 14.000
- Fly.MouseButton1Down:Connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- Speed.Name = "Speed"
- Speed.Parent = Main
- Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Speed.Position = UDim2.new(0.579069793, 0, 0.703947365, 0)
- Speed.Size = UDim2.new(0, 179, 0, 50)
- Speed.Font = Enum.Font.SciFi
- Speed.Text = "Flash Speed"
- Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
- Speed.TextSize = 14.000
- Speed.MouseButton1Down:Connect(function()
- while true do wait(1)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 75
- end
- end)
Add Comment
Please, Sign In to add comment