local Brick = game.Workspace.KillBlock local function PlayerTouched(Part) local Parent = Part.Parent if game.Players:GetPlayerFromCharacter(Parent) then Parent.Humanoid.Health = 0 end end Brick.Touched:connect(PlayerTouched)
So I took a script from a separate question lower in the feed, but would this script still work, since I replaced the part in question with a part called "KillBlock"? if it wouldn't still work, what do I need to change to get it to work?
Yes, it should still work