Advertisement
Guest User

Fe Compatible Void

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