Advertisement
Guest User

Untitled

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