This is for the rocket project that many of you have helped me out with, for which I thank you. I have the rocket working, for the most part.... Anyways, is there any way possible to create an elevator that instead of using a part button to control going up and down using a TextButton from a GUI? Or is that not a possible thing to do currently?
✓ ANSWER ACCEPTED
How would I make an elevator to be GUI activated?
1 answer
✓ Accepted answer
You could use a Bindable Event, and when you click the GUI button, and the event happens, the elevator goes up.
To use a bindable event, insert a bindable event.
To activate it, on the GUI, make it so when you click the button, put the location and name of the Event followed by :Fire()
So, then, on the elevator script, around the code where it goes up, put
YourEventLikeAbove.Event:connect(function() instead of :Fire(), then at the end of your script put
end)
For a better explanation, here is an example.
function onClick()
game.Workspace.ElevatorUp:Fire()
end
then
game.Workspace.ElevatorUp.Event:connect(function()
--Elevator up code here.
end)
2 comments
0
How do you set up a Bindable Event??? (I have never even touched that part of Studio)
0
Figured it out! Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
--I have the elevator already made for a button input, and it functions properly.