Just start i'm really new with scripting so sorry if some of my questions are really easy.
I've been trying to make a rocket ship and in order to launch it I want to use an on screen button that is clicked to start the launching process.
Located in Startgui I have ScreenGui > TestButton > Script
The script contains
function onClicked() print("Orefef") end script.Parent.MouseButton1Click:connect(onClicked)
Whenever I click on the button, "Orefef" does not print so obviously the button does not work. Probably a really dumb mistake but any help would be great.

1 comment
LocalScript