I'm making a rocket boots script, no errors, but it doesn't work
function Firefly()
script.Parent.Fire.Transparency = 0
wait(1)
script.Parent.Fire.Transparency = 1
end
script.Parent.Parent.Humanoid.Jumping:connect(Firefly)
help please?
I'm making a rocket boots script, no errors, but it doesn't work
function Firefly()
script.Parent.Fire.Transparency = 0
wait(1)
script.Parent.Fire.Transparency = 1
end
script.Parent.Parent.Humanoid.Jumping:connect(Firefly)
help please?
Since you got no errors, that means the function might not be firing. To test this, add a "print("Player Jumping!") into the code block and check output. If it doesn't read "Player Jumping!", then the code isn't running. If that is so, then try this.
script.Parent.Parent.Humanoid.Changed:connect(function(Change)
if Change == 'Jump' then
script.Parent.Fire.Transparency = 0
wait(1)
script.Parent.Fire.Transparency = 1
end
end)
Hope that helps!
This discussion is preserved as it was. New answers, comments, and votes are closed.