I'm in the process of building a map for The CrusheR, a game which uses R6 and R15. I inserted a script into a part to make it rotate horizontally, but whenever a person doesn't move while the platform is rotating, they fall off.
I know it has something to do with welding scripts, I just don't know how to make it compatible with both R6 and R15.
for _,p in pairs(game.Players:GetPlayers()) do if p.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then -- Welding Script I end if p.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then -- Welding Script II end end
This detects if the Humanoid is using either R6 or R15. It is NOT possible for a Humanoid to be using both R6 and R15.