Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local gui = script.Parent.Parent
- local employmentFrame = script.Parent
- local description = employmentFrame:FindFirstChild("Description")
- local joinBtn = employmentFrame:FindFirstChild("Join")
- local closeBtn = employmentFrame:FindFirstChild("Close")
- local title = employmentFrame:FindFirstChild("Title")
- --Functionality
- function join()
- game.ReplicatedStorage.JoinJob:FireServer(employmentFrame.Job.Value)
- employmentFrame.Visible = false
- end
- function close()
- employmentFrame.Visible = false
- end
- --Connections
- joinBtn.Activated:Connect(join)
- closeBtn.Activated:Connect(close)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement