I’m trying to write a script with a function triggered by a bindable event that disables and enables CharacterAutoLoads but whenever the function is run, it remains enabled. The script is a server script inside ServerScriptService
I have no idea what I’m doing wrong.
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local Players = game:GetService(“Players”)
local autoLoad = Players.CharacterAutoLoads
local roundStart = ReplicatedStorage.RoundStart
local roundEnd = ReplicatedStorage.RoundEnd