Still have questions? Join our Discord server and get real time help.
Log in to vote

How do I make a gamepass that changes your team and give you a certain admin? [closed]

Asked by
lomo598 -7
16 days ago

I don't know much about Lua. So can you help me, please?

Not a request site. It's called Scripting Helpers because we help with scripting, not give out free code. LennyPlayzYT 272 — 15d

Closed as Not Constructive by LennyPlayzYT, KBRM101, Jessesong, and Fifkee

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
Answered by 16 days ago
Edited 16 days ago

What admin script are you running for your game? I know HD Admin supports gamepass ranks. As for changing teams, you would want to do something like this in a separate script:

local gamepassid = 0000000 -- substitute for GamePass ID
local ms = game:GetService("MarketplaceService")
local team = -- substitute for the team in the Teams folder
if ms:UserOwnsGamePassAsync(plr.UserId, gamepassid) then
plr.Team = team

That script is pretty rushed, so I'm not sure if it would work

Adonis Loader I know how to attach to Adonis Loader but I can't figure out how to add teams into the mix lomo598 -7 — 16d