Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local work = game:GetService("Workspace")
- local camera = work.CurrentCamera
- local run = game:GetService("RunService")
- local vim = game:GetService("VirtualInputManager")
- local plr = game:GetService("Players")
- local me = plr.LocalPlayer
- local hum = me.Character:WaitForChild("Humanoid")
- local hrp = me.Character:WaitForChild("HumanoidRootPart")
- local textchat = game:GetService("TextChatService")
- local rep = game:GetService("ReplicatedStorage")
- local function update()
- if me.Character then
- hum = me.Character:WaitForChild("Humanoid")
- hrp = me.Character:WaitForChild("HumanoidRootPart")
- end
- end
- me.CharacterAdded:Connect(update)
- if me.Character then
- update()
- end
- local thrp = plr[getgenv().target].Character.HumanoidRootPart
- local cmds = "!summon = summons stand; !desummon = desummons stand; !dm 1, !dm2, !spawn = tp u to secret place; !re = resets stand; !rejoin = rejoins"
- local con
- local back
- local function unallcon()
- if con then
- con:Disconnect()
- con = nil
- elseif back then
- back:Disconnect()
- back = nil
- end
- end
- local part = Instance.new("Part")
- part.Parent = work
- part.Name = "StandHolder"
- part.Transparency = 0.5
- run.RenderStepped:Connect(function()
- part.CFrame = hrp.CFrame * CFrame.new(0,-3.6,0)
- end)
- plr[getgenv().target].Chatted:Connect(function(cht)
- if cht == getgenv().summon or cht == "!d4c" then
- con = game:GetService("RunService").RenderStepped:Connect(function()
- hrp.CFrame = thrp.CFrame * CFrame.new(2,2,2)
- if back then
- back:Disconnect()
- back = nil
- end
- end)
- elseif cht == getgenv().desummon or cht == "!und4c" then
- if con then
- con:Disconnect()
- con = nil
- end
- elseif cht == getgenv().desummon or cht == "!re" then
- hum.Health = 0
- elseif cht == getgenv().desummon or cht == "!rejoin" then
- local p = game:GetService("Players"):GetPlayers()
- if #p <= 1 then
- p.LocalPlayer:Kick("Rejoin")
- wait()
- game:GetService("TeleportService"):Teleport(game.PlaceId, p.LocalPlayer)
- else
- game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, p.LocalPlayer)
- end
- elseif cht == getgenv().desummon or cht == "!dm 1" then
- if con then
- con:Disconnect()
- con = nil
- end
- back = game:GetService("RunService").RenderStepped:Connect(function()
- hrp.CFrame = thrp.CFrame * CFrame.new(0,0,2)
- end)
- vim:SendKeyEvent(true, Enum.KeyCode.One, false, nil)
- vim:SendKeyEvent(false, Enum.KeyCode.One, false, nil)
- task.delay(3, function()
- if back then
- back:Disconnect()
- back = nil
- end
- hrp.CFrame = CFrame.new(-63.777462, 29.2539902, 20354.3281, -0.983045936, 2.8585065e-08, 0.183359459, 2.55275587e-08, 1, -1.90352996e-08, -0.183359459, -1.40318548e-08, -0.983045935)
- end)
- elseif cht == getgenv().desummon or cht == "!dm 2" then
- if con then
- con:Disconnect()
- con = nil
- end
- back = game:GetService("RunService").RenderStepped:Connect(function()
- hrp.CFrame = thrp.CFrame * CFrame.new(0,0,2)
- end)
- vim:SendKeyEvent(true, Enum.KeyCode.One, false, nil)
- vim:SendKeyEvent(false, Enum.KeyCode.One, false, nil)
- task.delay(3, function()
- if back then
- back:Disconnect()
- back = nil
- end
- hrp.CFrame = CFrame.new(1063.86121, 131.87764, 23009.5918, 0.721722603, 2.22606982e-08, -0.692182422, -6.3002612e-09, 1, 2.55910244e-08, 0.692182422, -1.41086902e-08, 0.721722603)
- end)
- elseif cht == getgenv().desummon or cht == "!spawn" then
- if con then
- con:Disconnect()
- con = nil
- end
- back = game:GetService("RunService").RenderStepped:Connect(function()
- hrp.CFrame = thrp.CFrame * CFrame.new(0,0,2)
- end)
- vim:SendKeyEvent(true, Enum.KeyCode.One, false, nil)
- vim:SendKeyEvent(false, Enum.KeyCode.One, false, nil)
- task.delay(3, function()
- if back then
- back:Disconnect()
- back = nil
- end
- hrp.CFrame = CFrame.new(420.357178, 628.256104, -512.956848, -0.779876947, -3.33290373e-08, 0.625932872, 2.49408281e-08, 1, 8.43218473e-08, -0.625932872, 8.13719438e-08, -0.779876947)
- end)
- end
- end)
Advertisement
Advertisement