Ok! This may be lengthy but here it goes! Im currently trying to make a Wing script kinda like this
local debounce = false
mouse.KeyPressed:connect(function(key)
if key:byte() == (E) then
if debounce then return end
debounce = true
--Here you will weld the wings to the player's back
--Here you will inject a flying script into the player
wait(25)
--Tell the player they have 5 Seconds of flight left
wait(5)
--remove wings
--remove flying script
debounce = false
wait(60) --Cool Down
end)
--We also want to make it so the player can press "E" again To turn it off if they have time left in
flight.. but they will still have 60 seconds of cool down
What i figured out, is i now have wings that appear when you spawn it (Code works) so now what i need it to do is -- When you first join the game the wings are transparent (wings spawn in the player its welded to them) then when they press "Left Control" It will set the transparency of the wings to .5 and give them a flying tool (I have that) Then wait (25) Tell them they have 5 seconds of flight left - wait (5) Set transparency to 0 and remove the flying script so they fall (They MUST WAIT 60 seconds to use the flying script again) -- (SIDE NOTE! I do want them to be able to press Left control at ANY TIME to be able to stop flying but they still have to wait 60 seconds!)

1 comment
http://tinypic.com/view.php?pic=kf5tsm&s=8#.VKeo2CvF9G4