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

This Script Doesn't let me TP with my Gamepass?

Asked by 7 years ago

This is the script:

01local passId = 1224428687 -- change this to your game pass ID.
02 
03function isAuthenticated(player) -- checks to see if the player owns your pass
04    return game:GetService("GamePassService"):PlayerHasPass(player, passId)
05end
06 
07game.Players.PlayerAdded:connect(function(plr)
08    if isAuthenticated(plr) then
09        print(plr.Name .. " has bought the game pass with id " .. passId)
10    end
11end)
12 
13local debounce = true
14local player = script.Parent.Parent.Parent.Parent
15local target = game.Workspace:WaitForChild("DJSPAWN")
View all 31 lines...

it doesnt tp me for some reason Please Help!

1 answer

Log in to vote
0
Answered by 7 years ago

Line 20 HumaniodRootPart should be HumanoidRootPart.

Ad

Answer this question