TomsTownJoin Date: 2010-12-27 Post Count: 452 |
Hi, I'm creating my own carnival and would like to now if it is possible if people can walk up to the token boxes collect tokens and then use these tokens to go on the rides, Then when they run out, They go back to collect more.
Would anyone be able to help me please? |
|
TomsTownJoin Date: 2010-12-27 Post Count: 452 |
Could you use like a cash script but just change it to tickets? |
|
eggheadJoin Date: 2007-06-09 Post Count: 913 |
Yep. |
|
TomsTownJoin Date: 2010-12-27 Post Count: 452 |
Would some thing like this be ok??
http://wiki.roblox.com/index.php/Money/Shop_Scripts#Introduction
If not then can you help me script it, I'm still struggling with scripting. |
|
TomsTownJoin Date: 2010-12-27 Post Count: 452 |
Would anyone be able to script it for me?? |
|
TomsTownJoin Date: 2010-12-27 Post Count: 452 |
Can anyone help me make a shop script?
Coz im thinking, I make the cash into tickets and make it that you pay say 5 tickets to go on a ride.
Can anyone help me??????? pleaseeeeee |
|
TomsTownJoin Date: 2010-12-27 Post Count: 452 |
Anyone????? |
|
EverstoneJoin Date: 2009-08-10 Post Count: 2989 |
|
|
EverstoneJoin Date: 2009-08-10 Post Count: 2989 |
@Above
That link will help you slot. |
|
EverstoneJoin Date: 2009-08-10 Post Count: 2989 |
alot* |
|
FredfishyJoin Date: 2009-03-21 Post Count: 4197 |
exchangerate = 5 -- How many tickets you get for 1 cash
amount -- How many tickets you exchange for at one press of teh BUTTON
debounce = false
function onTouched(hit)
if debounce == true then return else debounce = true end
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
player = game.Players:GetPlayerFromCharacter(hit.Parent)
player.leaderstats.Cash.Value = player.leaderstats.Cash.Value - amount
player.leaderstats.Tickets.Value = amount*exchangerate
end
end
end
script.Parent.Touched:Connect(onTouched)
--[[ Should work :/ ]] |
|
FredfishyJoin Date: 2009-03-21 Post Count: 4197 |
@everstone, *a lot |
|
EverstoneJoin Date: 2009-08-10 Post Count: 2989 |
@Fred
NO. Even Microsoft Word does that to me!
Alot sounds alot better. |
|
FredfishyJoin Date: 2009-03-21 Post Count: 4197 |
@EverusingINCORRECTGRAMMAR :O, Do you say afew or agreatmany? |
|
EverstoneJoin Date: 2009-08-10 Post Count: 2989 |
Neither. I say ain't alot though. |
|
|
if forum.Topic["Money Scripting Help!! plz"].Everstone.INCORRECTGRAMMAR == true then
forum.Everstone.Parent = nil
print("Fred is right, your grammar sucks sometimes. But mines too! :D")
else
print("You have learned, you have correct grammar!")
end
output:
Fred is right your grammar sucks sometimes. But mines too! :D |
|