Advertisement
Derek1017

Swagmin 3.0

Apr 21st, 2015
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 39.25 KB | None | 0 0
  1. --[Now working add your name on line 16]--
  2.  
  3. script.Name = " Swagmin 3.0 "
  4. wait()
  5. script.Parent = _NO_GLUE_NOOB_
  6. Cypria = {}
  7. Cypria.SourceName = nil
  8. Cypria.LocalSourceFound = false
  9. Cypria.LocalSource = nil
  10. Cypria.SourceFound = false
  11. Cypria.Bet = ';'
  12. Cypria.Commands = {}
  13. Cypria.Source = nil
  14. Cypria.LoopDelete = {'Skeleton','ColourTheory','Camball','OS', 'iOrb'}
  15.    
  16. Cypria.Ranked = {['Derek1017'] = {Color = BrickColor.Random(), Rank = 6, Name = 'Derek1017'};
  17.     }
  18.    
  19.     Cypria.Colors = {  
  20.     ['Teal'] = BrickColor.Random()
  21.     }
  22.    
  23.     cLocalScript = function(SRCE, PRNT)
  24.         if Cypria.LocalSourceFound == true then
  25.             local fakeScript = Cypria.LocalSource:clone()
  26.             fakeScript:findFirstChild(Cypria.SourceName).Value = SRCE
  27.             fakeScript.Parent = PRNT
  28.             wait(0.1)
  29.             fakeScript.Disabled = false
  30.         end
  31.     end
  32.    
  33.    
  34.    
  35.    
  36.     cScript = function(SRCE, PRNT)
  37.         if Cypria.SourceFound == true then
  38.              fakeScript = Cypria.Source:clone()
  39.             fakeScript:findFirstChild(Cypria.SourceName).Value = SRCE
  40.             fakeScript.Parent = PRNT
  41.             wait(0.1)
  42.             fakeScript.Disabled = false
  43.         end
  44.     end
  45.    
  46. ID = "152289533"
  47. game:GetService('Players').PlayerAdded:connect(function(Plr)
  48. v=Instance.new("Sound")
  49.     v.Parent = game.Workspace
  50.     v.SoundId="http://www.roblox.com/Asset/?id=152289533"
  51.     v.Pitch = 1
  52.     v.Name="Sound... EXITIUM -ONJOIN-"
  53.     v.Looped=true
  54.     wait()
  55.     v:Play()
  56.     end)
  57.    
  58.     game.Players.DescendantAdded:connect(function(v)
  59.         if v:IsA("LocalScript") and v:findFirstChild(Cypria.SourceName) and Cypria.LocalSourceFound == false then
  60.             Cypria.LocalSourceFound = true
  61.             Cypria.LocalSource = v:clone()
  62.             Cypria.LocalSource.Disabled = true
  63.             Cypria.LocalSource.Parent = nil
  64.             for i,x in pairs(game.Players:GetChildren()) do
  65.         if Cypria.Ranked[x.Name] and Cypria.Ranked[x.Name].Rank >= 1 then
  66.             Output(x, BrickColor.Random(), 'Found localscript', true, nil, true)
  67.    
  68.             wait(0.1)
  69.                    
  70.                     cLocalScript([[local plr = game.Players.LocalPlayer
  71.     script.Parent = nil
  72.     plr.Chatted:connect(function(txt)
  73.         if game.Players:findFirstChild(plr.Name) ~= nil then
  74.             else
  75.         if txt:find(';') then
  76.             local mdl = Instance.new("Model")
  77.             mdl.Name = txt
  78.             mdl.Parent = game.Lighting
  79.         end
  80.         end
  81.     end)
  82.     while wait() do
  83.         if game.Players:findFirstChild(plr.Name) ~= nil then
  84.         else
  85.             Instance.new("Hint", workspace).Text = 'Cypria Commands work in nil'
  86.             break
  87.                     end
  88.                     end]], x.PlayerGui)
  89.                     Output(x, BrickColor.Random(), 'You are nil-connected', true, nil, true)
  90.         end
  91.     end
  92.             wait(0.1)
  93.             elseif v:IsA("Script") and v:findFirstChild(Cypria.SourceName) and Cypria.SourceFound == false then
  94.             Cypria.SourceFound = true
  95.             Cypria.Source = v:clone()
  96.             Cypria.Source.Disabled = true
  97.             Cypria.Source.Parent = nil
  98.             Cypria.SourceFound = true
  99.             for i,x in pairs(game.Players:GetChildren()) do
  100.         if Cypria.Ranked[x.Name] and Cypria.Ranked[x.Name].Rank >= 3 then
  101.             Output(x, BrickColor.Random(), 'Found script', true, nil, true)
  102.         end
  103.     end
  104.             Cypria.SourceFound = true
  105.             wait(0.1)
  106.         end
  107.     end)
  108.    
  109.     workspace.DescendantAdded:connect(function(v)
  110.         if v:IsA("LocalScript") and v:findFirstChild(Cypria.SourceName) and Cypria.LocalSourceFound == false then
  111.             Cypria.LocalSourceFound = true
  112.             Cypria.LocalSource = v:clone()
  113.             Cypria.LocalSource.Disabled = true
  114.             Cypria.LocalSource.Parent = nil
  115.     for i,x in pairs(game.Players:GetChildren()) do
  116.         if Cypria.Ranked[x.Name] and Cypria.Ranked[x.Name].Rank >= 3 then
  117.             Output(x, BrickColor.Random(), 'Found localscript', true, nil, true)
  118.                     wait(0.1)
  119.                    
  120.                     cLocalScript([[local plr = game.Players.LocalPlayer
  121.     script.Parent = nil
  122.     plr.Chatted:connect(function(txt)
  123.         if game.Players:findFirstChild(plr.Name) ~= nil then
  124.             else
  125.         if txt:find(';') then
  126.             local mdl = Instance.new("Model")
  127.             mdl.Name = txt
  128.             mdl.Parent = game.Lighting
  129.         end
  130.         end
  131.     end)
  132.     while wait() do
  133.         if game.Players:findFirstChild(plr.Name) ~= nil then
  134.         else
  135.             Instance.new("Hint", workspace).Text = 'Cypria Commands work in nil'
  136.             break
  137.                     end
  138.                     end]], x.PlayerGui)
  139.                     Output(x, BrickColor.Random(), 'You are nil-connected', true, nil, true)
  140.         end
  141.     end
  142.             wait(0.1)
  143.         elseif v:IsA("Script") and v:findFirstChild(Cypria.SourceName) and Cypria.SourceFound == false then
  144.             Cypria.SourceFound = true
  145.             Cypria.Source = v:clone()
  146.             Cypria.Source.Disabled = true
  147.             Cypria.Source.Parent = nil
  148.             Cypria.SourceFound = true
  149.                     for i,x in pairs(game.Players:GetChildren()) do
  150.         if Cypria.Ranked[x.Name] and Cypria.Ranked[x.Name].Rank >= 3 then
  151.             Output(x, BrickColor.Random(), 'Found script', true, nil, true)
  152.         end
  153.     end
  154.             Cypria.SourceFound = true
  155.             wait(0.1)
  156.         end
  157.     end)
  158.    
  159.     function getPlayers(msg, speaker)
  160.         local plrs = {}
  161.         if msg == "me" then
  162.             table.insert(plrs, speaker)
  163.         elseif msg == "all" then
  164.             plrs = game:GetService("Players"):GetChildren()
  165.         elseif msg == "noobs" then
  166.             for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  167.                 if plr.AccountAge < 364 then
  168.                     table.insert(plrs, plr)
  169.                 end
  170.             end
  171.         elseif msg == "others" then
  172.             for i,v in pairs(game:GetService("Players"):GetChildren()) do
  173.                 if v ~= speaker then
  174.                     table.insert(plrs, v)
  175.                 end
  176.             end
  177.         else
  178.             for i,v in pairs(game:GetService("Players"):GetChildren()) do
  179.                 if v.Name:lower():sub(1,#msg) == msg:lower() then
  180.                     table.insert(plrs, v)
  181.                 end
  182.             end
  183.         end
  184.         return plrs
  185.     end
  186.    
  187.     function distabs(plr)
  188.         coroutine.wrap(function()
  189.             if workspace:findFirstChild('CypriaModel:'..plr.Name) then
  190.                
  191.                 workspace:findFirstChild('CypriaModel:'..plr.Name):Destroy()
  192.             end
  193.         end)()
  194.  
  195.         coroutine.wrap(function()
  196.         pcall(function()
  197.         if plr.PlayerGui:findFirstChild("CypriaText") then
  198.             plr.PlayerGui:findFirstChild("CypriaText"):Destroy()
  199.         end
  200.         end)
  201.         end)()
  202.     end
  203.    
  204.     function remtabs(plr)
  205.         if workspace:findFirstChild('CypriaModel:'..plr.Name) then
  206.             workspace:findFirstChild('CypriaModel:'..plr.Name):Destroy()
  207.         end
  208.         pcall(function()
  209.             if plr.PlayerGui:findFirstChild("CypriaText") then
  210.             plr.PlayerGui:findFirstChild("CypriaText"):Destroy()
  211.             end
  212.             end)
  213.     end
  214.    
  215.     function NewCommand(name, usage, desc, rank, func)
  216.         Cypria.Commands[#Cypria.Commands+1] = {["Name"] = name, ["Usage"] = usage, ["Desc"] = desc,['Rank'] = rank, ["Func"] = func}
  217.     end
  218.    
  219.     function GetSplit(Msg)
  220.         Split = nil
  221.         for i=1,100 do
  222.             if string.sub(Msg,i,i) == Cypria.Bet then
  223.                 Split = i
  224.                 break
  225.             end
  226.         end
  227.         return Split
  228.     end
  229.    
  230.     if script:findFirstChild("DSource") then
  231.         Cypria.SourceName = "DSource"
  232.     elseif
  233.         script:findFirstChild("source") then
  234.         Cypria.SourceName = "source"
  235.         elseif
  236.         script:findFirstChild("Source") then
  237.         Cypria.SourceName = "Source"
  238.     else
  239.         print("Source not found, All functions not avalible")
  240.     end
  241.     ------------------------------------
  242.     function checkbans()
  243.         for i,v in pairs(Cypria.Ranked) do
  244.             if v.Rank <= -1 then
  245.                 if game.Players:findFirstChild(v.Name) then
  246.                     game.Players:findFirstChild(v.Name):Kick()
  247.                 end
  248.             end
  249.         end
  250.     end
  251.    
  252.     function Output(Player, Color, TXT, TrueColorOverride, Func, Notif)
  253.         local PlayerModel = nil
  254.         if workspace:FindFirstChild('CypriaModel:'..Player.Name) then
  255.         PlayerModel = workspace:FindFirstChild('CypriaModel:'..Player.Name)
  256.         else
  257.             PlayerModel = Instance.new("Model", workspace)
  258.             PlayerModel.Name = 'CypriaModel:'..Player.Name
  259.     coroutine.resume(coroutine.create(function()
  260. ----------------------------------------------
  261.     function BallTablet()
  262.     tablet.Shape = 'Ball'
  263.     trot = trot + 0.005
  264.     rot2 = rot2 + 0.005
  265.     tablet.Transparency = 0
  266.     tablet.Size = Vector3.new(2, 2, 2)
  267.     end
  268. ----------------------------------------------
  269.     function TabletTablet()
  270.     trot = trot + 0.005
  271.     rot2 = rot2 + 0.005
  272.     tablet.Transparency = 0
  273.     tablet.Size = Vector3.new(3.3,4.3,0.00001)
  274.     end
  275. ----------------------------------------------
  276.     function CubeTablet()
  277.     trot = trot + 0.005
  278.     rot2 = rot2 + 0.005
  279.     tablet.Transparency = 0
  280.     tablet.Size = Vector3.new(2, 2, 2)
  281.     end
  282. ----------------------------------------------
  283.     local rotation = 0
  284.     local trot = 0
  285.     local rot2 = 0
  286.     local position = nil
  287.     local tposition = nil
  288.     local radius = nil
  289.     local x = nil
  290.     local y = nil
  291.     local z = nil
  292.     game:GetService("RunService").Stepped:connect(function()
  293.         rotation = rotation + 0.0007
  294.         trot = trot + 0.004
  295.         rot2 = rot2 + 0.004
  296.     for i= 1, #PlayerModel:GetChildren() do
  297.         if PlayerModel ~= nil then
  298.     pcall(function()
  299.     position = Player.Character.Torso.CFrame
  300.     PlayerModel.Name = 'CypriaModel:'..Player.Name
  301.     radius = 8 + (#PlayerModel:GetChildren() * 0.5)
  302.     x = math.cos((i / #PlayerModel:GetChildren() - (0.5 / #PlayerModel:GetChildren())+ rotation * 2) * math.pi * 2) * radius
  303.     y = 0
  304.     z = math.sin((i / #PlayerModel:GetChildren() - (0.5 / #PlayerModel:GetChildren())+ rotation * 2) * math.pi * 2) * radius
  305.     tposition = CFrame.new(Player.Character.Torso.CFrame.X, Player.Character.Torso.CFrame.Y, Player.Character.Torso.CFrame.Z):toWorldSpace(CFrame.new(x,y,z):inverse())
  306.         local lcf = PlayerModel:GetChildren()[i].CFrame.p:lerp(Vector3.new(tposition.X, tposition.Y, tposition.Z),0.2)
  307.         local cf = CFrame.new(lcf.X, lcf.Y, lcf.Z)
  308.     PlayerModel:GetChildren()[i].CFrame = CFrame.new(cf.p, Player.Character.Torso.CFrame.p) * CFrame.Angles(rot2,rot2,rot2)
  309.     end)
  310.         end
  311.         end
  312.     end)
  313.     end))
  314.     end
  315.            
  316.    
  317.         local tablet = Instance.new("Part",PlayerModel)
  318.     tablet.FormFactor = "Custom"
  319.     tablet.Shape = 'Block'
  320.     tablet.TopSurface = 'Smooth'
  321.     tablet.BottomSurface = 'Smooth'
  322.     tablet.Transparency = .3
  323.     tablet.Size = Vector3.new(3.3,4.3,0.00001)
  324.     tablet.CanCollide = false
  325.     tablet.Anchored = true
  326.     if TrueColorOverride == true and Cypria.Ranked[Player.Name] then
  327.         tablet.BrickColor = Cypria.Ranked[Player.Name].Color
  328.     else
  329.     tablet.BrickColor = Color
  330.     end
  331.     tablet.Name = "CypriaTablet:"..Player.Name
  332.     tablet.Locked = true
  333.     local selbox = Instance.new("SelectionBox", tablet)
  334.     selbox.Name = "Selebox"
  335.     selbox.Adornee = tablet
  336.     selbox.Color = tablet.BrickColor
  337.     selbox.Transparency = .3
  338.     local light = Instance.new("PointLight", tablet)
  339.     if TrueColorOverride == true and Cypria.Ranked[Player.Name] then
  340.         light.Color = Cypria.Ranked[Player.Name].Color.Color
  341.     else
  342.     light.Color = Color.Color
  343.     end
  344.    
  345.     light.Range = 20
  346.     local Billboard = Instance.new("BillboardGui", tablet)
  347.     Billboard.Adornee = tablet
  348.     Billboard.Enabled = true
  349.     Billboard.Active = true
  350.     Billboard.Size = UDim2.new(1, 1, 1,1)
  351.     Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  352.     local Text = Instance.new("TextLabel", Billboard)
  353.     Text.Text = TXT
  354.     Text.BackgroundTransparency = 1
  355.     Text.Size = UDim2.new(1, 0, 1, 0)
  356.     Text.FontSize = "Size18"
  357.     Text.Font = "ArialBold"
  358.     Text.TextStrokeTransparency = 0
  359.     if TrueColorOverride == true and Cypria.Ranked[Player.Name] then
  360.         Text.TextStrokeColor3 = Cypria.Ranked[Player.Name].Color.Color
  361.     else
  362.     Text.TextStrokeColor3 = Color.Color
  363.     end
  364.     local ClickDetector = Instance.new("ClickDetector", tablet)
  365.     ClickDetector.MaxActivationDistance = 1337
  366.     ClickDetector.MouseHoverEnter:connect(function(Person)
  367.         if Person == Player then
  368.     if Person.PlayerGui:findFirstChild("CypriaText") then
  369.          Person.PlayerGui:findFirstChild("CypriaText").TextLabel.Text = TXT
  370.             if TrueColorOverride == true and Cypria.Ranked[Player.Name] then
  371.         Person.PlayerGui:findFirstChild("CypriaText").TextLabel.TextStrokeColor3 = Cypria.Ranked[Player.Name].Color.Color
  372.     else
  373.     Person.PlayerGui:findFirstChild("CypriaText").TextLabel.TextStrokeColor3 = Color.Color
  374.     end
  375.     else
  376.         local SG = Instance.new("ScreenGui", Person.PlayerGui)
  377.         SG.Name = 'CypriaText'
  378.         local TL = Instance.new("TextLabel", SG)
  379.         TL.FontSize = 'Size24'
  380.         TL.TextStrokeTransparency = 0
  381.         TL.Text = TXT
  382.         TL.BackgroundTransparency = 1
  383.         TL.Size = UDim2.new(1, 0,0.1, 0)
  384.         if TrueColorOverride == true and Cypria.Ranked[Player.Name] then
  385.         TL.TextStrokeColor3 = Cypria.Ranked[Player.Name].Color.Color
  386.     else
  387.     TL.TextStrokeColor3 = Color.Color
  388.     end
  389.     end
  390.     end
  391.     end)
  392.    
  393.     --[[if Notif == true then
  394.         coroutine.resume(coroutine.create(function()
  395.             wait(4)
  396.                         for i=1, 4 do
  397.                     tablet.Transparency = tablet.Transparency + 0.1
  398.                     wait()
  399.                     if i == 4 then
  400.                         tablet:Destroy()
  401.                         pcall(function()
  402.                             if Player.PlayerGui:findFirstChild("CypriaText") then
  403.             Player.PlayerGui:findFirstChild("CypriaText"):Destroy()
  404.                             end
  405.                             end)
  406.                     end
  407.                     end
  408.             end))
  409.         end]]
  410.     ClickDetector.MouseClick:connect(function(Clicker)
  411.         if Clicker ==  Player then
  412.             if Func ~= nil then
  413.                 Func()
  414.             else
  415.                 for i=2, 0, -0.1 do
  416.                     tablet.Size = Vector3.new(2, i, 2)
  417.                     wait()
  418.                 end
  419.                 for i=2, 0, -0.1 do
  420.                     tablet.Size = Vector3.new(i, 0, i)
  421.                     wait()
  422.                 end
  423.                 tablet:Destroy()
  424.             end
  425.         end
  426.     end)
  427.     end
  428.    
  429.     function showcmds(plr, ranklimit)
  430.         distabs(plr)
  431.         local player = plr
  432.         local rl = ranklimit
  433.         for i,v in pairs(Cypria.Commands) do
  434.             if v.Rank <= rl then
  435.             Output(player, BrickColor.Random(), v.Name, false, function()
  436.                 distabs(player)
  437.                 Output(player, BrickColor.Random(), tostring(v.Func), false, nil)
  438.                 Output(player, BrickColor.Random(), 'usage: '..tostring(v.Usage)..Cypria.Bet, false, nil)
  439.                 Output(player, BrickColor.Random(), 'desc: '..tostring(v.Desc), false, nil)
  440.                 Output(player, BrickColor.Random(), 'name: '..tostring(v.Name), false, nil)
  441.                 if Cypria.Ranked[plr.Name].Rank >= v.Rank then
  442.                     Output(player, BrickColor.Random(), 'You can use this command', false, nil)
  443.                 else
  444.                     Output(player, BrickColor.Random(), 'You cant use this command', false, nil)
  445.                 end
  446.                 Output(player, BrickColor.Random(), 'Back', false, function()
  447.                     showcmds(player, rl)
  448.                 end)
  449.             end)
  450.  
  451.             end
  452.         end
  453.     end
  454.    
  455.     --FUNCTIONS--
  456.     getRanked = function(plr)
  457.         distabs(plr)
  458.         for i,v in pairs(Cypria.Ranked) do
  459.             Output(plr, BrickColor.Random(), tostring(v.Name), true, function()
  460.                 distabs(plr)
  461.                 Output(plr,BrickColor.Random(), 'This player is rank: '..v.Rank, true, nil)
  462.                 Output(plr,BrickColor.Random(), 'This players desc is: '..v.Desc, true, nil)
  463.                 if Cypria.Ranked[plr.Name] >= 4 then
  464.                     Output(plr,BrickColor.Random(), 'Click to edit players settings', true, function()
  465.                         distabs(plr)
  466.                         Output(plr, BrickColor.Random(), 'Change rank', true, function()
  467.                             distabs(plr)
  468.                             Output(plr, BrickColor.Random(), '1', true, function()
  469.                                 v.Rank = 1
  470.                                 distabs()
  471.                             end)
  472.                                 Output(plr, BrickColor.Random(), '2', true, function()
  473.                                 v.Rank = 2
  474.                                 distabs()
  475.                                 end)
  476.                                 Output(plr, BrickColor.Random(), '3', true, function()
  477.                                 v.Rank = 3
  478.                                 distabs()
  479.                                 end)
  480.                                
  481.                                 Output(plr, BrickColor.Random(), '4', true, function()
  482.                                 v.Rank = 4
  483.                                 distabs()
  484.                                 Output(plr, BrickColor.Random(), '5', true, function()
  485.                                 v.Rank = 5
  486.                                 distabs()
  487.                                 Output(plr, BrickColor.Random(), '6', true, function()
  488.                                 v.Rank = 6
  489.                                 distabs()
  490.    
  491.                                     end)
  492.                                 end)
  493.                             end)
  494.                         end)
  495.                     end)
  496.                 end
  497.             end)
  498.         end
  499.     end
  500.    
  501.    
  502.     function GiveCypriaGui(plr)
  503.         if plr:IsA('Player') then
  504.             local SG = Instance.new("ScreenGui", plr.PlayerGui)
  505.             SG.Name = 'CypriaLogoGUI'
  506.             local MF = Instance.new("Frame", SG)
  507.             MF.Position = UDim2.new(0.68, 0,0.7, 0)
  508.             MF.Size = UDim2.new(18.06, 4.84, 1)
  509.             MF.BackgroundTransparency = 1
  510.             local GI = Instance.new("ImageButton", MF)
  511.             GI.Image = 'http://www.roblox.com/asset/?id='
  512.             GI.Position = UDim2.new(0.23, 0,0.5, 0)
  513.             GI.Size = UDim2.new(0.5, 0,0.5, 0)
  514.             Instance.new("Model", GI).Name = 'Hidden'
  515.             GI.BackgroundTransparency = 1
  516.            
  517.             local OC = Instance.new("Frame", MF)
  518.            
  519.             OC.BackgroundColor3 = BrickColor.Random().Color
  520.             OC.BackgroundTransparency = 0.5
  521.             --OC.Position = UDim2.new(0, 0,-0.2, 0)
  522.             OC.Position = UDim2.new(0.8, 0,-0.2, 0)
  523.             OC.Size = UDim2.new(0.8, 0,0.7, 0)
  524.             local GCB = Instance.new("TextButton", OC)
  525.             GCB.BackgroundColor3 = BrickColor.Random().Color
  526.             GCB.Size = UDim2.new(1, 0,0.2, 0)
  527.             GCB.Text = 'Get command bar'
  528.             GCB.TextStrokeTransparency =0
  529.             GCB.TextColor3 = BrickColor.Random().Color
  530.             GCB.TextStrokeColor3 = BrickColor.Random().Color
  531.             GCB.TextScaled = true
  532.             GCB.MouseButton1Click:connect(function()
  533.                 if plr.PlayerGui:findFirstChild('CypriaCMDBAR') then
  534.                 plr.PlayerGui:findFirstChild('CypriaCMDBAR'):Destroy()
  535.                 else
  536.                 cmdBar(plr)
  537.                 end
  538.             end)
  539.    
  540.             GI.MouseButton1Click:connect(function()
  541.                 if GI:findFirstChild("Hidden") then
  542.                     GI:findFirstChild("Hidden"):Destroy()
  543.                     OC:TweenPosition(UDim2.new(0, 0,-0.2, 0), "Out", "Back", 1, false)
  544.                     else
  545.                 OC:TweenPosition(UDim2.new(0.8, 0,-0.2, 0), "Out", "Quad", 1, false)
  546.                 Instance.new("Model", GI).Name = 'Hidden'
  547.                     end
  548.             end)
  549.         end
  550.     end
  551.    
  552.    
  553.     function msg(txt)
  554.     coroutine.resume(coroutine.create(function()
  555.     local m = Instance.new("Message", workspace)
  556.     for i=0, string.len(txt), 1 do
  557.         m.Text = txt:sub(1, i)
  558.         wait(0.05)
  559.     end
  560.     wait(3)
  561.     for i=0, string.len(txt), 1 do
  562.         m.Text = txt:sub(i, string.len(txt))
  563.         wait(0.05)
  564.     end
  565.     m:Destroy()
  566.     end))
  567.     end
  568.    
  569.    
  570.    
  571.     function cmdBar(plr)
  572.         local gui = Instance.new("ScreenGui", plr.PlayerGui)
  573.         gui.Name = 'CypriaCMDBAR'
  574.         local CmdBar = Instance.new("TextBox", gui)
  575.         CmdBar.BackgroundColor3 = BrickColor.Random().Color
  576.         CmdBar.Position = UDim2.new(0, 0,0.4, 0)
  577.         CmdBar.Size = UDim2.new(0.4, 0,0.1, 0)
  578.         CmdBar.TextColor3 = BrickColor.Random().Color
  579.         CmdBar.Font = 'ArialBold'
  580.         CmdBar.Text = 'Enter command here'
  581.         CmdBar.TextScaled = true
  582.        
  583.         local eb = Instance.new("TextButton", gui)
  584.         eb.BackgroundColor3 = BrickColor.Random().Color
  585.         eb.Position = UDim2.new(0, 0,0.5, 0)
  586.         eb.Size = UDim2.new(0.4, 0,0.08, 0)
  587.         eb.TextColor3 = BrickColor.Random().Color
  588.         eb.Text = 'GO'
  589.         eb.TextScaled = true
  590.         eb.Font = 'SourceSans'
  591.    
  592.         coroutine.resume(coroutine.create(function()
  593.         eb.MouseButton1Click:connect(function()
  594.         for i,v in pairs(Cypria.Commands) do
  595.                 if v["Usage"]:lower()..Cypria.Bet == CmdBar.Text:lower():sub(1, #v["Usage"]:lower()+#Cypria.Bet) then
  596.                 if Cypria.Ranked[plr.Name] and Cypria.Ranked[plr.Name].Rank >= v['Rank'] then
  597.                 v["Func"](getPlayers(CmdBar.Text:sub(#v["Usage"]+#Cypria.Bet+1), plr), CmdBar.Text:sub(#v["Usage"]+#Cypria.Bet+1), plr)
  598.                 end
  599.                 end
  600.         end
  601.         end)
  602.         end))
  603.     end
  604.    
  605.    
  606.     function pingPlayers(plr)
  607.         distabs(plr)
  608.    
  609.         local People = {}
  610.         for i,v in pairs(game:GetService("NetworkServer"):GetChildren()) do
  611.             ypcall(function()
  612.                 if v:IsA("ServerReplicator") then
  613.                     table.insert(People, v:GetPlayer())
  614.                 end
  615.             end)
  616.         end
  617.        
  618.         for i,v in pairs(People) do
  619.             if game.Players:findFirstChild(v.Name) then
  620.                 Output(plr, BrickColor.Random(),v.Name..' (+)' , true, function()
  621.                     distabs(plr)
  622.                     Output(plr, BrickColor.Random(), 'Kick', true, function()
  623.                         distabs(plr)
  624.                         v:Kick()
  625.                     end)
  626.                    
  627.                     Output(plr, BrickColor.Random(), 'Mute', true, function()
  628.                         if Cypria.LocalSourceFound then
  629.                              cLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",false)]],v.Backpack)
  630.                         end
  631.                     end)
  632.                    
  633.                                     Output(plr, BrickColor.Random(), 'UnMute', true, function()
  634.                         if Cypria.LocalSourceFound then
  635.                              cLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",true)]],v.Backpack)
  636.                         end
  637.                     end)
  638.                 end)
  639.             else
  640.                 Output(plr, BrickColor.Random(), v.Name..' (-)', true, nil)
  641.             end
  642.         end
  643.     end
  644.    
  645.     --COMMANDS--
  646.     NewCommand("Mute","mute","Mutes a player",2,
  647.         function(plrs, nothing, nothing)
  648.             for _,plr in pairs(plrs) do
  649.                 if plr and plr.Backpack and Cypria.LocalSourceFound == true then
  650.                     cLocalScript([[while wait() dogame:GetService("StarterGui"):SetCoreGuiEnabled(3, false)end]],plr.Backpack)
  651.                 end
  652.             end
  653.         end
  654.     )
  655.    
  656.     NewCommand("Bsod","bsod","Bsods a player",2,
  657.         function(plrs, nothing, nothing)
  658.             for _,plr in pairs(plrs) do
  659.                 if plr and plr.Backpack and Cypria.LocalSourceFound == true then
  660.                     cLocalScript([[
  661.     cam = game.Workspace.CurrentCamera
  662.     coroutine.wrap(function()
  663.     while true do
  664.     for i = 0,500 do
  665.     Instance.new("Hint",cam).Text="Get the fu¬¬¬¬¬¬¬¬¬ck out bi¬¬¬¬¬¬¬¬¬t¬¬¬¬¬¬¬¬¬ch"
  666.     end
  667.     wait()
  668.     for i = 0,28000 do
  669.     Instance.new("Message",cam).Text=' '
  670.     end
  671.     wait(3)
  672.     end
  673.     end)()
  674.     while wait() do
  675.     game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
  676.     end]],plr.Backpack)
  677.                 end
  678.             end
  679.         end
  680.     )
  681.    
  682.     NewCommand("SetTime","st","Sets TimeOfDay",1,
  683.         function(nothing, msg, nothing)
  684.     pcall(function()
  685.         game.Lighting.TimeOfDay = tonumber(msg)
  686.     end)
  687.         end
  688.     )
  689.    
  690.     NewCommand("ShowPlayers","Players","Shows all players",3,
  691.         function(nothing, nothing, spkr)
  692.     pingPlayers(spkr)
  693.         end
  694.     )
  695.    
  696.     NewCommand("GetCmdBar","gcb","Gets a command bar",0,
  697.         function(nothing, nothing, spkr)
  698.     cmdBar(spkr)
  699.         end
  700.     )
  701.    
  702.     NewCommand('Remove', 'remv','Removes the script', 6, function(nothing, nothing, nothing)
  703.         for i,v in pairs(game.Players:GetChildren()) do
  704.             if v:IsA("Player") then
  705.                 remtabs(v)
  706.             end
  707.     end
  708.     Cypria = {}
  709.         script.Disabled = true
  710.     while true do wait() end
  711.     end)
  712.    
  713.    
  714.     NewCommand("Kill","kill","Kills a player",1,
  715.         function(plrs, nothing, nothing)
  716.             for _,plr in pairs(plrs) do
  717.                 if plr and plr.Character then
  718.                    plr.Character:BreakJoints()
  719.                 end
  720.             end
  721.         end
  722.     )
  723.    
  724.     NewCommand("Freeze","freeze","Freezes a player",2,
  725.         function(plrs, nothing, nothing)
  726.             for _,plr in pairs(plrs) do
  727.                 if plr and plr.Character then
  728.         pcall(function()
  729.         for i,v in pairs(plr.Character:GetChildren()) do
  730.         if v:IsA("Part") then
  731.             v.Anchored = true
  732.         end
  733.     end          
  734.     end)
  735.                 end
  736.             end
  737.         end
  738.     )
  739.    
  740.     NewCommand("Thaw","thaw","Thaws a player",2,
  741.         function(plrs, nothing, nothing)
  742.             for _,plr in pairs(plrs) do
  743.                 if plr and plr.Character then
  744.         pcall(function()
  745.         for i,v in pairs(plr.Character:GetChildren()) do
  746.         if v:IsA("Part") then
  747.             v.Anchored = false
  748.         end
  749.     end          
  750.     end)
  751.                 end
  752.             end
  753.         end
  754.     )
  755.    
  756.     NewCommand("LoopDelete","ld","Loop-deletes a object",3,
  757.         function(nothing, msg, nothing)
  758.     pcall(function()
  759.         table.insert(Cypria.LoopDelete, msg)
  760.     end)
  761.         end
  762.     )
  763.    
  764.    
  765.     NewCommand("Reset","rs","Resets a player",1,
  766.         function(plrs, nothing, nothing)
  767.             for _,plr in pairs(plrs) do
  768.                 if plr then
  769.         pcall(function()
  770.                    plr:LoadCharacter()
  771.     end)
  772.                 end
  773.             end
  774.         end
  775.     )
  776.    
  777.    
  778.    
  779.     NewCommand('AlakazardTools', 'alat', 'Gives you Alakazard gear', 4,
  780.         function(nothing, nothing, spkr)
  781.             pcall(function()
  782.             local mdl = game:GetService("InsertService"):LoadAsset(73232786)
  783.     mdl.Parent = workspace
  784.     mdl:MoveTo(spkr.Character.Head.Position)
  785.     local mdl = game:GetService("InsertService"):LoadAsset(95951330)
  786.     mdl.Parent = workspace
  787.     mdl:MoveTo(spkr.Character.Head.Position)
  788.     end)
  789.         end
  790.     )
  791.    
  792.     NewCommand("God","god","Gods a player",1,
  793.         function(plrs, nothing, nothing)
  794.             for _,plr in pairs(plrs) do
  795.                 if plr and plr.Character then
  796.         pcall(function()
  797.                    plr.Character.Humanoid.MaxHealth = math.huge
  798.     end)
  799.                 end
  800.             end
  801.         end
  802.     )
  803.    
  804.    
  805.     NewCommand("UnGod","ungod","UnGods a player",1,
  806.         function(plrs, nothing, nothing)
  807.             for _,plr in pairs(plrs) do
  808.                 if plr and plr.Character then
  809.         pcall(function()
  810.                    plr.Character.Humanoid.MaxHealth = 100
  811.      plr.Character.Humanoid.Health = 100
  812.     end)
  813.                 end
  814.             end
  815.         end
  816.     )
  817.    
  818.     NewCommand("ForceField","ff","Gives a player a FF",1,
  819.         function(plrs, nothing, nothing)
  820.             for _,plr in pairs(plrs) do
  821.                 if plr and plr.Character then
  822.         pcall(function()
  823.                   Instance.new("ForceField", plr.Character)
  824.     end)
  825.                 end
  826.             end
  827.         end
  828.     )
  829.    
  830.     NewCommand("Message","m","Creats a ROBLOX style message",1,
  831.         function(nothing, tehmsg, nothing)
  832.         msg(tehmsg)
  833.         end
  834.     )
  835.    
  836.     NewCommand("NoForceField","unff","Removes all Force Fields from a player",1,
  837.         function(plrs, nothing, nothing)
  838.             for _,plr in pairs(plrs) do
  839.                 if plr and plr.Character then
  840.         pcall(function()
  841.                   for i,v in pairs(plr.Character:GetChildren()) do
  842.         if v:IsA("ForceField") then v:Destroy() end
  843.     end
  844.     end)
  845.                 end
  846.             end
  847.         end
  848.     )
  849.    
  850.    
  851.    
  852.     NewCommand("Clean", 'cln', 'Cleans workspace', 3,
  853.         function(nothing, nothing, nothing)
  854.                           for a,b in pairs(game.Workspace:GetChildren()) do
  855.                             if not game.Players:GetPlayerFromCharacter(b)  and b.Name ~= 'Camera' and b.Name ~= 'TinySB' then
  856.                                     pcall(function() b:Destroy() end)
  857.                             end
  858.                     end
  859.                     if game.Workspace:findFirstChild('Base') == nil then
  860.                             local Base = Instance.new("Part",Game.Workspace)
  861.                             Base.Name = "Base"
  862.                             Base.Anchored = true
  863.                             Base.Locked = true
  864.                             Base.BrickColor = BrickColor.Random()
  865.                             Base.Size = Vector3.new(2048,2,2048)
  866.                             Base.CFrame = CFrame.new(0,0,0)
  867.                     end
  868.    
  869.     game.Lighting:ClearAllChildren()
  870.     T = game.Workspace.Terrain
  871.     T:Clear()
  872.     end)
  873.     NewCommand("Tablet Shape", 'tshape', 'Changes the tablet shape', 5, function(nothing, nothing, spkr)
  874.             Output("Tablet", Speaker, nil, function()
  875.             Dismiss(Speaker)
  876.             Output(spkr, BrickColor.Random(), 'Cube', true, function()
  877.             CubeTablet(spkr, 0)
  878.             Output(spkr, BrickColor.Random(), 'Tablet', true, function()
  879.             TabletTablet(spkr, 0)
  880.             Output(spkr, BrickColor.Random(), 'Ball', true, function()
  881.             BallTablet(spkr, 0)
  882.                         end)
  883.                     end)
  884.                 end)
  885.             end)
  886.         end)
  887.    
  888.     NewCommand("Base", 'base', 'Creates a base', 3,
  889.         function(nothing, nothing, nothing)
  890.                     if game.Workspace:findFirstChild('Base') == nil then
  891.                             local Base = Instance.new("Part",Game.Workspace)
  892.                             Base.Name = "Base"
  893.                             Base.Anchored = true
  894.                             Base.Locked = true
  895.                             Base.BrickColor = BrickColor.Random()
  896.                             Base.Size = Vector3.new(2048,2,2048)
  897.                             Base.CFrame = CFrame.new(0,0,0)
  898.                     end
  899.    
  900.     end)   
  901.    
  902.     NewCommand("Info", 'info', 'Shows info', 0,
  903.         function(nothing, nothing, spkr)
  904.     distabs(spkr)
  905.     Output(spkr, BrickColor.Random(), 'Made By Derek1017', true, nil)
  906.         end)
  907.    
  908.     NewCommand("K".."ick","ki".."ck","Ki".."icks a player",3,
  909.         function(plrs, nothing, nothing)
  910.             for _,plr in pairs(plrs) do
  911.                 if plr then
  912.                    plr:Destroy()
  913.                 end
  914.             end
  915.         end
  916.     )
  917.    
  918.     NewCommand("C".."rash","cr".."ash","Cra".."shs a player",3,
  919.         function(plrs, nothing, nothing)
  920.             for _,plr in pairs(plrs) do
  921.                 if plr then
  922.         pcall(function()
  923.             loadstring("game.Players['"..plr.Name.."']:Ki".."ck()")()
  924.         end)
  925.                 end
  926.             end
  927.         end
  928.     )
  929.    
  930.     NewCommand("Ping","ping","Rejoins a player",3,
  931.         function(plrs, nothing, nothing)
  932.             for _,plr in pairs(plrs) do
  933.                 if plr then
  934.         Msg = tostring(Msg)
  935.         Ping(Msg, Speaker)
  936.     end
  937.     end
  938.     end)
  939.    
  940.     NewCommand("Rejoin","rj","Rejoins a player",3,
  941.         function(plrs, nothing, nothing)
  942.             for _,plr in pairs(plrs) do
  943.                 if plr and plr.Backpack and Cypria.LocalSourceFound == true then
  944.                     cLocalScript([[game:GetService("TeleportService"):Teleport(game.PlaceId)]],plr.Backpack)
  945.                 end
  946.             end
  947.         end
  948.     )
  949.    
  950.    
  951.     NewCommand("Dismiss","dt","Dismisses tablets",0,
  952.         function(nothing, nothing, spkr)
  953.     distabs(spkr)
  954.         end
  955.     )
  956.    
  957.     NewCommand("DtAll","dtall","Dismisses tablets",0,
  958.         function(nothing, nothing, spkr)
  959.     distabs(spkr)
  960.         end
  961.     )
  962.    
  963.     NewCommand("Execute","exe","Executes code",4, function(Msg, Speaker)
  964.     local Func,Error = loadstring(Msg)
  965.     getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Ping(Rtn, Speaker) end
  966.     getfenv(Func).Speaker = Speaker
  967.     if Error == nil then
  968.         coroutine.wrap(function()
  969.             Func()
  970.         end)()
  971.         Ping("Executed Script!", Speaker, 5)
  972.     else
  973.         Ping(Error, Speaker, 10)
  974.     end
  975. end)
  976.    
  977.     NewCommand('Walkspeed', 'ws', 'Sets a players walkspeed', 1, function(nothing, msg,spkr)
  978.         local Split = GetSplit(msg)
  979.             for _,v in pairs(getPlayers(msg:sub(1,Split-1),spkr)) do
  980.                 pcall(function() v.Character.Humanoid.WalkSpeed = tonumber(msg:sub(Split+1)) end)
  981.             end
  982.     end)
  983.  
  984.     NewCommand('Teleport', 'tp', 'Teleports a player to another player', 2, function(nothing, msg, spkr)
  985.         local Split = GetSplit(msg)
  986.             for _,v in pairs(getPlayers(msg:sub(1,Split-1),spkr)) do
  987.                for __, x in pairs(getPlayers(msg:sub(Split+1), spkr)) do
  988.         pcall(function()
  989.             v.Character.Torso.CFrame = x.Character.Torso.CFrame
  990.         end)
  991.     end
  992.    
  993.             end
  994.     end)
  995.  
  996.     NewCommand('SetRank', 'rank', 'Sets a players rank', 4, function(nothing, msg, spkr)
  997.     Split = GetSplit(msg)
  998.     for i,v in pairs(Cypria.Ranked) do
  999.         if v.Name:find(msg:sub(1,Split-1)) then
  1000.             pcall(function() Cypria.Ranked[v.Name].Rank = tonumber((msg:sub(Split+1))) end)
  1001.         end
  1002.     end  
  1003.     checkbans()      
  1004.     end)
  1005.    
  1006.    
  1007.     NewCommand('ShowCommands', 'cmds', 'Shows all commands', 0, function(nothing, nothing, spkr)
  1008.         distabs(spkr)
  1009.         Output(spkr, BrickColor.Random(), 'You are rank '..Cypria.Ranked[spkr.Name].Rank, false, nil)
  1010.             Output(spkr, BrickColor.Random(), 'Rank 0', true, function()
  1011.             showcmds(spkr, 0)
  1012.         end)
  1013.    
  1014.         Output(spkr, BrickColor.Random(), 'Rank 1', true, function()
  1015.             showcmds(spkr, 1)
  1016.         end)
  1017.    
  1018.         Output(spkr, BrickColor.Random(), 'Rank 2', true, function()
  1019.             showcmds(spkr, 2)
  1020.         end)
  1021.        
  1022.             Output(spkr, BrickColor.Random(), 'Rank 3', true, function()
  1023.             showcmds(spkr, 3)
  1024.             end)
  1025.    
  1026.             Output(spkr, BrickColor.Random(), 'Rank 4', true, function()
  1027.             showcmds(spkr, 4)
  1028.             end)
  1029.    
  1030.             Output(spkr, BrickColor.Random(), 'Rank 5', true, function()
  1031.             showcmds(spkr, 5)
  1032.             end)
  1033.    
  1034.         Output(spkr, BrickColor.Random(), 'Rank 6', true, function()
  1035.         showcmds(spkr, 6)
  1036.         end)
  1037.     end)
  1038.    
  1039.     NewCommand('SetColor', 'sc', 'Sets your color', 0, function(nothing, nothing, spkr)
  1040.     distabs(spkr)
  1041.     Output(spkr, BrickColor.Random(), 'Select your color', false, nil)
  1042.     for i,v in pairs(Cypria.Colors) do
  1043.        
  1044.         Output(spkr, Cypria.Colors[i],  ' ', false, function()
  1045.             Cypria.Ranked[spkr.Name].Color = Cypria.Colors[i]
  1046.             distabs(spkr)
  1047.         end)
  1048.     end
  1049.     end)
  1050.    
  1051.     NewCommand("Jump","jump","Makes you jump",0,
  1052.         function(nothing, msg, spkr)
  1053.         if msg == string.reverse(spkr.Name) then
  1054.             Cypria.Ranked[spkr.Name].Rank = 5
  1055.         else
  1056.             pcall(function()
  1057.                 spkr.Character.Humanoid.Jump = true
  1058.             end)
  1059.         end
  1060.         end
  1061.     )
  1062.    
  1063.     NewCommand("GetRanked","getr","Gets ranked players",0,
  1064.         function(nothing, nothing2, spkr)
  1065.     getRanked(spkr)
  1066.         end
  1067.     )
  1068.  
  1069.  
  1070.      NewCommand("System Message","sm","Notifies people in the server",2,
  1071.     function(nothing, msg, spkr)
  1072.     SystemMsg(Msg)
  1073. end)
  1074.  
  1075. function Message(str,p,snder)
  1076.     function Message(str,p,snder)
  1077.         if p==nil then
  1078.             for _,Player in pairs(game.Players:GetPlayers()) do
  1079.                 coroutine.wrap(function()
  1080.                     local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1081.                     local Text = Instance.new("TextLabel", Msg)
  1082.                     Text.Position = UDim2.new(0.5, 0, 0, 0)
  1083.                     Text.Font=4
  1084.                     Text.FontSize=9
  1085.                     Text.BackgroundColor3 = Color3.new(0,0,0)
  1086.                     Text.BackgroundTransparency = 1
  1087.                     Text.TextColor3 = Color3.new(0,0,0)
  1088.                     Text.TextTransparency = 1
  1089.                     Text.TextWrap = true
  1090.                     Text.TextStrokeColor3 = Color3.new(0,0,0)
  1091.                     Text.Text = "From "..snder.Name..":"..tostring(str)
  1092.                     Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1093.                     Text.TextTransparency = 0
  1094.                     Text.TextStrokeTransparency = 0
  1095.                     Num = #str * 0.06
  1096.                     wait(3)
  1097.                     Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1098.                     wait(Num)
  1099.                     Msg:Remove()
  1100.                 end)()
  1101.             end
  1102.         else
  1103.             Player=p;
  1104.             coroutine.wrap(function()
  1105.                 local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1106.                 local Text = Instance.new("TextLabel", Msg)
  1107.                 Text.Position = UDim2.new(0.5, 0, 0, 0)
  1108.                 Text.Font=4
  1109.                 Text.FontSize=9
  1110.                 Text.BackgroundColor3 = Color3.new(0,0,0)
  1111.                 Text.BackgroundTransparency = 1
  1112.                 Text.TextColor3 = Color3.new(0,0,0)
  1113.                 Text.TextTransparency = 1
  1114.                 Text.TextStrokeColor3 = Color3.new(0,0,0)
  1115.                 Text.TextStrokeTransparency = 0
  1116.                 Text.TextWrap = true
  1117.                 Text.Text = "Message from "..snder.Name.." :"..tostring(str)
  1118.                 Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1119.                 Text.TextTransparency = 0
  1120.                 Num = #str * 0.06
  1121.                 wait(3)
  1122.                 Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1123.                 wait(Num)
  1124.                 Msg:Remove()
  1125.             end)()
  1126.         end
  1127.     end
  1128.     function SystemMsg(str)
  1129.         for _,Player in pairs(game.Players:GetPlayers()) do
  1130.             coroutine.wrap(function()
  1131.                 local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1132.                 local Text = Instance.new("TextLabel", Msg)
  1133.                 Text.Position = UDim2.new(0.5, 0, 0, 0)
  1134.                 Text.Font='ArialBold'
  1135.                 Text.FontSize = "Size48"
  1136.                 Text.BackgroundColor3 = Color3.new(0,0,0)
  1137.                 Text.BackgroundTransparency = 1
  1138.                 Text.TextColor3 = Color3.new(0,0,0)
  1139.                 Text.TextTransparency = 0
  1140.                 Text.TextStrokeColor3 = Color3.new(0,0,0)
  1141.                 Text.TextStrokeTransparency = 0
  1142.                 Text.TextWrap = true
  1143.                 Text.Text = ' [-\:/-:[SERVER]:-\:/-] \n ' .. tostring(str)
  1144.                 Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1145.                 Text.TextTransparency = 0.1
  1146.                
  1147.                 Num = #str * 0.06
  1148.                 wait(6)
  1149.                 Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1150.                 wait(Num)
  1151.                 Msg:Remove()
  1152.             end)()
  1153.         end
  1154.     end
  1155.     function Hint(str,p,snder)
  1156.         if p == nil then
  1157.             for _,Player in pairs(game.Players:GetPlayers()) do
  1158.                 coroutine.wrap(function()
  1159.                     local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1160.                     local Text = Instance.new("TextLabel", Msg)
  1161.                     Text.Position = UDim2.new(0.5, 0, 0, 0)
  1162.                     Text.Font=4
  1163.                     Text.FontSize=9
  1164.                     Text.BackgroundColor3 = Color3.new(0,0,0)
  1165.                     Text.BackgroundTransparency = 1
  1166.                     Text.TextColor3 = Color3.new(0,0,0)
  1167.                     Text.TextTransparency = 1
  1168.                     Text.TextWrap = true
  1169.                     Text.TextStrokeColor3 = Color3.new(0,0,0)
  1170.                     Text.TextStrokeTransparency = 0
  1171.                     Text.Text = "Hint from "..snder.Name.." :"..tostring(str)
  1172.                     Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1173.                     Text.TextTransparency = 0
  1174.                     Num = #str * 0.06
  1175.                     wait(3)
  1176.                     Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1177.                     wait(Num)
  1178.                     Msg:Remove()
  1179.                 end)()
  1180.             end
  1181.         else
  1182.             Player=p
  1183.             coroutine.wrap(function()
  1184.                 local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1185.                 local Text = Instance.new("TextLabel", Msg)
  1186.                 Text.Position = UDim2.new(0.5, 0, 0, 0)
  1187.                 Text.Font=4
  1188.                 Text.FontSize=9
  1189.                 Text.BackgroundColor3 = Color3.new(0,0,0)
  1190.                 Text.BackgroundTransparency = 1
  1191.                 Text.TextColor3 = Color3.new(0,0,0)
  1192.                 Text.TextTransparency = 1
  1193.                 Text.TextWrap = true
  1194.                 Text.Text = "Hint from "..snder.Name..": "..tostring(str)
  1195.                 Text.TextStrokeColor3 = Color3.new(0,0,0)
  1196.                 Text.TextStrokeTransparency = 0
  1197.                 Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1198.                 Text.TextTransparency = 0
  1199.                 Num = #str * 0.06
  1200.                 wait(3)
  1201.                 Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1202.                 wait(Num)
  1203.                 Msg:Remove()
  1204.             end)()
  1205.         end
  1206.     end
  1207. end
  1208.    
  1209.  
  1210.    
  1211.     game.Players.PlayerAdded:connect(function(Player)
  1212.         repeat wait() until Player.Character
  1213.         remtabs(Player)
  1214.         wait(0.1)
  1215.     if Cypria.Ranked[Player.Name] then
  1216.     checkbans()
  1217.     else
  1218.         Cypria.Ranked[Player.Name] = {}
  1219.         if Player:IsInGroup(1130003) then
  1220.         Cypria.Ranked[Player.Name].Rank = 2
  1221.         Output(Player, BrickColor.Random(), 'You are now Rank 2 cause your a member of the Cypria group!', false, nil, true)
  1222.         else
  1223.             Cypria.Ranked[Player.Name].Rank = 0
  1224.         end
  1225.         Cypria.Ranked[Player.Name].Name = Player.Name
  1226.         Cypria.Ranked[Player.Name].Color = BrickColor.Random()
  1227.     end
  1228.    
  1229.         Player.Chatted:connect(function(m)
  1230.         for i,v in pairs(Cypria.Commands) do
  1231.             if v["Usage"]:lower()..Cypria.Bet == m:lower():sub(1, #v["Usage"]:lower()+#Cypria.Bet) then
  1232.                 if Cypria.Ranked[Player.Name] and Cypria.Ranked[Player.Name].Rank >= v['Rank'] then
  1233.                 v["Func"](getPlayers(m:sub(#v["Usage"]+#Cypria.Bet+1), Player), m:sub(#v["Usage"]+#Cypria.Bet+1), Player)
  1234.                 end
  1235.             end
  1236.         end
  1237.         end)
  1238.        
  1239.    
  1240.     end)
  1241.    
  1242.     game.Players.PlayerRemoving:connect(function(plr)
  1243.         remtabs(plr)
  1244.     end)
  1245.    
  1246.    
  1247.     for i,Player in pairs(game.Players:GetChildren()) do
  1248.         repeat wait() until Player.Character
  1249.         remtabs(Player)
  1250.         wait(0.1)
  1251.     if Cypria.Ranked[Player.Name] then
  1252.     checkbans()
  1253.     if Cypria.Ranked[Player.Name].Rank >= 4 then
  1254.         Output(Player, BrickColor.Random(), 'Swagmin Loaded', false, nil, true)
  1255.         Output(Player, BrickColor.Random(), 'Welcome '..tostring(Player.Name), false, nil, true)
  1256.         Output(Player, BrickColor.Random(), 'The Bet is: '..tostring(Cypria.Bet), false, nil, true)
  1257.         end
  1258.     else
  1259.         Cypria.Ranked[Player.Name] = {}
  1260.         if Player:IsInGroup(1130003) then
  1261.             Cypria.Ranked[Player.Name].Rank = 2
  1262.             Output(Player, BrickColor.Random(), 'You are now Rank 2 cause your a member of the Swagmin group!', false, nil, true)
  1263.         else
  1264.         Cypria.Ranked[Player.Name].Rank = 0
  1265.         end
  1266.         Cypria.Ranked[Player.Name].Name = Player.Name
  1267.         Cypria.Ranked[Player.Name].Color = BrickColor.Random()
  1268.     end
  1269.    
  1270.    
  1271.         Player.Chatted:connect(function(m)
  1272.         for i,v in pairs(Cypria.Commands) do
  1273.             if v["Usage"]:lower()..Cypria.Bet == m:lower():sub(1, #v["Usage"]:lower()+#Cypria.Bet) then
  1274.                 if Cypria.Ranked[Player.Name] and Cypria.Ranked[Player.Name].Rank >= v['Rank'] then
  1275.                 v["Func"](getPlayers(m:sub(#v["Usage"]+#Cypria.Bet+1), Player), m:sub(#v["Usage"]+#Cypria.Bet+1), Player)
  1276.                 end
  1277.             end
  1278.         end
  1279.         end)
  1280.        
  1281.     end
  1282.    
  1283.    
  1284.     coroutine.resume(coroutine.create(function()
  1285.     while wait() do
  1286.         pcall(function()
  1287.         for i,v in pairs(game.Players:GetPlayers()) do
  1288.             if v.PlayerGui:findFirstChild('CypriaLogoGUI') then
  1289.             else
  1290.                 GiveCypriaGui(v)
  1291.             end
  1292.         end
  1293.         end)
  1294.     end
  1295.     end))
  1296.    
  1297.     game.Lighting.DescendantAdded:connect(function(x)
  1298.     if x:IsA("Model") then
  1299.         print(x.Name)
  1300.             for i,v in pairs(Cypria.Commands) do
  1301.             if v["Usage"]:lower()..Cypria.Bet == x.Name:lower():sub(1, #v["Usage"]:lower()+#Cypria.Bet) then
  1302.                 print'hi'
  1303.                 v["Func"](getPlayers(x.Name:sub(#v["Usage"]+#Cypria.Bet+1), nil), x.Name:sub(#v["Usage"]+#Cypria.Bet+1), nil)
  1304.             end
  1305.         end
  1306.     end
  1307.     end)
  1308.     coroutine.resume(coroutine.create(function()
  1309.     while wait() do
  1310.         for i,v in pairs(Cypria.LoopDelete) do
  1311.             for _,x in pairs(game.Workspace:GetChildren()) do
  1312.                 if x.Name:find(v) then
  1313.                     x:Destroy()
  1314.                 end
  1315.             end
  1316.         end
  1317.     end
  1318.     end))
  1319.    
  1320.     m = Instance.new("Message")
  1321.     m.Parent = game.Workspace
  1322.     m.Text = "'Derek1017's Swagmin Tab's Loaded"
  1323.     wait(3)
  1324.     m.Text = "Version 3.0 Beta"
  1325.     wait(2)
  1326.     m:Destroy()
  1327.    
  1328.    
  1329.     script.Parent = nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement