-- 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(.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