of     1   

EletricSpade1569
#184794892Saturday, March 05, 2016 4:37 PM GMT

So... I tried to make a convertor shop (like 1 Gem for 100 Coins, Gems are obtonaible in-game) but I don't know how to make it! Someone can help me by sending me what to do? Thanks :)!
DeepBlueNoSpace
#184794986Saturday, March 05, 2016 4:38 PM GMT

Post your code here, I'll fix it for you.
EletricSpade1569
#184795384Saturday, March 05, 2016 4:45 PM GMT

Well I don't know "really" how this works <.< but I Think I need make like -1 blah blah but i'm a newbie :( So I don't really know how (I'm sorry ;-;)
DeepBlueNoSpace
#184796080Saturday, March 05, 2016 4:55 PM GMT

You understand events right?? And guis??
MINEBLOX106
#184796482Saturday, March 05, 2016 5:01 PM GMT

If you're asking for a script, I can do write up a few scripts probably, for some robux. #code while (youStupid) do wait() print("wahts 9 plus ten?????/") end
DeepBlueNoSpace
#184797977Saturday, March 05, 2016 5:21 PM GMT

He's NBC. You get NBC with a couple of hundred R$, they typically are skint or have 10k + R$
EletricSpade1569
#184799075Saturday, March 05, 2016 5:36 PM GMT

So I'm reading all from the start the Roblox Wiki but I don't have robux and there I don't said to make a team for robux :( GUis I know what they are but... never mind i won't be able to do it
MINEBLOX106
#184799231Saturday, March 05, 2016 5:37 PM GMT

Didn't notice you were NBC. I'm trying to get back into the trading game and I kind of need some robux to do that. It's not the best script ever, but I fixed these up: script.Parent.Coins.Changed:connect(function() local convrate = 100 coins = tonumber(script.Parent.Coins.Text) gems = math.floor(coins/convrate) script.Parent.Gems.Text = tostring(gems) end) script.Parent.TextButton.MouseButton1Click:connect(function() local player = game.Players.LocalPlayer if player:findFirstChild("leaderstats"):FindFirstChild("Coins").Value >= 0 and player:findFirstChild("leaderstats"):FindFirstChild("Coins").Value > coins and coins >= 100 then player.leaderstats.Coins.Value = player.leaderstats.Coins.Value - tonumber(script.Parent.Coins.Text) player.leaderstats:FindFirstChild("Gems").Value = player.leaderstats.Gems.Value + gems end end) And game.Players.PlayerAdded:connect(function(player) local l = Instance.new("IntValue",player) l.Name = "leaderstats" local c = Instance.new("IntValue",l) c.Name = "Coins" c.Value = 500 local g = Instance.new("IntValue",l) g.Name = "Gems" g.Value = 0 end) You can find this in my models at: http://www.roblox.com/item.aspx?id=377799878 #code while (youStupid) do wait() print("wahts 9 plus ten?????/") end
EletricSpade1569
#184856382Sunday, March 06, 2016 11:31 AM GMT

Omg thank you! I will credit you in my game! You're the first person to help me :)! Thank you very much!
EletricSpade1569
#184858284Sunday, March 06, 2016 1:05 PM GMT

Hey, sorry for the double post but I tried the code and it worked! But I need to convert 1 Gem for 100 Coins, not 100 Coins for 1 Gem. I tried replacing the words but it hasn't worked, do you mind helping me out a bit again? I'd be really grateful, cheers.
MINEBLOX106
#184894078Sunday, March 06, 2016 10:37 PM GMT

I'll give you a day or so to see if you can figure this out on your own, and hopefully learn some stuff. What you'll need to do, is switch coins and gems, which you did, and then change the conversation rate. For example, local f = tonumber(script.Parent.Parent.Gems.Text) if f math.floor(1,1) then local v = f * 100, and then apply that to the leaderboard stats. If the math.floor() thing doesn't work, I apologize, I don't know how to use it all that well.
EletricSpade1569
#184930313Monday, March 07, 2016 3:08 PM GMT

Oh wow now it works Learn script later is so easy :)! Thanks!

    of     1