Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I am trying to make my character camera to be stuck at a part in workspace can anyone help?

I am trying to make a character be locked to a part in workspace but when they click spawn it doesn't get locked anymore here is the script I tried I put it as a script in workspace

local plr = script.Players.LocalPlayer

if plr:LoadCharecter() == false then
	game.StarterPlayer.CameraMode.Classic = false
	game.plr.CamerMode = game.Workspace.Camera
end


if plr:LoadCharacter() == true then
	game.StarterPlayer.CameraMode.Classic = true
end

and my spawn is this

script.Parent.MouseButton1Click:connect(function()
	script.Parent.Parent.Visible = false
end)

when I click spawn it just deletes the gui if you can help me combine those both I am really thankful

1 answer

There's a typo at line 05, Script 1.

Instead of "CamerType", you gotta write "CameraType".

Hope this helps!

-Maxis_s

1 comment

0

But how does it do that when I press spawn the camera goes back to normal

This discussion is preserved as it was. New answers, comments, and votes are closed.