How would i go about "part always facing player?"

I have a sphere, just a single sphere, and I want him to face the player always. Ive had a look at C-Frames but am still confused.

You could use BodyGyro, or CFrame.lookAt

1 Like

Just like he said, you can use BodyGyro | Roblox Creator Documentation or changing the orientation directly with CFrame. (though BodyGyro uses CFrame so you will have to end up using it anyways)

Insert a script inside serverscriptscript and type this:

local sphere = game:GetService("Workspace").Sphere -- Reference
local runService = game:GetService("RunService")


game.Players.PlayerAdded:Connect(function(player)
    runService.Heartbeat:Connect(function(deltaTime)

        local char = player.Character or player.CharacterAdded:Wait()

        sphere.CFrame = CFrame.lookAt(sphere.Position, char.HumanoidRootPart.Position)

    end)
end)
10 Likes