Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onTouched(hit)
- hit.CanCollide = false
- local a = Instance.new("BodyVelocity")
- a.Parent = hit
- a.Velocity = Vector3.new(0, -10, 0)
- end
- script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement