You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Make model follow player -
What is the issue? Include screenshots / videos if possible!
make model not fall -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
anchoring the models but it doesn’t really work? Yeah the primary part is welded with the other ones and all are unanchored and no can collide. when i run the function the items pops up for a second but just falls down into the void/ through the floor)
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local function eqqipeditem(player, item)
local char = player.Character
if char == nil and item == nil then return end
if char:FindFirstChild(player.Name .. "'s item") then char[player.Name .. "'s item"]:Destoy() end
item.Name = player.Name.. "'s item"
item:SetPrimaryPartCFrame(char.HumanoidRootPart.CFrame)
local ModelSize = item.PrimaryPart.Size
local Attchhar = Instance.new("Attachment")
Attchhar.Visible = false
Attchhar.Parent = char.HumanoidRootPart
Attchhar.Position = Vector3.new(1, 1, 0) + ModelSize
local attchpet = Instance.new("Attachment")
attchpet.Visible = false
attchpet.Parent = item.PrimaryPart
local allpos = Instance.new("AlignPosition")
allpos.MaxForce = 25000
allpos.Attachment0 = attchpet
allpos.Attachment1 = Attchhar
allpos.Responsiveness = 25
allpos.Parent = item
item.Parent = char
print("should work") --smh why print if no work
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.