I tried some stuff, nothing worked. this is my code:
function module(change)
if change == "" then
script.LocalScript.change.Value = "time"
else
script.LocalScript.change.Value = change
end
local ls = script.LocalScript:Clone()
local player = game.Players.LocalPlayer
ls.Parent = game.Players.LocalPlayer.PlayerScripts
wait(1)
ls.Disabled = false
end
return module
it doesn't need to be a modulescript it just needs to be a script or something that acts like StarterPlayerScripts.
