How to DISABLED player collisions in Roblox Studio!

Опубликовано: 26 Август 2026
на канале: 6sDev
207
5

Script:

script.Parent = game:GetService("ServerScriptService")
local PhysService = game:GetService("PhysicsService")
local PlayerGroup = PhysService:CreateCollisionGroup("p")
PhysService:CollisionGroupSetCollidable("p","p",false)

function NoCollide(model)
for k,v in pairs (model:GetChildren()) do
if v:IsA"BasePart" then
PhysService:SetPartCollisionGroup(v,"p")

end
end
end

game:GetService("Players").PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
char:WaitForChild("HumanoidRootPart")
char:WaitForChild("Head")
char:WaitForChild("Humanoid")
wait(0.1)
NoCollide(char)

if player.Character then
NoCollide(player.Character)
end
end)
end)

Model: https://www.roblox.com/library/713894...

Follow me on Roblox: https://www.roblox.com/users/53728218...
Follow /w IPlayOnArcade: https://www.roblox.com/users/25449147...

Please subscribe, it's really gonna helps me out.