#how to make a gravity coil gamepass that gives u a gravity coil when u buy it
28 messages · Page 1 of 1 (latest)
💀
bruh what
i guess you're novice
i guess?
could u help tho?
ye sure
thanks
i'll make it simple for you
ok
do you know your gamepass id?
yes
give
ok one sec
4471471773
where do you want the tool to be?
inside rep storage or inside the script?
script
or either one
idm
local MarketPlaceService = game:GetService("MarketplaceService")
local GamepassId = 4471471773 -- your gamepass id here
local Tool = script.GravityCoil -- the tool
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, GamepassId) then
local ToolClone = Tool:Clone()
ToolClone.Parent = Player.Backpack
end
end)
end)
just put the GravityCoil inside the script's gamepass
also change the name if it have another name than gravitycoil
ok ill test it
where should i pout the script?
@thorny bridge
hmm
i suggest you putting in serverscriptservics