Roblox Scripting Tutorial: Promotional Codes (HttpService)

Publicado em: 19 Janeiro 2017
no canal de: RyGuyGaming
1,912
35

Go here and create an account to store your codes: pastebin.com (#NotSponsored)

My Script (MAKE SURE!!! that the HttpEnabled property on the HttpService is Enabled (the box is checked)):
local debounce = true

script.Parent.MouseButton1Down:connect(function()
if debounce == true then
debounce = false
script.Parent.BackgroundColor3 = Color3.new(170, 170, 127)
local player = script.Parent.Parent.Parent.Parent
local http = game:GetService("HttpService")
local code = http:GetAsync("http://pastebin.com/raw/Lqu7VFUS", true)
print(code)
if script.Parent.Parent.TextBox.Text == code then
local ls = player:findFirstChild("leaderstats")
if ls then
ls.Money.Value = ls.Money.Value + 1000000
end
end
wait(10)
debounce = true
script.Parent.BackgroundColor3 = Color3.new(170, 0, 255)
end
end)

Be sure to follow me on Twitter after rating, commenting, and subscribing!
  / rrrrry123  

Also, follow me on Twitch for some live streams!
  / rrrrry123  

You can add me on Roblox here!
http://ow.ly/7MWs305jb3B

Want to help make this channel better? You can donate to me via Roblox Robux!
http://ow.ly/En9x30hdeWy


Nesta página do site você pode assistir ao vídeo on-line Roblox Scripting Tutorial: Promotional Codes (HttpService) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário RyGuyGaming 19 Janeiro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,912 vezes e gostou 35 espectadores. Boa visualização!