Advertisement
Mitko1223tm

looolz

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