Ad
Log in to vote
0

Car System Doesnt Work and Prints a text?

Asked by 5 months ago
script.Parent.MouseButton1Click:Connect(function()
    if game.Workspace.Value.Value > 100 then
        game.ReplicatedStorage.Van:Clone().Parent = game.Workspace
    else
        script.Parent.Text = ("You dont have enough money")
    end
end)

So, every time i start up my game I put my money to 200. Then I go to the buy the vehicle it only tells me that I don't have enough money

0
do you set your money to 200 or 100? PolyyDev 214 — 5mo

Answer this question