return function() local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:wait() local HumanoidRootPart = Character.HumanoidRootPart local Camera = workspace.CurrentCamera local FakeCamera = Instance.new("Part", Workspace) FakeCamera.Anchored = true RunService.RenderStepped:connect(function() FakeCamera.CFrame = HumanoidRootPart.CFrame*CFrame.new(0,30,0) FakeCamera.CFrame = CFrame.new(FakeCamera.CFrame.p, HumanoidRootPart.CFrame.p) Camera.CFrame = FakeCamera.CFrame end) wait() pcall(function() StarterGui:SetCore("TopbarEnabled", false) end) end
I am making a topdown camera using that code. When I play the camera is great but my character moves like this: https://gyazo.com/55ec7218657eae1acf688b7c4be107aa
I don't know why, so please help...