#Drop down gui menu

1 messages · Page 1 of 1 (latest)

obsidian nimbus
#

I keep on trying to make a drop down gui menu but I just can’t figure it out, I’m fairly new to scripting and I was to make a character menu like jjs, tsb, jsd any help would be greatly appreciated

mellow basalt
mellow basalt
obsidian nimbus
mellow basalt
# obsidian nimbus 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...

▶ Play video
obsidian nimbus
frail auroraBOT
#

studio** You are now Level 1! **studio

foggy sun
#

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