Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
local CreateDialogueEvent = game.ReplicatedStorage.CreateDialogueEvent -- Other Useful Functions local randomPlayerName local randomPlayerId local function getPlayerImage(player_id) local content, isReady = game:GetService("Players"):GetUserThumbnailAsync(player_id, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420) return content end local function getRandomPlayer() local players = game.Players:getPlayers() local number = math.random(1,#players) local randomPlayer = players[number] randomPlayerName = randomPlayer.Name randomPlayerId = randomPlayer.UserId end ---------------------------------------- -- put your challenge functions here local function challeng_example() -- THIS IS JUST AN EXAMPLE! IT WON'T RUN local teacher_Image = "rbxassetid://4841171880" CreateDialogueEvent:FireAllClients(teacher_Image,"Hello Students!") wait(5) getRandomPlayer() CreateDialogueEvent:FireAllClients(getPlayerImage(randomPlayerId),"I think this is the School!") end local function challenge_intro() end local function challenge_1() end local function challenge_2() end local function challenge_3() end local function challenge_4() end local function challenge_ending() end -------------------------------------------------- local function startGame() -- This is your main function where we order the challenges challenge_intro() challenge_1() challenge_2() challenge_3() challenge_4() challenge_ending() end wait(10) -- waits 10 seconds startGame() -- runs the startGame function
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)