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?