I made it so when you click a brick, a gui opens. However the mouse does not switch out of first person.. Here is both scripts:
script.Parent.ClickDetector.MouseHoverEnter:Connect(function(Clicker) if script.Parent:FindFirstChild("SelectionBox") then print("googoo") else local selection = Instance.new("SelectionBox") selection.Color3 = Color3.new(153, 153, 153) selection.Parent = Clicker.PlayerGui selection.Adornee = script.Parent end end) script.Parent.ClickDetector.MouseHoverLeave:Connect(function(Clicker) if Clicker.PlayerGui:FindFirstChild("SelectionBox") then Clicker.PlayerGui.SelectionBox:Destroy() end end) script.Parent.ClickDetector.MouseClick:Connect(function(Clicker) local naked = script.Parent.Emails:Clone() naked.Parent = Clicker.PlayerGui naked.LocalScript.Disabled = false if script.Parent.Value.Value == false then script.Parent.Value.Value = true end end)
This is the other script inside of the gui when activated it makes sure the person is in Classic View, just a simple function:
function nude() game.Players.LocalPlayer.CameraMode = "Classic" end nude()