In workspace I have a control room of buttons used for a ROBLOX gameshow set. My goal is to have a GUI pop-up from the side screen, it will tween so it slides onto screen. How can achieve this? I'm also using buttons so when a button is pressed ("A part") the tween happens. Thankyou!
I would personally recommend putting your code for this in a localscript to eliminate unnecessary network traffic and because this is a purely client-side effect. You'd want to listen to mouse clicks on the click detector and tween your gui in on a click. Here's some sample code:
local clickDetector = path.to.clickdetector local gui = path.to.gui clickDetector.MouseClick:Connect(function() gui:TweenPosition(...) end)
Hopefully this helps you! Here are some links to check out:
https://developer.roblox.com/en-us/api-reference/class/ClickDetector
https://developer.roblox.com/en-us/api-reference/function/GuiObject/TweenPosition
I Recommend for you to watch Alvin Blox tutorial on this ...