Advertisement
Existence_YT

[RobloxStudioProjects] RedeemCodeUI - TC-Client

Aug 19th, 2020
2,036
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. local UI = script.Parent
  2. local MainFrame = UI.MainFrame
  3. local CodeInput = MainFrame.CodeInput
  4. local Redeem = MainFrame.Redeem
  5. local Exit = MainFrame.Exit
  6.  
  7. Exit.MouseButton1Click:Connect(function()
  8.     MainFrame.Visible = false
  9. end)
  10. Redeem.MouseButton1Click:Connect(function()
  11.     game.ReplicatedStorage.RedeemCode:FireServer(CodeInput.Text)
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement