Joriangames

Fake Death LOCALSCRIPT

Jan 11th, 2024
1,071
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. -- HOW TO MAKE TEMPORARY FAKE DEATH!!! Roblox Studio Tutorial BY BLOXIANCODE youtube.com/c/BloxianCode
  2. -- Tutorial: https://youtu.be/WS23QeL8mV8
  3.  
  4. local UserInputService = game:GetService("UserInputService")
  5.  
  6.  
  7. UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  8.     if not gameProcessedEvent then
  9.         if input.KeyCode == Enum.KeyCode.F then --when the player presses F it will do the fake death. You can change F to another key if you want
  10.  
  11.             game.ReplicatedStorage.FakeDeath:FireServer()
  12.  
  13.         end
  14.     end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment