The title, idk if it is the issue. i stuck a script so when a player joined, it would stick a helmet on their head.
local Helmet = game.Workspace.Helmet
wait(1)
local weld = Instance.new("Weld", game.Workspace)
weld.Part0 = game.Workspace.Helmet
weld.Part1 = game.Players.LocalPlayer.Character.Head
The helmet IS a model. idk if that changes anything. my output says bad cast, and brings me to line 7 when i click on it. anyone able to help?

3 comments
You need at least 25 rep to upvote https://scriptinghelpers.org/help/user-privileges
Also .className is deprecated https://i.gyazo.com/e0de3cb6e9cb1900ec7c60d7dd58175c.png
This is an old script. The original asker also does have 25+ rep.