Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ScreenGui = Instance.new("ScreenGui")
- Frame = Instance.new("Frame")
- TextLabel = Instance.new("TextLabel")
- block = Instance.new("TextButton")
- bomb = Instance.new("TextButton")
- Ears = Instance.new("TextButton")
- Hat = Instance.new("TextButton")
- TextLabel_2 = Instance.new("TextLabel")
- Close = Instance.new("TextButton")
- Fly = Instance.new("TextButton")
- Creeper = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0.168627, 0.278431, 1)
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.Visible = true
- Frame.Draggable = true
- Frame.BorderSizePixel = 4
- Frame.Position = UDim2.new(0.193820223, 0, 0.14877589, 0)
- Frame.Size = UDim2.new(0, 278, 0, 292)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 278, 0, 50)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.FontSize = Enum.FontSize.Size32
- TextLabel.Text = "REKT Hospital"
- TextLabel.TextSize = 30
- TextLabel.TextStrokeColor3 = Color3.new(0, 1, 0.14902)
- TextLabel.TextStrokeTransparency = 0
- block.Name = "block"
- block.Parent = Frame
- block.BackgroundColor3 = Color3.new(1, 0, 0.14902)
- block.Position = UDim2.new(0.0683453232, 0, 0.247521996, 0)
- block.Size = UDim2.new(0, 113, 0, 49)
- block.Font = Enum.Font.Garamond
- block.FontSize = Enum.FontSize.Size28
- block.Text = "Fe Blocks"
- block.TextSize = 25
- block.TextStrokeTransparency = 0.5
- bomb.Name ="bomb"
- bomb.Parent = Frame
- bomb.BackgroundColor3 = Color3.new(1, 0, 0.14902)
- bomb.Position = UDim2.new(0.528776944, 0, 0.247521996, 0)
- bomb.Size = UDim2.new(0, 113, 0, 49)
- bomb.Font = Enum.Font.Garamond
- bomb.FontSize = Enum.FontSize.Size28
- bomb.Text = "Bomb Vest"
- bomb.TextSize = 25
- bomb.TextStrokeTransparency = 0.5
- Ears.Name = "Ears"
- Ears.Parent = Frame
- Ears.BackgroundColor3 = Color3.new(1, 0, 0.14902)
- Ears.Position = UDim2.new(0.526978374, 0, 0.486663282, 0)
- Ears.Size = UDim2.new(0, 113, 0, 49)
- Ears.Font = Enum.Font.Garamond
- Ears.FontSize = Enum.FontSize.Size28
- Ears.Text = "Bunny Ears"
- Ears.TextSize = 25
- Ears.TextStrokeTransparency = 0.5
- Hat.Name = "Hat"
- Hat.Parent = Frame
- Hat.BackgroundColor3 = Color3.new(1, 0, 0.14902)
- Hat.Position = UDim2.new(0.0665467232, 0, 0.486663282, 0)
- Hat.Size = UDim2.new(0, 113, 0, 49)
- Hat.Font = Enum.Font.Garamond
- Hat.FontSize = Enum.FontSize.Size28
- Hat.Text = "Hat Spam"
- Hat.TextSize = 25
- Hat.TextStrokeTransparency = 0.5
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0.593525171, 0, 0.910569072, 0)
- TextLabel_2.Size = UDim2.new(0, 105, 0, 14)
- TextLabel_2.Font = Enum.Font.Cartoon
- TextLabel_2.FontSize = Enum.FontSize.Size14
- TextLabel_2.Text = "Made By NKSzYTz"
- TextLabel_2.TextSize = 14
- TextLabel_2.TextStrokeTransparency = 0
- Close.Name = "Close"
- Close.Parent = Frame
- Close.BackgroundColor3 = Color3.new(1, 0, 0.14902)
- Close.Position = UDim2.new(0.899280608, 0, 0, 0)
- Close.Size = UDim2.new(0, 28, 0, 24)
- Close.Font = Enum.Font.Garamond
- Close.FontSize = Enum.FontSize.Size28
- Close.Text = "X"
- Close.TextSize = 25
- Close.TextStrokeTransparency = 0.5
- Fly.Name = "Fly"
- Fly.Parent = Frame
- Fly.BackgroundColor3 = Color3.new(1, 0, 0.14902)
- Fly.Position = UDim2.new(0.526978374, 0, 0.712690711, 0)
- Fly.Size = UDim2.new(0, 113, 0, 49)
- Fly.Font = Enum.Font.Garamond
- Fly.FontSize = Enum.FontSize.Size28
- Fly.Text = "Fly [Press E]"
- Fly.TextSize = 25
- Fly.TextStrokeTransparency = 0.5
- Creeper.Name = "Creeper"
- Creeper.Parent = Frame
- Creeper.BackgroundColor3 = Color3.new(1, 0, 0.14902)
- Creeper.Position = UDim2.new(0.0665467232, 0, 0.712690711, 0)
- Creeper.Size = UDim2.new(0, 113, 0, 49)
- Creeper.Font = Enum.Font.Garamond
- Creeper.FontSize = Enum.FontSize.Size28
- Creeper.Text = "Creeper"
- Creeper.TextSize = 25
- Creeper.TextStrokeTransparency = 0.5
- bomb.MouseButton1Down:connect(function()
- game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer("gay", "8", "001527622")
- local plr = game.Players.LocalPlayer
- while not plr.Character do wait() end
- local character = plr.Character
- local gay = game:GetService("RunService")
- gay.RenderStepped:connect(function()
- for _,h in pairs(character:GetChildren()) do
- if h:IsA("Accoutrement") then
- h.Handle.LocalTransparencyModifier = 1
- end
- end
- end)
- game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer("gay", "11", "445626340")
- end)
- block.MouseButton1Down:connect(function()
- for i=1,500 do
- game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer("gay", "8", "331486631")
- for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetDescendants()) do
- if v:IsA'Hat' or v:IsA'Accessory' then
- v.Handle.Mesh:Destroy()
- v.Parent = workspace
- end
- end
- end
- end)
- Ears.MouseButton1Down:connect(function()
- game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer("gay", "8", "331486631")
- end)
- Hat.MouseButton1Down:connect(function()
- for i=1,500 do --Feel free to change value!
- game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer("gay", "8", "hatassetidhere")
- for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetDescendants()) do
- if v:IsA'Hat' or v:IsA'Accessory' then
- v.Parent = workspace
- end
- end
- end
- end)
- Close.MouseButton1Down:connect(function()
- Frame.Visible = false
- end)
- 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)
- Creeper.MouseButton1Down:connect(function()
- for i,v in pairs(game:GetService('Players').LocalPlayer.Character:GetDescendants()) do
- if v:IsA'Hat' or v:IsA'Accessory' then
- v.Parent = workspace
- end
- end
- game:GetService('Players').LocalPlayer.Character.Shirt:Destroy()
- game:GetService('Players').LocalPlayer.Character.Pants:Destroy()
- game:GetService('Players').LocalPlayer.Character.Head.BrickColor = BrickColor.new("Forest green")
- game:GetService('Players').LocalPlayer.Character.Torso.BrickColor = BrickColor.new("Forest green")
- game:GetService('Players').LocalPlayer.Character["Left Leg"].BrickColor = BrickColor.new("Forest green")
- game:GetService('Players').LocalPlayer.Character["Right Leg"].BrickColor = BrickColor.new("Forest green")
- game:GetService('Players').LocalPlayer.Character.Head.Mesh:Destroy()
- game:GetService('Players').LocalPlayer.Character["Left Arm"]:Destroy()
- game:GetService('Players').LocalPlayer.Character["Right Arm"]:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement