SHOW:
|
|
- or go back to the newest paste.
| 1 | part1 = Instance.new("Part", owner.Character)
| |
| 2 | - | part2 = Instance.new("Part", owner.Character)
|
| 2 | + | |
| 3 | - | part2.CFrame = CFrame.new(0,1,50) |
| 3 | + | |
| 4 | function thinghere(part) | |
| 5 | if part.Name ~= "Base" then | |
| 6 | - | here = false |
| 6 | + | local velocity = Instance.new("BodyVelocity", part)
|
| 7 | velocity.Velocity = Vector3.new(50,50,0) | |
| 8 | - | here = true |
| 8 | + | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 9 | wait(1) | |
| 10 | - | wait(1.5) |
| 10 | + | velocity:Destroy() |
| 11 | - | if here then |
| 11 | + | |
| 12 | - | part.CFrame = part2.CFrame * CFrame.new(0,1,0) |
| 12 | + | |
| 13 | part1.Touched:Connect(thinghere) |