Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Hospital Roleplay Gui", Text = "Welcome To Hospital Kidnapping Gui!."})
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Kidnapping = Instance.new("TextButton")
- local TpHouse = Instance.new("TextButton")
- local TpDead = Instance.new("TextButton")
- local TeleportToVet = Instance.new("TextButton")
- local TeleportToHospital = Instance.new("TextButton")
- local TeleportToWomanToilet = Instance.new("TextButton")
- local TeleportToMaleToilet = Instance.new("TextButton")
- local TeleportToCamp = Instance.new("TextButton")
- local TeleportToSkydive = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local ComingSoon = Instance.new("TextButton")
- local InvisibleFling = Instance.new("TextButton")
- local ComingSoon_2 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- Frame.BackgroundTransparency = 0.700
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.0375000015, 0, 0.283333331, 0)
- Frame.Size = UDim2.new(0, 498, 0, 247)
- Frame.ZIndex = 0
- Frame.Active = true
- Frame.Draggable = true
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.0160642564, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 369, 0, 50)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "Hospital Roleplay Gui!"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 24.000
- Kidnapping.Name = "Kidnapping"
- Kidnapping.Parent = Frame
- Kidnapping.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- Kidnapping.BackgroundTransparency = 0.800
- Kidnapping.BorderSizePixel = 0
- Kidnapping.Position = UDim2.new(0, 0, 0.20065023, 0)
- Kidnapping.Size = UDim2.new(0, 103, 0, 50)
- Kidnapping.Font = Enum.Font.Cartoon
- Kidnapping.Text = "Kidnapping"
- Kidnapping.TextColor3 = Color3.fromRGB(255, 255, 255)
- Kidnapping.TextScaled = true
- Kidnapping.TextSize = 24.000
- Kidnapping.TextStrokeColor3 = Color3.fromRGB(31, 31, 31)
- Kidnapping.TextWrapped = true
- Kidnapping.MouseButton1Down:connect(function()
- Target = "THEVICTIM"
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait()
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait()
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Target].Character.HumanoidRootPart.CFrame
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Target].Character.HumanoidRootPart.CFrame
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(30,3.75,40))
- game.Players.LocalPlayer.Character.Humanoid.HipHeight = -3
- wait(20)
- local prt = Instance.new("Model", workspace);
- Instance.new("Part", prt).Name="Torso";
- Instance.new("Part", prt).Name="Head";
- Instance.new("Humanoid", prt).Name="Humanoid";
- game.Players.LocalPlayer.Character = prt
- end)
- TpHouse.Name = "Tp House"
- TpHouse.Parent = Frame
- TpHouse.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TpHouse.BackgroundTransparency = 0.800
- TpHouse.BorderSizePixel = 0
- TpHouse.Position = UDim2.new(0.24791272, 0, 0.20065023, 0)
- TpHouse.Size = UDim2.new(0, 103, 0, 50)
- TpHouse.Font = Enum.Font.Cartoon
- TpHouse.Text = "Teleport To House"
- TpHouse.TextColor3 = Color3.fromRGB(255, 255, 255)
- TpHouse.TextScaled = true
- TpHouse.TextSize = 24.000
- TpHouse.TextWrapped = true
- TpHouse.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-280.471, 1.30226, -63.8461 )
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TpDead.Name = "Tp Dead"
- TpDead.Parent = Frame
- TpDead.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TpDead.BackgroundTransparency = 0.800
- TpDead.BorderSizePixel = 0
- TpDead.Position = UDim2.new(0.499299496, 0, 0.20065023, 0)
- TpDead.Size = UDim2.new(0, 103, 0, 50)
- TpDead.Font = Enum.Font.Cartoon
- TpDead.Text = "Teleport To Dead"
- TpDead.TextColor3 = Color3.fromRGB(255, 255, 255)
- TpDead.TextScaled = true
- TpDead.TextSize = 24.000
- TpDead.TextWrapped = true
- TpDead.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(909.029, 97.5886, 2459.18)
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TeleportToVet.Name = "Teleport To Vet"
- TeleportToVet.Parent = Frame
- TeleportToVet.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TeleportToVet.BackgroundTransparency = 0.800
- TeleportToVet.BorderSizePixel = 0
- TeleportToVet.Position = UDim2.new(0, 0, 0.459759533, 0)
- TeleportToVet.Size = UDim2.new(0, 103, 0, 50)
- TeleportToVet.Font = Enum.Font.Cartoon
- TeleportToVet.Text = "Teleport To Vet"
- TeleportToVet.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportToVet.TextScaled = true
- TeleportToVet.TextSize = 24.000
- TeleportToVet.TextWrapped = true
- TeleportToVet.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(131.236, 0.798394, 61.4022)
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TeleportToHospital.Name = "Teleport To Hospital"
- TeleportToHospital.Parent = Frame
- TeleportToHospital.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TeleportToHospital.BackgroundTransparency = 0.800
- TeleportToHospital.BorderSizePixel = 0
- TeleportToHospital.Position = UDim2.new(0.24791272, 0, 0.459759533, 0)
- TeleportToHospital.Size = UDim2.new(0, 103, 0, 50)
- TeleportToHospital.Font = Enum.Font.Cartoon
- TeleportToHospital.Text = "Teleport To Hospital"
- TeleportToHospital.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportToHospital.TextScaled = true
- TeleportToHospital.TextSize = 24.000
- TeleportToHospital.TextWrapped = true
- TeleportToHospital.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-66.3595, 0.820881, -87.1828)
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TeleportToWomanToilet.Name = "Teleport To Woman Toilet"
- TeleportToWomanToilet.Parent = Frame
- TeleportToWomanToilet.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TeleportToWomanToilet.BackgroundTransparency = 0.800
- TeleportToWomanToilet.BorderSizePixel = 0
- TeleportToWomanToilet.Position = UDim2.new(0.499299526, 0, 0.459759533, 0)
- TeleportToWomanToilet.Size = UDim2.new(0, 103, 0, 50)
- TeleportToWomanToilet.Font = Enum.Font.Cartoon
- TeleportToWomanToilet.Text = "Teleport To Woman T-"
- TeleportToWomanToilet.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportToWomanToilet.TextScaled = true
- TeleportToWomanToilet.TextSize = 24.000
- TeleportToWomanToilet.TextWrapped = true
- TeleportToWomanToilet.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(83.677, 0.823902, -127.161)
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TeleportToMaleToilet.Name = "Teleport To Male Toilet"
- TeleportToMaleToilet.Parent = Frame
- TeleportToMaleToilet.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TeleportToMaleToilet.BackgroundTransparency = 0.800
- TeleportToMaleToilet.BorderSizePixel = 0
- TeleportToMaleToilet.Position = UDim2.new(0, 0, 0.722917438, 0)
- TeleportToMaleToilet.Size = UDim2.new(0, 103, 0, 50)
- TeleportToMaleToilet.Font = Enum.Font.Cartoon
- TeleportToMaleToilet.Text = "Teleport To Male Toilet"
- TeleportToMaleToilet.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportToMaleToilet.TextScaled = true
- TeleportToMaleToilet.TextSize = 24.000
- TeleportToMaleToilet.TextWrapped = true
- TeleportToMaleToilet.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(78.7195, 0.818662, -104.657)
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TeleportToCamp.Name = "Teleport To Camp"
- TeleportToCamp.Parent = Frame
- TeleportToCamp.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TeleportToCamp.BackgroundTransparency = 0.800
- TeleportToCamp.BorderSizePixel = 0
- TeleportToCamp.Position = UDim2.new(0.24791272, 0, 0.722917438, 0)
- TeleportToCamp.Size = UDim2.new(0, 103, 0, 50)
- TeleportToCamp.Font = Enum.Font.Cartoon
- TeleportToCamp.Text = "Teleport To Camp"
- TeleportToCamp.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportToCamp.TextScaled = true
- TeleportToCamp.TextSize = 24.000
- TeleportToCamp.TextWrapped = true
- TeleportToCamp.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-119.668, 0.61574, -245.707)
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TeleportToSkydive.Name = "Teleport To Skydive"
- TeleportToSkydive.Parent = Frame
- TeleportToSkydive.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- TeleportToSkydive.BackgroundTransparency = 0.800
- TeleportToSkydive.BorderSizePixel = 0
- TeleportToSkydive.Position = UDim2.new(0.499299496, 0, 0.722917438, 0)
- TeleportToSkydive.Size = UDim2.new(0, 103, 0, 50)
- TeleportToSkydive.Font = Enum.Font.Cartoon
- TeleportToSkydive.Text = "Teleport To Skydive"
- TeleportToSkydive.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportToSkydive.TextScaled = true
- TeleportToSkydive.TextSize = 24.000
- TeleportToSkydive.TextWrapped = true
- TeleportToSkydive.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(78.7195, 3062, -104.657)
- local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
- wait(3)
- hint:Destroy()
- end)
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.737774432, 0, -0.0040485831, 0)
- TextLabel_2.Size = UDim2.new(0, 124, 0, 50)
- TextLabel_2.Font = Enum.Font.Cartoon
- TextLabel_2.Text = "Scripts!"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 24.000
- ComingSoon.Name = "Coming Soon"
- ComingSoon.Parent = Frame
- ComingSoon.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- ComingSoon.BackgroundTransparency = 0.800
- ComingSoon.BorderSizePixel = 0
- ComingSoon.Position = UDim2.new(0.75833565, 0, 0.196601644, 0)
- ComingSoon.Size = UDim2.new(0, 103, 0, 50)
- ComingSoon.Font = Enum.Font.Cartoon
- ComingSoon.Text = "Coming Soon"
- ComingSoon.TextColor3 = Color3.fromRGB(255, 255, 255)
- ComingSoon.TextSize = 24.000
- ComingSoon.TextWrapped = true
- InvisibleFling.Name = "Invisible Fling"
- InvisibleFling.Parent = Frame
- InvisibleFling.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- InvisibleFling.BackgroundTransparency = 0.800
- InvisibleFling.BorderSizePixel = 0
- InvisibleFling.Position = UDim2.new(0.75833565, 0, 0.459759533, 0)
- InvisibleFling.Size = UDim2.new(0, 103, 0, 50)
- InvisibleFling.Font = Enum.Font.Cartoon
- InvisibleFling.Text = "Invisible Fling"
- InvisibleFling.TextColor3 = Color3.fromRGB(255, 255, 255)
- InvisibleFling.TextSize = 24.000
- InvisibleFling.TextWrapped = true
- InvisibleFling.MouseButton1Down:connect(function()
- local mouse = game.Players.LocalPlayer:GetMouse()
- local groot = nil
- mouse.KeyDown:connect(function(k)
- if k == "z" then
- spawn(function()
- local message = Instance.new("Message",workspace)
- message.Text = "Fe Invisible Fling By Diemiers#4209 Loaded (wait 11 seconds to load)"
- wait(11)
- message:Destroy()
- end)
- local ch = game.Players.LocalPlayer.Character
- local prt=Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name="Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 =Instance.new("Part", prt)
- z2.Name="Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 =Instance.new("Humanoid", prt)
- z3.Name="Humanoid"
- z1.Position = Vector3.new(0,9999,0)
- z2.Position = Vector3.new(0,9991,0)
- game.Players.LocalPlayer.Character=prt
- wait(5)
- game.Players.LocalPlayer.Character=ch
- wait(6)
- local plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- local Hum = Instance.new("Humanoid")
- Hum.Parent = game.Players.LocalPlayer.Character
- local root = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i,v in pairs(plr.Character:GetChildren()) do
- if v ~= root and v.Name ~= "Humanoid" then
- v:Destroy()
- end
- end
- workspace.CurrentCamera.CameraSubject = root
- local se = Instance.new("SelectionBox",root)
- se.Adornee = root
- game:GetService('RunService').Stepped:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- end)
- power = 999999 -- change this to make it more or less powerful
- power = power*10
- ---
- wait(.1)
- local bambam = Instance.new("BodyThrust")
- bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- bambam.Force = Vector3.new(power,0,power)
- bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- local plr = game.Players.LocalPlayer
- local torso = root
- 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 = 120
- local speed = 15
- ---local bambam = Instance.new("BodyThrust")
- ---bambam.Parent = torso
- --bambam.Force = Vector3.new(9999999,0,9999999)
- --bambam.Location = torso.Position
- ---
- groot = root
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(0, 0, 0)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.2
- 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
- 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()
- 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
- elseif key:lower() == "r" then
- end
- end)
- Fly()
- elseif k == "x" then
- spawn(function()
- local message = Instance.new("Message",workspace)
- message.Text = "Respawning dont spam"
- wait(1)
- message:Destroy()
- end)
- local saved = groot.Position
- local ch = game.Players.LocalPlayer.Character
- local prt=Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name="Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 =Instance.new("Part", prt)
- z2.Name="Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 =Instance.new("Humanoid", prt)
- z3.Name="Humanoid"
- z1.Position = Vector3.new(0,9999,0)
- z2.Position = Vector3.new(0,9991,0)
- game.Players.LocalPlayer.Character=prt
- wait(5)
- game.Players.LocalPlayer.Character=ch
- local poop = nil
- repeat wait() poop = game.Players.LocalPlayer.Character:FindFirstChild("Head") until poop ~= nil
- wait(1)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(saved)
- end
- end)
- end)
- ComingSoon_2.Name = "Coming Soon"
- ComingSoon_2.Parent = Frame
- ComingSoon_2.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
- ComingSoon_2.BackgroundTransparency = 0.800
- ComingSoon_2.BorderSizePixel = 0
- ComingSoon_2.Position = UDim2.new(0.75833565, 0, 0.722917438, 0)
- ComingSoon_2.Size = UDim2.new(0, 103, 0, 50)
- ComingSoon_2.Font = Enum.Font.Cartoon
- ComingSoon_2.Text = "Coming Soon"
- ComingSoon_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- ComingSoon_2.TextSize = 24.000
- ComingSoon_2.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement