Hello, I made a admin system. Im running into a problem where. Once resetting your player or spawning back in the character. The script breaks. I don’t know why it doesn’t this or why its happening. Please help.
Code -
-- Services --
local Players = game:GetService('Players')
local ReplicatedStorage = game:GetService('ReplicatedStorage')
-- Variables --
local AdminFolder = ReplicatedStorage:FindFirstChild('Admin')
local Module = require(AdminFolder.Client:FindFirstChild('_Client'))
----
-- Init --
Module:Init()
----
Module -
function Module:Init()
AdminFolder.CrossClient.OnClientEvent:Connect(ClientEvent)
end