local Gyro = GetPartFromPort(1, "Gyro") local IonRocket = GetPartFromPort(1, "IonRocket") local Microphone = GetPartFromPort(1, "Microphone") -- Gets the player's info function getPlayerInfo(playername) for i, v in LifeSensor:GetReading do if i == playername then return v end end end -- Set up motor pins local motorPins = {12, 13, 14} -- {1:Left Motor, 2:Right Motor, 3:Vertical Motor} -- Set up speed for motors local speed = 50 -- speed value between 0 and 100 -- Target player to follow local targetPlayer = "Player" -- name of the player to follow -- Function to start targeting a player function target(playerName) targetPlayer = playerName print("Now following " .. targetPlayer .. " in leaderboard roblox list.") end -- Function to stop targeting a player function stopTargeting() targetPlayer = nil print("Stopped targetting the player in leaderboard roblox list.") end -- Main loop Microphone:Connect("Chatted" function(player ,text) Gyro:Configure({Seek = text}) end wait(0.05) end