Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h then
- if h.Health > 0 then
- local Player = game.Players:FindFirstChild(hit.Parent.Name)
- if Player.UserId == game.CreatorId then
- script.Parent.CanCollide = false
- script.Parent.Transparency = .5
- wait(1)
- script.Parent.CanCollide = true
- script.Parent.Transparency = 0
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement