You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? i want to make players not collide with certain parts
-
What is the issue? it only works in-studio, in-game, no
-
What solutions have you tried so far? tried looking for solutions on the devforum, no results, tried to manually make the collisions, still not, tried to manually set the “certain parts” collisions, and nope.
my current script:
local physicsService = game:GetService('PhysicsService')
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
for i, v in pairs(char:GetDescendants()) do
if v:IsA("BasePart") then
physicsService:SetPartCollisionGroup(v,'Players')
print('added')
end
end
end)
collision groups:

is there something im doing wrong? or is there something wrong with the service?