#Client sided killbricks killing other players

1 messages · Page 1 of 1 (latest)

lean torrent
#

post killbrick script

#

if the killbrick is being cloned from the client just make a check that the player that touches the brick is the local player before setting their health to zero

lethal starBOT
#

studio** You are now Level 4! **studio

elfin veldt
#

u need get only touching player and him set health to zero

elfin veldt
#

xd

#

make it server sided

#

this

#



CollectionService:GetInstanceAddedSignal("KillBrick"):Connect(actions)

for _,part in CollectionService:GetTagged("KillBrick") do
    part.Touched:Connect(function(hit)
        hit.Parent.Humanoid.Health = 0   
    end)
end```
lethal starBOT
#

studio** You are now Level 1! **studio