|
| 15 Dec 2016 08:26 PM |
Heya, I'm making a twitter promo code for my game but when I click the Submit Code button the button doesn't work this is my script
----------------------------------------------------------------------------------------
local gear = game.ReplicatedStorage:WaitForChild('GravityCoil') script.Parent.MouseButton1Click:connect(function() if script.Parent.Parent.Input.Text == 'Welcome To Fish Tycoon' then gear:Clone().Parent = game.Players.LocalPlayer.Backpack gear:Clone().Parent = game.Players.LocalPlayer.StarterGear script.Parent.Parent.Input.Text = '' script.Parent.Parent.Text = 'Success!' wait (1) script.Parent.Text = 'Submit' else script.Parent.Parent.Input.Text = '' script.Parent.Parent.Text = 'Invalid Code' wait (1) script.Parent.Text = 'Submit' end end)
----------------------------------------------------------------------------------------
Is there anything obvious i'm doing wrong? |
|
|
| Report Abuse |
|
|
| 15 Dec 2016 08:37 PM |
Is there anything in the output?
And what specific part doesn't work? The entire script? |
|
|
| Report Abuse |
|