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

Why is this simple and small camera mode script not working?

--1 is LockFirstPerson and 0 is Classic

player = game.Players.LocalPlayer mouse = player:GetMouse()

mouse.KeyDown:connect(function(key) if key == "b" then if player.CameraMode == 1 then mouse.Icon = 'http://www.roblox.com/asset/?id=950896037' player.CameraMode = 0 elseif player.CameraMode == 0 then mouse.Icon = 'http://www.roblox.com/asset/?id=2570571375' player.CameraMode = 1 end end end)

2 comments

0

lol format pls

0

Enums don't work that way...

1 answer

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