Hey, I'm a noob at scripting and I'm trying to write a script that changes the camera angles form Top view (TCAM) to a side View (SCAM) when you touch a brick, I know I'm doing something pretty wrong here. I've been stuck on this for a while now and any feedback is appreciated.
thanks,
-Btw the brick is hovering so that shouldn't be a problem -It's also in a normal script
game.Workspace.CHECK1.Touched:Connect(function()
print(5)
game.ReplicatedStorage.SCAM.Parent = game.StarterGui
game.StarterGui.TCAM.Parent = game.ReplicatedStorage
end)

2 comments
What type of instance is SCAM and TCAM ?
Ohh sorry, they are both local scripts with the camera angles in them. TCAM being the top camera angle and SCAM being the side camera angle, each camera angle works fine alone.