Advertisement
Dark_EccentricYT

Untitled

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