Fullgamer309

Untitled

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