#Drop down gui menu
1 messages · Page 1 of 1 (latest)
What exactly are you struggling with? Making the gui drop down? Or making the gui in general?
The gui drop down
Do you know how to use TweenService?
No
TweenService basicly just lets you change a parts property but very smoothly. Its what I use for my "drop down" gui.
https://youtu.be/okbX_NtmEqc?si=wf-tED1lHQUzmabB
This tutorial explains TweenService on parts but once you understand how TweenService works you can also use it for Gui elements.
📜Join my Discord Community if you want scripting help, give feedback, or just hang out:
https://discord.gg/WC6kPu5W5P
🔴Watch My Full Roblox ADVANCED Scripting Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3WKkVHnadvhOOjz04AuMYAf
🎨Watch My Full Roblox GUI Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd...
ok ty
yo so i tried to make a block move but im not sure why its not working, help would be appreciated
** You are now Level 1! **
so first
theres no equal sign
local goal = {Position.vector3.new(10,0,0)}
second of all
theres a period instead of another equal sign
local goal = {Position=vector3.new(10,0,0)}
third of all
the v isnt capitalized
i dont know if it still works with a lowercase but do uppercase still
local goal = {Position=Vector3.new(10,0,0)}
local Tween.service=game:GetService("TweenService") --> local TweenService=game:GetService("TweenService")
do not put a period anywhere when you describe the first part of a variable
or else the code would break
local TweenService=game:GetService("TweenService")
local part=script.Parent
local TweenInfo2=TweenInfo.new(5)
local goal = {Position=Vector3.new(10,0,0)
local Tween=TweenService:Create(part, TweenInfo2, goal)
Tween:Play()```
personally i wouldnt recommend rewriting over stuff with the same name
such as like
"local TweenInfo=TweenInfo.new(5)"
this would most likely cause an error
because TweenInfo is already a thing in roblox luau
and youre practically overwriting it