Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = Instance.new("Model",game.Workspace)
- m.Name = "Tix Giver"
- h = Instance.new("Humanoid",m)
- h.MaxHealth = 0
- h.Health = 0
- p = Instance.new("Part")
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Name = "Head"
- p.Parent = m
- p.Anchored = true
- p.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid") then return end
- hit.Parent.Humanoid.Health = 0
- end)
- p.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement