#enable localscripts in mainmenu

10 messages · Page 1 of 1 (latest)

gritty garden
#

well i dont know where the script is located but in the function called Play add a new line and put script.Parent.ScriptName.Enabled = true if the script is in the same place as the script

astral grove
#

oh yeah, the script is in the menu gui in startergui

gritty garden
#

where is this script located?

#

localscript*

astral grove
#

in starterplayer -> startercharacterscripts

gritty garden
#

okay at the top of the script add

local plr = game.Players.LocalPlayer
local MenuUI = plr.PlayerGui:WaitForChild("MenuGui",math.huge)


-- then add this in the play function
MenuUI.ScriptName.Enabled = true
#

ScriptName just change it to the name of the localscript

astral grove
#

alr

#

tysm

#

it worked