Advertisement
samuelrichter66

VOID

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