There WaitForChild would be useless.
Use
Game.Workspace:FindFirstChild(“Music”)
or look if its getting deleted Before the script is executed.
There WaitForChild would be useless.
Use
Game.Workspace:FindFirstChild(“Music”)
or look if its getting deleted Before the script is executed.
Oh lol, I thought your question was a little strange and I laughed a little.
that was a good one
There isn’t any other scripts that would be interfering, or deleting the folder.
heh heh
if thats the case try this code
Wait()
Game.Workspace:FindFirstChild(“Music”).Path to script.Disabled = true
I cant think of any other issues that could be happening. With the script as the game would have loaded with the character and the scripts. But if all else fails try :WaitForChild()
let me try it and i’ll tell you the results
Have you tried using WaitForChild
? A lot of other people have suggested it.
game.Workspace:WaitForChild("Music"):WaitForChild("Installer").Disabled = true
game.Workspace:WaitForChild("Music"):WaitForChild("Installer"):WaitForChild("LocalScript").Disabled = true
Sorry if it’s a little messy
Thanks for the help! However @samjay22 's solution has worked, thank you for the help though.
I appreciate it!
More like try WaitForChild() and if all else fails, try wait().
Use :WaitForChild() here as it is the more appropriate methodology
local music = workspace:WaitForChild("Music")
local installer = music.Installer
installer.LocalScript.Disabled = true
Game and Wait() are deprecated too, use game and wait().