From cab8036f9f1f441a1427508f09687bea5e1024aa Mon Sep 17 00:00:00 2001 From: Quacky Date: Sun, 9 Jul 2017 16:56:27 -0500 Subject: [PATCH] Global libraries hue --- librariesGlobal.rbxm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 librariesGlobal.rbxm diff --git a/librariesGlobal.rbxm b/librariesGlobal.rbxm new file mode 100644 index 0000000..56601b2 --- /dev/null +++ b/librariesGlobal.rbxm @@ -0,0 +1,28 @@ + + null + nil + + + false + + ResetCommand + function onChatted(msg, speaker) + + source = string.lower(speaker.Name) + msg = string.lower(msg) + -- Note: This one is NOT caps sensitive + + if msg == "!!!reset" then + speaker.Character.Humanoid.Health = 0 + end +end + +function onPlayerEntered(newPlayer) + newPlayer.Chatted:connect(function(msg) onChatted(msg, newPlayer) end) +end + +game.Players.ChildAdded:connect(onPlayerEntered) + true + + +