Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by Real_IceyDev (lceyDex) --
- -- Paste script below into a Script, put the Script under the part you want to kill players when they touch it --
- local Brick = script.Parent
- local function PlayerTouched(Part)
- local Parent = Part.Parent
- if game.Players:GetPlayerFromCharacter(Parent) then
- Parent.Humanoid.Health = 0
- end
- end
- Brick.Touched:connect(PlayerTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement