Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player = game.Players.LocalPlayer
- mouse = player:GetMouse()
- function rocket()
- rocket = Instance.new("Part")
- rocket.Position = Vector3.new(player.Character.Torso.Position)
- rocket.Size = Vector3.new("4, 1, 1")
- rocket.Parent = workspace
- push = Instance.new("RocketPropulsion")
- push.Parent = rocket
- push.Target = mouse.Target
- push.MaxSpeed = "64"
- push.TargetRadius = "2"
- push.CartoonFactor = 3
- push:Fire()
- mesh = Instance.new("SpecialMesh", rocket)
- mesh.MeshId = "http://www.roblox.com/asset/?id=20626798"
- mesh.TextureId = "http://www.roblox.com/asset/?id=20626793"
- wait (1)
- e = Instance.new("Explosion")
- e.BlastRadius = 2000000
- e.BlastPressure = 99999999
- e.ExplosionType = 2
- e.DestroyJointRadiusPercent = 1
- e.Parent = rocket
- e.Position = rocket.Position
- wait (.1)
- rocket:Destroy()
- end
- mouse.Button1Down:connect(rocket)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement