|
| 22 Apr 2016 09:54 AM |
local Enum_SETTINGS = { PlayerList = true; Health = true; Backpack = true; Chat = true; } for Settings, Value in next, Enum_SETTINGS do game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType[Settings], Value) end local Core_SETTINGS = { PointsNotificationsActive = true; BadgesNotificationsActive = true; ChatBarDisabled = true; TopbarEnabled = true; } for Settings, Value in next, Core_SETTINGS do pcall(function() local StarterGui = game:GetService('StarterGui') StarterGui:SetCore([Settings], Value) end) end |
|
|
| Report Abuse |
|
|
gskw
|
  |
| Joined: 05 Jan 2013 |
| Total Posts: 1364 |
|
|
| 22 Apr 2016 09:58 AM |
| Remove the pcall() and show the error. |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2016 10:09 AM |
| Line 18, unexpected symbol near '[' |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2016 10:38 AM |
Don't use the [] on line 18.
meow |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Apr 2016 10:44 AM |
this might be a stupid remark but I think your dictionaries are being defined incorrectly
shouldn't it be ["val"] = val,
instead of
[val] = val,
#Code print("Add 13,000 posts") |
|
|
| Report Abuse |
|
|