How could I make this circle collector thing?

In this game ‘duck incremental’ I wanted to try to recreate the collecting thing and i was wondering how i could do it, as in locking it onto the player and having it follow them. image

If you’re talking about the circle staying under the character. You just need to weld it. Make Part0 the HRP and Part1 the Circle part.

Then just use the C1 property to offset the circle by like 2 studs on the y axis to get it in that position.

Make sure to keep the circle part’s property as cancollide off by the way.

If you’re confused on how to use welds, the documentation has a pretty good explanation:

1 Like

Thanks! Also, How could i go about welding the circle to the player on join? I have a script I could try out but I’m very inexperienced and I’m not sure it would work.

Just use the PlayerAdded and CharacterAdded event

local Players = game:GetService("Players")
local Circle = -- Insert circle part here

Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
-- Add your welding stuff here
end)
end)

I don’t wanna give you the answer fully because you gotta learn some of the stuff yourself, so I suggest using the documentation but since you’re inexperienced it might be too confusing for you. You can instead use devking’s tutorial on welds I remember watching it a year ago and it helped quite a bit.

Thank you so much! I will infract spend some more time learning things myself I was just really stuck on this. I hope you have a good day/night!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.