Advertisement
HowToRoblox

ReviveClient

May 28th, 2022
899
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local anim = script.Parent.Humanoid:LoadAnimation(script:WaitForChild("DeadAnimation"))
  2.  
  3. game.ReplicatedStorage:WaitForChild("ReviveRE").OnClientEvent:Connect(function(proximityPrompt)
  4.    
  5.     if proximityPrompt then
  6.        
  7.         proximityPrompt.Enabled = false
  8.    
  9.         anim:Play()
  10.        
  11.     else
  12.    
  13.         anim:Stop()
  14.     end
  15. end)
Advertisement
RAW Paste Data Copied
Advertisement