local button = script.Parent
button.MouseButton1Click:Connect(function() local player = game.Players.LocalPlayer local stats = player.leaderstats.Gold.Value print("processing") if stats >= 1000 then local coil = game.ServerStorage.SpeedCoil coil.Parent = game.StarterPack stats = stats-1000
it keeps breaking at local coil = ......
Can you help me explain the problem why it keeps breaking. and also this is a gui shop.