#teleports game if gamepass owned
61 messages · Page 1 of 1 (latest)
wouldnt this be only if they buy the gamepass
like
buy the game pass and get teleported
and if you just have it you dont
use marketplaceservice:UserOwnsGamepassAsync() then
teleports dont work inside of studio sadly
** You are now Level 2! **
wdym
teleportservice:teleport() takes 2 arguments, the place id and the player
you just provided the game id
TeleportService:Teleport(destinationGameId, player)
instead of TeleportService:Teleport(destinationGameId)
your script asks you if you want to buy the gamepass and if you buy it you get teleported
it doesnt teleport you if you arleady have it
i dont understand
yeah i get that
so you need the code to do something in the game?
also what if the player disconnects
hows that different
** You are now Level 10! **
oh ok
yeah
you would need datastore
not for free
im arleady working on something right now
im not the only scripter
why not just make it a developer product
so you can use the same pass and buy it everytime?
ayo.
that's tos..
yeah no, that's.
wild.
both
well I'll tell ya, you don't need datastores.
you can just check if they own it
look up the markeyplace api.
there's a check for if a user owns the gamepass.
you can just check on the client, and then if they own it then do the teleporting.
no just run a check when they press a button
or do a chat command
or something along those lines.
but truthfully, you're idea is flawed
lets say, I buy a game right get sent the discord code.
send it to 500 of my friends
then what?
yet you send them an invite
so i just send that same invite to my friends
but the code will.
when they add a server.
I just send the same thing that game gives me.
then how are other players going to use it when they buy it?
i mean i guess
it would be much easier to just have them dm you.
** You are now Level 4! **
how about just make it when they click it checks if they own the gamepass, and if they do send them
and if they don't ask them to buy it.
that's as much help as im offering on it.
this breaks Tos, and thus i don't support it.
Roblox tos does not allow for you to sell things off site
Aka you cant use Roblox to sell other people's games
what is it