Advertisement
VoidScripteay72

e

Feb 28th, 2023
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. local function onChatted(player, message)
  2. if message == "airplane" then
  3. game:GetService("ReplicatedStorage").Message:FireClient(player, "A huge airplane appears from the sky!")
  4. end
  5. end
  6.  
  7. game.Players.PlayerAdded:Connect(function(player)
  8. player.Chatted:Connect(function(message)
  9. onChatted(player, message)
  10. end)
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement