Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local NumberTable = {
- ["1"] = "One",
- ["2"] = "Two",
- ["3"] = "Three",
- ["4"] = "Four",
- ["5"] = "Five",
- ["6"] = "Six",
- ["7"] = "Seven",
- ["8"] = "Eight",
- ["9"] = "Nine",
- ["10"] = "Ten",
- }
- ReplicatedStorage.ButtonPressed.OnServerEvent:Connect(function(Player, TheButtonsText)
- ReplicatedStorage.DaAllClients:FireAllClients(Player.Name.. " Pressed ".. NumberTable[TheButtonsText])
- end)
Advertisement
Add Comment
Please, Sign In to add comment