Advertisement
5sdfsadgaq5465

black void boss

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