Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UI = script.Parent
- local MainFrame = UI.MainFrame
- local CodeInput = MainFrame.CodeInput
- local Redeem = MainFrame.Redeem
- local Exit = MainFrame.Exit
- Exit.MouseButton1Click:Connect(function()
- MainFrame.Visible = false
- end)
- Redeem.MouseButton1Click:Connect(function()
- game.ReplicatedStorage.RedeemCode:FireServer(CodeInput.Text)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement