#how do i make the arrow point at endpart?

1 messages · Page 1 of 1 (latest)

prime knot
#

yo im so stupid at math i swear

safe elbow
#

u dont need all that

chilly cloud
# prime knot yo im so stupid at math i swear
local TimeTrials = workspace.TimeTrials;

for _,Model in pairs(TimeTrials:GetChildren()) do
    if Model:FindFirstChild("Start") and Model:FindFirstChild("End") and Model.Start:FindFirstChild("Arrow") then
        local Arrow = Model.Start.Arrow;
        local EndPart = Model.End;
        Arrow.CFrame = CFrame.new(Arrow.Position,EndPart.Position) * CFrame.Angles(0,math.rad(87.2),0);
    end
end```