Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Has anyone figured out Video Ads yet?

Hey, has anyone figured them out yet? I mean, this is the Default Roblox one that they released for us that never worked.

Game:GetService("AdService").VideoAdClosed:connect(function()
	Game:GetService("UserInputService").ModalEnabled = false
	script.Parent.Text = "Ad was closed, this text will reset in 5 secs"
	wait(5)
	script.Parent.Text = "Tap Here to Play Ad"
end)
script.Parent.MouseButton1Click:connect(function()
	Game:GetService("UserInputService").ModalEnabled = true
	Game:GetService("AdService"):ShowVideoAd()
end)

So I'd assume that when you watch one for Free Cash in a game, this is what it would be like.

Game:GetService("AdService").VideoAdClosed:connect(function()
	Game:GetService("UserInputService").ModalEnabled = false
	script.Parent.Text = "Ad was closed, this text will reset in 5 secs"
	wait(5)
	script.Parent.Text = "Tap Here to Play Ad"
end)
script.Parent.MouseButton1Click:connect(function()
	Game:GetService("UserInputService").ModalEnabled = true
	Game:GetService("AdService"):ShowVideoAd()
	Player[i].leaderstats:Cash.Value = Player[i].leaderstats:Cash.Value + 25
end)

But this also never worked...

Has anyone actually figured it out yet?!?! It'll be a great help if someone did!

1 answer

Video ads only work on mobile, currently. Make sure to test this with an iPhone, iPad, or Android device. If you don't have any of those, ask someone you know to test it for you.

1 comment

0

I do have android, but does anyone know how to actually implement it yet?

This discussion is preserved as it was. New answers, comments, and votes are closed.