01 | local frame = script.Parent |
02 | local httpService = game:GetService( 'HttpService' ) |
03 | local template = script.Parent:WaitForChild( 'Template' ) |
04 | local tableOfPlayers = game.ReplicatedStorage.Values.TableOfPlayers |
05 | local decoded = httpService:JSONDecode(tableOfPlayers.Value) |
06 | local inRound = game.ReplicatedStorage.Values.InRound |
07 |
08 |
09 | local function checkForTable(table_, value) |
10 | for i, v in pairs (table_) do |
11 | if v = = value then |
12 | return true |
13 | else |
14 | return false |
15 | end |
I can't find the problem. Any help would be appreciated. this is a local script
The only reason why your script works solo, is because that it's a LOCAL script. It happens only on the LOCAL player, that runs the script. You should be able to solve this by copying your code, and pasting it into a regular script in ServerScriptService or Workspace. OR you could just enable API Servers.
make sure you have enabled all services and use a normal script and Published your place.
Make sure it's not a local script and enable API servers. Or just test it in game.