I'm trying to make some kind of a "security camera" system via gui and I want the camera models to actually move depending on where the player is looking through the camera.
The way I have it set up is with 4 arrows along the sides of the screen. If the players mouse enters one of these arrows, it will send a server event to move the camera along whichever direction the mouse is over.
Only problem is I'm having trouble getting the camera model to move ONLY while the mouse is over one of these arrows.
beginMove.OnServerEvent:Connect(function(client, direction)
repeat
wait()
if direction == "left" then
movingPart:SetPrimaryPartCFrame(movingPart:GetPrimaryPartCFrame(), [??? focus ???])
end
until endMove.OnServerEvent
end)
can anyone help me with this?
(camera is already set up to swivel across joint)
I'm looking for this effect right here: https://www.youtube.com/watch?v=4UMKoW679FQ
