isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 04 Nov 2015 09:47 PM |
In a localscript in a textbutton:
wait(5)
function LongToShort(num,places) local placeValue = ("%%.%df"):format(places or 0) local syntax = {"K", "M", "B", "T", "q", "Q", "s", "S", "O", "N", "d", "U", "D", "!", "@", "#", "$", "%", "^", "&", "*"} for i = #syntax,1,-1 do if num >= math.floor(tonumber("1e+" .. i*3)) then return placeValue:format(num / math.floor(tonumber("1e+" .. i*3))) .. syntax[i] end end return num end
script.Parent.MouseButton1Down:connect(function()
game:GetService("AdService"):ShowVideoAd() game:GetService("AdService").VideoAdClosed:connect(function(shown) if shown then print("Finished showing video ad.") script.Parent.Parent.sucMsg.Visible = true gold = script.Parent.Parent.Parent.Parent.Gold.Value goldnew = LongToShort(gold/2) script.Parent.Parent.sucMsg.Text = "You earned "..goldnew.." from watching the video ad!" script.Parent.Parent.Parent.Parent.Gold.Value = script.Parent.Parent.Parent.Parent.Gold.Value + goldnew script.Parent.Visible = false wait(8) script.Parent.Visible = true script.Parent.Parent.sucMsg.Visible = false else print("The ad didn't get shown.") script.Parent.Parent.errMsg.Visible = true script.Parent.Parent.errMsg2.Visible = true script.Parent.Visible = false wait(8) script.Parent.Parent.errMsg.Visible = false script.Parent.Parent.errMsg2.Visible = false script.Parent.Visible = true end end)
end)
When you click the button it's supposed to display a video ad, and if it shows it gives you money.
But when you click it it just shows the error message.
I tested on Mobile (as well as pc)
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
Darkenus
|
  |
| Joined: 17 Jul 2014 |
| Total Posts: 1997 |
|
|
| 04 Nov 2015 09:50 PM |
| Did you test on your account? Won't show for BC people. |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 04 Nov 2015 09:53 PM |
@dark
made a new account
nbc
over 13
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 04 Nov 2015 10:01 PM |
:/
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2015 10:30 PM |
| ay where did you find that function to convert long to short? |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 04 Nov 2015 10:40 PM |
@Legend
a guy on the scripters forum |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2015 10:45 PM |
| Oh, I was wondering since I made that function awhile ago with the same code. :p |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 04 Nov 2015 10:46 PM |
| then it was probably you :P |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
| |
|
|
| 04 Nov 2015 10:52 PM |
"But when you click it it just shows the error message."
whats the error? |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2015 10:55 PM |
| you can also see the dev console in mobile if you type 'console' in chat |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 05 Nov 2015 12:32 PM |
anyone?
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
| |
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 05 Nov 2015 01:15 PM |
In console it says the ad got shown, no error.
but it doesn't do the rest of the stuff OR show an ad.
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2015 01:41 PM |
I think ROBLOX keeps a record of all your accounts registers on your IP or computer, so you can't cheat your way into getting free robux.
Try asking some of your friends.
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 05 Nov 2015 02:13 PM |
@power really?
ok
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 05 Nov 2015 02:18 PM |
e.e
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 05 Nov 2015 02:34 PM |
i don't really have any friends to test it
:(
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
| |
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 05 Nov 2015 03:03 PM |
*friends with phones that play roblox
http://www.roblox.com/siggy1-item?id=305572682http://www.roblox.com/siggy2-item?id=305572728http://www.roblox.com/siggy3-item?id=305572809 |
|
|
| Report Abuse |
|
|
Darkenus
|
  |
| Joined: 17 Jul 2014 |
| Total Posts: 1997 |
|
|
| 07 Nov 2015 02:49 PM |
| Maybe give us your game link so we can test. As some of us DO have phones. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2015 02:51 PM |
I've tried this before. The accounts on your IP won't work.
"Lua is coding. Lua is life" - TheComputerist |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 07 Nov 2015 03:12 PM |
here is link: http://www.roblox.com/games/291095712/Clicker-Adventures-MOBILE-UPDATES
hello stal477. when i grow up i want to be a hat designer, and i spent hours making thoose hats i posted in my decals. the red grinded hat means a lot to me and stop bullying me because its not fun ok stop. how does it feel to get bullied now? - isc88 |
|
|
| Report Abuse |
|
|