Advertisement
Sungmingamerpro13

KillScript

Dec 30th, 2022
1,301
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.33 KB | None | 0 0
  1. script.Parent.Touched:Connect(function(Hit)
  2.     if Hit.Parent:FindFirstChild("Humanoid") then
  3.        
  4.         local character = Hit.Parent
  5.         local player = game.Players:GetPlayerFromCharacter(character)
  6.        
  7.         if player.Character then
  8.             player.Character.Humanoid.Health = 0
  9.         end
  10.     end
  11. end)
  12.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement