My roblox script for moving the camera back to the default when you load up a new baseplate isn’t working. there are only 2 scripts that mess with the camera. a localscript with the contents:
script.Parent.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
player.Team = game.Teams[script.Parent.Parent.TextLabel.Text]
player.PlayerGui.teamSelect.Enabled = false
local cam = workspace.CurrentCamera
local char = player.Character or player.CharacterAdded:Wait()
cam.CameraType = Enum.CameraType.Fixed
cam.CameraSubject = char.Head
end)
and another with the contents:
local player = game.Players.LocalPlayer
local cam = workspace.CurrentCamera
repeat cam.CameraType = Enum.CameraType.Scriptable wait() until cam.CameraType == Enum.CameraType.Scriptable
cam.CFrame = workspace.camPositions[script.Parent.TextLabel.Text.."Cam"].CFrame
I tried many large Ai bots, searched the internet for too long, and nothing worked.
New contributor
Ezra Ensminger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.