I've been using this script


local root = script.Parent:FindFirstChild("HumanoidRootPart", true)
local brick = game.ReplicatedStorage.BabyPolarBear:Clone()
brick.Parent = script.Parent

local weld = Instance.new("Weld", brick)
weld.Part0 = root
weld.Part1 = brick
weld.C0 = CFrame.new(0,-1.05,-3.3)

But its not working. I need to weld 'BabyPolarBear' from replicated storage to the player. how do I do this? The output says 'Bad Cast' This is a local script inside starter character scripts

2 comments

0

Is the baby polar bear a part or a model?

0

model