SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local storage = game.Workspace.Script |
| 1 | + | local storage = game.Workspace.jassm11 |
| 2 | function Chat(v,word) | |
| 3 | local vote = Instance.new("StringValue")
| |
| 4 | vote.Name = v | |
| 5 | vote.Value = word | |
| 6 | vote.Parent = storage.ChatQueue | |
| 7 | end | |
| 8 | function SetDisplayedWord(word) | |
| 9 | storage.CurrentWord.Value = word | |
| 10 | end | |
| 11 | function GetDisplayedWord() | |
| 12 | return(storage.CurrentWord.Value) | |
| 13 | end | |
| 14 | function SetTimer(time) | |
| 15 | storage.Timer.Value = time | |
| 16 | end | |
| 17 | function GetTimer() | |
| 18 | return(storage.Timer.Value) | |
| 19 | end | |
| 20 | function SetArtist(name) | |
| 21 | storage.Artist.Value = name | |
| 22 | end | |
| 23 | function GetArtist() | |
| 24 | return(storage.Artist.Value) | |
| 25 | end | |
| 26 | function TriggerCheatAlert() | |
| 27 | storage.CallCheaterVote.Value = not storage.CallCheaterVote.Value | |
| 28 | end | |
| 29 | function ClearChatQueue() | |
| 30 | storage.ChatQueue:ClearAllChildren() | |
| 31 | end |