-
-
Save Windows81/a74c4c314a7fe223d194701c37900d34 to your computer and use it in GitHub Desktop.
Run this script in your executor to, when the escape menu is enabled, switch between people who have voice chat on Rōblox. Your camera will be on their head like a GoPro!
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 TIME = 7 | |
| if _G.vc_cam then _G.vc_cam:Disconnect() end | |
| function get_participants() | |
| local t = {} | |
| for i, g in next, | |
| game.CoreGui.RobloxGui.SettingsShield.SettingsShield.MenuContainer | |
| .PageViewClipper.PageView.PageViewInnerFrame.Players:GetDescendants() do | |
| if g.Name == 'MuteStatusButton' and | |
| not g.MuteStatusImageLabel.Image:find '/Muted' then | |
| t[#t + 1] = game.Players[g.Parent.Parent.Name:sub(12)] | |
| end | |
| end | |
| return t | |
| end | |
| local a = {} | |
| local t = 0 | |
| local i = 0 | |
| local n = 0 | |
| local cc = game.Workspace.CurrentCamera | |
| cc.CameraType = 'Scriptable' | |
| _G.vc_cam = game['Run Service'].RenderStepped:Connect(function(d) | |
| if t > TIME and game.CoreGui.RobloxGui.SettingsShield.SettingsShield.Visible then | |
| t = 0 | |
| end | |
| if t == 0 then | |
| i = i + 1 | |
| if i >= n then | |
| i = 0 | |
| a = get_participants() | |
| n = #a | |
| end | |
| end | |
| local pl = a[i % #a + 1] | |
| local ch = pl and pl.Character | |
| if not ch then | |
| t = 0 | |
| return | |
| end | |
| cc.CFrame = ch.Head.CFrame * CFrame.new(0, 1, 5) | |
| t = t + d | |
| end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment