Jomhob
1
I’m trying to make it so that if the parent UI isnt visible, then the main script of it doesn’t run, so it doesnt lag out the game. I really suck at if functions, so if somebody can help me, it’d be great.
Screenshots
Jomhob
2
nevermind, i was missing some stuff
1 Like
AviaSky
3
Just saying but if you are using if you have to add two equal.
Example
if script.Parent.Visible == false then
script.Parent.ActivityCore.Enabled = false
end
Like that
Changes
if script.Parent.Visible = false then
GOES TO
if script.Parent.Visible == false then
system
Closed
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.