Advertisement
InTesting

Death Effect Fragment: Quick Death

Mar 26th, 2019
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. function DeathEffect(obj_Player)
  2.     local hum = obj_Player.Character:FindFirstChildWhichIsA'Humanoid'
  3.     if hum then
  4.         hum.Died:Connect(function()
  5.             obj_Player:LoadCharacter()
  6.         end)
  7.     end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement