File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ function Gui.Init()
138138 -- overwrites the default "true" state of HasWritePermission
139139 local adminEvents = game :GetService (" ReplicatedStorage" ):FindFirstChild (" MetaAdmin" )
140140 if adminEvents then
141- local isScribeRF = adminEvents :FindFirstChild (" IsScribe" )
141+ local isScribeRF = adminEvents :WaitForChild (" IsScribe" )
142142
143143 if isScribeRF then
144144 Gui .HasSpeakerPermission = isScribeRF :InvokeServer ()
145145 end
146146
147147 -- Listen for updates to the permissions
148- local permissionUpdateRE = adminEvents :FindFirstChild (" PermissionsUpdate" )
148+ local permissionUpdateRE = adminEvents :WaitForChild (" PermissionsUpdate" )
149149 permissionUpdateRE .OnClientEvent :Connect (function ()
150150 -- Request the new permission
151151 if isScribeRF then
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function Halos.Init()
3737 local earRing = orb :FindFirstChild (" EarRing" )
3838 local eyeRing = orb :FindFirstChild (" EyeRing" )
3939
40- if earRing then
40+ if earRing ~= nil then
4141 local whiteHalo = earRing :Clone ()
4242 whiteHalo .Name = Config .WhiteHaloName
4343 whiteHalo .Transparency = 1
@@ -49,7 +49,7 @@ function Halos.Init()
4949 end
5050 end
5151
52- if eyeRing then
52+ if eyeRing ~= nil then
5353 local blackHalo = eyeRing :Clone ()
5454 blackHalo .Name = Config .BlackHaloName
5555 blackHalo .Transparency = 1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ local Config = {
44 WaypointTag = " metaorb_waypoint" ,
55 PointOfInterestTag = " metaorb_poi" ,
66 DataStoreTag = " orb." ,
7- Version = " 0.5.0 " ,
7+ Version = " 0.5.2 " ,
88 TweenTime = 5 ,
99 RopeLength = 10 ,
1010 TransportWaitTime = 10 ,
You can’t perform that action at this time.
0 commit comments