I currently have a part, that when you touches it, changes your camera to scriptable and attaches it to a part. But currently, it just does nothing. Tell me if i'm doing anything wrong.
Server Script inside the touch part:
function OnTouch(hit)
game.ReplicatedStorage.CameraEvent:FireClient()
script.Parent:Destroy()
end
script.Parent.Touched:connect(OnTouch)
Local Script inside a starter gui
game.ReplicatedStorage.CameraEvent.OnClientEvent:Connect(function()
local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer
repeat wait() until Player.Character
Camera.CameraType = "Scriptable"
Camera.CFrame = game.Workspace.CamPart.CFrame
script.Parent.Enabled = true
end
Any help would be greatly appreciated!

3 comments
I am gonna assume you have left out the part where you actually manipulate the camera, right? Ohh you actually might have copied and pasted the same thing twice..
Change FireClient() to FireServer()
oops wait sorry, im gonna edit it