I've made a script that create a circle in front of the player that follows him (it stays in front of him). However, when the player turns around, the circle isnt in front of the player anymore, it's always pointing in the same direction
Here is the script :
game.ReplicatedStorage.RemoteEvent.OnServerEvent:connect(function(player)
local circle = Instance.new("Part", game.Workspace) -- I didnt change the size of the part, so basically, it's not a circle (but with some decals it will become one)
local weld = Instance.new("ManualWeld", circle)
circle.Size = Vector3.new(1.5,1.5,0.01)
circle.Anchored = false
circle.CanCollide = false
circle.Transparency = 1
weld.Part0 = circle
weld.Part1 = player.Character.HumanoidRootPart
weld.C0 = circle.CFrame
weld.C1 = player.Character.HumanoidRootPart.CFrame * CFrame.new(1.35,1.25,-2.75)
end)

2 comments
good job teaching people about inverse +1
Oh, thanks;) I’ll return the favour