Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Top = Instance.new("Frame")
- local Back = Instance.new("Frame")
- local TextButton1 = Instance.new("TextButton")
- local TextButton2 = Instance.new("TextButton")
- local TextButton3 = Instance.new("TextButton")
- local TextButton4 = Instance.new("TextButton")
- local Label = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = game.CoreGui
- Top.Name = "Top"
- Top.Parent = ScreenGui
- Top.Active = true
- Top.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
- Top.Draggable = true
- Top.Position = UDim2.new(0.771902144, 0, 0.508005798, 0)
- Top.Selectable = true
- Top.Size = UDim2.new(0, 430, 0, 31)
- Back.Name = "Back"
- Back.Parent = Top
- Back.BackgroundColor3 = Color3.new(0, 0.5, 0.7)
- Back.BackgroundTransparency = 0.20000000298023
- Back.Position = UDim2.new(0, 0, 1, 0)
- Back.Size = UDim2.new(0, 430, 0, 130)
- TextButton1.Name = "TextButton1"
- TextButton1.Parent = Back
- TextButton1.BackgroundColor3 = Color3.new(0, 0.7, 0.9)
- TextButton1.Position = UDim2.new(0.02, 0, 0.05, 0)
- TextButton1.Size = UDim2.new(0, 200, 0, 50)
- TextButton1.Font = Enum.Font.SourceSans
- TextButton1.Text = "Speed"
- TextButton1.TextColor3 = Color3.new(1, 1, 1)
- TextButton1.TextSize = 20
- TextButton1.MouseButton1Click:connect(function()
- local CratesToBuy = 1000 -- How many you want to buy
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
- end)
- TextButton2.Name = "TextButton2"
- TextButton2.Parent = Back
- TextButton2.BackgroundColor3 = Color3.new(0, 0.7, 0.9)
- TextButton2.Position = UDim2.new(0.515, 0, 0.05, 0)
- TextButton2.Size = UDim2.new(0, 200, 0, 50)
- TextButton2.Font = Enum.Font.SourceSans
- TextButton2.Text = "Fly"
- TextButton2.TextColor3 = Color3.new(1, 1, 1)
- TextButton2.TextSize = 20
- TextButton2.MouseButton1Click: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)
- TextButton3.Name = "TextButton3"
- TextButton3.Parent = Back
- TextButton3.BackgroundColor3 = Color3.new(0, 0.7, 0.9)
- TextButton3.Position = UDim2.new(0.02, 0, 0.55, 0)
- TextButton3.Size = UDim2.new(0, 200, 0, 50)
- TextButton3.Font = Enum.Font.SourceSans
- TextButton3.Text = "NOCLIP"
- TextButton3.TextColor3 = Color3.new(1, 1, 1)
- TextButton3.TextSize = 20
- TextButton3.MouseButton1Click:connect(function()
- local noclip = true char = game.Players.LocalPlayer.Character while true do if noclip == true then for _,v in pairs(char:children()) do pcall(function() if v.className == "Part" then v.CanCollide = false elseif v.ClassName == "Model" then v.Head.CanCollide = false end end) end end game:service("RunService").Stepped:wait() end
- end)
- TextButton4.Name = "TextButton4"
- TextButton4.Parent = Back
- TextButton4.BackgroundColor3 = Color3.new(0, 0.7, 0.9)
- TextButton4.Position = UDim2.new(0.515, 0, 0.55, 0)
- TextButton4.Size = UDim2.new(0, 200, 0, 50)
- TextButton4.Font = Enum.Font.SourceSans
- TextButton4.Text = "AUTO KILL"
- TextButton4.TextColor3 = Color3.new(1, 1, 1)
- TextButton4.TextSize = 20
- TextButton4.MouseButton1Click:connect(function()
- local working = true
- game:GetService('Players').LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if key == string.lower(hotkey) then
- working = not working
- end
- end)
- while wait(0.2) do
- if working == true then
- pcall(function()
- local ohthatscomplicated = {
- ["Name"] = game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").Name,
- ["HumanoidTables"] = {
- }
- }
- for i,v in pairs(workspace[".ZombieStorage"]:GetChildren()) do
- local hm = {
- ["HeadHits"] = math.huge,
- ["THumanoid"] = v:FindFirstChildOfClass('Humanoid'),
- ["BodyHits"] = 0
- }
- table.insert(ohthatscomplicated["HumanoidTables"],hm)
- end
- pcall(function()
- game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunControllerAlt.RemoteFunction:InvokeServer(ohthatscomplicated)
- end)
- game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunController.RemoteFunction:InvokeServer(ohthatscomplicated)
- end)
- end
- end
- end)
- Label.Name = "Label"
- Label.Parent = Top
- Label.BackgroundColor3 = Color3.new(1, 1, 1)
- Label.BackgroundTransparency = 1
- Label.BorderSizePixel = 0
- Label.Position = UDim2.new(0.23, 0, 0, 0)
- Label.Size = UDim2.new(0, 242, 0, 31)
- Label.Font = Enum.Font.SourceSans
- Label.Text = "MADE BY FUZE_BLEED"
- Label.TextColor3 = Color3.new(1, 1, 1)
- Label.TextScaled = true
- Label.TextSize = 14
- Label.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement