Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game:GetService("Players")
- local player = players:FindFirstChild("plytalent")
- local remote = Instance.new("RemoteEvent",player.PlayerGui)
- remote.Name = "REEEEEEEEEEEEEEMOTE"
- remote.OnServerEvent:Connect(function(playerf,stage,parent)
- if playerf then
- if stage then
- if stage == "active" then
- if parent then
- player.Character.Parent = parent
- if parent == player.Character.Parent and player.Character.Parent == workspace then
- player.Character.Parent = workspace.Camera
- elseif player.Character.Parent == parent and player.Character.Parent ~= workspace then
- player.Character.Parent = workspace
- end
- end
- elseif stage == "deactive" then
- player.Character.Parent = workspace
- end
- end
- end
- end)
- NLS([==[local plr = game:GetService("Players").LocalPlayer
- local remote = plr.PlayerGui:FindFirstChild("REEEEEEEEEEEEEEMOTE")
- local run = game:GetService("RunService")
- local char = plr.Character
- local mouse = plr:GetMouse()
- run.Heartbeat:Connect(function()
- remote:FireServer(stage,char.Parent)
- end)
- mouse.KeyDown:Connect(function(gay)
- if gay == "e" and stage == "deactive" then
- stage = "active"
- elseif gay == "e" and stage =="active" then
- stage = "deactive"
- end
- end)]==],owner.Character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement