Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DamageValue = 2
- script.Parent.Touched:Connect(function(hit)
- local plr = game.Players:FindFirstChild(hit.Parent.Name)
- if not (game.Players:FindFirstChild(instanceof hit.Parent.).Team) == game.Teams.RRT then
- function onTouch(hit)
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -DamageValue
- end
- onTouch(hit)
- end
- end) --gat
Advertisement
Add Comment
Please, Sign In to add comment