camera.CameraType=Enum.CameraType.Scriptable camera.CFrame=gamecams.MenuCam.CFrame wait(.2)Controls:Disable()StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,false)wait()script.Parent.Enabled=true if uis.GamepadEnabled then guiService.SelectedObject=script.Parent.frame.play replicatedStorage.settings.SleepButton.Value="\066\117\116\116\111\110\082\050"elseif uis.TouchEnabled then replicatedStorage.settings.SleepButton.Value="\084\111\117\099\104"else replicatedStorage.settings.SleepButton.Value="\083\112\097\099\101"end script.Parent.frame.Settings.Frame.SleepKey.value.Text=replicatedStorage.settings.SleepButton.Value
-- add a wait till character is loaded in
--local rumble = require(replicatedStorage.modules.RumbleSupport)

camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = gamecams.MenuCam.CFrame

wait(0.2)

Controls:Disable() -----Disable Controls
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
wait()

script.Parent.Enabled = true
if uis.GamepadEnabled then
	guiService.SelectedObject = script.Parent.frame.play
	replicatedStorage.settings.SleepButton.Value = "ButtonR2"
	--replicatedStorage.settings.system.Value = "Console"
elseif uis.TouchEnabled then
	replicatedStorage.settings.SleepButton.Value = "Touch"
	--replicatedStorage.settings.system.Value = "Phone"
else -- PC
	replicatedStorage.settings.SleepButton.Value = "Space"
	--replicatedStorage.settings.system.Value = "PC"
end
script.Parent.frame.Settings.Frame.SleepKey.value.Text = replicatedStorage.settings.SleepButton.Value
