So for some reason game:GetService("StarterGui"):SetCoreGuiEnabled("All", false) wont work. Any idea why?
game.Players.CharacterAutoLoads = false Player = script.Parent.Parent.Parent.Parent.Parent game:GetService("StarterGui"):SetCoreGuiEnabled("All", false) script.Parent.MouseEnter:connect(function() script.Sound:Play()
script.Parent.MouseButton1Click:connect(function()
script.Sound2:Play()
script.Parent.Text = "Deploying."
wait(1)
script.Parent.Text = "Deploying.."
wait(1)
script.Parent.Text = "Deploying..."
wait(1)
game:GetService("StarterGui"):SetCoreGuiEnabled("All", true) script.Parent.Parent.Parent:remove() game.Players.CharacterAutoLoads = true Player:LoadCharacter() end) end)

3 comments
Is this a script or local script?
script
Nvm i figured it out