Advertisement
EnderPlayBro

Void Boss

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