Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
Flip265 -14
3 years ago

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.

0
uh use GetRoleInGroup or GetRankInGroup hehe BulletproofVast 1033 — 3y
0
Can you make a specific explaination? I need it for real Flip265 -14 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

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)
0
Thanks but where do i add my Morph Flip265 -14 — 3y
0
uh put morph script under put it under "if player:GetRankInGroup(groupId) >= rankRequired then" BulletproofVast 1033 — 3y
Ad

Answer this question