How To Make A Main Menu 🛠️ ROBLOX STUDIO

Описание к видео How To Make A Main Menu 🛠️ ROBLOX STUDIO

Name the elements exactly like shown in the video or it won’t work!

Scripts📝-

Place In Play Button (Local Script)

local gui = script.Parent.Parent.Parent
local frame = gui.MainFrame
local button = script.Parent
local player = game.Players.LocalPlayer


player.Character:WaitForChild("Humanoid").WalkSpeed = 0

button.MouseButton1Click:Connect(function()
frame.Visible = false
player.Character:WaitForChild("Humanoid").WalkSpeed = 16
end)


Place In Credits Button (Local Script)

local gui = script.Parent.Parent.Parent
local frame = gui.Frame
local button = script.Parent
local label = frame.TextLabel

button.MouseButton1Click:Connect(function()
frame.Visible = true
label.Visible = false
end)

Place In The Close Button (Local Script)

local frame = script.Parent.Parent
local button = script.Parent

button.MouseButton1Click:Connect(function()
frame.Visible = false
end)


Thanks for watching! Like and subscribe! Have a good day!🥰

#roblox #mygame #robloxedit #robloxtutorial #robloxstudio #foryou #robloxgames

Комментарии

Информация по комментариям в разработке