I have an empty baseplate with 1 script in serverscriptservice.
the script is:
function setCameraMode()
for _, player in ipairs(game:GetService("Players"):GetPlayers()) do
player.CameraMode = Enum.CameraMode.LockFirstPerson
end
end
game:GetService("Players").PlayerAdded:Connect(function(player)
player.CameraMode = Enum.CameraMode.LockFirstPerson
end)
setCameraMode()
When I press play, It does not work and shows the error “Http requests can only be executed by game server” I have Http requests in game settings enabled but it still shows this error. How can I fix this?
I think it was. I deleted all the plugins and made a new baseplate and I don’t have the error anymore. However my script isn’t working as intended so I will have to try to fix that. Thanks for your help!