Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local GamesGUI = Instance.new("ScreenGui")
- local Body = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local CreeperR6 = Instance.new("TextButton")
- local Fly = Instance.new("TextButton")
- local Animations = Instance.new("TextButton")
- local Chatlogs = Instance.new("TextButton")
- local Nolimbs = Instance.new("TextButton")
- local Glitchmax = Instance.new("TextButton")
- local FEbtools = Instance.new("TextButton")
- local Flyinghead = Instance.new("TextButton")
- local Drophats = Instance.new("TextButton")
- local TextLabel_3 = Instance.new("TextLabel")
- local WaterPark = Instance.new("TextButton")
- local Citylifehammer = Instance.new("TextButton")
- local Citylifebombvest = Instance.new("TextButton")
- local Soon = Instance.new("TextButton")
- local Soon_2 = Instance.new("TextButton")
- local Soon_3 = Instance.new("TextButton")
- local Soon_4 = Instance.new("TextButton")
- local Open = Instance.new("TextButton")
- -- Properties
- GamesGUI.Name = "Games GUI"
- GamesGUI.Parent = game.Players.LocalPlayer.PlayerGui
- Body.Name = "Body"
- Body.Parent = GamesGUI
- Body.Active = true
- Body.BackgroundColor3 = Color3.new(0, 1, 0.0823529)
- Body.Position = UDim2.new(0.613003194, 0, 0.0890688598, 0)
- Body.Selectable = true
- Body.Size = UDim2.new(0, 331, 0, 272)
- TextLabel.Parent = Body
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.Size = UDim2.new(0, 331, 0, 16)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = ""
- TextLabel.TextSize = 14
- TextLabel_2.Parent = Body
- TextLabel_2.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- TextLabel_2.Position = UDim2.new(0, 0, 0.0588235296, 0)
- TextLabel_2.Size = UDim2.new(0, 331, 0, 28)
- TextLabel_2.Font = Enum.Font.SciFi
- TextLabel_2.Text = "Troll FE V1.2"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 14
- TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
- CreeperR6.Name = "Creeper R6"
- CreeperR6.Parent = Body
- CreeperR6.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- CreeperR6.Position = UDim2.new(0.0332326293, 0, 0.216911763, 0)
- CreeperR6.Size = UDim2.new(0, 71, 0, 18)
- CreeperR6.Font = Enum.Font.Fantasy
- CreeperR6.Text = "Creeper R6"
- CreeperR6.TextColor3 = Color3.new(1, 1, 1)
- CreeperR6.TextSize = 14
- CreeperR6.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Head.Mesh:Destroy()
- game.Players.LocalPlayer.Character["Left Arm"]:Destroy()
- game.Players.LocalPlayer.Character["Right Arm"]:Destroy()
- end)
- Fly.Name = "Fly"
- Fly.Parent = Body
- Fly.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Fly.Position = UDim2.new(0.374622345, 0, 0.216911793, 0)
- Fly.Size = UDim2.new(0, 71, 0, 18)
- Fly.Font = Enum.Font.Fantasy
- Fly.Text = "Fly [E]"
- Fly.TextColor3 = Color3.new(1, 1, 1)
- Fly.TextSize = 14
- 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)
- Animations.Name = "Animations"
- Animations.Parent = Body
- Animations.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Animations.Position = UDim2.new(0.682779431, 0, 0.216911793, 0)
- Animations.Size = UDim2.new(0, 71, 0, 18)
- Animations.Font = Enum.Font.Fantasy
- Animations.Text = "Animations"
- Animations.TextColor3 = Color3.new(1, 1, 1)
- Animations.TextSize = 14
- Animations.MouseButton1Down:connect(function()
- local Gui = Instance.new("ScreenGui", game.CoreGui)
- Gui.Name = "FE Animations"
- local Background = Instance.new("Frame",Gui)
- Background.Name = "Background"
- Background.Active = true
- Background.BackgroundColor3 = Color3.fromRGB(220,220,255)
- Background.Transparency = 0.3
- Background.BorderSizePixel = 5
- Background.Draggable = true
- Background.Position = UDim2.new(0,300,0,300)
- Background.Size = UDim2.new(0,345,0,190)
- local Title = Instance.new("TextLabel",Background)
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(0,0,0,-80)
- Title.Size = UDim2.new(0,290,1,0)
- Title.Font = "SourceSansLight"
- Title.FontSize = "Size18"
- Title.Text = "FE Animations [by illremember]"
- Title.TextColor3 = Color3.fromRGB(20,20,25)
- local Chop = Instance.new("TextButton", Background)
- Chop.Name = "Chop"
- Chop.BackgroundColor3 = Color3.fromRGB(20,20,20)
- Chop.BackgroundTransparency = 0.1
- Chop.BorderSizePixel = 0
- Chop.Position = UDim2.new(0,120,0,30)
- Chop.Size = UDim2.new(0,100,0,30)
- Chop.Font = "SourceSansItalic"
- Chop.FontSize = "Size18"
- Chop.Text = "Chop"
- Chop.TextColor3 = Color3.fromRGB(230,230,230)
- Chop.TextWrapped = true
- local Dance = Chop:Clone()
- Dance.Name = "Dance"
- Dance.Parent = Background
- Dance.Position = UDim2.new(0,120,0,70)
- Dance.Text = "Dance"
- local ArmsOut = Chop:Clone()
- ArmsOut.Name = "ArmsOut"
- ArmsOut.Parent = Background
- ArmsOut.Position = UDim2.new(0,10,0,110)
- ArmsOut.Text = "ArmsOut"
- local Stab = Chop:Clone()
- Stab.Name = "Stab"
- Stab.Parent = Background
- Stab.Position = UDim2.new(0,10,0,30)
- Stab.Text = "Stab"
- local SmellyRun = Chop:Clone()
- SmellyRun.Name = "SmellyRun"
- SmellyRun.Parent = Background
- SmellyRun.Position = UDim2.new(0,10,0,70)
- SmellyRun.Text = "SmellyRun"
- local rando = Chop:Clone()
- rando.Name = "rando"
- rando.Parent = Background
- rando.Position = UDim2.new(0,120,0,110)
- rando.Text = "rando"
- local hmm = Chop:Clone()
- hmm.Name = "hmm"
- hmm.Parent = Background
- hmm.Position = UDim2.new(0,120,0,150)
- hmm.Text = "hmm"
- local Kick = Chop:Clone()
- Kick.Name = "Kick"
- Kick.Parent = Background
- Kick.Position = UDim2.new(0,10,0,150)
- Kick.Size = UDim2.new(0,100,0,30)
- Kick.Text = "Kick"
- local Flying = Chop:Clone()
- Flying.Name = "Flying"
- Flying.Parent = Background
- Flying.Position = UDim2.new(0,230,0,30)
- Flying.Size = UDim2.new(0,100,0,30)
- Flying.Text = "Flying"
- local Arms = Chop:Clone()
- Arms.Name = "Arms"
- Arms.Parent = Background
- Arms.Position = UDim2.new(0,230,0,70)
- Arms.Size = UDim2.new(0,100,0,30)
- Arms.Text = "Arms"
- local Sword = Chop:Clone()
- Sword.Name = "Sword"
- Sword.Parent = Background
- Sword.Position = UDim2.new(0,230,0,110)
- Sword.Size = UDim2.new(0,100,0,30)
- Sword.Text = "Sword"
- local Insane = Chop:Clone()
- Insane.Name = "Insane"
- Insane.Parent = Background
- Insane.Position = UDim2.new(0,230,0,150)
- Insane.Size = UDim2.new(0,100,0,30)
- Insane.Text = "Insane"
- --
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- lpc = game.Players.LocalPlayer.Character
- weld1 = Instance.new("Weld")
- Chop.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "33169596"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- Insane.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "33796059"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(10000)
- end
- end
- end)
- Arms.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "33169583"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- Sword.MouseButton1Click:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "35978879"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- hmm.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "33855276"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- rando.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "48977286"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- Dance.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "35654637"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- Stab.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "66703241"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- Kick.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "45737360"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- Flying.MouseButton1Down:connect(function()
- flying = not flying
- 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 deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 70
- local speed = 0
- if flying then
- Fly.BackgroundColor3 = loc
- else
- Fly.BackgroundColor3 = col
- end
- function FlyFunction()
- 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() == "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)
- FlyFunction()
- end)
- SmellyRun.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "30235165"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- ArmsOut.MouseButton1Down:connect(function()
- local gg = mouse.Target
- if gg ~= nil then
- for i,v in pairs(game.Players:GetPlayers()) do
- AnimationId = "27432691"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- end
- end)
- end)
- Chatlogs.Name = "Chat logs"
- Chatlogs.Parent = Body
- Chatlogs.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Chatlogs.Position = UDim2.new(0.0332326293, 0, 0.349264741, 0)
- Chatlogs.Size = UDim2.new(0, 71, 0, 18)
- Chatlogs.Font = Enum.Font.Fantasy
- Chatlogs.Text = "Chat logs"
- Chatlogs.TextColor3 = Color3.new(1, 1, 1)
- Chatlogs.TextSize = 14
- Chatlogs.MouseButton1Down:connect(function()
- loadstring(game:GetObjects("rbxassetid://1295331911")[1].Source)()
- end)
- Nolimbs.Name = "No limbs"
- Nolimbs.Parent = Body
- Nolimbs.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Nolimbs.Position = UDim2.new(0.374622345, 0, 0.349264741, 0)
- Nolimbs.Size = UDim2.new(0, 71, 0, 18)
- Nolimbs.Font = Enum.Font.Fantasy
- Nolimbs.Text = "No limbs"
- Nolimbs.TextColor3 = Color3.new(1, 1, 1)
- Nolimbs.TextSize = 14
- Nolimbs.MouseButton1Down:connect(function()
- end)
- Glitchmax.Name = "Glitch max"
- Glitchmax.Parent = Body
- Glitchmax.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Glitchmax.Position = UDim2.new(0.682779431, 0, 0.349264741, 0)
- Glitchmax.Size = UDim2.new(0, 71, 0, 18)
- Glitchmax.Font = Enum.Font.Fantasy
- Glitchmax.Text = "GlitchMax"
- Glitchmax.TextColor3 = Color3.new(1, 1, 1)
- Glitchmax.TextSize = 14
- Glitchmax.MouseButton1Down:connect(function()
- -- Objects
- local GlitchMax = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local TopFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local CloseGUI = Instance.new("TextButton")
- local Credit = Instance.new("TextLabel")
- local DetailTopFrame = Instance.new("Frame")
- local ButtonFrame = Instance.new("Frame")
- local UserBox = Instance.new("TextBox")
- local Flatten = Instance.new("TextButton")
- local Push = Instance.new("TextButton")
- local LockOn = Instance.new("TextButton")
- local Float = Instance.new("TextButton")
- local Stick = Instance.new("TextButton")
- local Experimental = Instance.new("TextButton")
- local SideFrame = Instance.new("Frame")
- local OpenGUI = Instance.new("TextButton")
- local SideCredit = Instance.new("TextLabel")
- local SideTitle = Instance.new("TextLabel")
- -- Properties
- GlitchMax.Name = "GlitchMax"
- GlitchMax.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = GlitchMax
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainFrame.BackgroundTransparency = 1
- MainFrame.Draggable = true
- MainFrame.Position = UDim2.new(0, 570, 0, 61)
- MainFrame.Size = UDim2.new(0, 376, 0, 285)
- TopFrame.Name = "TopFrame"
- TopFrame.Parent = MainFrame
- TopFrame.BackgroundColor3 = Color3.new(0.466667, 0.47451, 1)
- TopFrame.Size = UDim2.new(0, 376, 0, 36)
- Title.Name = "Title"
- Title.Parent = TopFrame
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(0, 376, 0, 36)
- Title.Font = Enum.Font.Highway
- Title.FontSize = Enum.FontSize.Size14
- Title.Text = "GlitchMax"
- Title.TextColor3 = Color3.new(0.243137, 0.372549, 0.4)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextStrokeColor3 = Color3.new(1, 1, 1)
- Title.TextStrokeTransparency = 0
- Title.TextWrapped = true
- CloseGUI.Name = "CloseGUI"
- CloseGUI.Parent = TopFrame
- CloseGUI.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseGUI.BackgroundTransparency = 1
- CloseGUI.Position = UDim2.new(0, 327, 0, 0)
- CloseGUI.Size = UDim2.new(0, 49, 0, 36)
- CloseGUI.Font = Enum.Font.SourceSans
- CloseGUI.FontSize = Enum.FontSize.Size60
- CloseGUI.Text = "X"
- CloseGUI.TextSize = 50
- Credit.Name = "Credit"
- Credit.Parent = TopFrame
- Credit.BackgroundColor3 = Color3.new(1, 1, 1)
- Credit.BackgroundTransparency = 1
- Credit.Position = UDim2.new(0, 16, 0, 0)
- Credit.Size = UDim2.new(0, 96, 0, 36)
- Credit.Font = Enum.Font.Highway
- Credit.FontSize = Enum.FontSize.Size14
- Credit.Text = "illremember"
- Credit.TextColor3 = Color3.new(0.431373, 0.662745, 0.709804)
- Credit.TextScaled = true
- Credit.TextSize = 14
- Credit.TextStrokeColor3 = Color3.new(1, 1, 1)
- Credit.TextStrokeTransparency = 0
- Credit.TextWrapped = true
- DetailTopFrame.Name = "DetailTopFrame"
- DetailTopFrame.Parent = MainFrame
- DetailTopFrame.BackgroundColor3 = Color3.new(0.541176, 0.678431, 1)
- DetailTopFrame.Position = UDim2.new(0, 0, 0, 37)
- DetailTopFrame.Size = UDim2.new(0, 376, 0, 11)
- ButtonFrame.Name = "ButtonFrame"
- ButtonFrame.Parent = MainFrame
- ButtonFrame.BackgroundColor3 = Color3.new(0.945098, 0.945098, 0.945098)
- ButtonFrame.Position = UDim2.new(0, 0, 0, 49)
- ButtonFrame.Size = UDim2.new(0, 376, 0, 236)
- UserBox.Name = "UserBox"
- UserBox.Parent = ButtonFrame
- UserBox.BackgroundColor3 = Color3.new(0.898039, 0.898039, 0.898039)
- UserBox.BorderColor3 = Color3.new(0.360784, 0.384314, 0.392157)
- UserBox.BorderSizePixel = 5
- UserBox.Position = UDim2.new(0, 33, 0, 15)
- UserBox.Size = UDim2.new(0, 310, 0, 31)
- UserBox.Font = Enum.Font.SourceSans
- UserBox.FontSize = Enum.FontSize.Size14
- UserBox.Text = ""
- UserBox.TextScaled = true
- UserBox.TextSize = 14
- UserBox.TextWrapped = true
- Flatten.Name = "Flatten"
- Flatten.Parent = ButtonFrame
- Flatten.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- Flatten.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
- Flatten.BorderSizePixel = 2
- Flatten.Position = UDim2.new(0, 22, 0, 66)
- Flatten.Size = UDim2.new(0, 135, 0, 36)
- Flatten.Font = Enum.Font.Highway
- Flatten.FontSize = Enum.FontSize.Size32
- Flatten.Text = "Flatten"
- Flatten.TextColor3 = Color3.new(0.827451, 0.827451, 0.827451)
- Flatten.TextScaled = true
- Flatten.TextSize = 30
- Flatten.TextWrapped = true
- Push.Name = "Push"
- Push.Parent = ButtonFrame
- Push.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- Push.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
- Push.BorderSizePixel = 2
- Push.Position = UDim2.new(0, 22, 0, 126)
- Push.Size = UDim2.new(0, 135, 0, 36)
- Push.Font = Enum.Font.Highway
- Push.FontSize = Enum.FontSize.Size32
- Push.Text = "Push"
- Push.TextColor3 = Color3.new(0.827451, 0.827451, 0.827451)
- Push.TextScaled = true
- Push.TextSize = 30
- Push.TextWrapped = true
- LockOn.Name = "LockOn"
- LockOn.Parent = ButtonFrame
- LockOn.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- LockOn.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
- LockOn.BorderSizePixel = 2
- LockOn.Position = UDim2.new(0, 22, 0, 186)
- LockOn.Size = UDim2.new(0, 135, 0, 36)
- LockOn.Font = Enum.Font.Highway
- LockOn.FontSize = Enum.FontSize.Size32
- LockOn.Text = "LockOn"
- LockOn.TextColor3 = Color3.new(0.827451, 0.827451, 0.827451)
- LockOn.TextSize = 30
- LockOn.TextWrapped = true
- Float.Name = "Float"
- Float.Parent = ButtonFrame
- Float.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- Float.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
- Float.BorderSizePixel = 2
- Float.Position = UDim2.new(0, 218, 0, 66)
- Float.Size = UDim2.new(0, 135, 0, 36)
- Float.Font = Enum.Font.Highway
- Float.FontSize = Enum.FontSize.Size32
- Float.Text = "Float"
- Float.TextColor3 = Color3.new(0.827451, 0.827451, 0.827451)
- Float.TextScaled = true
- Float.TextSize = 30
- Float.TextWrapped = true
- Stick.Name = "Stick"
- Stick.Parent = ButtonFrame
- Stick.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- Stick.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
- Stick.BorderSizePixel = 2
- Stick.Position = UDim2.new(0, 218, 0, 126)
- Stick.Size = UDim2.new(0, 135, 0, 36)
- Stick.Font = Enum.Font.Highway
- Stick.FontSize = Enum.FontSize.Size32
- Stick.Text = "Stick"
- Stick.TextColor3 = Color3.new(0.827451, 0.827451, 0.827451)
- Stick.TextSize = 30
- Stick.TextWrapped = true
- Experimental.Name = "Experimental"
- Experimental.Parent = ButtonFrame
- Experimental.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- Experimental.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
- Experimental.BorderSizePixel = 2
- Experimental.Position = UDim2.new(0, 218, 0, 186)
- Experimental.Size = UDim2.new(0, 135, 0, 36)
- Experimental.Font = Enum.Font.Highway
- Experimental.FontSize = Enum.FontSize.Size28
- Experimental.Text = "Experimental"
- Experimental.TextColor3 = Color3.new(0.827451, 0.827451, 0.827451)
- Experimental.TextSize = 25
- Experimental.TextWrapped = true
- SideFrame.Name = "SideFrame"
- SideFrame.Parent = GlitchMax
- SideFrame.Active = true
- SideFrame.BackgroundColor3 = Color3.new(0.466667, 0.47451, 1)
- SideFrame.Draggable = true
- SideFrame.Position = UDim2.new(0, 570, 0, 61)
- SideFrame.Size = UDim2.new(0, 376, 0, 36)
- SideFrame.Visible = false
- OpenGUI.Name = "OpenGUI"
- OpenGUI.Parent = SideFrame
- OpenGUI.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenGUI.BackgroundTransparency = 1
- OpenGUI.Position = UDim2.new(0, 327, 0, 0)
- OpenGUI.Size = UDim2.new(0, 49, 0, 36)
- OpenGUI.Font = Enum.Font.SourceSans
- OpenGUI.FontSize = Enum.FontSize.Size60
- OpenGUI.Text = "X"
- OpenGUI.TextSize = 50
- SideCredit.Name = "SideCredit"
- SideCredit.Parent = SideFrame
- SideCredit.BackgroundColor3 = Color3.new(1, 1, 1)
- SideCredit.BackgroundTransparency = 1
- SideCredit.Position = UDim2.new(0, 16, 0, 0)
- SideCredit.Size = UDim2.new(0, 96, 0, 36)
- SideCredit.Font = Enum.Font.Highway
- SideCredit.FontSize = Enum.FontSize.Size14
- SideCredit.Text = "illremember"
- SideCredit.TextColor3 = Color3.new(0.431373, 0.662745, 0.709804)
- SideCredit.TextScaled = true
- SideCredit.TextSize = 14
- SideCredit.TextStrokeColor3 = Color3.new(1, 1, 1)
- SideCredit.TextStrokeTransparency = 0
- SideCredit.TextWrapped = true
- SideTitle.Name = "SideTitle"
- SideTitle.Parent = SideFrame
- SideTitle.BackgroundColor3 = Color3.new(1, 1, 1)
- SideTitle.BackgroundTransparency = 1
- SideTitle.Size = UDim2.new(0, 376, 0, 36)
- SideTitle.Font = Enum.Font.Highway
- SideTitle.FontSize = Enum.FontSize.Size14
- SideTitle.Text = "GlitchMax"
- SideTitle.TextColor3 = Color3.new(0.243137, 0.372549, 0.4)
- SideTitle.TextScaled = true
- SideTitle.TextSize = 14
- SideTitle.TextStrokeColor3 = Color3.new(1, 1, 1)
- SideTitle.TextStrokeTransparency = 0
- SideTitle.TextWrapped = true
- -- Buttons
- col = Color3.new(0.254902, 0.254902, 0.254902)
- loc = Color3.new(0.40, 0.40, 0.40)
- CloseGUI.MouseButton1Click:connect(function()
- MainFrame.Visible = false
- SideFrame.Visible = true
- SideFrame.Position = MainFrame.Position
- end)
- OpenGUI.MouseButton1Click:connect(function()
- MainFrame.Visible = true
- SideFrame.Visible = false
- MainFrame.Position = SideFrame.Position
- end)
- function shortnames(username)
- local nameshort = {}
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():sub(1, #username) == username:lower() then
- table.insert(nameshort,v)
- end
- end
- return nameshort
- end
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://282574440"
- local track = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- flattening = false
- Flatten.MouseButton1Click:connect(function()
- flattening = not flattening
- if flattening then
- Flatten.BackgroundColor3 = loc
- local y = Instance.new("RocketPropulsion")
- y.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- y.CartoonFactor = 1
- y.MaxThrust = 50000
- y.MaxSpeed = 1000
- y.ThrustP = 50000
- y.Name = "Flatten"
- for i,v in pairs(shortnames(UserBox.Text))do
- y.Target = game.Players[v.name].Character["Left Leg"]
- y:Fire()
- track:Play(.1, 1, 1)
- game:GetService('RunService').Stepped:connect(function()
- if flattening then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- end
- end)
- while wait(0.3) do
- if flattening then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v.Name].Character.HumanoidRootPart.CFrame + Vector3.new(0,2,0)
- end
- end
- end
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.Flatten:Destroy()
- track:Stop()
- Flatten.BackgroundColor3 = col
- end
- end)
- floating = false
- Float.MouseButton1Click:connect(function()
- floating = not floating
- if floating then
- Float.BackgroundColor3 = loc
- local y = Instance.new("RocketPropulsion")
- y.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- y.CartoonFactor = 1
- y.MaxThrust = 50000
- y.MaxSpeed = 1000
- y.ThrustP = 50000
- y.Name = "Float"
- for i,v in pairs(shortnames(UserBox.Text))do
- y.Target = game.Players[v.Name].Character.Head
- y:Fire()
- game:GetService('RunService').Stepped:connect(function()
- if floating then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- end
- end)
- while wait(0.3) do
- if floating then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v.Name].Character["Left Leg"].CFrame
- end
- end
- end
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.Float:Destroy()
- Float.BackgroundColor3 = col
- end
- end)
- LockOnACTIVE = false
- LockOn.MouseButton1Click:connect(function()
- LockOnACTIVE = not LockOnACTIVE
- for i,v in pairs(shortnames(UserBox.Text))do
- while wait() do
- if LockOnACTIVE then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v.Name].Character.HumanoidRootPart.CFrame
- LockOn.BackgroundColor3 = loc
- else
- LockOn.BackgroundColor3 = col
- end
- end
- end
- end)
- pushing = false
- Push.MouseButton1Click:connect(function()
- pushing = not pushing
- if pushing then
- Push.BackgroundColor3 = loc
- local b = Instance.new("RocketPropulsion")
- b.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- b.TurnP = 2500
- b.MaxThrust = 50000
- b.MaxSpeed = 1000
- b.ThrustP = 50000
- b.CartoonFactor = 1
- b.Name = "Push"
- for i,v in pairs(shortnames(UserBox.Text))do
- b.Target = game.Players[v.Name].Character.HumanoidRootPart
- b:Fire()
- game:GetService('RunService').Stepped:connect(function()
- if pushing then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- end
- end)
- b:Fire()
- end
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.Push:Destroy()
- Push.BackgroundColor3 = col
- end
- end)
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://215384594"
- local track = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- experi = false
- Experimental.MouseButton1Click:connect(function()
- experi = not experi
- if experi then
- Experimental.BackgroundColor3 = loc
- local h = Instance.new("RocketPropulsion")
- h.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- h.Name = "Experimental"
- for i,v in pairs(shortnames(UserBox.Text))do
- h.Target = game.Players[v.Name].Character.HumanoidRootPart
- h:Fire()
- track:Play(.1,1,1)
- game:GetService('RunService').Stepped:connect(function()
- if experi then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- end
- end)
- end
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.Experimental:Destroy()
- track:Stop()
- Stick.BackgroundColor3 = col
- end
- end)
- stuck = false
- Stick.MouseButton1Click:connect(function()
- stuck = not stuck
- if stuck then
- Stick.BackgroundColor3 = loc
- local h = Instance.new("RocketPropulsion")
- h.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- h.MaxSpeed = 1000
- h.MaxThrust = 10000
- h.Name = "Stick"
- for i,v in pairs(shortnames(UserBox.Text))do
- h.Target = game.Players[v.Name].Character.HumanoidRootPart
- h:Fire()
- game:GetService('RunService').Stepped:connect(function()
- if stuck then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- end
- end)
- end
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.Stick:Destroy()
- Stick.BackgroundColor3 = col
- end
- end)
- end)
- FEFloatinghead.Name = "FE Floating head"
- FEFloatinghead.Parent = MainBody
- FEFloatinghead.BackgroundColor3 = Color3.new(0, 0.615686, 1)
- FEFloatinghead.Position = UDim2.new(0.347598583, 0, 0.653591216, 0)
- FEFloatinghead.Size = UDim2.new(0, 106, 0, 27)
- FEFloatinghead.Font = Enum.Font.SciFi
- FEFloatinghead.Text = "FE FloatingHead"
- FEFloatinghead.TextColor3 = Color3.new(1, 1, 1)
- FEFloatinghead.TextSize = 14
- FEFloatinghead.MouseButton1Down:connect(function()
- local speed = 50 -- This is the fly speed. Change it to whatever you like. The variable can be changed while running
- local c
- local h
- local bv
- local bav
- local cam
- local flying
- local p = game:GetService'Players'.LocalPlayer
- local buttons = {W = false, S = false, A = false, D = false, Moving = false}
- local startFly = function () -- Call this function to begin flying
- if not p.Character or not p.Character.Head or flying then return end
- c = p.Character
- h = c.Humanoid
- h.PlatformStand = true
- cam = workspace:WaitForChild('Camera')
- bv = Instance.new("BodyVelocity")
- bav = Instance.new("BodyAngularVelocity")
- bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bv.Parent = c.Head
- bav.Parent = c.Head
- flying = true
- h.Died:connect(function() flying = false end)
- end
- local endFly = function () -- Call this function to stop flying
- if not p.Character or not flying then return end
- h.PlatformStand = false
- bv:Destroy()
- bav:Destroy()
- flying = false
- end
- game:GetService("UserInputService").InputBegan:connect(function (input, GPE)
- if GPE then return end
- for i, e in pairs(buttons) do
- if i ~= "Moving" and input.KeyCode == Enum.KeyCode[i] then
- buttons[i] = true
- buttons.Moving = true
- end
- end
- end)
- game:GetService("UserInputService").InputEnded:connect(function (input, GPE)
- if GPE then return end
- local a = false
- for i, e in pairs(buttons) do
- if i ~= "Moving" then
- if input.KeyCode == Enum.KeyCode[i] then
- buttons[i] = false
- end
- if buttons[i] then a = true end
- end
- end
- buttons.Moving = a
- end)
- local setVec = function (vec)
- return vec * (speed / vec.Magnitude)
- end
- game:GetService("RunService").Heartbeat:connect(function (step) -- The actual fly function, called every frame
- if flying and c and c.PrimaryPart then
- local p = c.PrimaryPart.Position
- local cf = cam.CFrame
- local ax, ay, az = cf:toEulerAnglesXYZ()
- c:SetPrimaryPartCFrame(CFrame.new(p.x, p.y, p.z) * CFrame.Angles(ax, ay, az))
- if buttons.Moving then
- local t = Vector3.new()
- if buttons.W then t = t + (setVec(cf.lookVector)) end
- if buttons.S then t = t - (setVec(cf.lookVector)) end
- if buttons.A then t = t - (setVec(cf.rightVector)) end
- if buttons.D then t = t + (setVec(cf.rightVector)) end
- c:TranslateBy(t * step)
- end
- end
- end)
- FEFloatinghead.MouseButton1Down:connect(function()
- local lol = game:GetService'Players'.LocalPlayer.Character
- pcall(function()
- for i,v in pairs(lol:GetChildren()) do
- if v.Name ~= 'Head' and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
- v:Destroy()
- end
- end
- local ok = lol:FindFirstChild'Torso'
- if ok then ok = ok:FindFirstChild'roblox' if ok then ok:Destroy() end end
- Instance.new('Humanoid', lol)
- if lol.HumanoidRootPart:FindFirstChild'Rank' then lol.HumanoidRootPart:FindFirstChild'Rank':Destroy() end
- local nouxd = lol:FindFirstChild'Torso'
- wait'1'
- lol.Head.Position = lol.Head.Position + Vector3.new(1,1,1)
- if nouxd then nouxd.Transparency = 1 end
- wait'.3'
- startFly()
- end)
- end)
- end)
- FEbtools.Name = "FE btools"
- FEbtools.Parent = Body
- FEbtools.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- FEbtools.Position = UDim2.new(0.0332326293, 0, 0.466911793, 0)
- FEbtools.Size = UDim2.new(0, 71, 0, 18)
- FEbtools.Font = Enum.Font.Fantasy
- FEbtools.Text = "FE Btools"
- FEbtools.TextColor3 = Color3.new(1, 1, 1)
- FEbtools.TextSize = 14
- FEbtools.MouseButton1Down:connect(function()
- loadstring(game:GetObjects("rbxassetid://536904585")[1].Source)()
- end)
- Flyinghead.Name = "Flying head"
- Flyinghead.Parent = Body
- Flyinghead.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Flyinghead.Position = UDim2.new(0.374622345, 0, 0.466911793, 0)
- Flyinghead.Size = UDim2.new(0, 71, 0, 18)
- Flyinghead.Font = Enum.Font.Fantasy
- Flyinghead.Text = "Flying head"
- Flyinghead.TextColor3 = Color3.new(1, 1, 1)
- Flyinghead.TextSize = 14
- Flyinghead.MouseButton1Down:connect(function()
- local speed = 50 -- This is the fly speed. Change it to whatever you like. The variable can be changed while running
- local c
- local h
- local bv
- local bav
- local cam
- local flying
- local p = game:GetService'Players'.LocalPlayer
- local buttons = {W = false, S = false, A = false, D = false, Moving = false}
- local startFly = function () -- Call this function to begin flying
- if not p.Character or not p.Character.Head or flying then return end
- c = p.Character
- h = c.Humanoid
- h.PlatformStand = true
- cam = workspace:WaitForChild('Camera')
- bv = Instance.new("BodyVelocity")
- bav = Instance.new("BodyAngularVelocity")
- bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bv.Parent = c.Head
- bav.Parent = c.Head
- flying = true
- h.Died:connect(function() flying = false end)
- end
- local endFly = function () -- Call this function to stop flying
- if not p.Character or not flying then return end
- h.PlatformStand = false
- bv:Destroy()
- bav:Destroy()
- flying = false
- end
- game:GetService("UserInputService").InputBegan:connect(function (input, GPE)
- if GPE then return end
- for i, e in pairs(buttons) do
- if i ~= "Moving" and input.KeyCode == Enum.KeyCode[i] then
- buttons[i] = true
- buttons.Moving = true
- end
- end
- end)
- game:GetService("UserInputService").InputEnded:connect(function (input, GPE)
- if GPE then return end
- local a = false
- for i, e in pairs(buttons) do
- if i ~= "Moving" then
- if input.KeyCode == Enum.KeyCode[i] then
- buttons[i] = false
- end
- if buttons[i] then a = true end
- end
- end
- buttons.Moving = a
- end)
- local setVec = function (vec)
- return vec * (speed / vec.Magnitude)
- end
- game:GetService("RunService").Heartbeat:connect(function (step) -- The actual fly function, called every frame
- if flying and c and c.PrimaryPart then
- local p = c.PrimaryPart.Position
- local cf = cam.CFrame
- local ax, ay, az = cf:toEulerAnglesXYZ()
- c:SetPrimaryPartCFrame(CFrame.new(p.x, p.y, p.z) * CFrame.Angles(ax, ay, az))
- if buttons.Moving then
- local t = Vector3.new()
- if buttons.W then t = t + (setVec(cf.lookVector)) end
- if buttons.S then t = t - (setVec(cf.lookVector)) end
- if buttons.A then t = t - (setVec(cf.rightVector)) end
- if buttons.D then t = t + (setVec(cf.rightVector)) end
- c:TranslateBy(t * step)
- end
- end
- end)
- FEFloatinghead.MouseButton1Down:connect(function()
- local lol = game:GetService'Players'.LocalPlayer.Character
- pcall(function()
- for i,v in pairs(lol:GetChildren()) do
- if v.Name ~= 'Head' and v.Name ~= 'Torso' and v.Name ~= 'HumanoidRootPart' then
- v:Destroy()
- end
- end
- local ok = lol:FindFirstChild'Torso'
- if ok then ok = ok:FindFirstChild'roblox' if ok then ok:Destroy() end end
- Instance.new('Humanoid', lol)
- if lol.HumanoidRootPart:FindFirstChild'Rank' then lol.HumanoidRootPart:FindFirstChild'Rank':Destroy() end
- local nouxd = lol:FindFirstChild'Torso'
- wait'1'
- lol.Head.Position = lol.Head.Position + Vector3.new(1,1,1)
- if nouxd then nouxd.Transparency = 1 end
- wait'.3'
- startFly()
- end)
- end)
- end)
- Drophats.Name = "Drophats"
- Drophats.Parent = Body
- Drophats.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Drophats.Position = UDim2.new(0.682779431, 0, 0.466911793, 0)
- Drophats.Size = UDim2.new(0, 71, 0, 18)
- Drophats.Font = Enum.Font.Fantasy
- Drophats.Text = "Drop hats"
- Drophats.TextColor3 = Color3.new(1, 1, 1)
- Drophats.TextSize = 14
- Drophats.MouseButton1Down:connect(function()
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if (key=="e") then
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Accessory")) then
- v.Parent = workspace
- end
- end
- end
- end)
- end)
- TextLabel_3.Parent = Body
- TextLabel_3.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- TextLabel_3.Position = UDim2.new(0.173716024, 0, 0.577205896, 0)
- TextLabel_3.Size = UDim2.new(0, 204, 0, 19)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = "Specific games"
- TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_3.TextSize = 14
- WaterPark.Name = "Water Park"
- WaterPark.Parent = Body
- WaterPark.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- WaterPark.Position = UDim2.new(0, 0, 0.702205896, 0)
- WaterPark.Size = UDim2.new(0, 150, 0, 18)
- WaterPark.Font = Enum.Font.Fantasy
- WaterPark.Text = "WaterPark boom boom"
- WaterPark.TextColor3 = Color3.new(1, 1, 1)
- WaterPark.TextSize = 14
- WaterPark.MouseButton1Down:connect(function()
- game.ReplicatedStorage.ClothingService:FireServer("Hat", 001527622 )
- end)
- Citylifehammer.Name = "City life hammer"
- Citylifehammer.Parent = Body
- Citylifehammer.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Citylifehammer.Position = UDim2.new(0.546827793, 0, 0.702205896, 0)
- Citylifehammer.Size = UDim2.new(0, 150, 0, 18)
- Citylifehammer.Font = Enum.Font.Fantasy
- Citylifehammer.Text = "City life hammer"
- Citylifehammer.TextColor3 = Color3.new(1, 1, 1)
- Citylifehammer.TextSize = 14
- Citylifehammer.MouseButton1Down:connect(function()
- plr = "LocalPlayer" --player to give tool to
- plr = game:GetService'Players'[plr]
- game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer('meme', '7', '1055299')
- lp = game:GetService'Players'.LocalPlayer
- hat = lp.Character:WaitForChild'meme'
- hammer = hat.GravityHammer
- hammer.Parent = lp:FindFirstChildOfClass'Backpack'
- --DIRTY HACKS TO PARENT HAT/TOOLS WITH REPLICATION ON FE--
- hat.Parent = nil
- hammer.Parent = lp.Character
- game:GetService'RunService'.Stepped:wait()
- hammer.Parent = plr.Character
- for i = 1,3 do
- local lol = lp:FindFirstChildOfClass'Backpack':FindFirstChildOfClass'HopperBin'
- if lol:FindFirstChild'LocalScript' then destroy() end
- end
- end)
- Citylifebombvest.Name = "City life bomb vest"
- Citylifebombvest.Parent = Body
- Citylifebombvest.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Citylifebombvest.Position = UDim2.new(0.546827793, 0, 0.76838237, 0)
- Citylifebombvest.Size = UDim2.new(0, 150, 0, 18)
- Citylifebombvest.Font = Enum.Font.Fantasy
- Citylifebombvest.Text = "City life bomb vest"
- Citylifebombvest.TextColor3 = Color3.new(1, 1, 1)
- Citylifebombvest.TextSize = 14
- Citylifebombvest.MouseButton1Down:connect(function()
- local Me = game:GetService("Players").LocalPlayer
- local Char = Me.Character
- local Torso = Char.Torso
- local TickWait = 1
- local Color = "Medium stone gray"
- local Dead = false
- local Tool = Instance.new("HopperBin", Me.Backpack)
- Tool.Name = "Bomb Vest"
- local Position = Vector3.new(0,100,0)
- function NewPart(Parent)
- local Part = Instance.new("Part", Parent)
- Part.CanCollide = false
- Part.FormFactor = "Custom"
- Part.Position = Position
- Part.TopSurface = "Smooth"
- Part.BottomSurface = "Smooth"
- Part.BrickColor = BrickColor.new(Color)
- Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
- return Part
- end
- local Model = Char:FindFirstChild("Bomb")
- if Model then Model:Destroy() end
- Model = Instance.new("Model", Char)
- Model.Name = "Bomb"
- local Belt = NewPart(Model)
- Belt.Size = Vector3.new(2.2,0.5,1.2)
- local Weld = Instance.new("Weld", Belt)
- Weld.Part0 = Belt
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0,1.1,0)
- local Light = Instance.new("PointLight", Belt)
- Light.Range = 15
- Light.Brightness = 5
- Light.Color = Color3.new(1,0,0)
- local Beep = Instance.new("Sound", Belt)
- Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
- local ExplodeSound = Instance.new("Sound", Belt)
- ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
- ExplodeSound.Pitch = 2.8
- ExplodeSound.Volume = 100
- local Back = NewPart(Model)
- Back.Size = Vector3.new(1.5,1.5,0.5)
- local Weld = Instance.new("Weld", Back)
- Weld.Part0 = Back
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0,0.1,-0.75)
- local StrapLeft = NewPart(Model)
- StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapLeft)
- Weld.Part0 = StrapLeft
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
- local BuckleLeft = NewPart(Model)
- BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleLeft)
- Weld.Part0 = BuckleLeft
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(0.65,0.1,0.5)
- local StrapRight = NewPart(Model)
- StrapRight.Size = Vector3.new(0.2,0.5,1.6)
- local Weld = Instance.new("Weld", StrapRight)
- Weld.Part0 = StrapRight
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
- local BuckleRight = NewPart(Model)
- BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
- local Weld = Instance.new("Weld", BuckleRight)
- Weld.Part0 = BuckleRight
- Weld.Part1 = Torso
- Weld.C0 = CFrame.new(-0.65,0.1,0.5)
- Tool.Selected:connect(function(Mouse)
- TickWait = 0.3
- Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
- Mouse.Button1Down:connect(function()
- if Dead == false then
- Dead = true
- ExplodeSound:Play()
- wait(1.4)
- local Explosion = Instance.new("Explosion", Workspace)
- Explosion.Position = Belt.Position
- Explosion.BlastPressure = 100000
- Explosion.DestroyJointRadiusPercent = 0.7
- Explosion.ExplosionType = "CratersAndDebris"
- Explosion.BlastRadius = 50
- Explosion.Hit:connect(function(Part, Distance)
- Part.Anchored = false
- if Distance <= 10 then
- Part:BreakJoints()
- end
- end)
- end
- end)
- end)
- Tool.Deselected:connect(function()
- TickWait = 1
- end)
- coroutine.wrap(function()
- repeat
- wait(TickWait)
- Light.Enabled = not Light.Enabled
- Beep:Play()
- until Dead == true
- end)()
- end)
- Soon.Name = "Soon!"
- Soon.Parent = Body
- Soon.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Soon.Position = UDim2.new(0, 0, 0.76838237, 0)
- Soon.Size = UDim2.new(0, 150, 0, 18)
- Soon.Font = Enum.Font.Fantasy
- Soon.Text = "Soon!"
- Soon.TextColor3 = Color3.new(1, 1, 1)
- Soon.TextSize = 14
- Soon_2.Name = "Soon!"
- Soon_2.Parent = Body
- Soon_2.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Soon_2.Position = UDim2.new(0.546827793, 0, 0.834558845, 0)
- Soon_2.Size = UDim2.new(0, 150, 0, 18)
- Soon_2.Font = Enum.Font.Fantasy
- Soon_2.Text = "Soon!"
- Soon_2.TextColor3 = Color3.new(1, 1, 1)
- Soon_2.TextSize = 14
- Soon_3.Name = "Soon!"
- Soon_3.Parent = Body
- Soon_3.BackgroundColor3 = Color3.new(0, 0.709804, 0.0235294)
- Soon_3.Position = UDim2.new(0, 0, 0.834558845, 0)
- Soon_3.Size = UDim2.new(0, 150, 0, 18)
- Soon_3.Font = Enum.Font.Fantasy
- Soon_3.Text = "Soon!"
- Soon_3.TextColor3 = Color3.new(1, 1, 1)
- Soon_3.TextSize = 14
- Soon_4.Name = "Soon!"
- Soon_4.Parent = Body
- Soon_4.BackgroundColor3 = Color3.new(0, 1, 0.0823529)
- Soon_4.BorderSizePixel = 0
- Soon_4.Position = UDim2.new(0, 0, 0.952205896, 0)
- Soon_4.Size = UDim2.new(0, 331, 0, 13)
- Soon_4.Font = Enum.Font.Fantasy
- Soon_4.Text = "By 1x7x9x0x3x1x9"
- Soon_4.TextColor3 = Color3.new(0.0666667, 0, 1)
- Soon_4.TextSize = 14
- Open.Name = "Open"
- Open.Parent = GamesGUI
- Open.BackgroundColor3 = Color3.new(0, 0.952941, 1)
- Open.BorderSizePixel = 3
- Open.Position = UDim2.new(0.00928792544, 0, 0.914979756, 0)
- Open.Size = UDim2.new(0, 96, 0, 32)
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open"
- Open.TextSize = 14
- Open.MouseButton1Down:connect(function()
- local Button = script.Parent
- Frame = script.Parent.Parent.Body
- function onClick()
- if Frame.Visible == false then
- Frame.Visible = true
- elseif Frame.Visible == true then
- Frame.Visible = false
- end
- end
- Button.MouseButton1Click:connect(onClick)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement