Advertisement
lafur

Untitled

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