Error: “Expected Identifier when parsing expression, got ‘/’”
Code:
--// items //--
local StartGameEvent = game.ReplicatedStorage:WaitForChild("StartGame")
local CountdownEvent = game.ReplicatedStorage:WaitForChild("CountdownShown")
--// Functions //--
local function CountdownFrom(Number)
CountdownEvent:FireAllClients(Number)
wait(Number)
end
--// Start Game //--
StartGameEvent.OnServerEvent:Connect(function(Amount, TrueOrFalse)
CountdownFrom(15)
end)
That’s all it could mean. Your script even works for me. Are you sure that is the script producing the error? And could you also show which line the error came from? (should show in the output)