It's an escape pod, that takes off after a button press but it wont work on Server Mode when It works PERFECTLY on Studio the script is Server Script and is inside a ClickDetector inside of a Part inside of a model in Workspace! Help please! :
local a = script.Parent.Parent
local Eng = a.Parent.Engine
debounce = false
function fly()
if debounce == false then
debounce = true
Eng.PowerUp:Play()
Eng.PowerUp2:Play()
wait(1)
Eng.Countdown:Play()
wait(9.977)
Eng.Ignite:Play()
Eng.Fire.Enabled = true
Eng.ParticleEmitter.Enabled = true
Eng.BodyVelocity.Velocity = Vector3.new(0,150,0)
end
end
script.Parent.MouseClick:connect(fly)

3 comments
Have you tried putting it in a localscript so it runs client rather than server?
^Also are you getting any error messages in the output?
Do you have FilteringEnabled?