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 script that equips a certain morph based on a group rank?

I'm trying to make a group rank auto-morph script but I'm having a few problems. I have the morphs, but I can't seem to figure it out. Can I have some help?

1 answer

✓ Accepted answer

Welp you can use the :IsInGroup() function to check if the player is in a group, if the player is, then check to see what rank the player is by using :GetRankInGroup() function and equip the morph accordingly.

Script will look like this:

local Player -- Please find a way to get the player
if Player:IsInGroup(--[[Group Id]]) then -- Check if player is in group.
	if Player:GetRankInGroup(--[[Group Id]]) >= (--[[Rank]]) then -- Check to see if player have a certain rank and if the player do,
		-- Equip the morph
	end
end

5 comments

0

Thanks m8, I appreciate it.

0

Can accept answer? Thanks haha

0

How? I'm new to this site

0

At the bottom of my answer, there's "accept answer" and "report" button. You can click on the "accept answer" button to accept it. Thanks :)

0

Done

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