Sungmingamerpro13

JumpscareScript (LocalScript + FNAF)

Sep 7th, 2025
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.29 KB | None | 0 0
  1. local Jumpscare = game.ReplicatedStorage.Event.Jumpscare
  2.  
  3. local player = game.Players.LocalPlayer
  4.  
  5. Jumpscare.OnClientEvent:Connect(function(Boolean)
  6.     if Boolean == true then
  7.         player.Character.Humanoid.Health = 0
  8.     else
  9.         if Boolean == false then
  10.             print("No Jumpscare")
  11.         end
  12.     end
  13. end)
  14.  
Advertisement
Add Comment
Please, Sign In to add comment