Hello,
I am trying to make a model which is infront of the model at all times. But whenever I move the model stutters and sometimes it moves into the character.
To achieve it I am using SetPrimaryPartCFrame in a Heartbeat function so it goes the fastest.
But it stutters, how would I fix it?
I want to clarify I do not want to get involved with tools.
local Player = script.Owner.Value
local Base = script.Parent.Base
local Model = script.Parent
local Char = Player.Character
local Torso = Char.Torso
game:GetService("RunService").Stepped:Connect(function()
Model:SetPrimaryPartCFrame(CFrame.new(Torso.Position.X, Torso.Position.Y, Torso.Position.Z) * CFrame.Angles(math.rad(Torso.Orientation.X),math.rad(Torso.Orientation.Y), math.rad(Torso.Orientation.Z)))
end)