Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Help with RocketPropulsion?

Asked by 10 years ago
rok=Instance.new("Part",Workspace)
rok.Name="Rocket"
rok.FormFactor="Custom"
rok.Size=Vector3.new(.35,.3,5.1)
rok.BrickColor=BrickColor.new("Really black")
rok.CFrame=v.Torso.CFrame+Vector3.new(0,100,100)
rok.CanCollide=false
rok.Anchored=false
prop=Instance.new("RocketPropulsion",rok)
prop.Target=Workspace.cedarboy777.Torso
prop.TurnD=500
prop.TurnP=3000
prop.ThrustD=0
prop.MaxSpeed=100
prop.ThrustP=5000
prop.TargetRadius=3
prop:fire()
wait()
prop.ReachedTarget:connect(function()
rexp=Instance.new("Explosion",Workspace)
rexp.BlastRadius=10
rexp.BlastPressure=750000
rexp.Position=rok.Position
rok:Destroy() end)

It works on its own, but it doesn't work when I use it with a script I'm currently playing around with. Any help?

0
To elaborate, it's a sort of admin, if you want to call it that. cedarboy777 10 — 10y
0
Without seeing the actual error, it's hard to say. Vathriel 510 — 10y
0
Problem is that it doesn't display an error. It simply does nothing. cedarboy777 10 — 10y

Answer this question