RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a script for a part, whenever the player touches the part, their screen flips over"
-- local script local part = game.Workspace.Part local player = game:GetService("Players").LocalPlayer local camera = workspace.CurrentCamera local function flipScreen(otherPart) local playerCharacter = player.Character if playerCharacter and otherPart.Parent == playerCharacter then camera.CameraType = Enum.CameraType.Scriptable camera.CFrame = camera.CFrame * CFrame.Angles(math.pi, 0, 0) wait(2) camera.CameraType = Enum.CameraType.Custom end end part.Touched:Connect(flipScreen)