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?
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)