How would I make a camera like Crossy Road?

Hello, I am currently trying to figure out how to make a camera like crossy road!

Heres what it looks like!

Here is my current script:

local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera

player.CharacterAdded:Wait()
player.Character:WaitForChild("HumanoidRootPart")

camera.CameraSubject = player.Character.HumanoidRootPart
camera.CameraType = Enum.CameraType.Attach
camera.FieldOfView = 40

game:GetService('RunService').Stepped:Connect(function()
	camera.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position) * CFrame.new(5,5,20)
end)

Hey, I reccomend you add a part above the character, (imagine this part is the camera), weld it to the character, and make it the CameraSubejct AND the focus.

local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera

player.CharacterAdded:Wait()
local Root = player.Character:WaitForChild("HumanoidRootPart")

camera.CameraType = Enum.CameraType.Scriptable
camera.FieldOfView = 40

game:GetService('RunService').Stepped:Connect(function()
	local AngleX = 55
	local AngleY = 15
	local Offset = Vector3.new(10, 25, 12)
	camera.CFrame = camera.CFrame:Lerp(CFrame.new(Root.Position + Offset) * CFrame.Angles(-math.rad(AngleX), math.rad(AngleY), 0), 1/50)
end)

Not the best example, but works kinda. We set the camera type to scriptable for it to behave as we want (kind of self-explanatory). Then we take humanoid root part’s position and offset + rotate it. Then we finish it off by lerping for it to look smooth just like in crossy road. However in case you’re making a roblox version of crossy road this wouldn’t really fit.

1 Like

Just set a new camera angle lock in properties

Let me guess… RoDevs crossy road event.

Here’s a demo by someone on that discord. Don’t know who, but I have it.
CrossyRoadDemo.rbxl (34.7 KB)

They gave full permission for you to use it as your basic framework.