Gamepass=game:GetService('GamePassService')
Id=633260926
game.Players.PlayerAdded:connect(function(hit)
print("function success")
if Gamepass:PlayerHasPass(hit, Id) then print("Attempting to give segway")local a=game.Lighting.HandlessSegway:Clone()
a.Parent=hit.StarterGear
end
end)
No clue why its not working, it says Lighting is not a valid member of Workspace in developer logs, not sure if its because of this script or another script, why is this script not giving this hoverboard?

2 comments
Does it print Attempting to give segway? Be sure to isolate the script so you can tell if there error is from there.
Attempting to isolate right now. @Shawnyg