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

Welding Issues with a 3d rotating char?

Asked by 6 years ago

So I have this morph gui that morphs players but in the "display" of the character I inserted a rotation script and then a weld script to weld the helmet to the player so the helmet dosent stay in the same spot when the character rotates anything wrong with the code?

local Devtroopa = game.workspace:WaitForChild("DevTrooper",200,000) --gets the character
local Helmet = Devtroopa:WaitForChild("Helmet",200,000) --gets the helmet in character
local Middle = Helmet.Middle --gets the middle of the helmet to weld to the head

part = Middle
weld = Instance.new("Weld", part)
weld.Part0 = part
weld.Part1 = Devtroopa["Head"]
0
any suggestions would be helpful krispykreme90 15 — 6y

Answer this question