Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there an easier way to simplify this? (Weld Stuffs)

Asked by
neff111 20
9 years ago

Alright!

This basically points one part towards another, but with welds and smoothness. .3.

https://gyazo.com/26f9f622fb7c2ec5921d9c176d5fb6d9


m=script.Parent.Motor6D p2=m.Part1 p1=m.Part0 while wait() do m.C1=m.C1:lerp((p2.CFrame):inverse()*CFrame.new((p2.CFrame*CFrame.new(0,-p2.Size.Y/2,0)).p,game.Workspace.LookHere.Position),0.05) -- Make this part better. qq end

I know it is short, and that people will try to steal my script, but it feels so god damn inefficient. qq

Answer this question