
1.1k Views
3.7k Executions
Fe player collide script
Universal Script 📌
2 months ago
Reviewed by QueueSpeedDemonPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Make you able to collide player if the game doesn't support collision
--========================================================--
--PLAYER COLLIDE
--DRAGABLE UI========================================================--
local Players = game:GetService("Players")
local PhysicsService = game:GetService("PhysicsService")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer
local ENABLED = true
local COLLISION_GROUP = "LocalOtherPlayers"
--========================================================--
-- COLLISION GROUP
--========================================================--
pcall(function()
PhysicsService:RegisterCollisionGroup(COLLISION_GROUP)
end)
pcall(function()
PhysicsService:CollisionGroupSetCollidable(
COLLISION_GROUP,
COLLISION_GROUP,
true
)
end)
pcall(function()
PhysicsService:CollisionGroupSetCollidable(
COLLISION_GROUP,
"Default",
true
)
end)
--========================================================--
-- GUI
--========================================================--
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






