This doesn't give the tool on respawn. Help, please?
Also, half the time it doesn't even load the sword at all unless I respawn my character since I already have the gamepass, but if someone buys the gamepass from ingame, it doesn't give them it on respawn. It's weird and I don't get it.
wait(2)
GamepassID = 162597573
Tools = {"Dual Darkheart"}
GPS = Game:GetService("GamePassService")
function respawned(char)
player = game.Players:FindFirstChild(char.Name)
if char:FindFirstChild("Head") ~= nil then
if GPS:PlayerHasPass(player, GamepassID) then
for i = 1,#Tools do
game.ServerStorage:FindFirstChild(Tools[i]):Clone().Parent = player.Backpack
end
else
end
end
end
game.Workspace.ChildAdded:connect(respawned)

2 comments
Well, if they buy in-game they need to be in a new server for it to work
Not always..