Roblox Scripting Tutorial: Promotional Codes (HttpService)

Veröffentlicht am: 19 Januar 2017
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Roblox Scripting Tutorial: Promotional Codes (HttpService) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer RyGuyGaming 19 Januar 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,912 Mal angesehen und es wurde von 35 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!