Advertisement
Oscar55555

Untitled

Feb 19th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 139.75 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153.  
  154. local TweenService = game:GetService("TweenService")
  155. local RbxUtility = LoadLibrary("RbxUtility")
  156. local Create = RbxUtility.Create
  157.  
  158. MaskTextureId = 124337542 --124337542 2340547251
  159.  
  160.  
  161. owner=game.Players.LocalPlayer
  162. Player = game.Players.LocalPlayer
  163. script.Parent = Player.PlayerGui
  164. ZTfade=false
  165. ZT=false
  166.  
  167. while Player.Character == nil do wait()
  168.  
  169. end
  170.  
  171.  
  172. Character= owner.Character
  173. Torso = Character.Torso
  174. Head = Character.Head
  175. Mouse = owner:GetMouse()
  176. Humanoid = Character.Humanoid
  177. LeftArm = Character["Left Arm"]
  178. LeftLeg = Character["Left Leg"]
  179. RightArm = Character["Right Arm"]
  180. RightLeg = Character["Right Leg"]
  181. RootPart = Character["HumanoidRootPart"]
  182. local Anim="Idle"
  183. local inairvel=0
  184. local WalkAnimStep = 0
  185. local sine = 0
  186. local change = 1
  187. Animstep = 0
  188. WalkAnimMove=0.1
  189. Combo = 0
  190. local attack=false
  191. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  192. local Neck = Character.Torso:FindFirstChild("Neck")
  193. local Tim = ""
  194. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  195. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  196. local ONeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  197. Effects=Instance.new("Folder",Character)
  198. Effects.Name="Effects"
  199. it=Instance.new
  200. vt=Vector3.new
  201. cf=CFrame.new
  202. euler=CFrame.fromEulerAnglesXYZ
  203. angles=CFrame.Angles
  204. local cn = CFrame.new
  205. mr=math.rad
  206. mememode=false
  207. IT = Instance.new
  208. CF = CFrame.new
  209. VT = Vector3.new
  210. RAD = math.rad
  211. C3 = Color3.new
  212. UD2 = UDim2.new
  213. BRICKC = BrickColor.new
  214. ANGLES = CFrame.Angles
  215. EULER = CFrame.fromEulerAnglesXYZ
  216. COS = math.cos
  217. ACOS = math.acos
  218. SIN = math.sin
  219. ASIN = math.asin
  220. ABS = math.abs
  221. MRANDOM = math.random
  222. FLOOR = math.floor
  223. local lastid= "http://www.roblox.com/asset/?id=468582223"
  224. local s2=it("Sound",Torso)
  225. local CurId = 1
  226. s2.EmitterSize = 30
  227. local s2c=s2:Clone()
  228.  
  229.  
  230.  
  231.  
  232.  
  233. local crying = "http://www.roblox.com/asset/?id=1452402780"
  234. local s3=it("Sound",Head)
  235.  
  236. s3.EmitterSize = 40
  237. local s3c=s3:Clone()
  238.  
  239.  
  240.  
  241. Humanoid.MaxHealth = 99999999999
  242. wait()
  243.  
  244. Humanoid.Health = 99999999999
  245. Humanoid.Name = "VoidBoss"
  246. ff = Instance.new("ForceField",Character)
  247. ff.Visible = false
  248. playsong = true
  249.  
  250. s2.SoundId = lastid
  251. if playsong == true then
  252. s2:play()
  253. elseif playsong == false then
  254. s2:stop()
  255. end
  256. lastsongpos= 0
  257.  
  258. crosshair = Instance.new("BillboardGui",Character)
  259. crosshair.Size = UDim2.new(10,0,10,0)
  260. crosshair.Enabled = false
  261. imgl = Instance.new("ImageLabel",crosshair)
  262. imgl.Position = UDim2.new(0,0,0,0)
  263. imgl.Size = UDim2.new(1,0,1,0)
  264. imgl.Image = "rbxassetid://578065407"
  265. imgl.BackgroundTransparency = 1
  266. imgl.ImageTransparency = .7
  267. imgl.ImageColor3 = Color3.new(1,1,1)
  268. crosshair.StudsOffset = Vector3.new(0,0,-1)
  269.  
  270.  
  271. if Character:FindFirstChild("Animate")then
  272. Character.Animate:Destroy()
  273. end
  274.  
  275. function RemoveOutlines(part)
  276. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  277. end
  278.  
  279.  
  280.  
  281.  
  282. CFuncs = {
  283. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  284.  
  285. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  286. RemoveOutlines(Part)
  287. return Part
  288. end
  289. }
  290. ,
  291. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  292.  
  293. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  294. if Mesh == "SpecialMesh" then
  295. Msh.MeshType = MeshType
  296. Msh.MeshId = MeshId
  297. end
  298. return Msh
  299. end
  300. }
  301. ,
  302. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  303.  
  304. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  305. if Mesh == "SpecialMesh" then
  306. Msh.MeshType = MeshType
  307. Msh.MeshId = MeshId
  308. end
  309. return Msh
  310. end
  311. }
  312. ,
  313. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  314.  
  315. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  316. return Weld
  317. end
  318. }
  319. ,
  320. Sound = {Create = function(id, par, vol, pit)
  321.  
  322. coroutine.resume(coroutine.create(function()
  323.  
  324. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  325. wait()
  326. S:play()
  327. game:GetService("Debris"):AddItem(S, 12)
  328. end
  329. ))
  330. end
  331. }
  332. ,
  333. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  334.  
  335. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  336. return fp
  337. end
  338. }
  339. }
  340.  
  341.  
  342.  
  343.  
  344.  
  345. coroutine.resume(coroutine.create(function()
  346. if Head:FindFirstChildOfClass("Decal") then
  347. local face = Head:FindFirstChildOfClass("Decal")
  348. face:Destroy()
  349. end
  350.  
  351. end))
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359. for i, v in pairs(Character:GetChildren()) do
  360. if v:IsA("Accessory") then
  361. v:Destroy()
  362. end
  363. end
  364.  
  365.  
  366. ---------------
  367. --[Functions]--
  368. ---------------
  369. so = function(id, par, vol, pit)
  370.  
  371. CFuncs.Sound.Create(id, par, vol, pit)
  372.  
  373.  
  374. end
  375.  
  376. function weld(parent,part0,part1,c0)
  377. local weld=it("Weld")
  378. weld.Parent=parent
  379. weld.Part0=part0
  380. weld.Part1=part1
  381. weld.C0=c0
  382. return weld
  383. end
  384.  
  385.  
  386. function MakeJoint(parent,part0,part1,c0)
  387. local weld=it("Motor6D")
  388. weld.Parent=parent
  389. weld.Part0=part0
  390. weld.Part1=part1
  391. weld.C0=c0
  392. return weld
  393. end
  394.  
  395. rayCast = function(Pos, Dir, Max, Ignore)
  396.  
  397. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  398. end
  399. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  400. local DIRECTION = CF(StartPos,EndPos).lookVector
  401. return rayCast(StartPos, DIRECTION, Distance, Ignore)
  402. end
  403.  
  404. function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  405. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  406. local outorin = Enum.EasingDirection[outorin2]
  407.  
  408.  
  409. local dahspeed=1
  410.  
  411. local tweeningInformation = TweenInfo.new(
  412. AnimTime/dahspeed,
  413. MoveStyle,
  414. outorin,
  415. 0,
  416. false,
  417. 0
  418. )
  419. local MoveCF = CFr
  420. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  421. tweenanim:Play()
  422. end
  423.  
  424. function GatherAllInstances(Parent,ig)
  425. local Instances = {}
  426. local Ignore=nil
  427. if ig ~= nil then
  428. Ignore = ig
  429. end
  430.  
  431. local function GatherInstances(Parent,Ignore)
  432. for i, v in pairs(Parent:GetChildren()) do
  433.  
  434. if v ~= Ignore then
  435. GatherInstances(v,Ignore)
  436. table.insert(Instances, v) end
  437. end
  438. end
  439. GatherInstances(Parent,Ignore)
  440. return Instances
  441. end
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451. function WeldAllTo(Part1,Part2,Extra)
  452.  
  453. local EXCF = Part2.CFrame * Extra
  454.  
  455. for i, v3 in pairs(GatherAllInstances(Part2)) do
  456. if v3:isA("BasePart") then
  457.  
  458.  
  459. local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  460.  
  461.  
  462. v3.Anchored=false
  463. --v3.Transparency=0
  464. v3.CanCollide=false
  465.  
  466. v3.Parent = Part1
  467.  
  468. end
  469. end
  470.  
  471.  
  472. Part2:Destroy()
  473.  
  474. end
  475. local SToneTexture = Create("Texture")({
  476.  
  477.  
  478. Texture = "http://www.roblox.com/asset/?id=1693385655",
  479. Color3 = Color3.new(163/255, 162/255, 165/255),
  480.  
  481. })
  482.  
  483. function AddStoneTexture(part)
  484. coroutine.resume(coroutine.create(function()
  485. for i = 0,6,1 do
  486. local Tx = SToneTexture:Clone()
  487. Tx.Face = i
  488. Tx.Parent=part
  489. end
  490. end))
  491. end
  492.  
  493. New = function(Object, Parent, Name, Data)
  494. local Object = Instance.new(Object)
  495. for Index, Value in pairs(Data or {}) do
  496. Object[Index] = Value
  497. end
  498. Object.Parent = Parent
  499. Object.Name = Name
  500. return Object
  501. end
  502. function recurse(root,callback,i)
  503. coroutine.resume(coroutine.create(function()
  504. i= i or 0
  505. for _,v in pairs(root:GetChildren()) do
  506. i = i + 1
  507. callback(i,v)
  508.  
  509. if #v:GetChildren() > 0 then
  510. i = recurse(v,callback,i)
  511. end
  512. end
  513. end))
  514. return i
  515. end
  516.  
  517. function ragdollJoint(part0, part1, attachmentName, className, properties)
  518.  
  519. attachmentName = attachmentName--.."RigAttachment"
  520.  
  521.  
  522. local constraint = Instance.new(className.."Constraint")
  523. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  524. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  525. constraint.Name = "RagdollConstraint"..part1.Name
  526.  
  527. for _,propertyData in next,properties or {} do
  528. constraint[propertyData[1]] = propertyData[2]
  529. end
  530.  
  531. local Rcharacter = part0.Parent
  532. constraint.Parent = Rcharacter
  533. end
  534.  
  535. function MakeAth(AthParent,AthName,AthPosX,AthPosY,AthPosZ,AthRot,AthAX,SecondaryAxis)
  536.  
  537. coroutine.resume(coroutine.create(function()
  538. local ATH = Instance.new("Attachment",AthParent)
  539. ATH.Position = Vector3.new(AthPosX,AthPosY,AthPosZ)
  540. ATH.Name = AthName
  541. if AthRot ~= nil then
  542. ATH.Rotation = AthRot end
  543. if AthAX ~= nil then
  544. ATH.Axis = AthAX end
  545. if SecondaryAxis ~= nil then
  546. ATH.SecondaryAxis = SecondaryAxis end
  547. end))
  548. end
  549. function getAttachment0(attachmentName,Rcharacter)
  550. for i, child in pairs(GatherAllInstances(Rcharacter)) do
  551. local attachment = child:FindFirstChild(attachmentName)
  552. if attachment then
  553. return attachment
  554.  
  555. end
  556.  
  557. end
  558.  
  559.  
  560.  
  561.  
  562.  
  563. end
  564.  
  565. function makrag(Rcharacter)
  566.  
  567.  
  568. --HitModel
  569.  
  570.  
  571. local camera = workspace.CurrentCamera
  572.  
  573. --Make it so ragdoll can't collide with invisible HRP, but don't let HRP fall through map and be destroyed in process
  574. coroutine.resume(coroutine.create(function()
  575. if Rcharacter:FindFirstChild("HumanoidRootPart")then
  576. Rcharacter.HumanoidRootPart.Anchored = true
  577. Rcharacter.HumanoidRootPart.CanCollide = false
  578. --- Rcharacter.HumanoidRootPart.Position = Vector3.new(0,-10,0)
  579. Rcharacter.HumanoidRootPart.Parent = nil
  580. end
  581. end))
  582. --Helps to fix constraint spasms
  583. recurse(Rcharacter, function(_,v)
  584. if v:IsA("Attachment") then
  585. v.Axis = Vector3.new(0, 1, 0)
  586. v.SecondaryAxis = Vector3.new(0, 0, 1)
  587. v.Rotation = Vector3.new(0, 0, 0)
  588. end
  589. end)
  590.  
  591. --Re-attach hats
  592.  
  593.  
  594. coroutine.resume(coroutine.create(function()
  595. if Rcharacter:FindFirstChild("Torso")then
  596.  
  597. local RMT = Rcharacter:FindFirstChild("Torso")
  598.  
  599. local RMH = Rcharacter:FindFirstChild("Head")
  600.  
  601. local RLA = Rcharacter:FindFirstChild("Left Arm")
  602.  
  603. local RRA = Rcharacter:FindFirstChild("Right Arm")
  604.  
  605. local RLL = Rcharacter:FindFirstChild("Left Leg")
  606.  
  607. local RRL = Rcharacter:FindFirstChild("Right Leg")
  608.  
  609. --MakeAth(RMH,"",0,0,0)
  610. MakeAth(RMH,"NeckRigAttachment",0,-.5,0)
  611. MakeAth(RRA,"RightShoulderRigAttachment",-0.4, 0.8, 0,Vector3.new(-180, 0, 90),Vector3.new(0, -1, -0),Vector3.new(0, 1, 0))
  612. MakeAth(RLA,"LeftShoulderRigAttachment",0.4, 0.8, 0,Vector3.new(-180, 0, 90),Vector3.new(0, -1, -0),Vector3.new(-1, 0, 0))
  613. MakeAth(RRL,"RightHipRigAttachment",0, 1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  614. MakeAth(RLL,"LeftHipRigAttachment",0, 1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  615. ------------------------------------------------------
  616. MakeAth(RMT,"NeckRigAttachment",0, 1, 0)
  617. MakeAth(RMT,"RightShoulderRigAttachment",1, 0.8, 0,Vector3.new(-180, 0, 0),Vector3.new(1, -0, 0),Vector3.new(0, -1, 0))
  618. MakeAth(RMT,"LeftShoulderRigAttachment",-1, 0.8, 0,Vector3.new(0, 0, -180),Vector3.new(-1, -0, 0),Vector3.new(0, -1, 0))
  619. MakeAth(RMT,"RightHipRigAttachment",0.5, -1.1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  620. MakeAth(RMT,"LeftHipRigAttachment",-0.5, -1.1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629. coroutine.resume(coroutine.create(function()
  630. local LAT = Instance.new("BallSocketConstraint")
  631. LAT.Parent = RMT
  632. LAT.Attachment0 = RLA.LeftShoulderRigAttachment
  633. LAT.Attachment1 = RMT.LeftShoulderRigAttachment
  634. LAT.Enabled = true
  635. LAT.LimitsEnabled=true
  636. LAT.UpperAngle=70
  637. end))
  638. coroutine.resume(coroutine.create(function()
  639. local RAT = Instance.new("BallSocketConstraint")
  640. RAT.Parent = RMT
  641. RAT.Attachment0 = RRA.RightShoulderRigAttachment
  642. RAT.Attachment1 = RMT.RightShoulderRigAttachment
  643. RAT.Enabled = true
  644. RAT.LimitsEnabled=true
  645. RAT.UpperAngle=70
  646. end))
  647. coroutine.resume(coroutine.create(function()
  648. local TLL = Instance.new("BallSocketConstraint")
  649. TLL.Parent = RMT
  650. TLL.Attachment0 = RLL.LeftHipRigAttachment
  651. TLL.Attachment1 = RMT.LeftHipRigAttachment
  652. TLL.Enabled = true
  653. TLL.LimitsEnabled=true
  654. TLL.UpperAngle=70
  655. end))
  656. coroutine.resume(coroutine.create(function()
  657. local TRL = Instance.new("BallSocketConstraint")
  658. TRL.Parent = RMT
  659. TRL.Attachment0 = RRL.RightHipRigAttachment
  660. TRL.Attachment1 = RMT.RightHipRigAttachment
  661. TRL.Enabled = true
  662. TRL.LimitsEnabled=true
  663. TRL.UpperAngle=70
  664. end))
  665.  
  666. end
  667. end))
  668. coroutine.resume(coroutine.create(function()
  669. ragdollJoint(Rcharacter.LowerTorso, Rcharacter.UpperTorso, "WaistRigAttachment", "BallSocket", {
  670. {"LimitsEnabled",true};
  671. {"UpperAngle",5};
  672. }) end)) coroutine.resume(coroutine.create(function()
  673. local NeckProperties = {
  674. {"LimitsEnabled", true};
  675. {"UpperAngle",5};
  676.  
  677. }
  678. local Rtorso = Rcharacter:FindFirstChild("Torso") or Rcharacter:FindFirstChild("UpperTorso")
  679. ragdollJoint(Rtorso, Rcharacter.Head, "NeckRigAttachment", "Hinge", NeckProperties)
  680. end)) coroutine.resume(coroutine.create(function()
  681.  
  682. local handProperties = {
  683. {"LimitsEnabled", true};
  684. {"UpperAngle",0};
  685. {"LowerAngle",0};
  686. }
  687. ragdollJoint(Rcharacter.LeftLowerArm, Rcharacter.LeftHand, "LeftWristRigAttachment", "Hinge", handProperties)
  688. ragdollJoint(Rcharacter.RightLowerArm, Rcharacter.RightHand, "RightWristRigAttachment", "Hinge", handProperties)
  689. end)) coroutine.resume(coroutine.create(function()
  690. local shinProperties = {
  691. {"LimitsEnabled", true};
  692. {"UpperAngle", 0};
  693. {"LowerAngle", -75};
  694. }
  695. ragdollJoint(Rcharacter.LeftUpperLeg, Rcharacter.LeftLowerLeg, "LeftKneeRigAttachment", "Hinge", shinProperties)
  696. ragdollJoint(Rcharacter.RightUpperLeg, Rcharacter.RightLowerLeg, "RightKneeRigAttachment", "Hinge", shinProperties)
  697. end)) coroutine.resume(coroutine.create(function()
  698. local footProperties = {
  699. {"LimitsEnabled", true};
  700. {"UpperAngle", 15};
  701. {"LowerAngle", -45};
  702. }
  703. ragdollJoint(Rcharacter.LeftLowerLeg, Rcharacter.LeftFoot, "LeftAnkleRigAttachment", "Hinge", footProperties)
  704. ragdollJoint(Rcharacter.RightLowerLeg, Rcharacter.RightFoot, "RightAnkleRigAttachment", "Hinge", footProperties)
  705. end))
  706. --TODO fix ability for socket to turn backwards whenn ConeConstraints are shipped
  707. coroutine.resume(coroutine.create(function()
  708. ragdollJoint(Rcharacter.UpperTorso, Rcharacter.LeftUpperArm, "LeftShoulderRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  709. ragdollJoint(Rcharacter.LeftUpperArm, Rcharacter.LeftLowerArm, "LeftElbowRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  710. ragdollJoint(Rcharacter.UpperTorso, Rcharacter.RightUpperArm, "RightShoulderRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  711. ragdollJoint(Rcharacter.RightUpperArm, Rcharacter.RightLowerArm, "RightElbowRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  712. ragdollJoint(Rcharacter.LowerTorso, Rcharacter.LeftUpperLeg, "LeftHipRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  713. ragdollJoint(Rcharacter.LowerTorso, Rcharacter.RightUpperLeg, "RightHipRigAttachment", "BallSocket") end))
  714.  
  715.  
  716. for i = 0,2 do
  717. coroutine.resume(coroutine.create(function()
  718. for _,child in next,Rcharacter:GetChildren() do
  719. if child:IsA("Accoutrement") then
  720. --Loop through all parts instead of only checking for one to be forwards-compatible in the event
  721. --ROBLOX implements multi-part accessories
  722. for _,part in next,child:GetChildren() do
  723. if part:IsA("BasePart") then part.CanCollide = false
  724.  
  725.  
  726. local attachment1 = part:FindFirstChildOfClass("Attachment")
  727. local attachment0 = getAttachment0(attachment1.Name,Rcharacter)
  728. if attachment0 and attachment1 then
  729. --Shouldn't use constraints for this, but have to because of a ROBLOX idiosyncrasy where
  730. --joints connecting a character are perpetually deleted while the character is dead
  731.  
  732.  
  733. local HatProperties = {
  734. {"LimitsEnabled", true};
  735. {"UpperAngle", 0};
  736. {"LowerAngle", -0};
  737. }
  738.  
  739. coroutine.resume(coroutine.create(function()
  740. wait()
  741. local rg = ragdollJoint(attachment0.Parent, part, ""..attachment1.Name, "Hinge", HatProperties)
  742. end))
  743.  
  744. end
  745. end
  746. end
  747. end
  748. end
  749.  
  750. end))
  751. wait(0.5)
  752. end
  753. for _,v in pairs(Rcharacter:GetChildren()) do
  754. if v:isA("Script") or v:isA("LocalScript") then
  755. v:Destroy()
  756. end
  757. end
  758.  
  759.  
  760. coroutine.resume(coroutine.create(function()
  761. wait(1)
  762. for _,v3 in pairs(game:GetService("Players"):GetChildren()) do
  763. coroutine.resume(coroutine.create(function()
  764. if v3:isA("Player") and v3.Character == Rcharacter then
  765. Rcharacter.Archivable=true
  766. local ORcharacter = Rcharacter:Clone()
  767. --Rcharacter2.Archivable=false
  768. --Rcharacter3.Archivable=false
  769. ORcharacter.Parent = Rcharacter.Parent
  770. local Rhum = ORcharacter:FindFirstChildOfClass("Humanoid")
  771. Rhum.PlatformStand = true
  772. Rhum.Health = Rhum.MaxHealth
  773. Rcharacter:Destroy()
  774. wait()
  775. Rhum.Health = 0
  776. game:GetService("Debris"):AddItem(ORcharacter, 380)
  777.  
  778. end
  779. end))
  780. end
  781.  
  782.  
  783. end))
  784.  
  785.  
  786. end
  787.  
  788.  
  789. function Tran(Num)
  790. local GivenLeter = ""
  791. if Num == "1" then
  792. GivenLeter = "a"
  793. elseif Num == "2" then
  794. GivenLeter = "b"
  795. elseif Num == "3" then
  796. GivenLeter = "c"
  797. elseif Num == "4" then
  798. GivenLeter = "d"
  799. elseif Num == "5" then
  800. GivenLeter = "e"
  801. elseif Num == "6" then
  802. GivenLeter = "f"
  803. elseif Num == "7" then
  804. GivenLeter = "g"
  805. elseif Num == "8" then
  806. GivenLeter = "h"
  807. elseif Num == "9" then
  808. GivenLeter = "i"
  809. elseif Num == "10" then
  810. GivenLeter = "j"
  811. elseif Num == "11" then
  812. GivenLeter = "k"
  813. elseif Num == "12" then
  814. GivenLeter = "l"
  815. elseif Num == "13" then
  816. GivenLeter = "m"
  817. elseif Num == "14" then
  818. GivenLeter = "n"
  819. elseif Num == "15" then
  820. GivenLeter = "o"
  821. elseif Num == "16" then
  822. GivenLeter = "p"
  823. elseif Num == "17" then
  824. GivenLeter = "q"
  825. elseif Num == "18" then
  826. GivenLeter = "r"
  827. elseif Num == "19" then
  828. GivenLeter = "s"
  829. elseif Num == "20" then
  830. GivenLeter = "t"
  831. elseif Num == "21" then
  832. GivenLeter = "u"
  833. elseif Num == "22" then
  834. GivenLeter = "v"
  835. elseif Num == "23" then
  836. GivenLeter = "w"
  837. elseif Num == "24" then
  838. GivenLeter = "x"
  839. elseif Num == "25" then
  840. GivenLeter = "y"
  841. elseif Num == "26" then
  842. GivenLeter = "z"
  843. elseif Num == "27" then
  844. GivenLeter = "_"
  845. elseif Num == "28" then
  846. GivenLeter = "0"
  847. elseif Num == "29" then
  848. GivenLeter = "1"
  849. elseif Num == "30" then
  850. GivenLeter = "2"
  851. elseif Num == "31" then
  852. GivenLeter = "3"
  853. elseif Num == "32" then
  854. GivenLeter = "4"
  855. elseif Num == "33" then
  856. GivenLeter = "5"
  857. elseif Num == "34" then
  858. GivenLeter = "6"
  859. elseif Num == "35" then
  860. GivenLeter = "7"
  861. elseif Num == "36" then
  862. GivenLeter = "8"
  863. elseif Num == "37" then
  864. GivenLeter = "9"
  865. end
  866. return GivenLeter
  867.  
  868. end
  869.  
  870. function MaybeOk(Mode,Extra)
  871. local ReturningValue = ""
  872. if Mode == 1 then
  873.  
  874.  
  875.  
  876. -- v.C0 = CFrame.new(1,1,1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  877.  
  878. --print(v.C0)
  879. local GivenText = ""
  880. local msg = Extra
  881. local Txt = ""
  882. local FoundTime=0
  883. local LastFound = 0
  884. delay(wait(0),function()
  885. for v3 = 1, #msg do
  886.  
  887. if string.sub(msg,0+v3,v3) == "," then
  888.  
  889. local TheN = string.sub(msg,LastFound,v3-1)
  890.  
  891.  
  892. local NumTranslate = Tran(string.sub(msg,LastFound,v3-1))
  893.  
  894.  
  895.  
  896. FoundTime = FoundTime + 1
  897.  
  898.  
  899. GivenText = GivenText..NumTranslate
  900.  
  901. LastFound=v3+1
  902. Txt=""
  903. end
  904. Txt=string.sub(msg,1,v3)
  905.  
  906.  
  907. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  908.  
  909.  
  910. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  911. wait()
  912. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  913. end;
  914.  
  915. ReturningValue=GivenText
  916. for v3 = 1, #Txt do
  917. Txt=string.sub(msg,-1,v3)
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925. end;
  926. -- Gui:remove()
  927. end)
  928.  
  929.  
  930. elseif Mode == 2 then
  931.  
  932. print("fat")
  933. end
  934.  
  935.  
  936.  
  937. while ReturningValue == "" do wait() end
  938. return ReturningValue
  939.  
  940. end
  941.  
  942.  
  943.  
  944. ----------------------
  945. --[End Of Functions]--
  946. ----------------------
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953. ------------------
  954. --[Sword]--
  955. ------------------
  956.  
  957.  
  958.  
  959.  
  960. function sandbox(var,func)
  961. local env = getfenv(func)
  962. local newenv = setmetatable({},{
  963. __index = function(self,k)
  964. if k=="script" then
  965. return var
  966. else
  967. return env[k]
  968. end
  969. end,
  970. })
  971. setfenv(func,newenv)
  972. return func
  973. end
  974. cors = {}
  975. mas = Instance.new("Model",game:GetService("Lighting"))
  976. Model0 = Instance.new("Model")
  977. Part1 = Instance.new("Part")
  978. ParticleEmitter2 = Instance.new("ParticleEmitter")
  979. Model3 = Instance.new("Model")
  980. Beam4 = Instance.new("Beam") ------------------------------------------------------------------------------
  981. Beam5 = Instance.new("Beam")
  982. Beam6 = Instance.new("Beam")
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989. Model7 = Instance.new("Model")
  990. Part8 = Instance.new("Part")
  991. ParticleEmitter9 = Instance.new("ParticleEmitter")
  992. Part10 = Instance.new("Part")
  993. SpecialMesh11 = Instance.new("SpecialMesh")
  994. Part12 = Instance.new("Part")
  995. SpecialMesh13 = Instance.new("SpecialMesh")
  996. Model14 = Instance.new("Model")
  997. Part15 = Instance.new("Part")
  998. SpecialMesh16 = Instance.new("SpecialMesh")
  999. Part17 = Instance.new("Part")
  1000. SpecialMesh18 = Instance.new("SpecialMesh")
  1001. Part19 = Instance.new("Part")
  1002. ParticleEmitter20 = Instance.new("ParticleEmitter")
  1003. Model21 = Instance.new("Model")
  1004. Part22 = Instance.new("Part")
  1005. SpecialMesh23 = Instance.new("SpecialMesh")
  1006. Part24 = Instance.new("Part")
  1007. SpecialMesh25 = Instance.new("SpecialMesh")
  1008. Part26 = Instance.new("Part")
  1009. SpecialMesh27 = Instance.new("SpecialMesh")
  1010. Part28 = Instance.new("Part")
  1011. SpecialMesh29 = Instance.new("SpecialMesh")
  1012. Part30 = Instance.new("Part")
  1013. SpecialMesh31 = Instance.new("SpecialMesh")
  1014. Part32 = Instance.new("Part")
  1015. SpecialMesh33 = Instance.new("SpecialMesh")
  1016. Decal34 = Instance.new("Decal")
  1017. Part35 = Instance.new("Part")
  1018. ParticleEmitter36 = Instance.new("ParticleEmitter")
  1019. Part37 = Instance.new("Part")
  1020.  
  1021. TAttachment = Instance.new("Attachment",Part1)
  1022. HAttachment2 = Instance.new("Attachment",Part35)
  1023. RAttachment3 = Instance.new("Attachment",Part8)
  1024. LAttachment4 = Instance.new("Attachment",Part19)
  1025.  
  1026. --TAttachment
  1027. --HAttachment2
  1028. --RAttachment3
  1029. --LAttachment4
  1030.  
  1031.  
  1032. --Part35,Part19,Part8
  1033. --Head,LeftArm,RightArm
  1034.  
  1035.  
  1036. SpecialMesh38 = Instance.new("SpecialMesh")
  1037. Model0.Name = "VoidBoss"
  1038. Model0.Parent = mas
  1039. Part1.Name = "Torso"
  1040. Part1.Parent = Model0
  1041. Part1.CFrame = CFrame.new(3.5, 0.0108870268, -65.510788, 2.08616257e-07, 0, -1, 0.999999881, 0, 2.08616257e-07, 0, -0.999999881, 0)
  1042. Part1.Orientation = Vector3.new(0, -90, 90)
  1043. Part1.Position = Vector3.new(3.5, 0.0108870268, -65.510788)
  1044. Part1.Rotation = Vector3.new(-90, -90, 0)
  1045. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1046. Part1.Transparency = 1
  1047. Part1.Size = Vector3.new(1, 1, 1)
  1048. Part1.Anchored = true
  1049. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1050. Part1.BrickColor = BrickColor.new("Institutional white")
  1051. Part1.CanCollide = false
  1052. Part1.TopSurface = Enum.SurfaceType.Smooth
  1053. Part1.brickColor = BrickColor.new("Institutional white")
  1054. Part1.FormFactor = Enum.FormFactor.Symmetric
  1055. Part1.formFactor = Enum.FormFactor.Symmetric
  1056. ParticleEmitter2.Parent = Part1
  1057. ParticleEmitter2.Speed = NumberRange.new(6, 6)
  1058. ParticleEmitter2.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.299,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(0.499,Color3.new(0,0,0)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  1059. ParticleEmitter2.LightInfluence = 1
  1060. ParticleEmitter2.Texture = "rbxassetid://258128463"
  1061. ParticleEmitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.2,0.86913582086563),NumberSequenceKeypoint.new(1,1)})
  1062. ParticleEmitter2.ZOffset = 1
  1063. ParticleEmitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.3749998807907),NumberSequenceKeypoint.new(1,0.68749964237213)})
  1064. ParticleEmitter2.Acceleration = Vector3.new(1, 0, 0)
  1065. ParticleEmitter2.Drag = 3
  1066. ParticleEmitter2.Lifetime = NumberRange.new(2, 4)
  1067. ParticleEmitter2.LockedToPart = true
  1068. ParticleEmitter2.Rate = 50
  1069. ParticleEmitter2.RotSpeed = NumberRange.new(-100, 100)
  1070. ParticleEmitter2.SpreadAngle = Vector2.new(360, 0)
  1071. ParticleEmitter2.VelocitySpread = 360
  1072. Model3.Parent = Part1
  1073.  
  1074. --TAttachment
  1075. --HAttachment2
  1076. --RAttachment3
  1077. --LAttachment4
  1078.  
  1079.  
  1080. Beam4.Name = "RightArm"
  1081. Beam4.Parent = Model3
  1082. Beam4.Attachment0 = TAttachment
  1083. Beam4.Attachment1 = RAttachment3
  1084. Beam4.CurveSize0 = 10
  1085. Beam4.FaceCamera = true
  1086. Beam4.LightInfluence = 1
  1087. Beam4.Texture = "rbxassetid://130207880"
  1088. Beam4.TextureLength = 0.875
  1089. Beam4.TextureSpeed = 1
  1090. Beam4.Transparency = NumberSequence.new(.5,0)
  1091. Beam4.Width0 = 3
  1092. Beam4.Width1 = 3
  1093. Beam5.Name = "LeftArm"
  1094. Beam5.Parent = Model3
  1095. Beam5.Attachment0 = TAttachment
  1096. Beam5.Attachment1 = LAttachment4
  1097. Beam5.CurveSize0 = 10
  1098. Beam5.FaceCamera = true
  1099. Beam5.LightInfluence = 1
  1100. Beam5.Texture = "rbxassetid://130207880"
  1101. Beam5.TextureLength = 0.875
  1102. Beam5.TextureSpeed = 1
  1103. Beam5.Transparency = NumberSequence.new(.5,0)
  1104. Beam5.Width0 = 3
  1105. Beam5.Width1 = 3
  1106. Beam6.Name = "Head"
  1107. Beam6.Parent = Model3
  1108. Beam6.Attachment0 = TAttachment
  1109. Beam6.Attachment1 = HAttachment2
  1110. Beam6.FaceCamera = true
  1111. Beam6.LightInfluence = 1
  1112. Beam6.Segments = 1
  1113. Beam6.Texture = "rbxassetid://130207880"
  1114. Beam6.TextureSpeed = 1
  1115. Beam6.Transparency = NumberSequence.new(.5,0)
  1116. Beam6.Width0 = 3
  1117. Beam6.Width1 = 1.5
  1118. Model7.Name = "RightArm"
  1119. Model7.Parent = Model0
  1120. Part8.Name = "Particles"
  1121. Part8.Parent = Model7
  1122. Part8.CFrame = CFrame.new(-3, 3.62246037, -66.4395981, -1, 0, 0, 0, 0.999390841, 0.0348994173, 0, 0.0348994173, -0.999390841)
  1123. Part8.Orientation = Vector3.new(-2, 180, 0)
  1124. Part8.Position = Vector3.new(-3, 3.62246037, -66.4395981)
  1125. Part8.Rotation = Vector3.new(-178, 0, -180)
  1126. Part8.Color = Color3.new(0, 0, 0)
  1127. Part8.Transparency = 1
  1128. Part8.Size = Vector3.new(0.5, 0.5, 0.5)
  1129. Part8.Anchored = true
  1130. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1131.  
  1132. Part8.CanCollide = false
  1133. Part8.Material = Enum.Material.Neon
  1134. Part8.TopSurface = Enum.SurfaceType.Smooth
  1135.  
  1136. Part8.FormFactor = Enum.FormFactor.Symmetric
  1137. Part8.formFactor = Enum.FormFactor.Symmetric
  1138. ParticleEmitter9.Parent = Part8
  1139. ParticleEmitter9.Speed = NumberRange.new(1.2000000476837, 1.2000000476837)
  1140. ParticleEmitter9.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  1141. ParticleEmitter9.LightInfluence = 1
  1142. ParticleEmitter9.Texture = "rbxassetid://258128463"
  1143. ParticleEmitter9.Transparency= NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.7),NumberSequenceKeypoint.new(1,1)})
  1144. ParticleEmitter9.ZOffset = 2
  1145. ParticleEmitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.9999998807907),NumberSequenceKeypoint.new(0.43749988079071,0.37499964237213),NumberSequenceKeypoint.new(1,0.68749964237213)})
  1146. ParticleEmitter9.Acceleration = Vector3.new(0, 0, -0.400000006)
  1147. ParticleEmitter9.Drag = 1
  1148. ParticleEmitter9.Lifetime = NumberRange.new(3, 3)
  1149. ParticleEmitter9.LockedToPart = true
  1150. ParticleEmitter9.Rate = 100
  1151. ParticleEmitter9.RotSpeed = NumberRange.new(-100, 100)
  1152. ParticleEmitter9.SpreadAngle = Vector2.new(360, 360)
  1153. ParticleEmitter9.VelocitySpread = 360
  1154. Part10.Parent = Model7
  1155. Part10.CFrame = CFrame.new(-2, 4.33036613, -62.6395836, -0.965925813, 0.0669872463, -0.25, 0, 0.965925872, 0.258818835, 0.258819044, 0.249999791, -0.933012724)
  1156. Part10.Orientation = Vector3.new(-15, -165, 0)
  1157. Part10.Position = Vector3.new(-2, 4.33036613, -62.6395836)
  1158. Part10.Rotation = Vector3.new(-164.5, -14.4799995, -176.029999)
  1159. Part10.Color = Color3.new(0, 0, 0)
  1160. Part10.Size = Vector3.new(1, 1, 0.5)
  1161. Part10.Anchored = true
  1162. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1163.  
  1164. Part10.CanCollide = false
  1165. Part10.Material = Enum.Material.Neon
  1166. Part10.TopSurface = Enum.SurfaceType.Smooth
  1167.  
  1168. Part10.FormFactor = Enum.FormFactor.Symmetric
  1169. Part10.formFactor = Enum.FormFactor.Symmetric
  1170. SpecialMesh11.Parent = Part10
  1171. SpecialMesh11.MeshType = Enum.MeshType.Sphere
  1172. Part12.Parent = Model7
  1173. Part12.CFrame = CFrame.new(-1.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)
  1174. Part12.Position = Vector3.new(-1.5, 4.83036566, -63.1395836)
  1175. Part12.Color = Color3.new(0.792157, 0.796079, 0.819608)
  1176. Part12.Size = Vector3.new(1, 1, 1)
  1177. Part12.Anchored = true
  1178. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1179. Part12.BrickColor = BrickColor.new("Ghost grey")
  1180. Part12.CanCollide = false
  1181. Part12.Material = Enum.Material.Fabric
  1182. Part12.TopSurface = Enum.SurfaceType.Smooth
  1183. Part12.brickColor = BrickColor.new("Ghost grey")
  1184. Part12.FormFactor = Enum.FormFactor.Symmetric
  1185. Part12.formFactor = Enum.FormFactor.Symmetric
  1186. SpecialMesh13.Parent = Part12
  1187. SpecialMesh13.MeshId = "rbxassetid://1282322452"
  1188. SpecialMesh13.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  1189. SpecialMesh13.MeshType = Enum.MeshType.FileMesh
  1190. Model14.Name = "LeftArm"
  1191. Model14.Parent = Model0
  1192. Part15.Parent = Model14
  1193. Part15.CFrame = CFrame.new(8.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)
  1194. Part15.Position = Vector3.new(8.5, 4.83036566, -63.1395836)
  1195. Part15.Color = Color3.new(0.792157, 0.796079, 0.819608)
  1196. Part15.Size = Vector3.new(1, 1, 1)
  1197. Part15.Anchored = true
  1198. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1199. Part15.BrickColor = BrickColor.new("Ghost grey")
  1200. Part15.CanCollide = false
  1201. Part15.Material = Enum.Material.Fabric
  1202. Part15.TopSurface = Enum.SurfaceType.Smooth
  1203. Part15.brickColor = BrickColor.new("Ghost grey")
  1204. Part15.FormFactor = Enum.FormFactor.Symmetric
  1205. Part15.formFactor = Enum.FormFactor.Symmetric
  1206. SpecialMesh16.Parent = Part15
  1207. SpecialMesh16.MeshId = "rbxassetid://1279765257"
  1208. SpecialMesh16.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  1209. SpecialMesh16.MeshType = Enum.MeshType.FileMesh
  1210. Part17.Parent = Model14
  1211. Part17.CFrame = CFrame.new(9, 4.33036613, -62.6395836, -0.965925872, -0.0669871867, 0.249999806, 0, 0.965925872, 0.258818835, -0.258818835, 0.249999806, -0.933012784)
  1212. Part17.Orientation = Vector3.new(-15, 165, 0)
  1213. Part17.Position = Vector3.new(9, 4.33036613, -62.6395836)
  1214. Part17.Rotation = Vector3.new(-164.5, 14.4799995, 176.029999)
  1215. Part17.Color = Color3.new(0, 0, 0)
  1216. Part17.Size = Vector3.new(1, 1, 0.5)
  1217. Part17.Anchored = true
  1218. Part17.BottomSurface = Enum.SurfaceType.Smooth
  1219.  
  1220. Part17.CanCollide = false
  1221. Part17.Material = Enum.Material.Neon
  1222. Part17.TopSurface = Enum.SurfaceType.Smooth
  1223.  
  1224. Part17.FormFactor = Enum.FormFactor.Symmetric
  1225. Part17.formFactor = Enum.FormFactor.Symmetric
  1226. SpecialMesh18.Parent = Part17
  1227. SpecialMesh18.MeshType = Enum.MeshType.Sphere
  1228. Part19.Name = "Particles"
  1229. Part19.Parent = Model14
  1230. Part19.CFrame = CFrame.new(10, 3.62246037, -66.4395981, -1, 0, 0, 0, 0.999390841, 0.0348994173, 0, 0.0348994173, -0.999390841)
  1231. Part19.Orientation = Vector3.new(-2, 180, 0)
  1232. Part19.Position = Vector3.new(10, 3.62246037, -66.4395981)
  1233. Part19.Rotation = Vector3.new(-178, 0, -180)
  1234. Part19.Color = Color3.new(0, 0, 0)
  1235. Part19.Transparency = 1
  1236. Part19.Size = Vector3.new(0.5, 0.5, 0.5)
  1237. Part19.Anchored = true
  1238. Part19.BottomSurface = Enum.SurfaceType.Smooth
  1239.  
  1240. Part19.CanCollide = false
  1241. Part19.Material = Enum.Material.Neon
  1242. Part19.TopSurface = Enum.SurfaceType.Smooth
  1243.  
  1244. Part19.FormFactor = Enum.FormFactor.Symmetric
  1245. Part19.formFactor = Enum.FormFactor.Symmetric
  1246. ParticleEmitter20.Parent = Part19
  1247. ParticleEmitter20.Speed = NumberRange.new(1.2000000476837, 1.2000000476837)
  1248. ParticleEmitter20.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  1249. ParticleEmitter20.LightInfluence = 1
  1250. ParticleEmitter20.Texture = "rbxassetid://258128463"
  1251. ParticleEmitter20.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.7),NumberSequenceKeypoint.new(1,1)})
  1252. ParticleEmitter20.ZOffset = 2
  1253. ParticleEmitter20.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.9999998807907),NumberSequenceKeypoint.new(0.43749988079071,0.37499964237213),NumberSequenceKeypoint.new(1,0.68749964237213)})
  1254. ParticleEmitter20.Acceleration = Vector3.new(0, 0, -0.400000006)
  1255. ParticleEmitter20.Drag = 1
  1256. ParticleEmitter20.Lifetime = NumberRange.new(3, 3)
  1257. ParticleEmitter20.LockedToPart = true
  1258. ParticleEmitter20.Rate = 100
  1259. ParticleEmitter20.RotSpeed = NumberRange.new(-100, 100)
  1260. ParticleEmitter20.SpreadAngle = Vector2.new(360, 360)
  1261. ParticleEmitter20.VelocitySpread = 360
  1262. Model21.Name = "Head"
  1263. Model21.Parent = Model0
  1264. Part22.Parent = Model21
  1265. Part22.CFrame = CFrame.new(4, 8.9408741, -63.4595413, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1266. Part22.Orientation = Vector3.new(-15, 180, 0)
  1267. Part22.Position = Vector3.new(4, 8.9408741, -63.4595413)
  1268. Part22.Rotation = Vector3.new(-165, 0, -180)
  1269. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1270. Part22.Size = Vector3.new(0.400000036, 0.400000036, 1.20000005)
  1271. Part22.Anchored = true
  1272. Part22.BottomSurface = Enum.SurfaceType.Smooth
  1273. Part22.BrickColor = BrickColor.new("Institutional white")
  1274. Part22.CanCollide = false
  1275. Part22.Locked = true
  1276. Part22.Material = Enum.Material.Neon
  1277. Part22.TopSurface = Enum.SurfaceType.Smooth
  1278. Part22.brickColor = BrickColor.new("Institutional white")
  1279. Part22.FormFactor = Enum.FormFactor.Symmetric
  1280. Part22.formFactor = Enum.FormFactor.Symmetric
  1281. Part22.Name = "Eye1"
  1282. SpecialMesh23.Parent = Part22
  1283. SpecialMesh23.MeshType = Enum.MeshType.Sphere
  1284. Part24.Parent = Model21
  1285. Part24.CFrame = CFrame.new(3.5, 8.93740559, -63.2534142, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1286. Part24.Orientation = Vector3.new(-15, 180, 0)
  1287. Part24.Position = Vector3.new(3.5, 8.93740559, -63.2534142)
  1288. Part24.Rotation = Vector3.new(-165, 0, -180)
  1289. Part24.Color = Color3.new(0, 0, 0)
  1290. Part24.Size = Vector3.new(2, 1, 0.800000012)
  1291. Part24.Anchored = true
  1292. Part24.BottomSurface = Enum.SurfaceType.Smooth
  1293.  
  1294. Part24.CanCollide = false
  1295. Part24.Locked = true
  1296. Part24.Material = Enum.Material.Neon
  1297. Part24.TopSurface = Enum.SurfaceType.Smooth
  1298.  
  1299. Part24.FormFactor = Enum.FormFactor.Symmetric
  1300. Part24.formFactor = Enum.FormFactor.Symmetric
  1301. SpecialMesh25.Parent = Part24
  1302. SpecialMesh25.MeshType = Enum.MeshType.Sphere
  1303. Part26.Parent = Model21
  1304. Part26.CFrame = CFrame.new(3.5, 7.62994099, -63.3966942, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1305. Part26.Orientation = Vector3.new(-15, 180, 0)
  1306. Part26.Position = Vector3.new(3.5, 7.62994099, -63.3966942)
  1307. Part26.Rotation = Vector3.new(-165, 0, -180)
  1308. Part26.Color = Color3.new(0, 0, 0)
  1309. Part26.Size = Vector3.new(1.80000007, 1.5999999, 0.600000024)
  1310. Part26.Anchored = true
  1311. Part26.BottomSurface = Enum.SurfaceType.Smooth
  1312.  
  1313. Part26.CanCollide = false
  1314. Part26.Locked = true
  1315. Part26.Material = Enum.Material.Neon
  1316. Part26.TopSurface = Enum.SurfaceType.Smooth
  1317.  
  1318. Part26.FormFactor = Enum.FormFactor.Symmetric
  1319. Part26.formFactor = Enum.FormFactor.Symmetric
  1320. SpecialMesh27.Parent = Part26
  1321. SpecialMesh27.MeshType = Enum.MeshType.Sphere
  1322. Part28.Parent = Model21
  1323. Part28.CFrame = CFrame.new(3, 8.9408741, -63.4595413, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1324. Part28.Orientation = Vector3.new(-15, 180, 0)
  1325. Part28.Position = Vector3.new(3, 8.9408741, -63.4595413)
  1326. Part28.Rotation = Vector3.new(-165, 0, -180)
  1327. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1328. Part28.Size = Vector3.new(0.400000036, 0.400000036, 1.20000005)
  1329. Part28.Anchored = true
  1330. Part28.BottomSurface = Enum.SurfaceType.Smooth
  1331. Part28.BrickColor = BrickColor.new("Institutional white")
  1332. Part28.CanCollide = false
  1333. Part28.Locked = true
  1334. Part28.Material = Enum.Material.Neon
  1335. Part28.TopSurface = Enum.SurfaceType.Smooth
  1336. Part28.brickColor = BrickColor.new("Institutional white")
  1337. Part28.FormFactor = Enum.FormFactor.Symmetric
  1338. Part28.formFactor = Enum.FormFactor.Symmetric
  1339. Part28.Name = "Eye2"
  1340. SpecialMesh29.Parent = Part28
  1341. SpecialMesh29.MeshType = Enum.MeshType.Sphere
  1342. Part30.Parent = Model21
  1343. Part30.CFrame = CFrame.new(3.5, 8.98917007, -63.4466019, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1344. Part30.Orientation = Vector3.new(-15, 180, 0)
  1345. Part30.Position = Vector3.new(3.5, 8.98917007, -63.4466019)
  1346. Part30.Rotation = Vector3.new(-165, 0, -180)
  1347. Part30.Color = Color3.new(0, 0, 0)
  1348. Part30.Size = Vector3.new(1, 1, 1)
  1349. Part30.Anchored = true
  1350. Part30.BottomSurface = Enum.SurfaceType.Smooth
  1351.  
  1352. Part30.CanCollide = false
  1353. Part30.Locked = true
  1354. Part30.Material = Enum.Material.Neon
  1355. Part30.TopSurface = Enum.SurfaceType.Smooth
  1356.  
  1357. Part30.FormFactor = Enum.FormFactor.Symmetric
  1358. Part30.formFactor = Enum.FormFactor.Symmetric
  1359. SpecialMesh31.Parent = Part30
  1360. SpecialMesh31.MeshType = Enum.MeshType.Sphere
  1361. Part32.Name = "Handle"
  1362. Part32.Parent = Model21
  1363. Part32.CFrame = CFrame.new(3.5, 8.19017696, -63.2465782, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1364. Part32.Orientation = Vector3.new(-15, 180, 0)
  1365. Part32.Position = Vector3.new(3.5, 8.19017696, -63.2465782)
  1366. Part32.Rotation = Vector3.new(-165, 0, -180)
  1367. Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1368. Part32.Size = Vector3.new(0.100000001, 0.100000001, 0.100000001)
  1369. Part32.Anchored = true
  1370. Part32.BottomSurface = Enum.SurfaceType.Smooth
  1371. Part32.BrickColor = BrickColor.new("Really black")
  1372. Part32.CanCollide = false
  1373. Part32.Locked = true
  1374. Part32.Material = Enum.Material.Fabric
  1375. Part32.TopSurface = Enum.SurfaceType.Smooth
  1376. Part32.brickColor = BrickColor.new("Really black")
  1377. Part32.FormFactor = Enum.FormFactor.Symmetric
  1378. Part32.formFactor = Enum.FormFactor.Symmetric
  1379. SpecialMesh33.Parent = Part32
  1380. SpecialMesh33.MeshId = "http://www.roblox.com/asset/?id=13520257"
  1381. SpecialMesh33.Scale = Vector3.new(3, 3.0999999, 3)
  1382. SpecialMesh33.MeshType = Enum.MeshType.FileMesh
  1383. SpecialMesh33.TextureId = "http://www.roblox.com/asset/?id=2349706532"
  1384. Decal34.Parent = Part32
  1385. --Decal34.Texture = "http://www.roblox.com/asset/?id="..MaskTextureId--124337542 2340547251
  1386. Part35.Name = "Particles"
  1387. Part35.Parent = Model21
  1388. Part35.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669)
  1389. Part35.Orientation = Vector3.new(-17, 180, 0)
  1390. Part35.Position = Vector3.new(3.5, 8.64255619, -64.4712448)
  1391. Part35.Rotation = Vector3.new(-163, 0, -180)
  1392. Part35.Color = Color3.new(0, 0, 0)
  1393. Part35.Transparency = 1
  1394. Part35.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  1395. Part35.Anchored = true
  1396. Part35.BottomSurface = Enum.SurfaceType.Smooth
  1397.  
  1398. Part35.CanCollide = false
  1399. Part35.Locked = true
  1400. Part35.Material = Enum.Material.Neon
  1401. Part35.TopSurface = Enum.SurfaceType.Smooth
  1402.  
  1403. Part35.FormFactor = Enum.FormFactor.Symmetric
  1404. Part35.formFactor = Enum.FormFactor.Symmetric
  1405. ParticleEmitter36.Parent = Part35
  1406. ParticleEmitter36.Speed = NumberRange.new(2, 2)
  1407. ParticleEmitter36.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  1408. ParticleEmitter36.LightInfluence = 1
  1409. ParticleEmitter36.Texture = "rbxassetid://258128463"
  1410. ParticleEmitter36.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.5),NumberSequenceKeypoint.new(1,1)})
  1411. ParticleEmitter36.ZOffset = -2
  1412. ParticleEmitter36.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.7500001192093),NumberSequenceKeypoint.new(0.7500001192093,0.74999988079071),NumberSequenceKeypoint.new(1,0.68749964237213)})
  1413. ParticleEmitter36.Acceleration = Vector3.new(0, 0.25, 0)
  1414. ParticleEmitter36.Drag = 2
  1415. ParticleEmitter36.Lifetime = NumberRange.new(1, 3)
  1416. ParticleEmitter36.LockedToPart = true
  1417. ParticleEmitter36.Rate = 100.01999664307
  1418. ParticleEmitter36.RotSpeed = NumberRange.new(-100, 100)
  1419. ParticleEmitter36.SpreadAngle = Vector2.new(360, 360)
  1420. ParticleEmitter36.VelocitySpread = 360
  1421. Part37.Name = "Head"
  1422. Part37.Parent = Model21
  1423. Part37.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669)
  1424. Part37.Orientation = Vector3.new(-17, 180, 0)
  1425. Part37.Position = Vector3.new(3.5, 8.64255619, -64.4712448)
  1426. Part37.Rotation = Vector3.new(-163, 0, -180)
  1427. Part37.Color = Color3.new(0.00784314, 0.00784314, 0.00784314)
  1428. Part37.Size = Vector3.new(3, 3, 3)
  1429. Part37.Anchored = true
  1430. Part37.BottomSurface = Enum.SurfaceType.Smooth
  1431.  
  1432. Part37.CanCollide = false
  1433. Part37.Locked = true
  1434. Part37.Material = Enum.Material.Fabric
  1435. Part37.TopSurface = Enum.SurfaceType.Smooth
  1436.  
  1437. Part37.FormFactor = Enum.FormFactor.Symmetric
  1438. Part37.formFactor = Enum.FormFactor.Symmetric
  1439. SpecialMesh38.Parent = Part37
  1440. for i,v in pairs(mas:GetChildren()) do
  1441. v.Parent = script
  1442. pcall(function() v:MakeJoints() end)
  1443. end
  1444. mas:Destroy()
  1445. for i,v in pairs(cors) do
  1446. spawn(function()
  1447. pcall(v)
  1448. end)
  1449. end
  1450.  
  1451. script:WaitForChild("VoidBoss")
  1452. script.VoidBoss:WaitForChild("LeftArm")
  1453. script.VoidBoss:WaitForChild("RightArm")
  1454. script.VoidBoss:WaitForChild("Head")
  1455. local LAP=Instance.new("Part")
  1456. LAP.Reflectance = 0
  1457. LAP.Transparency = 1
  1458. LAP.CanCollide = false
  1459. LAP.Locked = true
  1460. LAP.Anchored=true
  1461. LAP.BrickColor = BrickColor.new("Really blue")
  1462. LAP.Name = "Left Leg"
  1463. LAP.Size = Vector3.new()
  1464. LAP.Material = "SmoothPlastic"
  1465. LAP:BreakJoints()
  1466. -- LAP.Parent = Character
  1467. LAP.CFrame = CFrame.new(8.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)*angles(math.rad(90),0,math.rad(180))
  1468. for i,v in pairs(script.VoidBoss.LeftArm:GetChildren()) do
  1469. v.Parent = LAP
  1470. end
  1471. script.VoidBoss.LeftArm:Destroy()
  1472. LAP.Parent = script.VoidBoss
  1473.  
  1474. local RAP=Instance.new("Part")
  1475. RAP.Reflectance = 0
  1476. RAP.Transparency = 1
  1477. RAP.CanCollide = false
  1478. RAP.Locked = true
  1479. RAP.Anchored=true
  1480. RAP.BrickColor = BrickColor.new("Really blue")
  1481. RAP.Name = "Right Leg"
  1482. RAP.Size = Vector3.new()
  1483. RAP.Material = "SmoothPlastic"
  1484. RAP:BreakJoints()
  1485. -- RAP.Parent = Character
  1486. RAP.CFrame = CFrame.new(-1.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)*angles(math.rad(90),0,math.rad(180))
  1487. for i,v in pairs(script.VoidBoss.RightArm:GetChildren()) do
  1488. v.Parent = RAP
  1489. end
  1490. script.VoidBoss.RightArm:Destroy()
  1491. RAP.Parent = script.VoidBoss
  1492.  
  1493. local HHP=Instance.new("Part")
  1494. HHP.Reflectance = 0
  1495. HHP.Transparency = 1
  1496. HHP.CanCollide = false
  1497. HHP.Locked = true
  1498. HHP.Anchored=true
  1499. HHP.BrickColor = BrickColor.new("Really blue")
  1500. HHP.Name = "Head"
  1501. HHP.Size = Vector3.new()
  1502. HHP.Material = "SmoothPlastic"
  1503. HHP:BreakJoints()
  1504.  
  1505. HHP.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669)
  1506. for i,v in pairs(script.VoidBoss.Head:GetChildren()) do
  1507. v.Parent = HHP
  1508. end
  1509. script.VoidBoss.Head:Destroy()
  1510. HHP.Parent = script.VoidBoss
  1511.  
  1512.  
  1513. --[ ACTIVATE MODEL BY GETING RID OF THIS LINE
  1514. for i, v in pairs(GatherAllInstances(script.VoidBoss)) do
  1515. if v:isA("BasePart") then
  1516. RemoveOutlines(v)
  1517. if v:FindFirstChildOfClass("SpecialMesh") and v:FindFirstChildOfClass("SpecialMesh").MeshId~=nil then
  1518. --local mesh = v:FindChildOfClass("SpecialMesh")
  1519. --v.Size = v.Size/2
  1520.  
  1521.  
  1522. end
  1523. end
  1524. end
  1525.  
  1526. for _,v in pairs(script.VoidBoss:children()) do
  1527. if v:IsA("BasePart") then
  1528.  
  1529. if Character:FindFirstChild(""..v.Name) then
  1530. local Part1=Character:FindFirstChild(""..v.Name)
  1531. local Part2=v
  1532.  
  1533. WeldAllTo(Part1,Part2,CFrame.new(0,0,0))
  1534.  
  1535. end
  1536.  
  1537.  
  1538. end
  1539. end
  1540.  
  1541. --]]
  1542.  
  1543.  
  1544.  
  1545.  
  1546. for _,v in pairs(Character:children()) do
  1547. if v:IsA("Accessory") then
  1548. v:Destroy()
  1549. elseif v:IsA("BasePart") then
  1550. v.Transparency =1
  1551. end
  1552. end
  1553.  
  1554.  
  1555.  
  1556. DGT= function()
  1557. local Tlifetime = 0.17
  1558. local DaggerTrail=Instance.new("Trail",Sword)
  1559. local Attach1 = Instance.new("Attachment",Sword.HitBox)
  1560. local Attach2 = Instance.new("Attachment",Sword.HitBox)
  1561. Attach2.Position = Vector3.new(0,0,3)
  1562. Attach1.Position = Vector3.new(0,0,-3)
  1563. DaggerTrail.Attachment0 = Attach1
  1564. DaggerTrail.Attachment1 = Attach2
  1565. DaggerTrail.Texture = "rbxassetid://1251856844"
  1566. DaggerTrail.Lifetime = .1
  1567. DaggerTrail.MaxLength = 10
  1568. DaggerTrail.MinLength = 0
  1569. DaggerTrail.TextureMode= "Static"
  1570. DaggerTrail.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  1571. DaggerTrail.WidthScale=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1572. DaggerTrail.LightEmission=0
  1573. DaggerTrail.Color = ColorSequence.new(Color3.new(0,1,0),Color3.new(0,1,0))
  1574. DaggerTrail.LightEmission = 1
  1575. game:GetService("Debris"):AddItem(DaggerTrail, Tlifetime)
  1576. game:GetService("Debris"):AddItem(Attach1, Tlifetime)
  1577. game:GetService("Debris"):AddItem(Attach2, Tlifetime)
  1578. end
  1579.  
  1580. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1581. local Part = Create("Part"){
  1582.  
  1583. Parent = Parent,
  1584. Reflectance = Reflectance,
  1585. Transparency = Transparency,
  1586. CanCollide = false,
  1587. Locked = true,
  1588. BrickColor = BrickColor.new(tostring(BColor)),
  1589. Name = Name,
  1590. Size = Size,
  1591. Material = Material,
  1592. }
  1593. RemoveOutlines(Part)
  1594. return Part
  1595. end
  1596.  
  1597. function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1598. local NEWMESH = IT(MESH)
  1599. if MESH == "SpecialMesh" then
  1600. NEWMESH.MeshType = MESHTYPE
  1601. if MESHID ~= "nil" and MESHID ~= "" then
  1602. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1603. end
  1604. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1605. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1606. end
  1607. end
  1608. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1609. NEWMESH.Scale = SCALE
  1610. NEWMESH.Parent = PARENT
  1611. return NEWMESH
  1612. end
  1613.  
  1614. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1615. local NEWPART = IT("Part")
  1616. NEWPART.formFactor = FORMFACTOR
  1617. NEWPART.Reflectance = REFLECTANCE
  1618. NEWPART.Transparency = TRANSPARENCY
  1619. NEWPART.CanCollide = false
  1620. NEWPART.Locked = true
  1621. NEWPART.Anchored = true
  1622. if ANCHOR == false then
  1623. NEWPART.Anchored = false
  1624. end
  1625. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1626. NEWPART.Name = NAME
  1627. NEWPART.Size = SIZE
  1628. NEWPART.Position = Torso.Position
  1629. NEWPART.Material = MATERIAL
  1630. NEWPART:BreakJoints()
  1631. NEWPART.Parent = PARENT
  1632. return NEWPART
  1633. end
  1634.  
  1635. local S = IT("Sound")
  1636. function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1637. local NEWSOUND = nil
  1638. coroutine.resume(coroutine.create(function()
  1639. NEWSOUND = S:Clone()
  1640. NEWSOUND.Parent = PARENT
  1641. NEWSOUND.Volume = VOLUME
  1642. NEWSOUND.Pitch = PITCH
  1643. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1644. NEWSOUND:play()
  1645. if DOESLOOP == true then
  1646. NEWSOUND.Looped = true
  1647. else
  1648. repeat wait(1) until NEWSOUND.Playing == false
  1649. NEWSOUND:remove()
  1650. end
  1651. end))
  1652. return NEWSOUND
  1653. end
  1654.  
  1655.  
  1656. function WACKYEFFECT(Table)
  1657. local TYPE = (Table.EffectType or "Sphere")
  1658. local SIZE = (Table.Size or VT(1,1,1))
  1659. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1660. local TRANSPARENCY = (Table.Transparency or 0)
  1661. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1662. local CFRAME = (Table.CFrame or Torso.CFrame)
  1663. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1664. local ROTATION1 = (Table.RotationX or 0)
  1665. local ROTATION2 = (Table.RotationY or 0)
  1666. local ROTATION3 = (Table.RotationZ or 0)
  1667. local MATERIAL = (Table.Material or "Neon")
  1668. local COLOR = (Table.Color or C3(1,1,1))
  1669. local TIME = (Table.Time or 45)
  1670. local SOUNDID = (Table.SoundID or nil)
  1671. local SOUNDPITCH = (Table.SoundPitch or nil)
  1672. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1673. local TweenNameType = (Table.TweenNType or "Linear" )
  1674. local TweenInOutType = (Table.TweenOType or "InOut" )
  1675. coroutine.resume(coroutine.create(function()
  1676. local PLAYSSOUND = false
  1677. local SOUND = nil
  1678. local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1679. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1680. PLAYSSOUND = true
  1681. SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1682. end
  1683. EFFECT.Color = COLOR
  1684. local MSH = nil
  1685. if TYPE == "Sphere" then
  1686. MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1687. elseif TYPE == "Block" then
  1688. MSH = IT("BlockMesh",EFFECT)
  1689. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1690. elseif TYPE == "Wave" then
  1691. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1692. elseif TYPE == "Ring" then
  1693. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1694. elseif TYPE == "Slash" then
  1695. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1696. elseif TYPE == "Round Slash" then
  1697. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1698. elseif TYPE == "Swirl" then
  1699. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1700. elseif TYPE == "Skull" then
  1701. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1702. elseif TYPE == "Crystal" then
  1703. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1704. elseif TYPE == "Crown" then
  1705. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, VT(0,0,0))
  1706. end
  1707. if MSH ~= nil then
  1708. local MOVESPEED = nil
  1709. if MOVEDIRECTION ~= nil then
  1710. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1711. end
  1712. local GROWTH = SIZE - ENDSIZE
  1713. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1714. if TYPE == "Block" then
  1715.  
  1716. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60)
  1717. else
  1718.  
  1719. SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
  1720.  
  1721. end
  1722.  
  1723.  
  1724.  
  1725. wait()
  1726.  
  1727. SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60)
  1728.  
  1729. if TYPE == "Block" then
  1730.  
  1731. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  1732. else
  1733.  
  1734. SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  1735.  
  1736. end
  1737. if MOVEDIRECTION ~= nil then
  1738. local ORI = EFFECT.Orientation
  1739.  
  1740. SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
  1741. SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
  1742.  
  1743.  
  1744. end
  1745. MSH.Scale = MSH.Scale - GROWTH/TIME
  1746. SetTween(MSH,{Scale=ENDSIZE},TweenNameType,TweenInOutType,TIME/60)
  1747. if TYPE == "Wave" then
  1748.  
  1749. SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},TweenNameType,TweenInOutType,TIME/60)
  1750. end
  1751. for LOOP = 1, TIME+1 do
  1752. wait(.05)
  1753.  
  1754. --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0)
  1755.  
  1756.  
  1757. if TYPE == "Block" then
  1758.  
  1759. -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  1760. else
  1761.  
  1762. -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  1763.  
  1764. end
  1765. if MOVEDIRECTION ~= nil then
  1766. local ORI = EFFECT.Orientation
  1767.  
  1768. -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0)
  1769. -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
  1770.  
  1771.  
  1772. end
  1773. end
  1774. game:GetService("Debris"):AddItem(EFFECT, 15)
  1775. coroutine.resume(coroutine.create(function()
  1776. if PLAYSSOUND == false then
  1777. EFFECT:remove()
  1778. else
  1779. SOUND.Stopped:Connect(function()
  1780. EFFECT:remove()
  1781. end)
  1782. end
  1783. end))
  1784. else
  1785. coroutine.resume(coroutine.create(function()
  1786. if PLAYSSOUND == false then
  1787. EFFECT:remove()
  1788. else
  1789. repeat wait() until SOUND.Playing == false
  1790. EFFECT:remove()
  1791. end
  1792. end))
  1793. end
  1794. end))
  1795. end
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1803.  
  1804. if hit.Parent == nil then
  1805. return
  1806. end
  1807. local h = hit.Parent:FindFirstChild("Humanoid")
  1808. for _,v in pairs(hit.Parent:children()) do
  1809. if v:IsA("Humanoid") then
  1810.  
  1811. h = v
  1812.  
  1813. end
  1814.  
  1815. end
  1816.  
  1817. --gg
  1818.  
  1819. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1820. coroutine.resume(coroutine.create(function()
  1821. if h.Health >9999999 and minim <9999 and Type~= "IgnoreType" and(h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1822.  
  1823.  
  1824. local FATag = Instance.new("Model",h.Parent)
  1825.  
  1826. FATag.Name = "Fly away"
  1827. game:GetService("Debris"):AddItem(FATag, 2.5)
  1828.  
  1829.  
  1830. for _,v in pairs(h.Parent:children()) do
  1831. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1832. v.Anchored=true
  1833. end
  1834. end
  1835.  
  1836. wait(.25)
  1837.  
  1838. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1839. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1840. end
  1841.  
  1842.  
  1843. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1844.  
  1845. coroutine.resume(coroutine.create(function()
  1846.  
  1847.  
  1848. local YourGone = Instance.new("Part")
  1849. YourGone.Reflectance = 0
  1850. YourGone.Transparency = 1
  1851. YourGone.CanCollide = false
  1852. YourGone.Locked = true
  1853. YourGone.Anchored=true
  1854. YourGone.BrickColor = BrickColor.new("Really blue")
  1855. YourGone.Name = "YourGone"
  1856. YourGone.Size = Vector3.new()
  1857. YourGone.Material = "SmoothPlastic"
  1858. YourGone:BreakJoints()
  1859. YourGone.Parent = FoundTorso
  1860. YourGone.CFrame = FoundTorso.CFrame
  1861.  
  1862. local NewParticle = Instance.new("ParticleEmitter")
  1863. NewParticle.Parent = YourGone
  1864. NewParticle.Acceleration = Vector3.new(0,0,0)
  1865. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1866. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1867. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1868. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1869. NewParticle.Speed = NumberRange.new(0,0.0)
  1870. NewParticle.ZOffset = 2
  1871. NewParticle.Texture = "rbxassetid://243660364"
  1872. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1873. NewParticle.Rotation = NumberRange.new(-180,180)
  1874. NewParticle.Enabled = false
  1875. game:GetService("Debris"):AddItem(YourGone, 3)
  1876. for i = 0,2,1 do
  1877. NewParticle:Emit(1)
  1878. so("1448044156", FoundTorso,2, 1)
  1879. h.Parent:BreakJoints()
  1880. YourGone.CFrame = FoundTorso.CFrame
  1881. for _,v in pairs(h.Parent:children()) do
  1882. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1883. v.Anchored=false
  1884. -- v.Material = "Neon"
  1885. --v.BrickColor = BrickColor.new("Really red")
  1886. if v:FindFirstChildOfClass("SpecialMesh")then
  1887. --v:Destroy()
  1888. end
  1889. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1890. -- v:Destroy()
  1891. end
  1892. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1893.  
  1894. vp.Parent = v
  1895. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1896.  
  1897.  
  1898. end
  1899.  
  1900.  
  1901.  
  1902. end
  1903.  
  1904.  
  1905.  
  1906. wait(.2)
  1907. end
  1908. wait(.1)
  1909. NewParticle:Emit(3)
  1910. so("1448044156", FoundTorso,2, .8)
  1911. h.Parent:BreakJoints()
  1912. YourGone.CFrame = FoundTorso.CFrame
  1913. for _,v in pairs(h.Parent:children()) do
  1914. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1915. v.Anchored=false
  1916. -- v.Material = "Neon"
  1917. --v.BrickColor = BrickColor.new("Really red")
  1918. if v:FindFirstChildOfClass("SpecialMesh")then
  1919. --v:Destroy()
  1920. end
  1921. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1922. -- v:Destroy()
  1923. end
  1924. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1925.  
  1926. vp.Parent = v
  1927. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1928.  
  1929.  
  1930. end
  1931.  
  1932.  
  1933.  
  1934. end
  1935.  
  1936.  
  1937.  
  1938.  
  1939. end))
  1940.  
  1941.  
  1942.  
  1943.  
  1944. wait(.1)
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952. end
  1953.  
  1954.  
  1955. end))
  1956. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1957. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1958. return
  1959. end
  1960. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").basstracker1970, Parent = h})
  1961. game:GetService("Debris"):AddItem(c, 0.5)
  1962. if HitSound ~= nil and HitPitch ~= nil then
  1963. so(HitSound, hit, 1, HitPitch)
  1964. end
  1965. local Damage = math.random(minim, maxim)
  1966. local blocked = false
  1967. local block = hit.Parent:findFirstChild("Block")
  1968. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1969. blocked = true
  1970. block.Value = block.Value - 1
  1971. print(block.Value)
  1972. end
  1973. lockon(h.Parent)
  1974. if blocked == false then
  1975. h.Health = h.Health - Damage
  1976. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0))
  1977. else
  1978. h.Health = h.Health - Damage / 2
  1979. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0))
  1980.  
  1981. end
  1982.  
  1983. if Type == "Knockdown" then
  1984. local hum = h
  1985.  
  1986. hum.PlatformStand = true
  1987. coroutine.resume(coroutine.create(function(HHumanoid)
  1988.  
  1989. wait(.2)
  1990. HHumanoid.PlatformStand = false
  1991. end
  1992. ), hum)
  1993.  
  1994.  
  1995.  
  1996. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1997. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1998. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,FoundTorso.Position).lookVector * knockback, Parent = hit})
  1999. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  2000. game:GetService("Debris"):AddItem(bodvol, .2)
  2001. game:GetService("Debris"):AddItem(rl, 0.2)
  2002.  
  2003.  
  2004.  
  2005. elseif Type == "Knockdown2" then
  2006. local hum = h
  2007.  
  2008. hum.PlatformStand = true
  2009. coroutine.resume(coroutine.create(function(HHumanoid)
  2010.  
  2011.  
  2012. Combo = 1 wait(.2)
  2013. HHumanoid.PlatformStand = false
  2014. end
  2015. ), hum)
  2016. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2017. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  2018. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  2019. game:GetService("Debris"):AddItem(bodvol, 0.2)
  2020. game:GetService("Debris"):AddItem(rl, 0.2)
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  2028. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  2029.  
  2030. elseif Type == "Normal" then
  2031. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  2032. if knockback > 0 then
  2033.  
  2034. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2035. vp.Parent = HTorso
  2036. end
  2037. game:GetService("Debris"):AddItem(vp, 0.25)
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051. elseif Type== "Instakill" then
  2052. coroutine.resume(coroutine.create(function()
  2053. if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  2054.  
  2055.  
  2056. local FATag = Instance.new("Model",h.Parent)
  2057.  
  2058. FATag.Name = "Fly away"
  2059. game:GetService("Debris"):AddItem(FATag, 2.5)
  2060.  
  2061.  
  2062. for _,v in pairs(h.Parent:children()) do
  2063. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  2064. v.Anchored=true
  2065. end
  2066. end
  2067.  
  2068. wait(.25)
  2069.  
  2070. if h.Parent:FindFirstChildOfClass("Body Colors")then
  2071. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  2072. end
  2073.  
  2074.  
  2075. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  2076.  
  2077. coroutine.resume(coroutine.create(function()
  2078.  
  2079.  
  2080. local YourGone = Instance.new("Part")
  2081. YourGone.Reflectance = 0
  2082. YourGone.Transparency = 1
  2083. YourGone.CanCollide = false
  2084. YourGone.Locked = true
  2085. YourGone.Anchored=true
  2086. YourGone.BrickColor = BrickColor.new("Really blue")
  2087. YourGone.Name = "YourGone"
  2088. YourGone.Size = Vector3.new()
  2089. YourGone.Material = "SmoothPlastic"
  2090. YourGone:BreakJoints()
  2091. YourGone.Parent = FoundTorso
  2092. YourGone.CFrame = FoundTorso.CFrame
  2093.  
  2094. local NewParticle = Instance.new("ParticleEmitter")
  2095. NewParticle.Parent = YourGone
  2096. NewParticle.Acceleration = Vector3.new(0,0,0)
  2097. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  2098. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  2099. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  2100. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  2101. NewParticle.Speed = NumberRange.new(0,0.0)
  2102. NewParticle.ZOffset = 2
  2103. NewParticle.Texture = "rbxassetid://243660364"
  2104. NewParticle.RotSpeed = NumberRange.new(-0,0)
  2105. NewParticle.Rotation = NumberRange.new(-180,180)
  2106. NewParticle.Enabled = false
  2107. game:GetService("Debris"):AddItem(YourGone, 3)
  2108. for i = 0,2,1 do
  2109. NewParticle:Emit(1)
  2110. so("1448044156", FoundTorso,2, 1)
  2111. h.Parent:BreakJoints()
  2112. YourGone.CFrame = FoundTorso.CFrame
  2113. for _,v in pairs(h.Parent:children()) do
  2114. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  2115. v.Anchored=false
  2116. -- v.Material = "Neon"
  2117. --v.BrickColor = BrickColor.new("Really red")
  2118. if v:FindFirstChildOfClass("SpecialMesh")then
  2119. --v:Destroy()
  2120. end
  2121. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  2122. -- v:Destroy()
  2123. end
  2124. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  2125.  
  2126. vp.Parent = v
  2127. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  2128.  
  2129.  
  2130. end
  2131.  
  2132.  
  2133.  
  2134. end
  2135.  
  2136.  
  2137.  
  2138. wait(.2)
  2139. end
  2140. wait(.1)
  2141. NewParticle:Emit(3)
  2142. so("1448044156", FoundTorso,2, .8)
  2143. h.Parent:BreakJoints()
  2144. YourGone.CFrame = FoundTorso.CFrame
  2145. for _,v in pairs(h.Parent:children()) do
  2146. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  2147. v.Anchored=false
  2148. -- v.Material = "Neon"
  2149. --v.BrickColor = BrickColor.new("Really red")
  2150. if v:FindFirstChildOfClass("SpecialMesh")then
  2151. --v:Destroy()
  2152. end
  2153. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  2154. -- v:Destroy()
  2155. end
  2156. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  2157.  
  2158. vp.Parent = v
  2159. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  2160.  
  2161.  
  2162. end
  2163.  
  2164.  
  2165.  
  2166. end
  2167.  
  2168.  
  2169.  
  2170.  
  2171. end))
  2172.  
  2173.  
  2174.  
  2175.  
  2176. wait(.1)
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184. end
  2185.  
  2186.  
  2187. end))
  2188.  
  2189.  
  2190.  
  2191.  
  2192. elseif Type == "HPSteal" then
  2193. Humanoid.Health = Humanoid.Health + Damage
  2194. local hum = h
  2195.  
  2196. hum.PlatformStand = true
  2197. coroutine.resume(coroutine.create(function(HHumanoid)
  2198.  
  2199.  
  2200. Combo = 1 wait(.2)
  2201. HHumanoid.PlatformStand = false
  2202. end
  2203. ), hum)
  2204. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2205. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  2206. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  2207. game:GetService("Debris"):AddItem(bodvol, 0.2)
  2208. game:GetService("Debris"):AddItem(rl, 0.2)
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  2216. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  2217.  
  2218.  
  2219. elseif Type == "Impale" then
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  2229. hit.Parent.Humanoid.PlatformStand = true
  2230.  
  2231.  
  2232. wait(1)
  2233. hit.Parent.Humanoid.PlatformStand = false
  2234. elseif Type == "IgnoreType" then
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240. elseif Type == "Up" then
  2241. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  2242. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  2243. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  2244. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252. elseif Type == "Snare" then
  2253. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  2254. game:GetService("Debris"):AddItem(bp, 1)
  2255.  
  2256.  
  2257.  
  2258. elseif Type == "Freeze2" then
  2259. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  2260. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  2261. hit.Parent.Torso.Anchored = true
  2262. coroutine.resume(coroutine.create(function(Part)
  2263.  
  2264. wait(1.5)
  2265. Part.Anchored = false
  2266. end
  2267. ), hit.Parent.Torso)
  2268. game:GetService("Debris"):AddItem(BodPos, 3)
  2269. game:GetService("Debris"):AddItem(BodGy, 3)
  2270. end
  2271. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  2272. game:GetService("Debris"):AddItem(debounce, Delay)
  2273. c = Instance.new("ObjectValue")
  2274. c.Name = "creator"
  2275. c.Value = Player
  2276. c.Parent = h
  2277. game:GetService("Debris"):AddItem(c, 0.5)
  2278. end
  2279. end
  2280.  
  2281.  
  2282.  
  2283. ShowDamage = function(Pos, Text, Time, Color)
  2284.  
  2285. local Rate = 0.033333333333333
  2286. if not Pos then
  2287. local Pos = Vector3.new(0, 0, 0)
  2288. end
  2289. local Text = Text or ""
  2290. local Time = Time or 2
  2291. if not Color then
  2292. local Color = Color3.new(1, 0, 1)
  2293. end
  2294. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2295. EffectPart.Anchored = true
  2296. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(2, 0, 2, 0), Adornee = EffectPart, Parent = EffectPart})
  2297. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = "DMG: "..Text.."", TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  2298. game.Debris:AddItem(EffectPart, Time + 0.1)
  2299. EffectPart.Parent = game:GetService("Workspace")
  2300. delay(0, function()
  2301.  
  2302. local Frames = Time / Rate
  2303.  
  2304.  
  2305.  
  2306. print(Frames)
  2307. TextLabel.TextTransparency=0
  2308. EffectPart.CFrame=CFrame.new(Pos)
  2309. wait()
  2310. SetTween(TextLabel,{TextTransparency=1},"Quad","In",Frames/60)
  2311. SetTween(TextLabel,{Rotation=math.random(-25,25)},"Elastic","InOut",Frames/60)
  2312. SetTween(TextLabel,{TextColor3=Color3.new(.15,0,.5)},"Elastic","InOut",Frames/60)
  2313.  
  2314. SetTween(EffectPart,{CFrame = CFrame.new(Pos) + Vector3.new(math.random(-5,5), math.random(1,5), math.random(-5,5))},"Linear","InOut",Frames/60)
  2315.  
  2316.  
  2317. wait(Frames/60)
  2318.  
  2319. if EffectPart and EffectPart.Parent then
  2320. EffectPart:Destroy()
  2321. end
  2322. end
  2323. )
  2324. end
  2325.  
  2326. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2)
  2327.  
  2328.  
  2329.  
  2330.  
  2331. local Type=""
  2332.  
  2333.  
  2334.  
  2335.  
  2336. if mememode == true then
  2337.  
  2338. Type= "Instakill"
  2339.  
  2340. else
  2341. Type=Type2
  2342. end
  2343. if Type2 == "NormalKnockdown" then
  2344. Type= "Knockdown"
  2345. end
  2346.  
  2347. for _,c in pairs(workspace:children()) do
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353. local hum = c:FindFirstChild("Humanoid")
  2354. for _,v in pairs(c:children()) do
  2355. if v:IsA("Humanoid") then
  2356. hum = v
  2357. end
  2358. end
  2359.  
  2360.  
  2361.  
  2362.  
  2363. if hum ~= nil then
  2364. local head = c:findFirstChild("Head")
  2365. if head ~= nil then
  2366. local targ = head.Position - Part.Position
  2367. local mag = targ.magnitude
  2368. if mag <= magni and c.Name ~= Player.Name then
  2369. Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  2370. end
  2371. end
  2372. end
  2373. end
  2374. end
  2375.  
  2376.  
  2377. function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type)
  2378. local DGP = Instance.new("Part")
  2379.  
  2380. DGP.Parent = Character
  2381. DGP.Size = Vector3.new(0.05, 0.05, 0.05)
  2382. DGP.Transparency = 1
  2383. DGP.CanCollide = false
  2384. DGP.Anchored = true
  2385. RemoveOutlines(DGP)
  2386. DGP.Position=DGP.Position + Vector3.new(0,-.1,0)
  2387. DGP.CFrame = HTCF
  2388.  
  2389. coroutine.resume(coroutine.create(function()
  2390. MagniDamage(DGP, magni, mindam, maxdam, knock, Type)
  2391. end))
  2392. game:GetService("Debris"):AddItem(DGP, .05)
  2393.  
  2394.  
  2395. DGP.Archivable = false
  2396. end
  2397.  
  2398.  
  2399.  
  2400.  
  2401. ------------------
  2402. --[End of Sword]--
  2403. ------------------
  2404.  
  2405. ---------------
  2406. --[Particles]--
  2407. ---------------
  2408.  
  2409.  
  2410. local Particle2_1 = Create("ParticleEmitter"){
  2411. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (170/255, 255/255, 255/255)),
  2412. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.75,.4),NumberSequenceKeypoint.new(1,1)}),
  2413. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,.0)}),
  2414. Texture = "rbxassetid://241922778",
  2415. Lifetime = NumberRange.new(0.55,0.95),
  2416. Rate = 100,
  2417. VelocitySpread = 180,
  2418. Rotation = NumberRange.new(0),
  2419. RotSpeed = NumberRange.new(-200,200),
  2420. Speed = NumberRange.new(8.0),
  2421. LightEmission = 1,
  2422. LockedToPart = false,
  2423. Acceleration = Vector3.new(0, 0, 0),
  2424. EmissionDirection = "Top",
  2425. Drag = 4,
  2426. Enabled = false
  2427. }
  2428.  
  2429.  
  2430. local BEGONE_Particle = Create("ParticleEmitter"){
  2431. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  2432. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(0.5,.2),NumberSequenceKeypoint.new(1,1)}),
  2433. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.15,1.5),NumberSequenceKeypoint.new(.75,1.5),NumberSequenceKeypoint.new(1,0)}),
  2434. Texture = "rbxassetid://936193661",
  2435. Lifetime = NumberRange.new(1.5),
  2436. Rate = 100,
  2437. VelocitySpread = 0,
  2438. Rotation = NumberRange.new(0),
  2439. RotSpeed = NumberRange.new(-10,10),
  2440. Speed = NumberRange.new(0),
  2441. LightEmission = .25,
  2442. LockedToPart = true,
  2443. Acceleration = Vector3.new(0, -0, 0),
  2444. EmissionDirection = "Top",
  2445. Drag = 4,
  2446. ZOffset = 1,
  2447. Enabled = false
  2448. }
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459. local VoidEmitter = Create("ParticleEmitter"){
  2460. Speed = NumberRange.new(1, 1),
  2461. Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))}),
  2462. LightInfluence = 1,
  2463. Texture = "rbxassetid://258128463",
  2464. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.5),NumberSequenceKeypoint.new(1,1)}),
  2465. ZOffset = 2,
  2466. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.7500001192093),NumberSequenceKeypoint.new(0.7500001192093,0.74999988079071),NumberSequenceKeypoint.new(1,0.68749964237213)}),
  2467. Acceleration = Vector3.new(0, 0.25, 0),
  2468. Drag = 2,
  2469. Lifetime = NumberRange.new(1, 2),
  2470. LockedToPart = false,
  2471. Rate = 50.01999664307,
  2472. RotSpeed = NumberRange.new(-100, 100),
  2473. SpreadAngle = Vector2.new(360, 360),
  2474. VelocitySpread = 360,
  2475. Enabled = false
  2476. }
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483. ----------------------
  2484. --[End Of Particles]--
  2485. ----------------------
  2486.  
  2487.  
  2488.  
  2489.  
  2490. -----------------
  2491.  
  2492. function lockon_OnOff ()
  2493. coroutine.resume(coroutine.create(function()
  2494.  
  2495. local NewParticleH = Instance.new("Attachment",eye)
  2496. NewParticleH.Position = Vector3.new(0,0,.25)
  2497. coroutine.resume(coroutine.create(function()
  2498. local CrystalMainColor = Color3.new(0,1,0)
  2499.  
  2500.  
  2501. local NewParticle = Particle2_1:Clone()
  2502. NewParticle.Parent = NewParticleH
  2503. NewParticle.Enabled = true
  2504. NewParticle.Texture = "rbxassetid://68942583"
  2505. NewParticle.Acceleration = Vector3.new(0,0,0)
  2506. NewParticle.Speed = NumberRange.new(0)
  2507. NewParticle.LockedToPart = true
  2508. NewParticle.ZOffset = .25
  2509. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5),NumberSequenceKeypoint.new(1,0)})
  2510. NewParticle.Rate = 50
  2511. NewParticle.Color = ColorSequence.new(CrystalMainColor, CrystalMainColor)
  2512. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,.9)})
  2513. NewParticle.Name = "XEF"
  2514.  
  2515.  
  2516. end))
  2517.  
  2518.  
  2519. while ZT == true do
  2520.  
  2521.  
  2522.  
  2523. SetTween(imgl,{Rotation=imgl.Rotation+25.5},"Elastic","Out",3)
  2524. if ZTfade==true then
  2525. SetTween(imgl,{ImageTransparency=.7},"Elastic","Out",3)
  2526. SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","Out",1.5)
  2527. end
  2528.  
  2529.  
  2530. wait(1.5)
  2531. if ZTfade==true then
  2532. SetTween(imgl,{ImageTransparency=0},"Linear","InOut",0)
  2533. SetTween(crosshair,{Size = UDim2.new(11,0,11,0)},"Elastic","InOut",0)
  2534. end
  2535. wait()
  2536. end
  2537.  
  2538. crosshair.Adornee = nil
  2539. crosshair.Enabled = false
  2540. NewParticleH:Destroy()
  2541.  
  2542. end))
  2543. end
  2544.  
  2545. function lockon (targetted)
  2546. if ZT == true then
  2547.  
  2548. coroutine.resume(coroutine.create(function()
  2549. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2550. crosshair.Enabled = true
  2551.  
  2552. ZTfade = false
  2553. SetTween(imgl,{ImageTransparency=1},"Linear","InOut",0)
  2554.  
  2555. SetTween(crosshair,{Size = UDim2.new(40,0,40,0)},"Linear","InOut",0)
  2556.  
  2557. wait()
  2558.  
  2559. SetTween(imgl,{ImageTransparency=.7},"Bounce","Out",2)
  2560.  
  2561. SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","InOut",1)
  2562. wait(1)
  2563. ZTfade = true
  2564. end))
  2565. end
  2566. end
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573. -----------------
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579. --[[
  2580. for i, v in pairs(C:GetChildren()) do
  2581. if v:IsA("Accessory")then
  2582. v:Destroy()
  2583. end
  2584. if v:IsA("BasePart")then
  2585. v.Transparency =1
  2586. if v.Name == "Head" then
  2587. v:FindFirstChildOfClass("Decal"):Destroy()
  2588. end
  2589. end
  2590. end--]]
  2591. --[[
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605. local tweeningInformation = TweenInfo.new(
  2606. 0.5,
  2607. Enum.EasingStyle.Back,
  2608. Enum.EasingDirection.Out,
  2609. 0,
  2610. false,
  2611. 0
  2612. )
  2613. --]]
  2614.  
  2615.  
  2616. local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0)
  2617. RJW.C1 = RJ.C1
  2618. RJW.Name = RJ.Name
  2619.  
  2620. local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0)
  2621. NeckW.C1 = Neck.C1
  2622. NeckW.Name = Neck.Name
  2623.  
  2624.  
  2625. --print(WRJ.Parent.Name)
  2626.  
  2627. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  2628.  
  2629. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  2630.  
  2631. local RH=weld(Torso,RightArm,RightLeg,cf(0,0,0))
  2632.  
  2633. local LH=weld(Torso,LeftArm,LeftLeg,cf(0,0,0))
  2634.  
  2635.  
  2636.  
  2637. RW.C1 = cn(0, 0.5, 0)
  2638. LW.C1 = cn(0, 0.5, 0)
  2639. RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2640. LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647. --------
  2648. --(#Torso)
  2649. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2650. --------
  2651. --(#Head)
  2652. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2653. --------
  2654. --(#Right Arm)
  2655. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  2656. --------
  2657. --(#Left Arm)
  2658. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  2659. --------
  2660. --(#Right Leg)
  2661. SetTween(RH,{C0=CFrame.new(0, -0.90, 0)},"Quad","InOut",0.1)
  2662. --------
  2663. --(#Left Leg)
  2664. SetTween(LH,{C0=CFrame.new(0, -0.90, 0)},"Quad","InOut",0.1)
  2665.  
  2666.  
  2667.  
  2668. --[[
  2669. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2670. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2671. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(30))},"Quad","Out",0.1)
  2672. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",0.1)
  2673. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2674. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2675. --]]
  2676.  
  2677. function Attack1()
  2678. attack = true
  2679. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",1)
  2680. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",1)
  2681. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(30))},"Quad","InOut",1)
  2682. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-30))},"Quad","InOut",1)
  2683. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",1)
  2684. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",1)
  2685.  
  2686.  
  2687. wait(1)
  2688.  
  2689. WACKYEFFECT({Time = 10, EffectType = "Slash", Size = (VT(60,0,60)), Size2 = (VT(0,0,0)), Transparency = 1, Transparency2 = .5, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 454850461, SoundPitch = 1, SoundVolume = 8})
  2690.  
  2691. for i = 10, 60,10 do
  2692. WACKYEFFECT({Time = 10+i, EffectType = "Slash", Size = (VT(60,0,60)), Size2 = (VT(0,0,0)), Transparency = 1, Transparency2 = .5, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2693. end
  2694. for i = 0,10 do wait() wait() wait()
  2695. local AREA = RootPart.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(2,20))
  2696. local TIMER = MRANDOM(30,50)/4
  2697. WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(5,0,5)/1.1, Size2 = VT(0,15,0)/1.1, Transparency = .9, Transparency2 = 0, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  2698. WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,15,0), Transparency = 0.9, Transparency2 = 0.5, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  2699.  
  2700. end
  2701. if mememode == false then
  2702. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,3)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2703. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2704. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(30))},"Quad","InOut",.4)
  2705. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(-30))},"Quad","InOut",.4)
  2706. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2707. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(-0))},"Quad","InOut",.4)
  2708.  
  2709. for i = 10, 30,10 do
  2710. WACKYEFFECT({Time = 20+i, EffectType = "Wave", Size = VT(5,0,5), Size2 = (VT(31,0,31)*7)/4.1, Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,5,0) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2711. end
  2712. WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(600,600,600), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = 376976397, SoundPitch = .5, SoundVolume = 7})
  2713. WACKYEFFECT({Time = 100, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(600,600,600), Transparency = 0, Transparency2 = 1, CFrame=RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 528589382, SoundPitch = 1.5, SoundVolume = 10})
  2714. WACKYEFFECT({Time = 120, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(600,600,600)), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"})
  2715.  
  2716. CFMagniDamage(Head.CFrame,600,80,90,100,"Knockdown")
  2717.  
  2718.  
  2719.  
  2720. else
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,3)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2728. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2729. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(30))},"Quad","InOut",.4)
  2730. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(-30))},"Quad","InOut",.4)
  2731. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2732. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(-0))},"Quad","InOut",.4)
  2733.  
  2734.  
  2735. WACKYEFFECT({Time = 120*2, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1600,1600,1600), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = 376976397, SoundPitch = .5, SoundVolume = 5})
  2736. WACKYEFFECT({Time = 100*2, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1600,1600,1600), Transparency = 0, Transparency2 = 1, CFrame=RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 132164034, SoundPitch = 1.2, SoundVolume = 10})
  2737. for i = 10, 60,10 do
  2738. WACKYEFFECT({Time = 20+i*2, EffectType = "Wave", Size = VT(5,0,5), Size2 = (VT(31,0,31)*7)/4.1, Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,5,0) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2739. WACKYEFFECT({Time = 12*i, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(1600,1600,1600)), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame , MoveToPos = nil, RotationX = 0, RotationY = math.random(-180,180), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"})
  2740.  
  2741. CFMagniDamage(Head.CFrame,1600,80,90,100,"Knockdown")
  2742. wait(.05)
  2743. end
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754. end
  2755.  
  2756. wait(1)
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762. attack=false
  2763. end
  2764.  
  2765.  
  2766. function Attack2()
  2767. attack = true
  2768.  
  2769. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2770. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2771. SetTween(RW,{C0=CFrame.new(3.5 , 2.5, -0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Back","Out",.4)
  2772. SetTween(LW,{C0=CFrame.new(-3.5, 2.5, -0)*angles(math.rad(-0),math.rad(0),math.rad(-30))},"Quad","InOut",.4)
  2773. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2774. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(-0))},"Quad","InOut",.4)
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780. wait(.3)
  2781.  
  2782.  
  2783. SetTween(RJW,{C0=RootCF*CFrame.new(0,-5,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  2784. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(40),math.rad(0))},"Quad","InOut",.2)
  2785. SetTween(RW,{C0=CFrame.new(3.5 , -4.5, -10)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  2786. SetTween(LW,{C0=CFrame.new(-3.5, 2.5, 2)*angles(math.rad(-30),math.rad(0),math.rad(-30))},"Quad","InOut",.2)
  2787. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(-90),math.rad(-40),math.rad(20))},"Quad","InOut",.2)
  2788. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(-0))},"Quad","InOut",.2)
  2789.  
  2790.  
  2791.  
  2792.  
  2793. -- LAP.Parent = Character
  2794. wait(.1)
  2795. local portal =Instance.new("Part")
  2796. portal.Reflectance = 0
  2797. portal.Transparency = 1
  2798. portal.CanCollide = false
  2799. portal.Locked = true
  2800. portal.Anchored=true
  2801. portal.BrickColor = BrickColor.new("Really blue")
  2802. portal.Name = "portal"
  2803. portal.Size = Vector3.new()
  2804. portal.Material = "SmoothPlastic"
  2805. portal:BreakJoints()
  2806. portal.CFrame = RootPart.CFrame*cn(4,0,-17)
  2807. local Portalfloor,PortalPos = rayCast(portal.Position, CFrame.new(portal.Position, portal.Position - Vector3.new(0, 1, 0)).lookVector, 80, Character)
  2808. portal.CFrame = cn(PortalPos)
  2809.  
  2810. local max = 50
  2811. local min = 6.5
  2812. local light = min
  2813. if mememode == true then
  2814. min = 0
  2815. max = 100
  2816. light = 3
  2817. end
  2818.  
  2819. coroutine.resume(coroutine.create(function()
  2820. WACKYEFFECT({Time = 120, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(max+15,1,max+15)), Transparency = 0.9, Transparency2 = 1, CFrame = portal.CFrame , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"})
  2821. WACKYEFFECT({Time = 240, EffectType = "Sphere", Size = VT(0,.1,0), Size2 = VT(light-.5,0.1,light-.5)*1.5, Transparency = 0, Transparency2 = 1, CFrame=portal.CFrame*cn(0,-0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 376976397, SoundPitch = 1, SoundVolume = 3,TweenNType="Back",TweenOType="Out"})
  2822. wait(120/60)
  2823.  
  2824. coroutine.resume(coroutine.create(function()
  2825. wait(.1)
  2826. for _,c in pairs(workspace:children()) do
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835. local h = c:FindFirstChild("Humanoid")
  2836. for _,v in pairs(c:children()) do
  2837. if v:IsA("Humanoid") then
  2838. if v.Health > 0.0001 then
  2839. h = v else h = nil end
  2840. end
  2841. end
  2842.  
  2843. local head = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  2844.  
  2845. if h ~= nil and head ~= nil then
  2846. local targ = head.Position - portal.Position
  2847. local mag = targ.magnitude
  2848.  
  2849.  
  2850. if mag < max and mag > min and c ~= Character then
  2851.  
  2852. print("Kill")
  2853. coroutine.resume(coroutine.create(function()
  2854. local Shade =Instance.new("Model",Effects)
  2855. local hed =Instance.new("Part")
  2856. hed.Reflectance = 0
  2857. hed.Transparency = 1
  2858. hed.CanCollide = false
  2859. hed.Locked = true
  2860. hed.Anchored=false
  2861. hed.Color = Color3.new(0,0,0)
  2862. head.Material = "SmoothPlastic"
  2863. local sTor=hed:Clone()
  2864. sTor.Name = "Torso2"
  2865. sTor.Size = Vector3.new(2,2,1)
  2866. sTor.Material = "SmoothPlastic"
  2867. sTor:BreakJoints()
  2868. sTor.CFrame = portal.CFrame*cn(0,-10,0)
  2869. local sraor=hed:Clone()
  2870. sraor.Name = "RightArm"
  2871. sraor.Size = Vector3.new(1,2,1)
  2872. sraor.Material = "SmoothPlastic"
  2873. sraor:BreakJoints()
  2874. sraor.CFrame = portal.CFrame*cn(0,-10,0)
  2875. local slaor=sraor:Clone()
  2876. slaor.Name = "LeftArm"
  2877. local srlor=sraor:Clone()
  2878. srlor.Name = "RightLeg"
  2879. local sllor=sraor:Clone()
  2880. sllor.Name = "LeftLeg"
  2881. hed.Name = "Head2"
  2882. hed.Size = Vector3.new(1,1,1)
  2883. hed.Material = "SmoothPlastic"
  2884. hed:BreakJoints()
  2885. hed.CFrame = portal.CFrame*cn(0,-10,0)
  2886.  
  2887. local Mesh =Instance.new("SpecialMesh",hed)
  2888.  
  2889. Mesh.Scale=Vector3.new(1.25,1.25,1.25)
  2890. coroutine.resume(coroutine.create(function()
  2891. local Eye = Instance.new("Part")
  2892. Eye.Reflectance = 0
  2893. Eye.Transparency = 0
  2894. Eye.CanCollide = false
  2895. Eye.Locked = true
  2896. Eye.Anchored=false
  2897. Eye.BrickColor = BrickColor.new("White")
  2898. Eye.Name = "BEGONE"
  2899. Eye.Size = Vector3.new(0.05,0.3,0.05)
  2900. Eye.Material = "Neon"
  2901. Eye:BreakJoints()
  2902. Eye.Parent = Shade
  2903. local EMesh =Instance.new("SpecialMesh",Eye)
  2904.  
  2905. EMesh.MeshType = "Sphere"
  2906.  
  2907.  
  2908.  
  2909.  
  2910. local Eye=weld(Eye,hed,Eye,cf(.18,.18,-.55))
  2911.  
  2912. end))
  2913. coroutine.resume(coroutine.create(function()
  2914. local Eye = Instance.new("Part")
  2915. Eye.Reflectance = 0
  2916. Eye.Transparency = 0
  2917. Eye.CanCollide = false
  2918. Eye.Locked = true
  2919. Eye.Anchored=false
  2920. Eye.BrickColor = BrickColor.new("White")
  2921. Eye.Name = "BEGONE"
  2922. Eye.Size = Vector3.new(.05,.3,.05)
  2923. Eye.Material = "Neon"
  2924. Eye:BreakJoints()
  2925. Eye.Parent = Shade
  2926.  
  2927.  
  2928. local EMesh =Instance.new("SpecialMesh",Eye)
  2929.  
  2930. EMesh.MeshType = "Sphere"
  2931.  
  2932.  
  2933. local Eye=weld(Eye,hed,Eye,cf(-.18,.18,-.55))
  2934.  
  2935. end))
  2936.  
  2937. sTor.Anchored = true
  2938. hed.Parent = Shade
  2939. sTor.Parent = Shade
  2940. sraor.Parent = Shade
  2941. slaor.Parent = Shade
  2942. srlor.Parent = Shade
  2943. sllor.Parent = Shade
  2944.  
  2945.  
  2946. SetTween(sTor,{Transparency=0},"Quad","InOut",1)
  2947. SetTween(hed,{Transparency=0},"Quad","InOut",1)
  2948. SetTween(sraor,{Transparency=0},"Quad","InOut",1)
  2949. SetTween(slaor,{Transparency=0},"Quad","InOut",1)
  2950. SetTween(srlor,{Transparency=0},"Quad","InOut",1)
  2951. SetTween(sllor,{Transparency=0},"Quad","InOut",1)
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957. local NeckW2=MakeJoint(sTor,sTor,hed,CFrame.new(0,0,0))
  2958. NeckW2.C1 = NeckW.C1
  2959.  
  2960. --print(WRJ.Parent.Name)
  2961.  
  2962. local RW2=MakeJoint(sTor,sTor,sraor,cf(0,0,0))
  2963.  
  2964. local LW2=MakeJoint(sTor,sTor,slaor,cf(0,0,0))
  2965.  
  2966. local RH2=MakeJoint(sTor,sTor,srlor,cf(0,0,0))
  2967.  
  2968. local LH2=MakeJoint(sTor,sTor,sllor,cf(0,0,0))
  2969.  
  2970.  
  2971.  
  2972. RW2.C1 = cn(0, 0.5, 0)
  2973. LW2.C1 = cn(0, 0.5, 0)
  2974. RH2.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2975. LH2.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2976.  
  2977.  
  2978.  
  2979.  
  2980. head.Anchored = true
  2981.  
  2982. --------
  2983. --(#Torso)
  2984. SetTween(sTor,{CFrame=cn(head.Position.x,portal.Position.y-5,head.Position.z)},"Quad","InOut", .1)
  2985. --------
  2986. --(#Head)
  2987. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2988. --------
  2989. --(#Right Arm)
  2990. SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  2991. --------
  2992. --(#Left Arm)
  2993. SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  2994. --------
  2995. --(#Right Leg)
  2996. SetTween(RH2,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1)
  2997. --------
  2998. --(#Left Leg)
  2999. SetTween(LH2,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1)
  3000.  
  3001.  
  3002. wait(.1)
  3003.  
  3004.  
  3005. --------
  3006. --(#Torso)
  3007. SetTween(sTor,{CFrame=head.CFrame*CFrame.new(0,0,2)},"Quad","InOut",1/2)
  3008. --------
  3009. --(#Head)
  3010. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",1/2)
  3011. --------
  3012. --(#Right Arm)
  3013. SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",1/2)
  3014. --------
  3015. --(#Left Arm)
  3016. SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",1/2)
  3017.  
  3018. wait(1/2)
  3019. --------
  3020. --(#Torso)
  3021. SetTween(sTor,{CFrame=head.CFrame*CFrame.new(0,0,1)},"Quad","InOut",1/3)
  3022. --------
  3023. --(#Head)
  3024. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0))},"Quad","InOut",1/3)
  3025. --------
  3026. --(#Right Arm)
  3027. SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",1/3)
  3028. --------
  3029. --(#Left Arm)
  3030. SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",1/3)
  3031.  
  3032. wait(1/3)
  3033. --------
  3034. local Grab=MakeJoint(sTor,sTor,head,cf(0,0,-1))
  3035. head.Anchored = false
  3036. --(#Torso)
  3037.  
  3038. --------
  3039. --(#Head)
  3040. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0))},"Quad","InOut",1/3)
  3041. --------
  3042. --(#Right Arm)
  3043. SetTween(RW2,{C0=CFrame.new(1.3 , 0.5, -.3)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Quad","InOut",1/3)
  3044. --------
  3045. --(#Left Arm)
  3046. SetTween(LW2,{C0=CFrame.new(-1.3, 0.5, -.3)*angles(math.rad(90),math.rad(0),math.rad(50))},"Quad","InOut",1/3)
  3047.  
  3048. wait(1/3)
  3049. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(1,16,1), Size2 = (VT(10,0,10)), Transparency = 0.2, Transparency2 = 1, CFrame = cn(head.Position.x,portal.Position.y,head.Position.z) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3050.  
  3051. SetTween(sTor,{CFrame=cn(head.Position.x,portal.Position.y-5,head.Position.z)},"Quad","InOut", .2)
  3052.  
  3053. wait(.2)
  3054.  
  3055. Shade:Destroy()
  3056. coroutine.resume(coroutine.create(function()
  3057. c:BreakJoints()
  3058. end))
  3059. c.Parent = nil
  3060. h:Destroy()
  3061. c:Destroy()
  3062.  
  3063.  
  3064. end))
  3065.  
  3066. end
  3067. end
  3068. end
  3069. end))
  3070. --CFMagniDamage(portal.CFrame,60,10,20,0,"Normal")
  3071.  
  3072. WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(max+15,1,max+15)*1.5, Size2 = VT(0,.05,0), Transparency = 1, Transparency2 = 0, CFrame=portal.CFrame*cn(0,-0.025,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 424195979, SoundPitch = .5, SoundVolume = 4,TweenNType="Quad",TweenOType="InOut"})
  3073. portal:Destroy()
  3074. end))
  3075.  
  3076.  
  3077.  
  3078.  
  3079. wait(.3)
  3080.  
  3081.  
  3082.  
  3083. attack=false
  3084. end
  3085.  
  3086.  
  3087.  
  3088.  
  3089. --[[
  3090. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3091. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3092. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(30))},"Quad","Out",0.1)
  3093. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",0.1)
  3094. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3095. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3096. --]]
  3097.  
  3098.  
  3099.  
  3100. function AT1()
  3101. attack = true
  3102.  
  3103.  
  3104. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-50),math.rad(40),math.rad(80))},"Quad","InOut",.3)
  3105. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(50),math.rad(-40),math.rad(-40))},"Quad","InOut",.3)
  3106. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(40),math.rad(-30),math.rad(-25))},"Quad","Out",.3)
  3107. SetTween(LW,{C0=CFrame.new(-3.5, 5.5, -.0)*angles(math.rad(-78),math.rad(0),math.rad(-120))},"Quad","Out",.3)
  3108. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(45),math.rad(0))},"Quad","InOut",.3)
  3109. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3110. wait(.3)
  3111. so("160773067", RootPart, 1.5, math.random(120,150)/100)
  3112. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Quad","InOut",.15)
  3113. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",.15)
  3114. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(-0),math.rad(-50),math.rad(90))},"Quad","Out",.15)
  3115. SetTween(LW,{C0=CFrame.new(-3.5, 2.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",.15)
  3116. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  3117. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  3118. wait(.15/2)
  3119.  
  3120. CFMagniDamage(RootPart.CFrame*cn(4,0,-4),12.5,10,20,20,"HPSteal")
  3121.  
  3122. wait(.15/2)
  3123.  
  3124.  
  3125.  
  3126.  
  3127. attack = false
  3128. end
  3129.  
  3130.  
  3131. function AT2()
  3132. attack = true
  3133.  
  3134. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-50),math.rad(-40),math.rad(-80))},"Quad","InOut",.3)
  3135. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(50),math.rad(40),math.rad(40))},"Quad","InOut",.3)
  3136. SetTween(RW,{C0=CFrame.new(3.5 , 5.5, -.0)*angles(math.rad(-78),math.rad(0),math.rad(120))},"Quad","Out",.3)
  3137. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(40),math.rad(30),math.rad(25))},"Quad","Out",.3)
  3138. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3139. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(-45),math.rad(0))},"Quad","InOut",.3)
  3140. wait(.3)
  3141. so("160773067", RootPart, 1.5, math.random(120,150)/100)
  3142. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",.15)
  3143. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Quad","InOut",.15)
  3144. SetTween(RW,{C0=CFrame.new(3.5 , 2.5, -.0)*angles(math.rad(-0),math.rad(0),math.rad(30))},"Quad","Out",.15)
  3145. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(50),math.rad(-90))},"Quad","Out",.15)
  3146. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  3147. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  3148. wait(.15/2)
  3149.  
  3150. CFMagniDamage(RootPart.CFrame*cn(-4,0,-4),12.5,10,20,50,"HPSteal")
  3151.  
  3152. wait(.15/2)
  3153.  
  3154.  
  3155.  
  3156.  
  3157. attack = false
  3158. end
  3159.  
  3160. function findNearestTorso(pos)
  3161. local list = game.Workspace:children()
  3162. local torso = nil
  3163. local dist = 1000
  3164. local temp = nil
  3165. local human = nil
  3166. local temp2 = nil
  3167. for x = 1, #list do
  3168. temp2 = list[x]
  3169. if (temp2.className == "Model") and (temp2 ~= Character) then
  3170. temp = (temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso"))
  3171. human = temp2:FindFirstChildOfClass("Humanoid")
  3172. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3173. if (temp.Position - pos).magnitude < dist then
  3174. torso = temp
  3175. dist = (temp.Position - pos).magnitude
  3176. end
  3177. end
  3178. end
  3179. end
  3180. return torso
  3181. end
  3182.  
  3183. function Attack3()
  3184. attack = true
  3185.  
  3186. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3187. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3188. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","Out",.4)
  3189. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-0))},"Quad","Out",.4)
  3190. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3191. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3192. wait(.05)
  3193.  
  3194. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3195. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3196. SetTween(RW,{C0=CFrame.new(3.5 , 3.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(80))},"Quad","Out",.3)
  3197. SetTween(LW,{C0=CFrame.new(-3.5, 3.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-80))},"Quad","Out",.3)
  3198. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))},"Quad","InOut",.3)
  3199. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(90),math.rad(-0))},"Quad","InOut",.3)
  3200. wait(.3)
  3201. so("260435136", RootPart, 2, .8)
  3202. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3203. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,-5,2)*angles(math.rad(30),math.rad(-40),math.rad(0))},"Quad","InOut",.3)
  3204. SetTween(RW,{C0=CFrame.new(6.0 , -2, -8)*angles(math.rad(85),math.rad(0),math.rad(-80))},"Quad","Out",.3)
  3205. SetTween(LW,{C0=CFrame.new(-6.0, -2, -8)*angles(math.rad(90),math.rad(0),math.rad(80))},"Quad","Out",.3)
  3206. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))},"Quad","InOut",.3)
  3207. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(90),math.rad(-0))},"Quad","InOut",.3)
  3208. wait(.3)
  3209.  
  3210.  
  3211. local TheGunHandle = Instance.new("Part")
  3212. TheGunHandle.Reflectance = 0
  3213. TheGunHandle.Transparency = 1
  3214. TheGunHandle.CanCollide = false
  3215. TheGunHandle.Locked = true
  3216. TheGunHandle.Anchored=false
  3217. TheGunHandle.BrickColor = BrickColor.new("Really blue")
  3218. TheGunHandle.Name = "BHandle"
  3219. TheGunHandle.Size = Vector3.new(2.5,1,2.5)
  3220. TheGunHandle.Material = "SmoothPlastic"
  3221. TheGunHandle:BreakJoints()
  3222. TheGunHandle.Parent = workspace
  3223. TheGunHandle.CFrame = RootPart.CFrame
  3224.  
  3225.  
  3226. local SWeld=weld(TheGunHandle,RootPart,TheGunHandle,cf(0,0,-9)*angles(math.rad(0),math.rad(0),math.rad(0)))
  3227. local IsHit = false
  3228. local function onTouch(HitPa)
  3229. if IsHit == false then
  3230. local c = HitPa.Parent
  3231. local h = HitPa.Parent:FindFirstChild("Humanoid")
  3232. for _,v in pairs(HitPa.Parent:children()) do
  3233. if v:IsA("Humanoid") then
  3234.  
  3235. h = v end
  3236.  
  3237. end
  3238. local head = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  3239. local realhead = c:FindFirstChild("Head")
  3240. if h ~= nil and head ~= nil and realhead ~= nil then
  3241.  
  3242. IsHit = true
  3243. RootPart.Anchored=true
  3244. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,-5,2)*angles(math.rad(30),math.rad(40),math.rad(0))},"Quad","InOut",3)
  3245. local SWeld=MakeJoint(head,Torso,head,cf(0,-1,-9)*angles(math.rad(180),math.rad(0),math.rad(180)))
  3246.  
  3247. coroutine.resume(coroutine.create(function()
  3248. local pem = VoidEmitter:Clone()
  3249. pem.Enabled = true
  3250. pem.Parent = realhead
  3251. so("2162238854", RootPart, 2, .5)
  3252. wait(2.9)
  3253. if mememode == false then
  3254. wait(.1)
  3255. end
  3256. pem.Rate = 0
  3257. if mememode == true then
  3258. coroutine.resume(coroutine.create(function()
  3259.  
  3260. local Dust = Instance.new("Model")
  3261. local DustTorso = Instance.new("Part",Dust)
  3262. local DustHead = Instance.new("Part",Dust)
  3263. game:GetService("Debris"):AddItem(DustHead, 120)
  3264. DustHead.Name = "Head"
  3265. DustHead.Size = Vector3.new(realhead.Size.y,realhead.Size.y,realhead.Size.y)
  3266. RemoveOutlines(DustHead)
  3267. DustHead:BreakJoints()
  3268. DustHead.CFrame = CFrame.new(0,1000,0)
  3269. DustHead.Transparency = 1
  3270. DustTorso.Name = "Torso"
  3271. DustTorso.Size = Vector3.new(realhead.Size.y,realhead.Size.y,realhead.Size.y)
  3272. RemoveOutlines(DustTorso)
  3273. DustTorso:BreakJoints()
  3274. DustTorso.CFrame = CFrame.new(0,1000,0)
  3275. DustTorso.Transparency = 1
  3276. Dust.Name = "DustMinion"
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287. pem.Parent = DustHead
  3288. pem.Rate = 100
  3289.  
  3290. local DustWeld=weld(DustTorso,DustHead,DustTorso,cf(0,0,0))
  3291. DustTorso.CFrame = realhead.CFrame
  3292. wait(.2)
  3293. local DustHumanoid = Instance.new("Humanoid",Dust)
  3294. DustHumanoid.MaxHealth = 40
  3295. DustHumanoid.Health = 40
  3296. DustHumanoid.WalkSpeed = 17
  3297. Dust.Parent = Effects
  3298.  
  3299. so("438666001", DustTorso, 2, .8)
  3300.  
  3301.  
  3302. coroutine.resume(coroutine.create(function()
  3303. local DustAlive = true
  3304.  
  3305. while DustAlive == true do
  3306.  
  3307.  
  3308.  
  3309. if DustHumanoid.Health > 0.001 then
  3310.  
  3311.  
  3312.  
  3313. local FindNewTorso = findNearestTorso(DustTorso.Position)
  3314.  
  3315. if FindNewTorso ~= nil then
  3316.  
  3317. DustHumanoid:MoveTo(FindNewTorso.Position)
  3318. --print(DustHumanoid.Name)
  3319. local mag = (DustTorso.Position-FindNewTorso.Position).magnitude
  3320. if mag < 10 and FindNewTorso.Parent:FindFirstChildOfClass("Humanoid") and FindNewTorso.Parent:FindFirstChildOfClass("Humanoid").Health > 0.001 then
  3321.  
  3322.  
  3323. coroutine.resume(coroutine.create(function()
  3324.  
  3325. coroutine.resume(coroutine.create(function()
  3326. makrag(FindNewTorso.Parent)
  3327. end))
  3328. FindNewTorso.Parent:FindFirstChildOfClass("Humanoid").Health = 0
  3329. FindNewTorso.Parent:BreakJoints()
  3330. if FindNewTorso.Parent:FindFirstChild("Head") then
  3331. pem.Parent = FindNewTorso.Parent.Head
  3332. pem:Emit(10)
  3333. so("215395388", DustTorso, 2, .8)
  3334. end
  3335. end))
  3336. DustHumanoid.Health = 0
  3337. end
  3338.  
  3339. else
  3340. wait(2)
  3341. DustHumanoid.Health = 0
  3342. end
  3343.  
  3344.  
  3345. end
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351. if DustHumanoid.Health < 0.001 then
  3352. coroutine.resume(coroutine.create(function()
  3353. pem.Rate = 0
  3354. end))
  3355. DustAlive = false
  3356. game:GetService("Debris"):AddItem(Dust, 2)
  3357. so("2162238854", DustTorso, 2, .8)
  3358. end
  3359.  
  3360.  
  3361. if Dust.Parent ~= Effects then
  3362. coroutine.resume(coroutine.create(function()
  3363. Dust:Destroy()
  3364. end))
  3365. DustAlive = false
  3366. end
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372. wait(1)
  3373. end
  3374.  
  3375.  
  3376.  
  3377. end))
  3378.  
  3379.  
  3380.  
  3381.  
  3382. end))
  3383. end
  3384. end))
  3385.  
  3386.  
  3387.  
  3388. wait(3)
  3389. coroutine.resume(coroutine.create(function()
  3390. head.Velocity = RootPart.CFrame.lookVector * 1.2
  3391. coroutine.resume(coroutine.create(function()
  3392. makrag(c)
  3393. end))
  3394. h.Health = 0
  3395. c:BreakJoints()
  3396. RootPart.CFrame = Torso.CFrame*cn(0,-2,0)
  3397. RootPart.Anchored=false
  3398. end))
  3399. attack = false
  3400.  
  3401. end
  3402.  
  3403. end
  3404. end
  3405. TheGunHandle.Touched:connect(onTouch)
  3406.  
  3407.  
  3408. wait(1)
  3409. coroutine.resume(coroutine.create(function()
  3410. TheGunHandle:Destroy()
  3411. end))
  3412.  
  3413. if IsHit == false then
  3414. attack = false
  3415. end
  3416. end
  3417.  
  3418.  
  3419. function Attack4()
  3420. attack=true
  3421. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3422. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3423. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(50))},"Back","Out",.6)
  3424. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Back","Out",.6)
  3425. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3426. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3427. wait(.6)
  3428. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3429. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3430. SetTween(RW,{C0=CFrame.new(3.5 , 4.5, 4.0)*angles(math.rad(90),math.rad(0),math.rad(10))},"Quad","Out",.4)
  3431. SetTween(LW,{C0=CFrame.new(-3.5, 4.5, 4.0)*angles(math.rad(90),math.rad(0),math.rad(-10))},"Quad","Out",.4)
  3432. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3433. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3434. wait(.4)
  3435. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3436. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(60),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3437. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(-20))},"Back","Out",.2)
  3438. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(20))},"Back","Out",.2)
  3439. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3440. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3441. wait(.2)
  3442.  
  3443. local pilarsize= 1
  3444.  
  3445. if mememode == true then
  3446. pilarsize= 3
  3447. end
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.  
  3454. WACKYEFFECT({Time = 30, EffectType = "Crown", Size = VT(9,0,9)*pilarsize, Size2 = (VT(10.5,110,10.5)*pilarsize), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,-3,-6)*angles(RAD(40),0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 357540482, SoundPitch = 1.8/(pilarsize/2), SoundVolume = 2*pilarsize})
  3455.  
  3456.  
  3457.  
  3458. coroutine.resume(coroutine.create(function()
  3459. wait(.1)
  3460. local RPP = RootPart.Position + Vector3.new(0,5,0)
  3461. local lookv= RootPart.CFrame.lookVector
  3462. coroutine.resume(coroutine.create(function()
  3463. for i = 1,10,1 do
  3464. local attackP = RPP+lookv*i*(15*pilarsize)
  3465. local attackCF = CF(attackP,attackP+lookv*5)
  3466. local Portalfloor,PortalPos,test1 = rayCast(attackP, CFrame.new(attackP, attackP - Vector3.new(0, 1, 0)).lookVector, 80, Character)
  3467.  
  3468. local PortalPosCF = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90+math.random(-10,10)),RAD(math.random(-360,360)),RAD(math.random(-10,10)))
  3469. if PortalPosCF ~= nil then
  3470. local Pillar = Instance.new("Part")
  3471. Pillar.Reflectance = 0
  3472. Pillar.Transparency = 0
  3473. Pillar.CanCollide = true
  3474. Pillar.Locked = true
  3475. Pillar.Anchored=true
  3476. Pillar.BrickColor = BrickColor.new("White")
  3477. Pillar.Name = "Pillar"
  3478. Pillar.Size = Vector3.new(8.108, 29.681, 8.108)*pilarsize
  3479. Pillar.Material = "Concrete"
  3480. Pillar:BreakJoints()
  3481. Pillar.Parent = Effects
  3482. Pillar.CFrame = PortalPosCF*cn(0,-30*pilarsize,0)
  3483. local NewPillarMesh = Instance.new("SpecialMesh")
  3484. NewPillarMesh.Parent = Pillar
  3485. NewPillarMesh.MeshId = "http://www.roblox.com/asset/?id=2449719398"
  3486. NewPillarMesh.TextureId = "http://www.roblox.com/asset/?id=1693385655"
  3487. NewPillarMesh.Scale = Vector3.new(1,1,1)*pilarsize
  3488. NewPillarMesh.VertexColor = Vector3.new(23/255, 21/255, 29/255)
  3489. NewPillarMesh.MeshType = Enum.MeshType.FileMesh
  3490.  
  3491. SetTween(Pillar,{CFrame=PortalPosCF*cn(0,12*pilarsize,0)},"Quad","Out",.5)
  3492. coroutine.resume(coroutine.create(function()
  3493. wait(math.random(3,6))
  3494. SetTween(Pillar,{CFrame=PortalPosCF*cn(0,-30*pilarsize,0)*ANGLES(RAD(math.random(-90,90)),RAD(math.random(-360,360)),RAD(math.random(-90,90)))},"Bounce","In",2)
  3495. Pillar.CanCollide = false
  3496. wait(1.5)
  3497. CFMagniDamage(cn(PortalPos),18*pilarsize,20*pilarsize,30*pilarsize,50*pilarsize,"Knockdown")
  3498.  
  3499. WACKYEFFECT({Time = 50, EffectType = "Crown", Size = VT(15,0,15)*pilarsize, Size2 = (VT(19,120,19)*pilarsize), Transparency = 0.6, Transparency2 = 1, CFrame = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90),RAD(math.random(-360,360)),RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 1788899396, SoundPitch = 1/(pilarsize/2), SoundVolume = 3*pilarsize})
  3500.  
  3501. SetTween(Pillar,{Transparency=1},"Quad","Out",2)
  3502. wait(4)
  3503. Pillar:Destroy()
  3504. end))
  3505. CFMagniDamage(cn(PortalPos),16*pilarsize,10*pilarsize,20*pilarsize,-20*pilarsize,"NormalKnockdown")
  3506.  
  3507. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(9,0,9)*pilarsize, Size2 = (VT(4.5,160,4.5)*pilarsize), Transparency = 0.2, Transparency2 = 1, CFrame = PortalPosCF, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 2175667385, SoundPitch = 0.8/(pilarsize/2), SoundVolume = 2*pilarsize})
  3508. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(4.5,40,4.5)*pilarsize, Size2 = (VT(30,0,30)*pilarsize), Transparency = 0.7, Transparency2 = 1, CFrame = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90),RAD(math.random(-360,360)),RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  3509.  
  3510. end
  3511.  
  3512. wait(.05)
  3513. end
  3514. end))
  3515.  
  3516.  
  3517.  
  3518. end))
  3519.  
  3520. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3521. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3522. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -2.0)*angles(math.rad(90),math.rad(0),math.rad(-20))},"Back","Out",.4)
  3523. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -2.0)*angles(math.rad(90),math.rad(0),math.rad(20))},"Back","Out",.4)
  3524. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3525. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3526. wait(.4)
  3527. attack=false
  3528. end
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536.  
  3537.  
  3538.  
  3539. for i, v in pairs(Head:GetChildren()) do
  3540.  
  3541. if v:IsA("BasePart") and v.BrickColor.Name == "Institutional white" then
  3542. --v.Name = "Eye"
  3543. end
  3544.  
  3545.  
  3546. end
  3547.  
  3548.  
  3549.  
  3550.  
  3551. function ClickCombo()
  3552. if Anim == "Fall" or Anim == "Jump" then
  3553. if Combo == 0 then
  3554. --DownAT()
  3555. end
  3556. else
  3557. if Combo == 0 then
  3558. AT1()
  3559. Combo = 1
  3560. elseif Combo == 1 then
  3561. AT2()
  3562. Combo = 0
  3563. elseif Combo == 2 then
  3564. AT3()
  3565. Combo = 0
  3566. end
  3567. end
  3568. end
  3569.  
  3570. Button1DownF=function()
  3571.  
  3572. if attack==false then
  3573.  
  3574. ClickCombo()
  3575. else
  3576.  
  3577. end
  3578.  
  3579. end
  3580.  
  3581.  
  3582.  
  3583. KeyUpF=function(key)
  3584.  
  3585.  
  3586.  
  3587. end
  3588.  
  3589. Mouse.KeyDown:Connect(function(key)
  3590. key:lower()
  3591. if key == "z" and attack ==false then
  3592. Attack1()
  3593. end
  3594. if key == "x" and attack ==false then
  3595. Attack2()
  3596. end
  3597. if key == "c" and attack ==false then
  3598. Attack3()
  3599. end
  3600. if key == "v" and attack ==false then
  3601. Attack4()
  3602. end
  3603. end)
  3604.  
  3605.  
  3606.  
  3607.  
  3608. if mememode == false then
  3609. mememode=true
  3610. lastid= "http://www.roblox.com/asset/?id=167664731" --1847367023
  3611.  
  3612. lastsongpos = 0
  3613. s2.TimePosition = lastsongpos
  3614. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",1)
  3615. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",1)
  3616. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(60))},"Quad","InOut",1)
  3617. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-60))},"Quad","InOut",1)
  3618. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",1)
  3619. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",1)
  3620. so("1837106999", Character,1, 1)
  3621. wait(1)
  3622.  
  3623.  
  3624. lastid= "http://www.roblox.com/asset/?id=1907454616" --1847367023 194920243
  3625.  
  3626. lastsongpos = 0
  3627. s2.TimePosition = lastsongpos
  3628.  
  3629.  
  3630.  
  3631.  
  3632. for i, v in pairs(Head:GetChildren()) do
  3633. if v:IsA("BasePart") and v.BrickColor.Name == "Really black" and v.Name ~= "Head" then
  3634.  
  3635. if v.Name == "Handle" then
  3636. v.Transparency=1
  3637. v.Decal.Transparency=1
  3638. else
  3639. SetTween(v,{Transparency=1},"Quad","InOut",.1)
  3640.  
  3641. end
  3642.  
  3643.  
  3644. end
  3645. if v:IsA("BasePart") and (v.Name == "Eye1" or v.Name == "Eye2" ) then
  3646. SetTween(v,{Color=Color3.new(1,0,0)},"Quad","InOut",1)
  3647.  
  3648. SetTween(v.Mesh,{Scale=Vector3.new(0.8,5.8,.825)},"Quad","InOut",1)
  3649.  
  3650.  
  3651. SetTween(v.Mesh,{Offset=Vector3.new(0,-.5,0)},"Quad","InOut",1)
  3652.  
  3653.  
  3654.  
  3655. end
  3656.  
  3657.  
  3658. end
  3659.  
  3660. coroutine.resume(coroutine.create(function()
  3661. local MaskPart = Instance.new("Part")
  3662. MaskPart.Reflectance = 0
  3663. MaskPart.Transparency = 0
  3664. MaskPart.CanCollide = false
  3665. MaskPart.Locked = true
  3666. MaskPart.Anchored=false
  3667. MaskPart.BrickColor = BrickColor.new("Really blue")
  3668. MaskPart.Name = "LMaskPart"
  3669. MaskPart.Size = Vector3.new(.1,.1,.1)
  3670. MaskPart.Material = "SmoothPlastic"
  3671. MaskPart:BreakJoints()
  3672. MaskPart.Parent = Head
  3673. MaskPart.CFrame = RootPart.CFrame
  3674.  
  3675. local SWeld=weld(MaskPart,Head,MaskPart,cf(-.75,-0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)))
  3676. SetTween(SWeld,{C0=CFrame.new(-2.75,0,-1.0)*angles(math.rad(0),math.rad(-15),math.rad(math.random(-15,15)))},"Elastic","Out",1.5)
  3677.  
  3678. local NewMaskMesh = Instance.new("SpecialMesh")
  3679. NewMaskMesh.Parent = MaskPart
  3680. NewMaskMesh.MeshId = "http://www.roblox.com/asset/?id=2349611011"
  3681. NewMaskMesh.TextureId = "http://www.roblox.com/asset/?id=2349706532"
  3682. NewMaskMesh.Scale = Vector3.new(3, 3.0999999, 3)/10
  3683. NewMaskMesh.MeshType = Enum.MeshType.FileMesh
  3684. end))
  3685. coroutine.resume(coroutine.create(function()
  3686. local MaskPart = Instance.new("Part")
  3687. MaskPart.Reflectance = 0
  3688. MaskPart.Transparency = 0
  3689. MaskPart.CanCollide = false
  3690. MaskPart.Locked = true
  3691. MaskPart.Anchored=false
  3692. MaskPart.BrickColor = BrickColor.new("Really blue")
  3693. MaskPart.Name = "RMaskPart"
  3694. MaskPart.Size = Vector3.new(.1,.1,.1)
  3695. MaskPart.Material = "SmoothPlastic"
  3696. MaskPart:BreakJoints()
  3697. MaskPart.Parent = Head
  3698. MaskPart.CFrame = RootPart.CFrame
  3699.  
  3700. local SWeld=weld(MaskPart,Head,MaskPart,cf(.75,-0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)))
  3701. SetTween(SWeld,{C0=CFrame.new(2.75,0,-1.0)*angles(math.rad(0),math.rad(-15),math.rad(math.random(-15,15)))},"Elastic","Out",1)
  3702.  
  3703. local NewMaskMesh = Instance.new("SpecialMesh")
  3704. NewMaskMesh.Parent = MaskPart
  3705. NewMaskMesh.MeshId = "http://www.roblox.com/asset/?id=2349606351"
  3706. NewMaskMesh.TextureId = "http://www.roblox.com/asset/?id=2349706532"
  3707. NewMaskMesh.Scale = Vector3.new(3, 3.0999999, 3)/10
  3708. NewMaskMesh.MeshType = Enum.MeshType.FileMesh
  3709. end))
  3710.  
  3711.  
  3712.  
  3713.  
  3714. coroutine.resume(coroutine.create(function()
  3715. wait(1)
  3716. local MoveVal = 1
  3717. while mememode == true do
  3718.  
  3719. if MoveVal == 1 then
  3720. MoveVal =-1
  3721. else
  3722. MoveVal=1
  3723. end
  3724.  
  3725. if Head:FindFirstChild("RMaskPart") then
  3726.  
  3727. local HPa = Head:FindFirstChild("RMaskPart")
  3728. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(2.75+MoveVal/(math.random(30,40)/10),MoveVal/(math.random(60,80)/10),-1.0)*angles(math.rad(-30),math.rad(-15+MoveVal*5),math.rad(math.random(-15,15)))},"Quad","InOut",1)
  3729. end
  3730. if Head:FindFirstChild("LMaskPart") then
  3731. local HPa = Head:FindFirstChild("LMaskPart")
  3732. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(-2.75-MoveVal/(math.random(30,40)/10),MoveVal/(math.random(60,80)/10),-1.0)*angles(math.rad(-30),math.rad(15+MoveVal*5),math.rad(math.random(-15,15)))},"Quad","InOut",1)
  3733. end
  3734. if Head:FindFirstChild("Eye1") then
  3735. local HPa = Head:FindFirstChild("Eye1")
  3736. SetTween(HPa,{Color=Color3.new(.25+MoveVal/4,0,0)},"Quad","InOut",1)
  3737.  
  3738.  
  3739. end
  3740.  
  3741. if Head:FindFirstChild("Eye2") then
  3742. local HPa = Head:FindFirstChild("Eye2")
  3743. SetTween(HPa,{Color=Color3.new(.25+MoveVal/4,0,0)},"Quad","InOut",1)
  3744.  
  3745.  
  3746.  
  3747.  
  3748. end
  3749.  
  3750. wait(1)
  3751. end
  3752.  
  3753.  
  3754. if Head:FindFirstChild("RMaskPart") then
  3755.  
  3756. local HPa = Head:FindFirstChild("RMaskPart")
  3757. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(.75,-0,-1.25)*angles(math.rad(-0),math.rad(-0),math.rad(0))},"Quad","InOut",.1)
  3758. end
  3759. if Head:FindFirstChild("LMaskPart") then
  3760. local HPa = Head:FindFirstChild("LMaskPart")
  3761. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(-.75,-0.1,-1.25)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.1)
  3762. end
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768. for i, v in pairs(Head:GetChildren()) do
  3769. if v:IsA("BasePart") and v.BrickColor.Name == "Really black" and v.Name ~= "Head" then
  3770.  
  3771. if v.Name == "Handle" then
  3772. coroutine.resume(coroutine.create(function()
  3773. wait(.2)
  3774. v.Transparency=0
  3775. v.Decal.Transparency=0
  3776. end))
  3777. else
  3778. SetTween(v,{Transparency=0},"Quad","InOut",.1)
  3779.  
  3780. end
  3781.  
  3782.  
  3783. end
  3784. if v:IsA("BasePart") and (v.Name == "Eye1" or v.Name == "Eye2" ) then
  3785. SetTween(v,{Color=Color3.new(1,1,1)},"Quad","InOut",1)
  3786. SetTween(v.Mesh,{Offset=Vector3.new(0,0,0)},"Quad","InOut",1)
  3787. SetTween(v.Mesh,{Scale=Vector3.new(1,1,1)},"Quad","InOut",1)
  3788.  
  3789.  
  3790.  
  3791.  
  3792. end
  3793. if v:IsA("BasePart") and (v.Name == "RMaskPart" or v.Name == "LMaskPart" ) then
  3794. coroutine.resume(coroutine.create(function()
  3795. wait(.2)
  3796. v:Destroy()
  3797. end))
  3798. end
  3799.  
  3800. end
  3801.  
  3802.  
  3803.  
  3804. end))
  3805.  
  3806.  
  3807.  
  3808. lastsongpos = 0
  3809. s2.TimePosition = lastsongpos
  3810.  
  3811. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3812. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3813. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3814. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3815. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3816. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3817.  
  3818. wait(.5)
  3819. else
  3820. mememode=false
  3821.  
  3822.  
  3823.  
  3824. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3825. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3826. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3827. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3828. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3829. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3830.  
  3831. wait(.25)
  3832.  
  3833. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3834. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3835. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(60))},"Quad","InOut",.5)
  3836. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-60))},"Quad","InOut",.5)
  3837. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3838. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3839.  
  3840. wait(.5)
  3841.  
  3842.  
  3843. CurId=CurId-1
  3844.  
  3845.  
  3846. end
  3847.  
  3848. attack = false
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863. --math.rad(math.random(-math.random(1,5),math.random(1,5)))
  3864. gout= false
  3865. gnum = 0
  3866. gnum2 = 20
  3867. crypos=0
  3868. s3:play()
  3869. s3.Volume = 0
  3870. coroutine.resume(coroutine.create(function()
  3871. while Humanoid.Health>0.001 do
  3872. sine = sine + change
  3873. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3874.  
  3875. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3876. local velderp = RootPart.Velocity.y
  3877.  
  3878.  
  3879. local wwalk = Anim
  3880.  
  3881. if RootPart.Velocity.y > 1 and hitfloor == nil then
  3882. Anim = "Jump"
  3883.  
  3884. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  3885. Anim = "Fall"
  3886. elseif Humanoid.Sit == true then
  3887. Anim = "Sit"
  3888. elseif torvel < 1 and hitfloor ~= nil then
  3889. Anim = "Idle"
  3890. elseif torvel > 2 and hitfloor ~= nil then
  3891.  
  3892. Anim = "Walk"
  3893.  
  3894. else
  3895. Anim = ""
  3896.  
  3897. end
  3898.  
  3899. if Anim=="Jump" and wwalk == "Walk" and mememode==true then
  3900. local Portalfloor,PortalPos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 80, Character)
  3901.  
  3902. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(0,60,0), Size2 = (VT(30,0,30)), Transparency = 0.2, Transparency2 = 1, CFrame = cn(PortalPos) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3903.  
  3904. end
  3905.  
  3906.  
  3907.  
  3908. coroutine.resume(coroutine.create(function()
  3909. if mememode == true then
  3910. if s3.Parent == nil or s3 == nil then
  3911.  
  3912. s3 = s3c:Clone()
  3913. s3.Parent = Head
  3914. s3.Name = "Crying"
  3915. -- s2.SoundId = lastid
  3916. s3.Pitch = 0.5
  3917. s3.Volume = 0
  3918. s3.Looped = true
  3919. s3.archivable = false
  3920. s3.TimePosition = crypos
  3921.  
  3922. s3:play()
  3923.  
  3924.  
  3925. else
  3926. crypos=s3.TimePosition
  3927. s3.Pitch = 0.5
  3928.  
  3929. --s2.Volume = 1.5
  3930.  
  3931. s3.Looped = true
  3932. s3.SoundId = crying
  3933. s3.EmitterSize = 40
  3934. end
  3935.  
  3936.  
  3937. end
  3938. end))
  3939.  
  3940.  
  3941.  
  3942. coroutine.resume(coroutine.create(function()
  3943.  
  3944.  
  3945. if s2.Parent == nil or s2 == nil then
  3946.  
  3947. s2 = s2c:Clone()
  3948. s2.Parent = Torso
  3949. s2.Name = "BGMusic"
  3950. -- s2.SoundId = lastid
  3951. s2.Pitch = 1.5
  3952. s2.Volume = 1.5
  3953. s2.Looped = true
  3954. s2.archivable = false
  3955. s2.TimePosition = lastsongpos
  3956. if playsong == true then
  3957. s2:play()
  3958. elseif playsong == false then
  3959. s2:stop()
  3960. end
  3961.  
  3962.  
  3963. else
  3964. lastsongpos=s2.TimePosition
  3965.  
  3966. if mememode == false then
  3967.  
  3968. s2.Pitch = .85
  3969.  
  3970. s2.Volume = 1.5
  3971.  
  3972. s2.Looped = true
  3973. s2.SoundId = lastid
  3974. s2.EmitterSize = 30
  3975. else
  3976.  
  3977.  
  3978. s2.Pitch = .9
  3979.  
  3980. s2.Volume = 2
  3981.  
  3982. s2.Looped = true
  3983. s2.SoundId = lastid
  3984. s2.EmitterSize = 35
  3985. end
  3986.  
  3987. end
  3988.  
  3989.  
  3990.  
  3991. end))
  3992.  
  3993. if mememode == true then
  3994. gnum = gnum + 1
  3995. if gnum > gnum2 then
  3996.  
  3997. gnum2 = math.random(10,100)
  3998. gnum = 0
  3999. coroutine.resume(coroutine.create(function()
  4000. gout = true
  4001. s3.Volume = 3
  4002. wait(math.random(2,12)/50)
  4003.  
  4004.  
  4005. s3.Volume = 0
  4006. gout=false
  4007. end))
  4008.  
  4009.  
  4010. end
  4011. end
  4012.  
  4013.  
  4014.  
  4015. inairvel=torvel
  4016.  
  4017.  
  4018. if inairvel > 30 then
  4019. inairvel=30
  4020. end
  4021. inairvel=inairvel/50*2
  4022.  
  4023.  
  4024.  
  4025. if attack == false then
  4026. if Anim == "Jump" then
  4027. change = 0.60*2
  4028. SetTween(RJW,{C0=RootCF* cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-6.5 - 1.5 * math.cos(sine / 8))+inairvel/2, math.rad(0), math.rad(0))},"Quad","Out",0.25)
  4029. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  4030. SetTween(RW,{C0=CFrame.new(3.5 , -2.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  4031. SetTween(LW,{C0=CFrame.new(-3.5, -2.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  4032. SetTween(RH,{C0=CFrame.new(0, -2+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  4033. SetTween(LH,{C0=CFrame.new(0, -2+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  4034.  
  4035.  
  4036. elseif Anim == "Fall" then
  4037. change = 0.60*2
  4038. SetTween(RJW,{C0=RootCF*cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8))-inairvel, math.rad(0), math.rad(0))},"Quad","Out",0.25)
  4039. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(26.5 + 2.5 * math.cos(sine / 8))+inairvel, math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  4040. SetTween(RW,{C0=CFrame.new(3.2 , -1.50, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 0 * math.cos(sine / 8)))},"Quad","InOut",0.15)
  4041. SetTween(LW,{C0=CFrame.new(-3.2, -1.5, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 - 2 * math.cos(sine / 8)))},"Quad","InOut",0.15)
  4042. SetTween(RH,{C0=CFrame.new(0, -1+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  4043. SetTween(LH,{C0=CFrame.new(0, -1+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  4044.  
  4045.  
  4046.  
  4047.  
  4048.  
  4049.  
  4050.  
  4051.  
  4052.  
  4053.  
  4054. elseif Anim == "Idle" then
  4055.  
  4056.  
  4057.  
  4058. if mememode == false then
  4059.  
  4060. change = 0.60
  4061. Humanoid.JumpPower = 90
  4062. Humanoid.WalkSpeed=16
  4063. local ADNum = .25
  4064. SetTween(RJW,{C0=RootCF*cn(0, 0, 2.1 + 0.2395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(20 - 0 * math.cos(sine / 8)), math.rad((0 + .5* math.cos(sine / 4))), math.rad(-0))},"Quad","InOut",0.1)
  4065. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2) *angles(math.rad(-3.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(10), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  4066. SetTween(RW,{C0=CFrame.new(3 , 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 12 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-25), math.rad(30 - 6 * math.cos(sine / 8)))},"Quad","Out",0.2)
  4067. SetTween(LW,{C0=CFrame.new(-3, 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 12 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(25), math.rad(-30 + 6 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  4068. SetTween(RH,{C0=CFrame.new(0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5- 6.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  4069. SetTween(LH,{C0=CFrame.new(-0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5+ 6.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  4070. else
  4071. change = 0.60
  4072. Humanoid.JumpPower = 90
  4073. Humanoid.WalkSpeed=16
  4074. local ADNum = .25
  4075. SetTween(RJW,{C0=RootCF*cn(0, 0, 2.1 + 0.2395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(20 - 0 * math.cos(sine / 8)), math.rad((0 + .5* math.cos(sine / 4))), math.rad(-0))},"Quad","InOut",0.1)
  4076.  
  4077. if gout == false then
  4078. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2) *angles(math.rad(13.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(0), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  4079. else
  4080. SetTween(NeckW,{C0=NeckCF*CFrame.new(0+ (math.random(-10,10)/350), -1, 2 + (math.random(-10,10)/350)) *angles(math.rad(math.random(-math.random(1,5),math.random(1,5))), math.rad(0+math.random(-math.random(1,5),math.random(1,5))), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.0)
  4081.  
  4082. end
  4083. SetTween(RW,{C0=CFrame.new(3 , 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 6 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-25), math.rad(30 - 2 * math.cos(sine / 8)))},"Quad","Out",0.2)
  4084. SetTween(LW,{C0=CFrame.new(-3, 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 6 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(25), math.rad(-30 + 2 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  4085. SetTween(RH,{C0=CFrame.new(0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5- 2.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  4086. SetTween(LH,{C0=CFrame.new(-0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5+ 2.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  4087.  
  4088. end
  4089.  
  4090.  
  4091. elseif Anim == "Walk" then
  4092. local speed=1
  4093. if mememode == true then
  4094. speed=1.5
  4095. end
  4096.  
  4097.  
  4098.  
  4099. if mememode == false then
  4100.  
  4101.  
  4102. local ADNum = 1
  4103.  
  4104. change = 2.6*speed
  4105. Humanoid.JumpPower = 90*speed
  4106. Humanoid.WalkSpeed=56*speed
  4107. SetTween(RJW,{C0=RootCF*CFrame.new(0, 1 + 1.0395 * math.cos(sine / 4), 2.4+ 0.855 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(20 - 6 * math.cos(sine / 4)), math.rad(12 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 70, math.rad(18 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  4108. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 16 * math.cos(sine / 8)), math.rad(-18 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed)
  4109. --SetTween(RW,{C0=CFrame.new(1.5, 0.6, 0) * angles(math.rad(21+8 * math.cos(sine / 8)), math.rad(-70) + RootPart.RotVelocity.Y / 80, math.rad(70) + RootPart.RotVelocity.Y / 120)},"Linear","InOut",WalkAnimMove/speed)
  4110. --SetTween(LW,{C0=CFrame.new(-1.5, 0.6, 0) * angles(math.rad(90-6* math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 80, math.rad(-10) - RootPart.RotVelocity.Y / 90)},"Linear","InOut",WalkAnimMove/speed)
  4111. SetTween(RW,{C0=cf(3, 1.5 - 0.55 * math.cos(sine / 8) / 2,-1.1+ 0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-10.5 + 90 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 + 22.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  4112. SetTween(LW,{C0=cf(-3, 1.5 + 0.55 * math.cos(sine / 8) / 2,-1.1+ -0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-10.5 - 90 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 - 22.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  4113. SetTween(RH,{C0=cf(0, -2.825 - 0.55 * math.cos(sine / 8) / 2,-1 + 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 - 50 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + -math.sin(sine / 8) / 2.5, math.rad(90 + 0 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 8)), math.rad(-90) - RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  4114. SetTween(LH,{C0=cf(-0, -2.825 + 0.55 * math.cos(sine / 8) / 2,-1 - 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 + 50 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + math.sin(sine / 8) / 2.5, math.rad(-90 + 0 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 8)), math.rad(90)- RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  4115. else
  4116.  
  4117.  
  4118.  
  4119.  
  4120. local ADNum = 1
  4121.  
  4122. change = 2.6*speed
  4123. Humanoid.JumpPower = 90*speed
  4124. Humanoid.WalkSpeed=76*speed
  4125. SetTween(RJW,{C0=RootCF*CFrame.new(0, 1 + 1.3395 * math.cos(sine / 4), 2.4+ 0.855 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(20 - 6 * math.cos(sine / 4)), math.rad(12 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 70, math.rad(18 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  4126.  
  4127.  
  4128. if gout == false then
  4129. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 1, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 3 * math.cos(sine / 8)), math.rad(-18 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed)
  4130. else
  4131. SetTween(NeckW,{C0=NeckCF*CFrame.new(0+ (math.random(-10,10)/350), 1, 0 + (math.random(-10,10)/350)) *angles(math.rad(math.random(-math.random(1,5),math.random(1,5))), math.rad(0+math.random(-math.random(1,5),math.random(1,5))), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.0)
  4132.  
  4133. end
  4134.  
  4135.  
  4136. --SetTween(RW,{C0=CFrame.new(1.5, 0.6, 0) * angles(math.rad(21+8 * math.cos(sine / 8)), math.rad(-70) + RootPart.RotVelocity.Y / 80, math.rad(70) + RootPart.RotVelocity.Y / 120)},"Linear","InOut",WalkAnimMove/speed)
  4137. --SetTween(LW,{C0=CFrame.new(-1.5, 0.6, 0) * angles(math.rad(90-6* math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 80, math.rad(-10) - RootPart.RotVelocity.Y / 90)},"Linear","InOut",WalkAnimMove/speed)
  4138. SetTween(RW,{C0=cf(3, 1.5 - 0.55 * math.cos(sine / 8) / 2,-1.1- 2.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 + 30 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 + 22.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  4139. SetTween(LW,{C0=cf(-3, 1.5 + 0.55 * math.cos(sine / 8) / 2,-1.1- -2.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 - 30 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 - 22.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  4140. SetTween(RH,{C0=cf(0, -2.825 - 0.55 * math.cos(sine / 8) / 2,-1 - 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 - 60 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + -math.sin(sine / 8) / 2.5, math.rad(90 - 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 6.5 * math.cos(sine / 8)), math.rad(-90) - RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  4141. SetTween(LH,{C0=cf(-0, -2.825 + 0.55 * math.cos(sine / 8) / 2,-1 + 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 + 60 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + math.sin(sine / 8) / 2.5, math.rad(-90 - 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 6.5 * math.cos(sine / 8)), math.rad(90)- RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150. end
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161. elseif Anim == "Sit" then
  4162. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  4163. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  4164. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  4165. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  4166. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  4167. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  4168.  
  4169. end
  4170. end
  4171.  
  4172. wait(Animstep)
  4173. end
  4174. end))
  4175. local Value1=MaybeOk(1,"29,30,31,10,12,29,30,31,0") warn(MaybeOk(1,"12,15,1,4,9,14,7,0"))
  4176.  
  4177.  
  4178.  
  4179.  
  4180.  
  4181. -----------------------------------------------------------------
  4182. -- ____________
  4183. -- /100101001011\ [-Deer Logger-]
  4184. -- [01-()-10-()-01] when runing this script then i can
  4185. -- \011001000101/ see who it isso its not the best
  4186. -- [10\-'--'-/01] plan you had and the white list
  4187. -- \10\ /10/ is just there to get rid of sum
  4188. -- [10\__/10] that copy the script
  4189. -- \======/
  4190. -----------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement