Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Car System Doesnt Work and Prints a text?

Asked by 4 years 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 — 4y

Answer this question