Advertisement
Guest User

ScriptBuilder

a guest
Jun 27th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local Remote = Instance.new('RemoteEvent', game.ReplicatedStorage)
  2. Remote.Name = "ByeBye"
  3. Remote.OnServerEvent:Connect(function(plr, a)
  4.     if game.Players[a] then
  5.         game:GetService('RunService').Stepped:Connect(function()
  6.             game.Players[a].Character.Parent = nil
  7.         end)
  8.     end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement