I want it so that when you click button, you get blue katana if you have this certain gamepass
Broken Script:
gpid = 141910550 --Game Pass ID
tools = {"BlueKatana"}
GPS = Game:GetService("GamePassService")
function unleashepicness()
player = game.Players:FindFirstChild(char.Name)
print("Respawned")
if char:FindFirstChild("Head") ~= nil then
print("It's a Player!")
if GPS:PlayerHasPass(player, gpid) then
print("Has GPID")
for i = 1,#tools do
game.Lighting:FindFirstChild(tools[i]):Clone().Parent = player.Backpack
end
else
print("No GPID")
end
end
end
script.Parent.MouseButton1Click:connect(unleashepicness)
siggy so hot, it spits yoga fire |