Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Rotating part weld scripts for R6 and R15?

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.

2 comments

0

your concept is completely wrong. falling off while standing on a spinning platform is a normal thing, even irl, it's just physics

0

i edited the other script and it should work in game now

1 answer

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.

4 comments

0

Hey, MC. I'm kinda getting a bug in your top bar script. It works fine while I test the game in studio, but in the actual game the bar doesn't become transparent.

0

Also I'm confused with this script too, it puts an error at the first = sign in the script. I inserted it into a part, did I do something wrong when I put it in the part?

0

oops hold on

0

oh, in that topbar script, run a for loop

This discussion is preserved as it was. New answers, comments, and votes are closed.