This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local switch = GetPartFromPort(1, "Switch") | |
local gyro = GetPartFromPort(1, "Gyro") | |
local mic = GetPartFromPort(1, "Microphone") | |
local on = false | |
switch:Configure({SwitchValue = false}) | |
mic:Connect("Chatted", function (Player, Message) | |
print(Player) | |
if Player ~= "Makerbenjammin6" then return end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local switch = GetPartFromPort(1, "Switch") | |
local gyro = GetPartFromPort(1, "Gyro") | |
local mic = GetPartFromPort(1, "Microphone") | |
local on = false | |
switch:Configure({SwitchValue = false}) | |
mic:Connect("Chatted", function (Player, Message) | |
print(Player) | |
if Player ~= "Makerbenjammin6" then return end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local switch = GetPartFromPort(1, "Switch") | |
local gyro = GetPartFromPort(1, "Gyro") | |
local mic = GetPartFromPort(1, "Microphone") | |
mic:Connect("Chatted", function (Player, Message) | |
print(Player) | |
if Player ~= "Makerbenjammin6" then return end | |
local split = Message:split(" ") | |
local command = split[1]:lower() |