10:22:04.761 - contents is not a valid member of Model 10:22:04.762 - Stack Begin 10:22:04.762 - Script 'Workspace.Euro Dealership.AntiLag.system_operation', Line 4 10:22:04.763 - Stack End
repeat wait() until script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Name ~= "Head"
Debounce = false
**
Player = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent
Price = script.Parent.Parent.Parent:FindFirstChild("PriceValue")
Gun = script.Parent.Parent.Parent.Parent:FindFirstChild("Gun")
script.Parent.MouseButton1Click:connect(function()
if Debounce == false and Player.Character:FindFirstChild("Money").Value >= Price.Value then
Player.Character:FindFirstChild("Money").Value = Player.Character:FindFirstChild("Money").Value - Price.Value
wait()
game.ServerStorage.Weapons:FindFirstChild(Gun.Text):clone().Parent = Player.Backpack
end
end)

2 comments
Give us some code to work with. Most likely, the problem is that there is no object named "contents" inside whatever "Model" is referring to.
how do I fix this and I know nothing about Scripts lol