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

How do i make Team auto morph and Different morph per-rank?

So uh i work on a Military Roleplay group and anyone knows how to make Team auto morph and Different morph per-rank? I can't figured it out how, Thanks.

2 comments

0

uh use GetRoleInGroup or GetRankInGroup hehe

0

Can you make a specific explaination? I need it for real

1 answer

✓ Accepted answer

uh do somethin like dis 0:0

local groupId = 0000
local rankRequired = 255 
local lowerRequirement = 5 

game.Players.PlayerAdded:Connect(function(player) 
	player.CharacterAdded:Connect(function(character) -- uh probably need for morph
		if player:IsInGroup(groupId) then -- checks to see if player is in the group
			if player:GetRankInGroup(groupId) >= rankRequired then
				-- morph player to rank or change team
			elseif player:GetRankInGroup(groupId) >= lowerRequirement then
				-- morph to other thing or change team 
			end
		end
	end)
end)

2 comments

0

Thanks but where do i add my Morph

0

uh put morph script under put it under "if player:GetRankInGroup(groupId) >= rankRequired then"

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