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

How to make house on a game where you can buy it?

Asked by 10 years ago

I am making a city game, I am currently working on the neighborhood, can you help me make a script where you are able to buy the house?

Here is the money script, I just need help with spending money on a house. Please help!

function onPlayerEntered(newPlayer) local stats = Instance.new("IntValue") stats.Name = "leaderstats" local c = Instance.new("IntValue") c.Name = "Money" c.Value = 1000 c.Parent = stats stats.Parent = newPlayer newPlayer.Changed:connect(function (property) end) end

game.Players.ChildAdded:connect(onPlayerEntered)

Help me on the spending money script please.

1 answer

Log in to vote
0
Answered by
daricr 0
10 years ago

Sir, WE DONT GIVE SCRIPTS, WE HELP WITH THEM. And, look at testin's profile, the creator of Welcome To The Town Of ROBLOXia and look at his models.

Ad

Answer this question