Advertisement
convertboi

gaha

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