How to disable player collision in roblox studio - easy tutorial

Опубликовано: 12 Октябрь 2024
на канале: moodyhoda
49,958
768

Hi
CREDITS: RIPPER0NI ( the person who made the script )
today's video is how to disable player collision in roblox studio.
Its easy tutorial, you just need to focus and follow the steps
Credits: RIPPER0NI
Enjoy!
Like and subscribe please?
Roblox group: https://www.roblox.com/groups/7130598...

Roblox profile: https://www.roblox.com/users/11747731...

Instgram:   / m00dyh0da  

Tiktok: https://www.tiktok.com/@m00dyh0da?lan...

Discord server:   / discord  

my discord: moodyhoda#1301

Tags:
#moodyhoda #Subscribe #Happyblack #Zepyxl #Oofy #Cqqp #TooPink #ByCable #Kaizo #yyplayz #Pinkleaf #Foolzy #Unlimited #MathFacter360 #SenterX #S_Viper #betterert #Floydeye #Jyxles #Tx_Cle #Roblox #moodyhoda #Cut #NotInYourRecommended #NoShortcuts #NoShiftlock #Challenge #ButIfYouCloseYourEyes #Recommended #Epic #Video #moody #hoda #Roadto400subs

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)