I’m trying to make a collection circle / aura for my game but I can’t because I have the circle as a model but the weld requires a basepart
I searched on Google but I didn’t find anything
This is the model:
Here is the script:
local Players = game:GetService(“Players”)
local RS = game:GetService(“ReplicatedStorage”)
Players.PlayerAdded:Connect(function(plr)
print("player added")
plr.CharacterAdded:Connect(function(char)
print("char added")
local part0 = char:FindFirstChild("HumanoidRootPart")
print("part0")
local part1 = RS:FindFirstChild("TestPart"):Clone()
print("part1")
local weld = Instance.new("Weld")
print("weld")
weld.Part0 = part0
print("welded part0")
weld.Part1 = part1
print("welded part1")
weld.Parent = part0
part1.Parent = char
print("set parent")
weld.C1 = CFrame.new(0,2.7,0)
print("set C1 offset")
end)
end)