Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cc = workspace.CurrentCamera
- local sc = workspace.StoryCam
- local vc = workspace.VSCam
- local story = script.Parent.Story
- local vs = script.Parent.Vs
- wait(.001)
- cc.CameraType = Enum.CameraType.Scriptable
- local function storyEntered()
- cc.CFrame = sc.CFrame
- end
- story.MouseEnter:Connect(storyEntered)
- local function vsEntered()
- cc.CFrame = vc.CFrame
- end
- vs.MouseEnter:Connect(vsEntered)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement