So I tried making my future coming obby game tidier by using CollectionService so I won’t have to put a script on each object and I’m having a problem with making the spinners spin. I had no errors, here’s the code:
local CollectionService = game:GetService("CollectionService") local TaggedParts = CollectionService:GetTagged("Spinner2") for _, TaggedPart in pairs(TaggedParts) do while true do wait() TaggedPart:SetPrimaryPartCFrame(TaggedPart.PrimaryPart.CFrame * CFrame.Angles(0, 0, TaggedPart.Speed.Value)) end end
Any help is appreciated!
I added tags using a plugin, which worked for other objects, but not the spinners.