I have a script that is disabled on startup and when i set Disabled to false it doesn't do anything, i tried putting a print("Test") in the very first line but still wont work. there isn't any errors or anything. The script enabling the other script is a SS and so is the script that I'm trying to get working. This has worked in other games I'm making but sometimes it randomly wont work,
COMMUNITY QUESTION
[Solved] Why does my script do nothing after enabling it?
1 answer
Hello, make sure you make it enabled again from server script.
script.Disabled = false -- if this doesnt work from server script try that:
script.Disabled.Value = false -- I dont work with disable statement but one of that should work
5 comments
0
did that wont still work
0
it changes the disabled to false but the script wont just run
0
it changes the disabled to false but the script wont just run
0
I dont really know than dude.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
This might help a bit: What is the script for, and WHY does it need to be disabled? If you want it to run at a certain time, then use an event thing: someEvent.EventHappened:Connect(function() print("Im doing something") end)
I cant use events for it bcs then every script would do that, i have a sound where once i want to play it i clone the sound and enable the script that plays it then waits for it to finish and then deletes the sound, there would be multiple sounds and other effects going on at once. I dont know what i did but it works now