Players.humblebumble1234.PlayerGui.ScreenGui.Background.Vehicles.GT.LocalScript:3: attempt to index local 'player' (a nil value) is the error
script.Parent.MouseButton1Click:Connect(function(player)
local GT = game.ServerStorage:FindFirstChild("axelizedchassis")
local Humanoid = player.Character:FindFirstChild("UpperTorso")
local Clone = game.ServerStorage.axelizedchassis:Clone()
Clone.Parent = script.Parent
local NewPosition = CFrame.new(Humanoid.Position)
Clone:SetPrimaryPartCFrame(NewPosition)
GT:Clone().Position = NewPosition
game.StarterGui.ScreenGui.Background.Visible = false
end)
