function onSelect(mouse)
hint("Select WORKS", Workspace, 1)
bin.Player.Value = player.Name
if char:findFirstChild("b") == nil then
cb = bin.b:clone()
cb.Parent = char
cb.CFrame = char.Head.CFrame
hint("at head", workspace, .5)
if cb:findFirstChild("RocketPropulsion") == nil then
hint("no prupolsion", workspace, .5)
else
cb.RocketPropulsion.Target = char.Torso
hint("Set target", workspace, .5)
wait()
cb.RocketPropulsion:Fire()
hint("created first part, fired propulsion", workspace, 2)
end
end
end
bin.Selected:connect(onSelect)
In build mode,this all works fine, what its suposed to do is create a part when i select the tool, move it to my head, set the RocketPropulsion's target and fire it. In Online mode (not any test mode) it does everything BUT fire the RocketPropulsion. so the part just falls through the base. I created hints to see where im going wrong incase you're wondering how did i know its the Fireing part. By the way this is in a LocalScript. |