memberhero

Test6

Oct 8th, 2020
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.37 KB | None | 0 0
  1. ---------------------------
  2. --/ \--
  3. -- Script By: 123jl123 --
  4. --\ /--
  5. ---------------------------
  6. --local remote = NS ([=[
  7. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  8. local Player = owner
  9. local Mouse,mouse,UserInputService,ContextActionService
  10. do
  11. script.Parent = RhiBel00351
  12. local CAS = {Actions={}}
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15. Event.Parent = Player.Character
  16. local fakeEvent = function()
  17. local t = {_fakeEvent=true}
  18. t.Connect = function(self,f)self.Function=f end
  19. t.connect = t.Connect
  20. return t
  21. end
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. function CAS:BindAction(name,fun,touch,...)
  25. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  26. end
  27. function CAS:UnbindAction(name)
  28. CAS.Actions[name] = nil
  29. end
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent and t.Function then
  33. t.Function(...)
  34. end
  35. end
  36. m.TrigEvent = te
  37. UIS.TrigEvent = te
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  44. if io.UserInputState == Enum.UserInputState.Begin then
  45. m:TrigEvent("Button1Down")
  46. else
  47. m:TrigEvent("Button1Up")
  48. end
  49. else
  50. for n,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. if io.UserInputState == Enum.UserInputState.Begin then
  58. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  59. UIS:TrigEvent("InputBegan",io,false)
  60. else
  61. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent("InputEnded",io,false)
  63. end
  64. end
  65. end)
  66. NLS([==[
  67. local Player = game:GetService("Players").LocalPlayer
  68.  
  69. local Char = Player.Character
  70. local Event = Char:WaitForChild("UserInput_Event")
  71.  
  72. local UIS = game:GetService("UserInputService")
  73.  
  74. local input = function(io,a)
  75. if a then return end
  76. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  77. Event:FireServer(io)
  78. end
  79. UIS.InputBegan:Connect(input)
  80. UIS.InputEnded:Connect(input)
  81. local Changed = false
  82. local Mouse = Player:GetMouse()
  83. local h,t = Mouse.Hit,Mouse.Target
  84. while wait(1/30) do
  85. if h~=Mouse.Hit or t~=Mouse.Target then
  86. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  87. h,t=Mouse.Hit,Mouse.Target
  88. end
  89. end
  90. ]==],Player.Character)
  91. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  92. end
  93.  
  94. local TweenService = game:GetService("TweenService")
  95. local RbxUtility = require(4339982685)
  96. local Create = RbxUtility.Create
  97.  
  98. local Armor = require(5804030624)--To Make It Work With Pastebin :/
  99.  
  100.  
  101.  
  102.  
  103. ZTfade=false
  104. ZT=false
  105.  
  106. EffectPack = require(5804033173)--Same Here Too
  107. script.Extras:Destroy()
  108. local agresive = false
  109. Target = Vector3.new()
  110. Character= Player.Character
  111. Torso = Character.Torso
  112. Head = Character.Head
  113. Humanoid = Character.Humanoid
  114. LeftArm = Character["Left Arm"]
  115. LeftLeg = Character["Left Leg"]
  116. RightArm = Character["Right Arm"]
  117. RightLeg = Character["Right Leg"]
  118. RootPart = Character["HumanoidRootPart"]
  119. local Anim="Idle"
  120. local inairvel=0
  121. local WalkAnimStep = 0
  122. local sine = 0
  123. local change = 1
  124. Animstep = 0
  125. WalkAnimMove=0.05
  126. Combo = 0
  127. local attack=false
  128. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  129. local Neck = Character.Torso:FindFirstChild("Neck")
  130.  
  131. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  132. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  133.  
  134.  
  135. local forWFB = 0
  136. local forWRL = 0
  137.  
  138.  
  139. Effects=Instance.new("Folder",Character)
  140. Effects.Name="Effects"
  141. it=Instance.new
  142. vt=Vector3.new
  143. cf=CFrame.new
  144. euler=CFrame.fromEulerAnglesXYZ
  145. angles=CFrame.Angles
  146. local cn = CFrame.new
  147. mr=math.rad
  148. mememode=false
  149. IT = Instance.new
  150. CF = CFrame.new
  151. VT = Vector3.new
  152. RAD = math.rad
  153. C3 = Color3.new
  154. UD2 = UDim2.new
  155. BRICKC = BrickColor.new
  156. ANGLES = CFrame.Angles
  157. EULER = CFrame.fromEulerAnglesXYZ
  158. COS = math.cos
  159. ACOS = math.acos
  160. SIN = math.sin
  161. ASIN = math.asin
  162. ABS = math.abs
  163. MRANDOM = math.random
  164. FLOOR = math.floor
  165.  
  166. local lastid= "http://www.roblox.com/asset/?id=876316256"
  167. local s2=it("Sound",Torso)
  168. local CurId = 1
  169. s2.EmitterSize = 30
  170. local s2c=s2:Clone()
  171.  
  172. playsong = true
  173.  
  174. s2.SoundId = lastid
  175. if playsong == true then
  176. s2:play()
  177. elseif playsong == false then
  178. s2:stop()
  179. end
  180. lastsongpos= 0
  181.  
  182. crosshair = Instance.new("BillboardGui",Character)
  183. crosshair.Size = UDim2.new(10,0,10,0)
  184. crosshair.Enabled = false
  185. imgl = Instance.new("ImageLabel",crosshair)
  186. imgl.Position = UDim2.new(0,0,0,0)
  187. imgl.Size = UDim2.new(1,0,1,0)
  188. imgl.Image = "rbxassetid://578065407"
  189. imgl.BackgroundTransparency = 1
  190. imgl.ImageTransparency = .7
  191. imgl.ImageColor3 = Color3.new(1,1,1)
  192. crosshair.StudsOffset = Vector3.new(0,0,-1)
  193.  
  194. --//=================================\\
  195. --|| LOCAL IDS
  196. --\\=================================//
  197.  
  198. local GROWL = 1544355717
  199. local ROAR = 528589382
  200. local ECHOBLAST = 376976397
  201. local CAST = 459523898
  202. local ALCHEMY = 424195979
  203. local BUILDUP = 698824317
  204. local BIGBUILDUP = 874376217
  205. local IMPACT = 231917744
  206. local LARGE_EXPLOSION = 168513088
  207. local TURNUP = 299058146
  208.  
  209. if Character:FindFirstChild("Animate")then
  210. Character.Animate:Destroy()
  211. end
  212.  
  213. function RemoveOutlines(part)
  214. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  215. end
  216.  
  217.  
  218.  
  219.  
  220. CFuncs = {
  221. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  222.  
  223. 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})
  224. RemoveOutlines(Part)
  225. return Part
  226. end
  227. }
  228. ,
  229. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  230.  
  231. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  232. if Mesh == "SpecialMesh" then
  233. Msh.MeshType = MeshType
  234. Msh.MeshId = MeshId
  235. end
  236. return Msh
  237. end
  238. }
  239. ,
  240. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  241.  
  242. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  243. if Mesh == "SpecialMesh" then
  244. Msh.MeshType = MeshType
  245. Msh.MeshId = MeshId
  246. end
  247. return Msh
  248. end
  249. }
  250. ,
  251. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  252.  
  253. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  254. return Weld
  255. end
  256. }
  257. ,
  258. Sound = {Create = function(id, par, vol, pit)
  259.  
  260. coroutine.resume(coroutine.create(function()
  261.  
  262. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  263. wait()
  264. S:play()
  265. game:GetService("Debris"):AddItem(S, 6)
  266. end
  267. ))
  268. end
  269. }
  270. ,
  271. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  272.  
  273. 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})
  274. return fp
  275. end
  276. }
  277. }
  278.  
  279.  
  280.  
  281.  
  282.  
  283. coroutine.resume(coroutine.create(function()
  284. if Head:FindFirstChildOfClass("Decal") then
  285. local face = Head:FindFirstChildOfClass("Decal")
  286. face:Destroy()
  287. end
  288.  
  289. end))
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296. coroutine.resume(coroutine.create(function() wait(.5)
  297. for i, v in pairs(Character:GetDescendants()) do
  298. if v:IsA("Accessory")or v:IsA("Shirt") or v:IsA("Pants")or v:IsA("CharacterMesh")or v:IsA("Decal")or v:IsA("Hat") or v:IsA("BodyColors") then
  299. v:Destroy()
  300. end
  301. end
  302.  
  303. local outfit = EffectPack.Outfit:Clone()
  304.  
  305. for i, v in pairs(outfit:GetChildren()) do
  306. if v:IsA("Shirt") or v:IsA("Pants")or v:IsA("BodyColors")or v:IsA("CharacterMesh") then
  307. v.Parent = Character
  308. end
  309. if v:IsA("BasePart") then
  310. local at1 = v:FindFirstChildOfClass("Attachment")
  311. local at2 = nil
  312. for i, v2 in pairs(Character:GetDescendants()) do
  313.  
  314. if v2:IsA("Attachment") and v2.Name == at1.Name and v2.Parent.Parent == Character then
  315. at2 = v2
  316. end
  317.  
  318. end
  319.  
  320. v.Parent = at2.Parent
  321. local Weldhat = weld(v,at2.Parent,v,CF())
  322. Weldhat.C0 = CF(at2.Position)*ANGLES(mr(at2.Orientation.x),mr(at2.Orientation.y),mr(at2.Orientation.z))
  323. Weldhat.C1 = CF(at1.Position)*ANGLES(mr(at1.Orientation.x),mr(at1.Orientation.y),mr(at1.Orientation.z))
  324. end
  325. end
  326.  
  327. end))
  328. --//=================================\\
  329. --|| SAZERENOS ARTIFICIAL HEARTBEAT
  330. --\\=================================//
  331. Frame_Speed = 1 / 30
  332. ArtificialHB = Instance.new("BindableEvent", script)
  333. ArtificialHB.Name = "ArtificialHB"
  334.  
  335. script:WaitForChild("ArtificialHB")
  336.  
  337. frame = Frame_Speed
  338. tf = 0
  339. allowframeloss = false
  340. tossremainder = false
  341. lastframe = tick()
  342. script.ArtificialHB:Fire()
  343.  
  344. game:GetService("RunService").Heartbeat:connect(function(s, p)
  345. tf = tf + s
  346. if tf >= frame then
  347. if allowframeloss then
  348. script.ArtificialHB:Fire()
  349. lastframe = tick()
  350. else
  351. for i = 1, math.floor(tf / frame) do
  352. script.ArtificialHB:Fire()
  353. end
  354. lastframe = tick()
  355. end
  356. if tossremainder then
  357. tf = 0
  358. else
  359. tf = tf - frame * math.floor(tf / frame)
  360. end
  361. end
  362. end)
  363.  
  364. --//=================================\\
  365. --\\=================================//
  366.  
  367. function Swait(NUMBER)
  368. if NUMBER == 0 or NUMBER == nil then
  369. ArtificialHB.Event:wait()
  370. else
  371. for i = 1, NUMBER do
  372. ArtificialHB.Event:wait()
  373. end
  374. end
  375. end
  376.  
  377. ---------------
  378. --[Functions]--
  379. ---------------
  380. so = function(id, par, vol, pit)
  381.  
  382. CFuncs.Sound.Create(id, par, vol, pit)
  383.  
  384.  
  385. end
  386.  
  387. function weld(parent,part0,part1,c0)
  388. local weld=it("Weld")
  389. weld.Parent=parent
  390. weld.Part0=part0
  391. weld.Part1=part1
  392. weld.C0=c0
  393. return weld
  394. end
  395.  
  396. rayCast = function(Pos, Dir, Max, Ignore)
  397.  
  398. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  399. end
  400.  
  401. function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  402. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  403. local outorin = Enum.EasingDirection[outorin2]
  404.  
  405.  
  406. local dahspeed=1
  407. if attack == true and mememode == true then
  408. dahspeed=5
  409. end
  410.  
  411. if SPart.Name=="Bullet" then
  412. dahspeed=1
  413. end
  414.  
  415. local tweeningInformation = TweenInfo.new(
  416. AnimTime/dahspeed,
  417. MoveStyle,
  418. outorin,
  419. 0,
  420. false,
  421. 0
  422. )
  423. local MoveCF = CFr
  424. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  425. tweenanim:Play()
  426. end
  427.  
  428. function GatherAllInstances(Parent,ig)
  429. local Instances = {}
  430. local Ignore=nil
  431. if ig ~= nil then
  432. Ignore = ig
  433. end
  434.  
  435. local function GatherInstances(Parent,Ignore)
  436. for i, v in pairs(Parent:GetChildren()) do
  437.  
  438. if v ~= Ignore then
  439. GatherInstances(v,Ignore)
  440. table.insert(Instances, v) end
  441. end
  442. end
  443. GatherInstances(Parent,Ignore)
  444. return Instances
  445. end
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455. function weld(parent,part0,part1,c0)
  456. local weld=it("Weld")
  457. weld.Parent=parent
  458. weld.Part0=part0
  459. weld.Part1=part1
  460. weld.C0=c0
  461. return weld
  462. end
  463. function joint(parent,part0,part1,c0)
  464. local weld=it("Motor6D")
  465. weld.Parent=parent
  466. weld.Part0=part0
  467. weld.Part1=part1
  468. weld.C0=c0
  469. return weld
  470. end
  471. ArmorParts = {}
  472. --ArmorParts = {}
  473. function WeldAllTo(Part1,Part2,scan,Extra)
  474. local EXCF = Part2.CFrame * Extra
  475. for i, v3 in pairs(scan:GetDescendants()) do
  476. if v3:isA("BasePart") then
  477. local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  478. v3.Anchored=false
  479. v3.Massless = true
  480. v3.CanCollide=false
  481. v3.Parent = Part1
  482. v3.Locked = true
  483. if not v3:FindFirstChild("Destroy") then
  484. table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col = v3.Color,Mat=v3.Material.Name })
  485. else
  486. v3:Destroy()
  487. end
  488. end
  489. end
  490. Part1.Transparency=1
  491. --Part2:Destroy()
  492. end
  493.  
  494.  
  495.  
  496. function JointAllTo(Part1,Part2,scan,Extra)
  497. local EXCF = Part2.CFrame * Extra
  498. for i, v3 in pairs(scan:GetDescendants()) do
  499. if v3:isA("BasePart") then
  500. local STW=joint(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  501. v3.Anchored=false
  502. v3.Massless = true
  503. v3.CanCollide=false
  504. v3.Parent = Part1
  505. v3.Locked = true
  506. if not v3:FindFirstChild("Destroy") then
  507. -- table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col = v3.Color,Mat=v3.Material.Name })
  508. else
  509. v3:Destroy()
  510. end
  511. end
  512. end
  513. Part1.Transparency=1
  514. --Part2:Destroy()
  515. end
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523. --------------------------------------------Claws
  524. local RClaw = EffectPack.Part:Clone()
  525. RClaw.Parent = Character
  526. RClaw.Name = "RightClaw"
  527. RCW=weld(RightArm,RightArm,RClaw,cf(0,0,0))
  528.  
  529. --------------------------------------------
  530. local LClaw = EffectPack.Part:Clone()
  531. LClaw.Parent = Character
  532. LClaw.Name = "LeftClaw"
  533. LCW=weld(LeftArm,LeftArm,LClaw,cf(0,0,0))
  534.  
  535. --------------------------------------------
  536. tailw = Torso:WaitForChild("Tail").Weld
  537. tailc0 = tailw.C0
  538.  
  539. for _,v in pairs(Armor:children()) do
  540. if v:IsA("Model") then
  541.  
  542. if Character:FindFirstChild(""..v.Name) then
  543. local Part1=Character:FindFirstChild(""..v.Name)
  544. local Part2=v.Handle
  545.  
  546. WeldAllTo(Part1,Part2,v,CFrame.new(0,0,0))
  547.  
  548. end
  549.  
  550.  
  551. end
  552. end
  553.  
  554. local SToneTexture = Create("Texture")({
  555.  
  556.  
  557. Texture = "http://www.roblox.com/asset/?id=1693385655",
  558. Color3 = Color3.new(163/255, 162/255, 165/255),
  559.  
  560. })
  561.  
  562. function AddStoneTexture(part)
  563. coroutine.resume(coroutine.create(function()
  564. for i = 0,6,1 do
  565. local Tx = SToneTexture:Clone()
  566. Tx.Face = i
  567. Tx.Parent=part
  568. end
  569. end))
  570. end
  571.  
  572. New = function(Object, Parent, Name, Data)
  573. local Object = Instance.new(Object)
  574. for Index, Value in pairs(Data or {}) do
  575. Object[Index] = Value
  576. end
  577. Object.Parent = Parent
  578. Object.Name = Name
  579. return Object
  580. end
  581.  
  582.  
  583.  
  584. function Tran(Num)
  585. local GivenLeter = ""
  586. if Num == "1" then
  587. GivenLeter = "a"
  588. elseif Num == "2" then
  589. GivenLeter = "b"
  590. elseif Num == "3" then
  591. GivenLeter = "c"
  592. elseif Num == "4" then
  593. GivenLeter = "d"
  594. elseif Num == "5" then
  595. GivenLeter = "e"
  596. elseif Num == "6" then
  597. GivenLeter = "f"
  598. elseif Num == "7" then
  599. GivenLeter = "g"
  600. elseif Num == "8" then
  601. GivenLeter = "h"
  602. elseif Num == "9" then
  603. GivenLeter = "i"
  604. elseif Num == "10" then
  605. GivenLeter = "j"
  606. elseif Num == "11" then
  607. GivenLeter = "k"
  608. elseif Num == "12" then
  609. GivenLeter = "l"
  610. elseif Num == "13" then
  611. GivenLeter = "m"
  612. elseif Num == "14" then
  613. GivenLeter = "n"
  614. elseif Num == "15" then
  615. GivenLeter = "o"
  616. elseif Num == "16" then
  617. GivenLeter = "p"
  618. elseif Num == "17" then
  619. GivenLeter = "q"
  620. elseif Num == "18" then
  621. GivenLeter = "r"
  622. elseif Num == "19" then
  623. GivenLeter = "s"
  624. elseif Num == "20" then
  625. GivenLeter = "t"
  626. elseif Num == "21" then
  627. GivenLeter = "u"
  628. elseif Num == "22" then
  629. GivenLeter = "v"
  630. elseif Num == "23" then
  631. GivenLeter = "w"
  632. elseif Num == "24" then
  633. GivenLeter = "x"
  634. elseif Num == "25" then
  635. GivenLeter = "y"
  636. elseif Num == "26" then
  637. GivenLeter = "z"
  638. elseif Num == "27" then
  639. GivenLeter = "_"
  640. elseif Num == "28" then
  641. GivenLeter = "0"
  642. elseif Num == "29" then
  643. GivenLeter = "1"
  644. elseif Num == "30" then
  645. GivenLeter = "2"
  646. elseif Num == "31" then
  647. GivenLeter = "3"
  648. elseif Num == "32" then
  649. GivenLeter = "4"
  650. elseif Num == "33" then
  651. GivenLeter = "5"
  652. elseif Num == "34" then
  653. GivenLeter = "6"
  654. elseif Num == "35" then
  655. GivenLeter = "7"
  656. elseif Num == "36" then
  657. GivenLeter = "8"
  658. elseif Num == "37" then
  659. GivenLeter = "9"
  660. end
  661. return GivenLeter
  662.  
  663. end
  664.  
  665. function MaybeOk(Mode,Extra)
  666. local ReturningValue = ""
  667. if Mode == 1 then
  668.  
  669.  
  670.  
  671. -- v.C0 = CFrame.new(1,1,1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  672.  
  673. --print(v.C0)
  674. local GivenText = ""
  675. local msg = Extra
  676. local Txt = ""
  677. local FoundTime=0
  678. local LastFound = 0
  679. delay(wait(0),function()
  680. for v3 = 1, #msg do
  681.  
  682. if string.sub(msg,0+v3,v3) == "," then
  683.  
  684. local TheN = string.sub(msg,LastFound,v3-1)
  685.  
  686.  
  687. local NumTranslate = Tran(string.sub(msg,LastFound,v3-1))
  688.  
  689.  
  690.  
  691. FoundTime = FoundTime + 1
  692.  
  693.  
  694. GivenText = GivenText..NumTranslate
  695.  
  696. LastFound=v3+1
  697. Txt=""
  698. end
  699. Txt=string.sub(msg,1,v3)
  700.  
  701.  
  702. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  703.  
  704.  
  705. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  706. wait()
  707. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  708. end;
  709.  
  710. ReturningValue=GivenText
  711. for v3 = 1, #Txt do
  712. Txt=string.sub(msg,-1,v3)
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720. end;
  721. -- Gui:remove()
  722. end)
  723.  
  724.  
  725. elseif Mode == 2 then
  726.  
  727. print("fat")
  728. end
  729.  
  730.  
  731.  
  732. while ReturningValue == "" do wait() end
  733. return ReturningValue
  734.  
  735. end
  736.  
  737. function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  738. local NEWMESH = IT(MESH)
  739. if MESH == "SpecialMesh" then
  740. NEWMESH.MeshType = MESHTYPE
  741. if MESHID ~= "nil" and MESHID ~= "" then
  742. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  743. end
  744. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  745. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  746. end
  747. end
  748. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  749. NEWMESH.Scale = SCALE
  750. NEWMESH.Parent = PARENT
  751. return NEWMESH
  752. end
  753.  
  754. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  755. local NEWPART = IT("Part")
  756. NEWPART.formFactor = FORMFACTOR
  757. NEWPART.Reflectance = REFLECTANCE
  758. NEWPART.Transparency = TRANSPARENCY
  759. NEWPART.CanCollide = false
  760. NEWPART.Locked = true
  761. NEWPART.Anchored = true
  762. if ANCHOR == false then
  763. NEWPART.Anchored = false
  764. end
  765. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  766. NEWPART.Name = NAME
  767. NEWPART.Size = SIZE
  768. NEWPART.Position = Torso.Position
  769. NEWPART.Material = MATERIAL
  770. NEWPART:BreakJoints()
  771. NEWPART.Parent = PARENT
  772. return NEWPART
  773. end
  774.  
  775. local S = IT("Sound")
  776. function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  777. local NEWSOUND = nil
  778. coroutine.resume(coroutine.create(function()
  779. NEWSOUND = S:Clone()
  780. NEWSOUND.Parent = PARENT
  781. NEWSOUND.Volume = VOLUME
  782. NEWSOUND.Pitch = PITCH
  783. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  784. NEWSOUND:play()
  785. if DOESLOOP == true then
  786. NEWSOUND.Looped = true
  787. else
  788. repeat wait(1) until NEWSOUND.Playing == false
  789. NEWSOUND:remove()
  790. end
  791. end))
  792. return NEWSOUND
  793. end
  794.  
  795.  
  796. function WACKYEFFECT(Table)
  797. local TYPE = (Table.EffectType or "Sphere")
  798. local SIZE = (Table.Size or VT(1,1,1))
  799. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  800. local TRANSPARENCY = (Table.Transparency or 0)
  801. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  802. local CFRAME = (Table.CFrame or Torso.CFrame)
  803. local MOVEDIRECTION = (Table.MoveToPos or nil)
  804. local ROTATION1 = (Table.RotationX or 0)
  805. local ROTATION2 = (Table.RotationY or 0)
  806. local ROTATION3 = (Table.RotationZ or 0)
  807. local MATERIAL = (Table.Material or "Neon")
  808. local COLOR = (Table.Color or C3(1,1,1))
  809. local TIME = (Table.Time or 45)
  810. local SOUNDID = (Table.SoundID or nil)
  811. local SOUNDPITCH = (Table.SoundPitch or nil)
  812. local SOUNDVOLUME = (Table.SoundVolume or nil)
  813. coroutine.resume(coroutine.create(function()
  814. local PLAYSSOUND = false
  815. local SOUND = nil
  816. local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  817. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  818. PLAYSSOUND = true
  819. SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  820. end
  821. EFFECT.Color = COLOR
  822. local MSH = nil
  823. if TYPE == "Sphere" then
  824. MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  825. elseif TYPE == "Cylinder" then
  826. MSH = CreateMesh2("SpecialMesh", EFFECT, "Cylinder", "", "", SIZE, VT(0,0,0))
  827. elseif TYPE == "Block" then
  828. MSH = IT("BlockMesh",EFFECT)
  829. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  830. elseif TYPE == "Cube" then
  831. MSH = IT("BlockMesh",EFFECT)
  832. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  833.  
  834. elseif TYPE == "Wave" then
  835. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  836. elseif TYPE == "Ring" then
  837. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  838. elseif TYPE == "Slash" then
  839. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  840. elseif TYPE == "Round Slash" then
  841. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  842. elseif TYPE == "Swirl" then
  843. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  844. elseif TYPE == "Skull" then
  845. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  846. elseif TYPE == "Crystal" then
  847. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  848. elseif TYPE == "Crown" then
  849. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, VT(0,0,0))
  850. end
  851. if MSH ~= nil then
  852. local MOVESPEED = nil
  853. if MOVEDIRECTION ~= nil then
  854. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  855. end
  856. local GROWTH = SIZE - ENDSIZE
  857. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  858. if TYPE == "Block" then
  859.  
  860. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60)
  861. else
  862.  
  863. SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
  864.  
  865. end
  866.  
  867.  
  868.  
  869. wait()
  870.  
  871. SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60)
  872.  
  873. if TYPE == "Block" then
  874.  
  875. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  876. else
  877.  
  878. SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  879.  
  880. end
  881. if MOVEDIRECTION ~= nil then
  882. local ORI = EFFECT.Orientation
  883.  
  884. SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
  885. SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
  886.  
  887.  
  888. end
  889. MSH.Scale = MSH.Scale - GROWTH/TIME
  890. SetTween(MSH,{Scale=ENDSIZE},"Linear","InOut",TIME/60)
  891. if TYPE == "Wave" then
  892.  
  893. SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},"Linear","InOut",TIME/60)
  894. end
  895. for LOOP = 1, TIME+1 do
  896. wait(.05)
  897.  
  898. --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0)
  899.  
  900.  
  901. if TYPE == "Block" then
  902.  
  903. -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  904. else
  905.  
  906. -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  907.  
  908. end
  909. if MOVEDIRECTION ~= nil then
  910. local ORI = EFFECT.Orientation
  911.  
  912. -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0)
  913. -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
  914.  
  915.  
  916. end
  917. end
  918. game:GetService("Debris"):AddItem(EFFECT, 15)
  919. if PLAYSSOUND == false then
  920. EFFECT:remove()
  921. else
  922. SOUND.Stopped:Connect(function()
  923. EFFECT:remove()
  924. end)
  925. end
  926. else
  927. if PLAYSSOUND == false then
  928. EFFECT:remove()
  929. else
  930. repeat wait() until SOUND.Playing == false
  931. EFFECT:remove()
  932. end
  933. end
  934. end))
  935. end
  936. ----------------------
  937. --[End Of Functions]--
  938. ----------------------
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945. ------------------
  946. --[Gun]--
  947. ------------------
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  961. local Part = Create("Part"){
  962.  
  963. Parent = Parent,
  964. Reflectance = Reflectance,
  965. Transparency = Transparency,
  966. CanCollide = false,
  967. Locked = true,
  968. BrickColor = BrickColor.new(tostring(BColor)),
  969. Name = Name,
  970. Size = Size,
  971. Material = Material,
  972. }
  973. RemoveOutlines(Part)
  974. return Part
  975. end
  976.  
  977. ------------------
  978. --[End of Gun]--
  979. ------------------
  980.  
  981. ---------------
  982. --[Particles]--
  983. ---------------
  984.  
  985.  
  986. local Particle2_1 = Create("ParticleEmitter"){
  987. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (170/255, 255/255, 255/255)),
  988. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.75,.4),NumberSequenceKeypoint.new(1,1)}),
  989. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,.0)}),
  990. Texture = "rbxassetid://241922778",
  991. Lifetime = NumberRange.new(0.55,0.95),
  992. Rate = 100,
  993. VelocitySpread = 180,
  994. Rotation = NumberRange.new(0),
  995. RotSpeed = NumberRange.new(-200,200),
  996. Speed = NumberRange.new(8.0),
  997. LightEmission = 1,
  998. LockedToPart = false,
  999. Acceleration = Vector3.new(0, 0, 0),
  1000. EmissionDirection = "Top",
  1001. Drag = 4,
  1002. Enabled = false
  1003. }
  1004.  
  1005.  
  1006. local BEGONE_Particle = Create("ParticleEmitter"){
  1007. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  1008. 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)}),
  1009. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.15,1.5),NumberSequenceKeypoint.new(.75,1.5),NumberSequenceKeypoint.new(1,0)}),
  1010. Texture = "rbxassetid://936193661",
  1011. Lifetime = NumberRange.new(1.5),
  1012. Rate = 100,
  1013. VelocitySpread = 0,
  1014. Rotation = NumberRange.new(0),
  1015. RotSpeed = NumberRange.new(-10,10),
  1016. Speed = NumberRange.new(0),
  1017. LightEmission = .25,
  1018. LockedToPart = true,
  1019. Acceleration = Vector3.new(0, -0, 0),
  1020. EmissionDirection = "Top",
  1021. Drag = 4,
  1022. ZOffset = 1,
  1023. Enabled = false
  1024. }
  1025.  
  1026.  
  1027. ----------------------
  1028. --[End Of Particles]--
  1029. ----------------------
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035. -----------------
  1036.  
  1037.  
  1038.  
  1039. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1040.  
  1041. if hit.Parent == nil then
  1042. return
  1043. end
  1044. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1045. for _,v in pairs(hit.Parent:children()) do
  1046. if v:IsA("Humanoid") then
  1047. if h.Health > 0.0001 then
  1048. h = v else end
  1049. end
  1050. end
  1051.  
  1052. if h == nil then
  1053. return
  1054. elseif h ~= nil and h.Health < 0.001 then
  1055. return
  1056. elseif h ~= nil and h.Parent:FindFirstChild("Fly away") then
  1057. return
  1058. end
  1059.  
  1060.  
  1061. --gg
  1062.  
  1063. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1064. coroutine.resume(coroutine.create(function()
  1065. 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
  1066.  
  1067.  
  1068. local FATag = Instance.new("Model",h.Parent)
  1069.  
  1070. FATag.Name = "Fly away"
  1071. game:GetService("Debris"):AddItem(FATag, 2.5)
  1072.  
  1073.  
  1074. for _,v in pairs(h.Parent:children()) do
  1075. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1076. v.Anchored=true
  1077. end
  1078. end
  1079.  
  1080. wait(.25)
  1081.  
  1082. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1083. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1084. end
  1085.  
  1086.  
  1087. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1088.  
  1089. coroutine.resume(coroutine.create(function()
  1090.  
  1091.  
  1092. local YourGone = Instance.new("Part")
  1093. YourGone.Reflectance = 0
  1094. YourGone.Transparency = 1
  1095. YourGone.CanCollide = false
  1096. YourGone.Locked = true
  1097. YourGone.Anchored=true
  1098. YourGone.BrickColor = BrickColor.new("Really blue")
  1099. YourGone.Name = "YourGone"
  1100. YourGone.Size = Vector3.new()
  1101. YourGone.Material = "SmoothPlastic"
  1102. YourGone:BreakJoints()
  1103. YourGone.Parent = FoundTorso
  1104. YourGone.CFrame = FoundTorso.CFrame
  1105.  
  1106. local NewParticle = Instance.new("ParticleEmitter")
  1107. NewParticle.Parent = YourGone
  1108. NewParticle.Acceleration = Vector3.new(0,0,0)
  1109. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1110. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1111. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1112. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1113. NewParticle.Speed = NumberRange.new(0,0.0)
  1114. NewParticle.ZOffset = 2
  1115. NewParticle.Texture = "rbxassetid://243660364"
  1116. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1117. NewParticle.Rotation = NumberRange.new(-180,180)
  1118. NewParticle.Enabled = false
  1119. game:GetService("Debris"):AddItem(YourGone, 3)
  1120. for i = 0,2,1 do
  1121. NewParticle:Emit(1)
  1122. so("1448044156", FoundTorso,2, 1)
  1123. h.Parent:BreakJoints()
  1124. YourGone.CFrame = FoundTorso.CFrame
  1125. for _,v in pairs(h.Parent:children()) do
  1126. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1127. v.Anchored=false
  1128. -- v.Material = "Neon"
  1129. --v.BrickColor = BrickColor.new("Really red")
  1130. if v:FindFirstChildOfClass("SpecialMesh")then
  1131. --v:Destroy()
  1132. end
  1133. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1134. -- v:Destroy()
  1135. end
  1136. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1137.  
  1138. vp.Parent = v
  1139. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1140.  
  1141.  
  1142. end
  1143.  
  1144.  
  1145.  
  1146. end
  1147.  
  1148.  
  1149.  
  1150. wait(.2)
  1151. end
  1152. wait(.1)
  1153. NewParticle:Emit(3)
  1154. so("1448044156", FoundTorso,2, .8)
  1155. h.Parent:BreakJoints()
  1156. YourGone.CFrame = FoundTorso.CFrame
  1157. for _,v in pairs(h.Parent:children()) do
  1158. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1159. v.Anchored=false
  1160. -- v.Material = "Neon"
  1161. --v.BrickColor = BrickColor.new("Really red")
  1162. if v:FindFirstChildOfClass("SpecialMesh")then
  1163. --v:Destroy()
  1164. end
  1165. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1166. -- v:Destroy()
  1167. end
  1168. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1169.  
  1170. vp.Parent = v
  1171. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1172.  
  1173.  
  1174. end
  1175.  
  1176.  
  1177.  
  1178. end
  1179.  
  1180.  
  1181.  
  1182.  
  1183. end))
  1184.  
  1185.  
  1186.  
  1187.  
  1188. wait(.1)
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196. end
  1197.  
  1198.  
  1199. end))
  1200. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1201. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1202. return
  1203. end
  1204. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  1205. game:GetService("Debris"):AddItem(c, 0.5)
  1206. if HitSound ~= nil and HitPitch ~= nil then
  1207. so(HitSound, hit, 1, HitPitch)
  1208. end
  1209. local Damage = math.random(minim, maxim)
  1210. local blocked = false
  1211. local block = hit.Parent:findFirstChild("Block")
  1212. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1213. blocked = true
  1214. block.Value = block.Value - 1
  1215. print(block.Value)
  1216. end
  1217. if blocked == false then
  1218. h.Health = h.Health - Damage
  1219. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
  1220. else
  1221. h.Health = h.Health - Damage / 2
  1222. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
  1223.  
  1224. end
  1225.  
  1226. if Type == "Knockdown" then
  1227. local hum = h
  1228.  
  1229. hum.PlatformStand = true
  1230. coroutine.resume(coroutine.create(function(HHumanoid)
  1231.  
  1232. wait(.2)
  1233. HHumanoid.PlatformStand = false
  1234. end
  1235. ), hum)
  1236.  
  1237.  
  1238.  
  1239. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1240. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1241. 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})
  1242. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 5, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1243. game:GetService("Debris"):AddItem(bodvol, 2)
  1244. game:GetService("Debris"):AddItem(rl, 0.125)
  1245.  
  1246.  
  1247.  
  1248. elseif Type == "Knockdown2" then
  1249. local hum = h
  1250.  
  1251. hum.PlatformStand = true
  1252. coroutine.resume(coroutine.create(function(HHumanoid)
  1253.  
  1254.  
  1255. Combo = 1 wait(.2)
  1256. HHumanoid.PlatformStand = false
  1257. end
  1258. ), hum)
  1259. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1260. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1261. 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})
  1262. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1263. game:GetService("Debris"):AddItem(rl, 0.2)
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1271. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1272.  
  1273. elseif Type == "Normal" then
  1274. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1275. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1276. 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})
  1277. game:GetService("Debris"):AddItem(bodvol, .1)
  1278.  
  1279.  
  1280.  
  1281. elseif Type== "Fire" then
  1282. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1283.  
  1284. local tags = 0
  1285. for _,v2 in next, HTorso:GetChildren() do
  1286. if v2:IsA("Folder") and v2.Name == "OnFire" then
  1287. tags=tags+1
  1288. end
  1289. end
  1290.  
  1291. if tags < 2 then
  1292.  
  1293. local fireef = EffectPack.FireEffect:Clone()
  1294.  
  1295. local tag = Instance.new("Folder",HTorso)
  1296. tag.Name = "OnFire"
  1297. game:GetService("Debris"):AddItem(tag, 4.5)
  1298. for _,v in next, fireef:GetDescendants() do if v:IsA("ParticleEmitter") or v:IsA("SpotLight") then game:GetService("Debris"):AddItem(v, 5) v.Parent = HTorso
  1299. coroutine.resume(coroutine.create(function()
  1300. for i = 1,35 do
  1301. coroutine.resume(coroutine.create(function()
  1302. v:Emit(2) end))
  1303. coroutine.resume(coroutine.create(function()
  1304. Damagefunc(HTorso, HTorso, 4/2, 6/2, 0, "Normal", RootPart, 0.1, "1273118342", math.random(10,30)/10)
  1305. end))
  1306. if HTorso.Parent:FindFirstChildOfClass("Humanoid") and HTorso.Parent:FindFirstChildOfClass("Humanoid").Health > .01 then
  1307. else for _,v2 in next, HTorso.Parent:GetDescendants() do if v2:isA("BasePart") then SetTween(v2,{Color=C3(0,0,0)},"Quad","Out",.5) end end break
  1308. end
  1309. wait(.1)
  1310. end
  1311. end))
  1312.  
  1313. end end
  1314.  
  1315.  
  1316. fireef:Destroy()
  1317. else-- print("Hit Max")
  1318. end
  1319. elseif Type== "Instakill" then
  1320. coroutine.resume(coroutine.create(function()
  1321. if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1322.  
  1323.  
  1324. local FATag = Instance.new("Model",h.Parent)
  1325.  
  1326. FATag.Name = "Fly away"
  1327. game:GetService("Debris"):AddItem(FATag, 2.5)
  1328.  
  1329.  
  1330. for _,v in pairs(h.Parent:children()) do
  1331. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1332. v.Anchored=true
  1333. end
  1334. end
  1335.  
  1336. wait(.25)
  1337.  
  1338. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1339. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1340. end
  1341.  
  1342.  
  1343. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1344.  
  1345. coroutine.resume(coroutine.create(function()
  1346.  
  1347.  
  1348. local YourGone = Instance.new("Part")
  1349. YourGone.Reflectance = 0
  1350. YourGone.Transparency = 1
  1351. YourGone.CanCollide = false
  1352. YourGone.Locked = true
  1353. YourGone.Anchored=true
  1354. YourGone.BrickColor = BrickColor.new("Really blue")
  1355. YourGone.Name = "YourGone"
  1356. YourGone.Size = Vector3.new()
  1357. YourGone.Material = "SmoothPlastic"
  1358. YourGone:BreakJoints()
  1359. YourGone.Parent = FoundTorso
  1360. YourGone.CFrame = FoundTorso.CFrame
  1361.  
  1362. local NewParticle = Instance.new("ParticleEmitter")
  1363. NewParticle.Parent = YourGone
  1364. NewParticle.Acceleration = Vector3.new(0,0,0)
  1365. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1366. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1367. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1368. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1369. NewParticle.Speed = NumberRange.new(0,0.0)
  1370. NewParticle.ZOffset = 2
  1371. NewParticle.Texture = "rbxassetid://243660364"
  1372. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1373. NewParticle.Rotation = NumberRange.new(-180,180)
  1374. NewParticle.Enabled = false
  1375. game:GetService("Debris"):AddItem(YourGone, 3)
  1376. for i = 0,2,1 do
  1377. NewParticle:Emit(1)
  1378. so("1448044156", FoundTorso,2, 1)
  1379. h.Parent:BreakJoints()
  1380. YourGone.CFrame = FoundTorso.CFrame
  1381. for _,v in pairs(h.Parent:children()) do
  1382. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1383. v.Anchored=false
  1384. -- v.Material = "Neon"
  1385. --v.BrickColor = BrickColor.new("Really red")
  1386. if v:FindFirstChildOfClass("SpecialMesh")then
  1387. --v:Destroy()
  1388. end
  1389. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1390. -- v:Destroy()
  1391. end
  1392. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1393.  
  1394. vp.Parent = v
  1395. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1396.  
  1397.  
  1398. end
  1399.  
  1400.  
  1401.  
  1402. end
  1403.  
  1404.  
  1405.  
  1406. wait(.2)
  1407. end
  1408. wait(.1)
  1409. NewParticle:Emit(3)
  1410. so("1448044156", FoundTorso,2, .8)
  1411. h.Parent:BreakJoints()
  1412. YourGone.CFrame = FoundTorso.CFrame
  1413. for _,v in pairs(h.Parent:children()) do
  1414. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1415. v.Anchored=false
  1416. -- v.Material = "Neon"
  1417. --v.BrickColor = BrickColor.new("Really red")
  1418. if v:FindFirstChildOfClass("SpecialMesh")then
  1419. --v:Destroy()
  1420. end
  1421. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1422. -- v:Destroy()
  1423. end
  1424. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1425.  
  1426. vp.Parent = v
  1427. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1428.  
  1429.  
  1430. end
  1431.  
  1432.  
  1433.  
  1434. end
  1435.  
  1436.  
  1437.  
  1438.  
  1439. end))
  1440.  
  1441.  
  1442.  
  1443.  
  1444. wait(.1)
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452. end
  1453.  
  1454.  
  1455. end))
  1456.  
  1457.  
  1458. elseif Type == "HPSteal" then
  1459. Humanoid.Health = Humanoid.Health + Damage
  1460. local hum = h
  1461.  
  1462. hum.PlatformStand = true
  1463. coroutine.resume(coroutine.create(function(HHumanoid)
  1464.  
  1465.  
  1466. Combo = 1 wait(.2)
  1467. HHumanoid.PlatformStand = false
  1468. end
  1469. ), hum)
  1470. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1471. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1472. 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})
  1473. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1474. game:GetService("Debris"):AddItem(rl, 0.2)
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1482. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1483.  
  1484.  
  1485. elseif Type == "Impale" then
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  1495. hit.Parent.Humanoid.PlatformStand = true
  1496.  
  1497.  
  1498. wait(1)
  1499. hit.Parent.Humanoid.PlatformStand = false
  1500. elseif Type == "IgnoreType" then
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506. elseif Type == "Up" then
  1507. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1508. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  1509. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1510. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518. elseif Type == "Snare" then
  1519. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso"))})
  1520. game:GetService("Debris"):AddItem(bp, 1)
  1521.  
  1522.  
  1523.  
  1524. elseif Type == "Freeze2" then
  1525. 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})
  1526. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  1527. hit.Parent.Torso.Anchored = true
  1528. coroutine.resume(coroutine.create(function(Part)
  1529.  
  1530. wait(1.5)
  1531. Part.Anchored = false
  1532. end
  1533. ), hit.Parent.Torso)
  1534. game:GetService("Debris"):AddItem(BodPos, 3)
  1535. game:GetService("Debris"):AddItem(BodGy, 3)
  1536. end
  1537. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1538. game:GetService("Debris"):AddItem(debounce, Delay)
  1539. c = Instance.new("ObjectValue")
  1540. c.Name = "creator"
  1541. c.Value = Player
  1542. c.Parent = h
  1543. game:GetService("Debris"):AddItem(c, 0.5)
  1544. end
  1545. end
  1546.  
  1547.  
  1548.  
  1549. ShowDamage = function(Pos, Text, Time, Color)
  1550.  
  1551. local Rate = 0.033333333333333
  1552. if not Pos then
  1553. local Pos = Vector3.new(0, 0, 0)
  1554. end
  1555. local Text = Text or ""
  1556. local Time = Time or 2
  1557. if not Color then
  1558. local Color = Color3.new(1, 0, 1)
  1559. end
  1560. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1561. EffectPart.Anchored = true
  1562. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(2, 0, 2, 0), Adornee = EffectPart, Parent = EffectPart})
  1563. 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})
  1564. TextLabel.TextTransparency=1
  1565. game.Debris:AddItem(EffectPart, Time + 0.1)
  1566. EffectPart.Parent = game:GetService("Workspace")
  1567. delay(0, function()
  1568.  
  1569. local Frames = Time / Rate
  1570.  
  1571.  
  1572.  
  1573. --print(Frames)
  1574.  
  1575. EffectPart.CFrame=CFrame.new(Pos)
  1576. wait() TextLabel.TextTransparency=0
  1577. SetTween(TextLabel,{TextTransparency=1},"Quad","In",Frames/60)
  1578. SetTween(TextLabel,{Rotation=math.random(-25,25)},"Elastic","InOut",Frames/60)
  1579. SetTween(TextLabel,{TextColor3=Color3.new(1,0,0)},"Elastic","InOut",Frames/60)
  1580.  
  1581. SetTween(EffectPart,{CFrame = CFrame.new(Pos) + Vector3.new(math.random(-5,5), math.random(1,5), math.random(-5,5))},"Linear","InOut",Frames/60)
  1582.  
  1583.  
  1584. wait(Frames/60)
  1585.  
  1586. if EffectPart and EffectPart.Parent then
  1587. EffectPart:Destroy()
  1588. end
  1589. end
  1590. )
  1591. end
  1592.  
  1593. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2)
  1594.  
  1595.  
  1596.  
  1597.  
  1598. local Type=""
  1599.  
  1600.  
  1601.  
  1602.  
  1603. if mememode == true then
  1604.  
  1605. Type= "Instakill"
  1606.  
  1607. else
  1608. Type=Type2
  1609. end
  1610. if Type2 == "NormalKnockdown" then
  1611. Type= "Knockdown"
  1612. end
  1613.  
  1614. for _,c in pairs(workspace:children()) do
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620. local hum = c:FindFirstChild("Humanoid")
  1621. for _,v in pairs(c:children()) do
  1622. if v:IsA("Humanoid") then
  1623. hum = v
  1624. end
  1625. end
  1626.  
  1627.  
  1628.  
  1629.  
  1630. if hum ~= nil then
  1631. local head = c:findFirstChild("Head")
  1632. if head ~= nil then
  1633. local targ = head.Position - Part.Position
  1634. local mag = targ.magnitude
  1635. if mag <= magni and c.Name ~= Player.Name then
  1636. Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642.  
  1643.  
  1644. function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type)
  1645. local DGP = Instance.new("Part")
  1646.  
  1647. DGP.Parent = Character
  1648. DGP.Size = Vector3.new(0.05, 0.05, 0.05)
  1649. DGP.Transparency = 1
  1650. DGP.CanCollide = false
  1651. DGP.Anchored = true
  1652. RemoveOutlines(DGP)
  1653. DGP.Position=DGP.Position + Vector3.new(0,-.1,0)
  1654. DGP.CFrame = HTCF
  1655.  
  1656. coroutine.resume(coroutine.create(function()
  1657. MagniDamage(DGP, magni, mindam, maxdam, knock, Type)
  1658. end))
  1659. game:GetService("Debris"):AddItem(DGP, .05)
  1660.  
  1661.  
  1662. DGP.Archivable = false
  1663. end
  1664.  
  1665.  
  1666.  
  1667. -----------------
  1668.  
  1669. function BulletHitEffectSpawn(EffectCF,EffectName)
  1670. local MainEffectHolder=Instance.new("Part",Effects)
  1671. MainEffectHolder.Reflectance = 0
  1672. MainEffectHolder.Transparency = 1
  1673. MainEffectHolder.CanCollide = false
  1674. MainEffectHolder.Locked = true
  1675. MainEffectHolder.Anchored=true
  1676. MainEffectHolder.BrickColor = BrickColor.new("Bright green")
  1677. MainEffectHolder.Name = "Bullet"
  1678. MainEffectHolder.Size = Vector3.new(.05,.05,.05)
  1679. MainEffectHolder.Material = "Neon"
  1680. MainEffectHolder:BreakJoints()
  1681. MainEffectHolder.CFrame = EffectCF
  1682. local EffectAttach=Instance.new("Attachment",MainEffectHolder)
  1683. game:GetService("Debris"):AddItem(MainEffectHolder, 15)
  1684.  
  1685. if EffectName == "Explode" then
  1686. EffectAttach.Orientation = Vector3.new(90,0,0)
  1687.  
  1688.  
  1689.  
  1690.  
  1691. local SpawnedParticle1 = EffectPack.Bang2:Clone()
  1692. SpawnedParticle1.Parent = MainEffectHolder
  1693. SpawnedParticle1:Emit(150)
  1694.  
  1695.  
  1696.  
  1697. local SpawnedParticle2 = EffectPack.Bang1:Clone()
  1698. SpawnedParticle2.Parent = MainEffectHolder
  1699. SpawnedParticle2:Emit(25)
  1700.  
  1701.  
  1702.  
  1703. local SpawnedParticle3 = EffectPack.Bang3:Clone()
  1704. SpawnedParticle3.Parent = MainEffectHolder
  1705. SpawnedParticle3:Emit(185)
  1706. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1707.  
  1708.  
  1709. end
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716. if EffectName == "Spark" then
  1717.  
  1718. EffectAttach.Orientation = Vector3.new(90,0,0)
  1719.  
  1720.  
  1721.  
  1722.  
  1723. local SpawnedParticle1 = EffectPack.Spark:Clone()
  1724. SpawnedParticle1.Parent = MainEffectHolder
  1725. SpawnedParticle1:Emit(1)
  1726.  
  1727.  
  1728.  
  1729.  
  1730. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1731.  
  1732.  
  1733. end
  1734.  
  1735.  
  1736.  
  1737. if EffectName == "ShockWave" then
  1738.  
  1739. EffectAttach.Orientation = Vector3.new(90,0,0)
  1740.  
  1741.  
  1742.  
  1743.  
  1744. local SpawnedParticle1 = EffectPack.ShockWave1:Clone()
  1745. SpawnedParticle1.Parent = MainEffectHolder
  1746. SpawnedParticle1:Emit(0)
  1747. local SpawnedParticle2 = EffectPack.ShockWave2:Clone()
  1748. SpawnedParticle2.Parent = MainEffectHolder
  1749. SpawnedParticle2:Emit(2)
  1750.  
  1751.  
  1752.  
  1753. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1754.  
  1755.  
  1756. end
  1757.  
  1758.  
  1759.  
  1760.  
  1761. if EffectName == "Nuke" then
  1762. so(923073285,MainEffectHolder,8,2)
  1763. EffectAttach.Orientation = Vector3.new(0,0,0)
  1764. local EffectAttach2=Instance.new("Attachment",MainEffectHolder)
  1765. EffectAttach2.Orientation = Vector3.new(0,0,0)
  1766.  
  1767.  
  1768.  
  1769.  
  1770. local SpawnedParticle1 = EffectPack.Nuke_Flash:Clone()
  1771. SpawnedParticle1.Parent = EffectAttach
  1772. SpawnedParticle1:Emit(20)
  1773.  
  1774.  
  1775.  
  1776. local SpawnedParticle2 = EffectPack.Nuke_Smoke:Clone()
  1777. SpawnedParticle2.Parent = EffectAttach2
  1778. SpawnedParticle2.Enabled = true
  1779. coroutine.resume(coroutine.create(function()
  1780.  
  1781. for i = 0,2,.025/1.5 do
  1782.  
  1783.  
  1784. SpawnedParticle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.15,.5+(i/4)),NumberSequenceKeypoint.new(.95,.5+(i/4)),NumberSequenceKeypoint.new(1,1)})
  1785. Swait()
  1786. end
  1787. SpawnedParticle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,1)})
  1788.  
  1789. SpawnedParticle2.Enabled = false
  1790. end))
  1791.  
  1792.  
  1793. local SpawnedParticle3 = EffectPack.Nuke_Wave:Clone()
  1794. SpawnedParticle3.Parent = EffectAttach
  1795. SpawnedParticle3:Emit(185)
  1796. game:GetService("Debris"):AddItem(EffectAttach, 10)
  1797.  
  1798.  
  1799. end
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812. end
  1813.  
  1814.  
  1815.  
  1816.  
  1817. --[[
  1818. for i, v in pairs(C:GetChildren()) do
  1819. if v:IsA("Accessory")then
  1820. v:Destroy()
  1821. end
  1822. if v:IsA("BasePart")then
  1823. v.Transparency =1
  1824. if v.Name == "Head" then
  1825. v:FindFirstChildOfClass("Decal"):Destroy()
  1826. end
  1827. end
  1828. end--]]
  1829. --[[
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843. local tweeningInformation = TweenInfo.new(
  1844. 0.5,
  1845. Enum.EasingStyle.Back,
  1846. Enum.EasingDirection.Out,
  1847. 0,
  1848. false,
  1849. 0
  1850. )
  1851. --]]
  1852.  
  1853.  
  1854. local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0)
  1855. RJW.C1 = RJ.C1
  1856. RJW.Name = RJ.Name
  1857.  
  1858. local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0)
  1859. NeckW.C1 = Neck.C1
  1860. NeckW.Name = Neck.Name
  1861.  
  1862.  
  1863. --print(WRJ.Parent.Name)
  1864.  
  1865. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  1866.  
  1867. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  1868.  
  1869. local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
  1870.  
  1871. local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
  1872.  
  1873.  
  1874.  
  1875. RW.C1 = cn(0, 0.5, 0)
  1876. LW.C1 = cn(0, 0.5, 0)
  1877. RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1878. LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885. --------
  1886. --(#Torso)
  1887. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  1888. --------
  1889. --(#Head)
  1890. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  1891. --------
  1892. --(#Right Arm)
  1893. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  1894. --------
  1895. --(#Left Arm)
  1896. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  1897. --------
  1898. --(#Right Leg)
  1899. SetTween(RH,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1)
  1900. --------
  1901. --(#Left Leg)
  1902. SetTween(LH,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1)
  1903.  
  1904.  
  1905.  
  1906. --[[
  1907. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1908. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1909. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1910. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1911. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1912. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1913. --]]
  1914.  
  1915.  
  1916. function AT1()
  1917. attack=true
  1918. local dahspeed=1
  1919. if attack == true and mememode == true then
  1920. dahspeed=5
  1921. end --/dahspeed
  1922. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-40))},"Quad","InOut",0.2)
  1923. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",0.2)
  1924. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1925. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1926. SetTween(RH,{C0=CFrame.new(.5, -.6, -.4)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1927. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(20),math.rad(0),math.rad(20))},"Quad","InOut",0.2)
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933. wait(.2/dahspeed)
  1934.  
  1935. --coroutine.resume(coroutine.create(function()
  1936. -- so("1428541279", RightArm,1.6, math.random(120,220)/100)
  1937.  
  1938.  
  1939. CFMagniDamage(RootPart.CFrame*CF(0,-1,-1),7,10,20,20,"Normal")
  1940. --end))
  1941.  
  1942. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(-40),math.rad(0),math.rad(40))},"Back","Out",0.2)
  1943. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Back","Out",0.2)
  1944. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(-30),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1945. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(-30),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1946. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(120),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1947. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-60),math.rad(0),math.rad(-20))},"Back","Out",0.2)
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953. wait(.2/dahspeed)
  1954.  
  1955.  
  1956. attack = false
  1957. end
  1958.  
  1959.  
  1960.  
  1961.  
  1962. function AT2()
  1963. attack=true
  1964. local dahspeed=1
  1965. if attack == true and mememode == true then
  1966. dahspeed=5
  1967. end --/dahspeed
  1968.  
  1969. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(60))},"Quad","InOut",0.2)
  1970. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60))},"Quad","InOut",0.2)
  1971. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1972. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1973. SetTween(RH,{C0=CFrame.new(.5, -.5, -.4)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1974. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1975.  
  1976. CFMagniDamage(RootPart.CFrame*CF(0,-0,-1),9,10,15,0,"Normal")
  1977.  
  1978. wait(.2/dahspeed)
  1979.  
  1980. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(-70))},"Back","Out",0.2)
  1981. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70))},"Back","Out",0.2)
  1982. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1983. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(-20),math.rad(-90))},"Back","Out",0.2)
  1984. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1985. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1986.  
  1987.  
  1988. wait(.2/dahspeed)
  1989. attack = false
  1990. end
  1991.  
  1992. function AT3()
  1993. attack=true
  1994. local dahspeed=1
  1995. if attack == true and mememode == true then
  1996. dahspeed=5
  1997. end --/dahspeed
  1998. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(120))},"Quad","In",0.2)
  1999. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-80))},"Quad","InOut",0.2)
  2000. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(20))},"Quad","InOut",0.2)
  2001. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(20),math.rad(-0),math.rad(-0))},"Quad","InOut",0.2)
  2002. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  2003. SetTween(LH,{C0=CFrame.new(-.5, -.8, 0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  2004.  
  2005. wait(.2/dahspeed)
  2006. CFMagniDamage(RootPart.CFrame*CF(-2,-.25,-1),9,20,30,10,"Knockdown")
  2007.  
  2008. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(20),math.rad(0),math.rad(-0))},"Back","Out",0.2)
  2009. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2010. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(90))},"Back","Out",0.2)
  2011. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(20),math.rad(-0),math.rad(-0))},"Back","Out",0.2)
  2012. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2013. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2014. wait(.2/dahspeed)
  2015. attack = false
  2016. end
  2017.  
  2018.  
  2019.  
  2020. function AT4()
  2021. attack=true
  2022. local dahspeed=1
  2023. if attack == true and mememode == true then
  2024. dahspeed=5
  2025. end --/dahspeed
  2026.  
  2027. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(-80))},"Quad","InOut",0.2)
  2028. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(80))},"Quad","InOut",0.2)
  2029. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  2030. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(-20),math.rad(-70),math.rad(-90))},"Quad","InOut",0.2)
  2031. SetTween(RH,{C0=CFrame.new(.5, -1, -.0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  2032. SetTween(LH,{C0=CFrame.new(-.5, -.5, -0.4)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  2033.  
  2034. CFMagniDamage(RootPart.CFrame*CF(0,-0,-1),9,30,45,0,"Normal")
  2035. so("3051417237", LeftArm,3, math.random(100,155)/100)
  2036. wait(0.2/dahspeed)
  2037.  
  2038. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(20),math.rad(0),math.rad(45))},"Back","Out",0.2)
  2039. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(-45))},"Back","Out",0.2)
  2040. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2041. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(-0),math.rad(-90))},"Back","Out",0.2)
  2042. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2043. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-10),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2044.  
  2045.  
  2046. wait(.2/dahspeed)
  2047. attack = false
  2048. end
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054. function AT5()
  2055. attack=true
  2056. local dahspeed=1
  2057. if attack == true and mememode == true then
  2058. dahspeed=5
  2059. end --/dahspeed
  2060.  
  2061. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(80))},"Quad","InOut",0.2)
  2062. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-80))},"Quad","InOut",0.2)
  2063. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(-20),math.rad(70),math.rad(90))},"Quad","InOut",0.2)
  2064. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-90))},"Quad","InOut",0.2)
  2065. SetTween(RH,{C0=CFrame.new(.5, -.5, -0.4)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  2066. SetTween(LH,{C0=CFrame.new(-.5, -1, -0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  2067.  
  2068. CFMagniDamage(RootPart.CFrame*CF(0,-0,-1),9,30,45,0,"Normal")
  2069. so("3051417237", RightArm,3, math.random(100,155)/80)
  2070. wait(0.2/dahspeed)
  2071.  
  2072. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(20),math.rad(0),math.rad(-45))},"Back","Out",0.2)
  2073. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(45))},"Back","Out",0.2)
  2074. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(90))},"Back","Out",0.2)
  2075. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(-0),math.rad(0))},"Back","Out",0.2)
  2076. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(-10),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2077. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2078.  
  2079.  
  2080. wait(.2/dahspeed)
  2081. attack = false
  2082. end
  2083.  
  2084.  
  2085.  
  2086.  
  2087. function AT6()
  2088. attack=true
  2089. local dahspeed=1
  2090. if attack == true and mememode == true then
  2091. dahspeed=5
  2092. end --/dahspeed
  2093.  
  2094.  
  2095. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,-.3)*angles(math.rad(45),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  2096. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  2097. SetTween(RW,{C0=CFrame.new(1.1 , 0.5, -.3)*angles(math.rad(20),math.rad(115),math.rad(90))},"Quad","In",0.15)
  2098. SetTween(LW,{C0=CFrame.new(-1.1, 0.5, -.3)*angles(math.rad(20),math.rad(-115),math.rad(-90))},"Quad","In",0.15)
  2099. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(-60),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  2100. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(60),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  2101.  
  2102. so("3051417237", Torso,3, math.random(140,185)/80)
  2103. CFMagniDamage(RootPart.CFrame*CF(-1.4,-0,-1),9,40,55,10,"Knockdown")
  2104. CFMagniDamage(RootPart.CFrame*CF(1.4,-0,-1),9,40,55,10,"Knockdown")
  2105.  
  2106. wait(0.175/dahspeed)
  2107.  
  2108. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1.7,-.4)*angles(math.rad(45),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2109. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2110. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(90))},"Back","Out",0.2)
  2111. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-90))},"Back","Out",0.2)
  2112. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2113. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(65),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2114.  
  2115.  
  2116.  
  2117. wait(.2/dahspeed)
  2118. attack = false
  2119. end
  2120.  
  2121.  
  2122. function AT7()
  2123. attack=true
  2124. local dahspeed=1
  2125. if attack == true and mememode == true then
  2126. dahspeed=5
  2127. end --/dahspeed
  2128. so("3051417237", Torso,3, .8)
  2129.  
  2130. coroutine.resume(coroutine.create(function()
  2131. for i = 1,2 do Swait(3)
  2132. so("3051417087", RightArm,3, math.random(100,155)/100) end
  2133. end))
  2134. for i =1,10,1 do
  2135. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1.7+.17*i,-.4)*angles(math.rad(25-5*i),math.rad(0),math.rad(36*i))},"Quad","Out",0.1)
  2136. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  2137. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(180),math.rad(0),math.rad(90))},"Quad","Out",0.2)
  2138. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-90))},"Quad","Out",0.2)
  2139. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(-25),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  2140. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(25),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  2141. CFMagniDamage(RootPart.CFrame*CF(1.4,-0,-1+.17*i),9,10,15,10,"Knockdown")
  2142. Swait()
  2143. end
  2144.  
  2145.  
  2146.  
  2147. attack = false
  2148. end
  2149. --[[
  2150. how to make an cat fly
  2151.  
  2152.  
  2153. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-20))},"Quad","InOut",0.1)
  2154. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20))},"Quad","InOut",0.1)
  2155. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.25)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","Out",0.1)
  2156. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2157. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2158. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2159. Swait(.1*30)
  2160. for i = 1,100,0.3 do
  2161. SetTween(RJW,{C0=RootCF*CFrame.new(-20.5*math.sin(i),20.5*math.cos(i),i/.5)*angles(math.rad(25-4.5*10*i),math.rad(0),math.rad(36*i*2))},"Quad","InOut",0.1)
  2162. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-80))},"Quad","InOut",0.15)
  2163. SetTween(RW,{C0=CFrame.new(1.5 , 0.65, -.0)*angles(math.rad(160+2*i),math.rad(0),math.rad(30-3*i))},"Quad","Out",0.15)
  2164. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.15)
  2165. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0+6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  2166. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0-6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  2167. Swait() end
  2168.  
  2169. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,20)*angles(math.rad(-20),math.rad(0),math.rad(-20))},"Quad","InOut",0.1)
  2170. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20))},"Quad","InOut",0.1)
  2171. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2172. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2173. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2174. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2175. Swait(1.1*30)
  2176.  
  2177.  
  2178. ]]--
  2179.  
  2180. function joke()
  2181. attack = true
  2182. for i = 1,100,0.1 do
  2183. SetTween(RJW,{C0=RootCF*CFrame.new(-150.5*(i/10)*math.sin(i),150.5*(i/10)*math.cos(i),10*i*(i/10))*angles(math.rad(25-4.5*10*i),math.rad(0),math.rad(36*i*2))},"Quad","InOut",0.05)
  2184. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-80))},"Quad","InOut",0.15)
  2185. SetTween(RW,{C0=CFrame.new(1.5 , 0.65, -.0)*angles(math.rad(160+2*i),math.rad(0),math.rad(30-3*i))},"Quad","Out",0.15)
  2186. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.15)
  2187. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0+6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  2188. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0-6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  2189. Swait() end
  2190. attack = false
  2191. end
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209. function Attack1()
  2210. attack = true
  2211.  
  2212. Humanoid.JumpPower = 0
  2213. Humanoid.WalkSpeed=0.1
  2214. so("299058146", RightArm,2,2.5)
  2215. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-20))},"Back","Out",0.6)
  2216. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20))},"Back","Out",0.6)
  2217. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(-10),math.rad(0),math.rad(20))},"Back","Out",0.6)
  2218. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-20))},"Back","Out",0.6)
  2219. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Back","Out",0.6)
  2220. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.6)
  2221. Swait(.2*30)
  2222.  
  2223. coroutine.resume(coroutine.create(function()
  2224. local EffectAttach=Instance.new("Attachment",RightArm)
  2225. EffectAttach.Orientation = Vector3.new(0,0,0)
  2226. EffectAttach.Position = Vector3.new(0,-1,0)
  2227. local SpawnedParticle1 = EffectPack.Spark:Clone()
  2228. SpawnedParticle1.Parent = EffectAttach
  2229. SpawnedParticle1:Emit(1)
  2230.  
  2231. game:GetService("Debris"):AddItem(EffectAttach, 2)
  2232. end))
  2233.  
  2234.  
  2235.  
  2236. local TheGunHandle = Instance.new("Part")
  2237. TheGunHandle.Reflectance = 0
  2238. TheGunHandle.Transparency = 1
  2239. TheGunHandle.CanCollide = false
  2240. TheGunHandle.Locked = true
  2241. TheGunHandle.Anchored=false
  2242. TheGunHandle.BrickColor = BrickColor.new("Really blue")
  2243. TheGunHandle.Name = "BHandle"
  2244. TheGunHandle.Size = Vector3.new(2.5,1,2.5)
  2245. TheGunHandle.Material = "SmoothPlastic"
  2246. TheGunHandle:BreakJoints()
  2247. TheGunHandle.Parent = Effects
  2248. TheGunHandle.CFrame = RootPart.CFrame
  2249. TheGunHandle.Massless = false
  2250.  
  2251. local SWeld=weld(TheGunHandle,RootPart,TheGunHandle,cf(0,0,-3)*angles(math.rad(0),math.rad(0),math.rad(0)))
  2252. local IsHit = false
  2253. local function onTouch(HitPa)
  2254. if IsHit == false then
  2255. local c = HitPa.Parent
  2256. local h = HitPa.Parent:FindFirstChild("Humanoid")
  2257. for _,v in pairs(HitPa.Parent:children()) do
  2258. if v:IsA("Humanoid") then
  2259.  
  2260. h = v end
  2261.  
  2262. end
  2263. local head = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  2264. local realhead = c:FindFirstChild("Head")
  2265. if h ~= nil and head ~= nil and realhead ~= nil then
  2266.  
  2267. IsHit = true
  2268. head.Anchored=true
  2269. coroutine.resume(coroutine.create(function()
  2270. TheGunHandle:Destroy()
  2271. end))
  2272. ----------------------------------------------------------------------------------------------------------------------------------
  2273.  
  2274. local TheFlyHandle = Instance.new("Part")
  2275. TheFlyHandle.Reflectance = 0
  2276. TheFlyHandle.Transparency = 1
  2277. TheFlyHandle.CanCollide = false
  2278. TheFlyHandle.Locked = true
  2279. TheFlyHandle.Anchored=true
  2280. TheFlyHandle.BrickColor = BrickColor.new("Really blue")
  2281. TheFlyHandle.Name = "FHandle"
  2282. TheFlyHandle.Size = Vector3.new(1,1,1)
  2283. TheFlyHandle.Material = "SmoothPlastic"
  2284. TheFlyHandle:BreakJoints()
  2285. TheFlyHandle.Parent = Effects
  2286. TheFlyHandle.CFrame = RootPart.CFrame
  2287. TheFlyHandle.Massless = false
  2288.  
  2289. local thejoint =joint(TheFlyHandle,RootPart,TheFlyHandle,cf())
  2290.  
  2291.  
  2292. local risingnum=(25-4.5*1)
  2293.  
  2294.  
  2295.  
  2296. local EffectAttach=Instance.new("Attachment",RightArm)
  2297. EffectAttach.Orientation = Vector3.new(0,0,0)
  2298. EffectAttach.Position = Vector3.new(0,-1,0)
  2299. local SpawnedParticle1 = EffectPack.UpperCutSmoke:Clone()
  2300. SpawnedParticle1.Parent = EffectAttach
  2301. SpawnedParticle1.Enabled = true
  2302.  
  2303. game:GetService("Debris"):AddItem(EffectAttach, 5)
  2304.  
  2305.  
  2306. so("231917750", Torso,2,0.9)
  2307. for i = 1,10,0.4 do
  2308. SetTween(RJW,{C0=RootCF*CFrame.new(-0.5*math.sin(i),0.5*math.cos(i),0)*angles(math.rad(25-4.5*i),math.rad(0),math.rad(36*i*2))},"Quad","InOut",0.05)
  2309. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-80))},"Quad","InOut",0.15)
  2310. SetTween(RW,{C0=CFrame.new(1.5 , 0.65, -.0)*angles(math.rad(160+2*i),math.rad(0),math.rad(30-3*i))},"Quad","Out",0.15)
  2311. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.15)
  2312. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0+6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  2313. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0-6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  2314.  
  2315. SetTween(head,{CFrame=RootPart.CFrame*CF(0, 0,-1)*angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))},"Quad","InOut",0.05)
  2316.  
  2317.  
  2318.  
  2319. SetTween(thejoint,{C0=CFrame.new(0,-i*2,i/2)},"Quad","InOut",0.05)
  2320.  
  2321. risingnum = risingnum+75
  2322. if risingnum > 180 then risingnum = -180 print(1) end
  2323. if risingnum > -45 and risingnum < 45 then
  2324. BulletHitEffectSpawn(head.CFrame,"ShockWave")
  2325. so("471882019", head,3,2.5)
  2326. end
  2327. Swait()
  2328.  
  2329.  
  2330.  
  2331. end
  2332. SpawnedParticle1.Enabled = false
  2333.  
  2334. coroutine.resume(coroutine.create(function()
  2335. local EffectAttach=Instance.new("Attachment",RightArm)
  2336. EffectAttach.Orientation = Vector3.new(0,0,0)
  2337. EffectAttach.Position = Vector3.new(0,-1,0)
  2338. local SpawnedParticle1 = EffectPack.Spark:Clone()
  2339. SpawnedParticle1.Parent = EffectAttach
  2340. SpawnedParticle1:Emit(1)
  2341.  
  2342. game:GetService("Debris"):AddItem(EffectAttach, 2)
  2343. end))
  2344. coroutine.resume(coroutine.create(function()
  2345. local EffectAttach=Instance.new("Attachment",LeftArm)
  2346. EffectAttach.Orientation = Vector3.new(0,0,0)
  2347. EffectAttach.Position = Vector3.new(0,-1,0)
  2348. local SpawnedParticle1 = EffectPack.Spark:Clone()
  2349. SpawnedParticle1.Parent = EffectAttach
  2350. SpawnedParticle1:Emit(1)
  2351.  
  2352. game:GetService("Debris"):AddItem(EffectAttach, 2)
  2353. end))
  2354. so("782353117", Torso,2,0.9)
  2355. so("588738949", RightArm,3,math.random(90,110)/100)
  2356. so("588738949", LeftArm,3,math.random(90,110)/100)
  2357. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-65),math.rad(0),math.rad(-0))},"Back","Out",0.3)
  2358. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(65),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2359. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(90))},"Back","Out",0.3)
  2360. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-90))},"Back","Out",0.3)
  2361. SetTween(RH,{C0=CFrame.new(.5, -.7, -.2)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2362. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-30),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2363.  
  2364. SetTween(thejoint,{C0=CFrame.new(0,-30,5)},"Back","Out",0.6)
  2365.  
  2366. for i = 1,3 do
  2367. SetTween(head,{CFrame=RootPart.CFrame*CF(0, 0,-6)*angles(mr(0),mr(180),mr(0))},"Linear","Out",0.1)
  2368.  
  2369. Swait(0.1*30)
  2370. end
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377. for i = 1,2.5,.225 do
  2378. SetTween(RJW,{C0=RootCF*CFrame.new(0,2+(-0.75*i),20-1.8*i)*angles(math.rad(15+30*i*2),math.rad(0),math.rad(-0))},"Quad","Out",0.2)
  2379. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  2380. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(170),math.rad(0),math.rad(90-(90/2.0)*i))},"Quad","Out",0.2)
  2381. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(170),math.rad(0),math.rad(-90+(90/2.0)*i))},"Quad","Out",0.2)
  2382. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(40),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  2383. SetTween(LH,{C0=CFrame.new(-.5, -1, -0)*angles(math.rad(40),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  2384. Swait()
  2385.  
  2386. SetTween(thejoint,{C0=CFrame.new(0,-(20-1.8*i),13-1.2*i)},"Quad","Out",0.2)
  2387.  
  2388. end
  2389. so("231917750", Torso,5,0.9)
  2390. local EffectAttach2=Instance.new("Attachment",Torso)
  2391. EffectAttach2.Orientation = Vector3.new(0,0,0)
  2392. EffectAttach2.Position = Vector3.new(0,0,0)
  2393. local SpawnedParticle2 = EffectPack.SmashSmoke:Clone()
  2394. SpawnedParticle2.Parent = EffectAttach2
  2395. SpawnedParticle2.Enabled = true
  2396.  
  2397. game:GetService("Debris"):AddItem(EffectAttach2, 7)
  2398.  
  2399.  
  2400.  
  2401.  
  2402. coroutine.resume(coroutine.create(function()
  2403. local parsave = c.Parent
  2404. c.Parent = Effects
  2405. local hitground,hitgp,dir = rayCast(Torso.Position, CFrame.new(Torso.Position,(RootPart.CFrame*CF(0, -4,-10)).p).lookVector, 54, Character)
  2406. c.Parent = parsave
  2407. SetTween(head,{CFrame=cf(hitgp-VT(0,0,0),Torso.Position)*angles(mr(0),mr(180),mr(-45))},"Quad","In",0.3) Swait(.3*30) so("231917744", head,4,1.25) BulletHitEffectSpawn(CF(hitgp,hitgp+dir),"Explode") end))
  2408. coroutine.resume(coroutine.create(function()
  2409. Swait(0.3*30)
  2410.  
  2411.  
  2412.  
  2413. if c:FindFirstChild("UpperTorso") then
  2414. local ragdoll = EffectPack.R15Ragdoll:Clone()
  2415. ragdoll.Parent = c
  2416. ragdoll.Disabled = false
  2417. else
  2418. local ragdoll = EffectPack.R6Ragdoll:Clone()
  2419. ragdoll.Parent = c
  2420. ragdoll.Disabled = false
  2421. end
  2422. c:BreakJoints()
  2423. h.Health = 0
  2424.  
  2425. head.Anchored = false
  2426. end))
  2427.  
  2428. SetTween(thejoint,{C0=CFrame.new(0,0,27)},"Quad","In",0.3)
  2429. SetTween(RJW,{C0=RootCF*CFrame.new(0,-0,-.5)*angles(math.rad(85),math.rad(0),math.rad(-0))},"Quad","Out",0.2)
  2430. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-65),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2431. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(130),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2432. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(130),math.rad(0),math.rad(-0))},"Back","Out",0.2)
  2433. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(-25),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2434. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-25),math.rad(0),math.rad(0))},"Back","Out",0.2)
  2435. Swait(0.3*30)
  2436.  
  2437. SpawnedParticle2.Enabled = false
  2438. SetTween(RJW,{C0=RootCF*CFrame.new(0,-0,0)*angles(math.rad(-0),math.rad(0),math.rad(-0))},"Quad","Out",0.25)
  2439. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(0))},"Back","Out",0.25)
  2440. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(30))},"Back","Out",0.25)
  2441. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(-30))},"Back","Out",0.25)
  2442. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(10),math.rad(0),math.rad(0))},"Back","Out",0.25)
  2443. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-10),math.rad(0),math.rad(0))},"Back","Out",0.25)
  2444. Swait(0.25*30)
  2445. TheFlyHandle:Destroy()
  2446.  
  2447.  
  2448. attack = false
  2449. ----------------------------------------------------------------------------------------------------------------------------------
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457. end
  2458.  
  2459. end
  2460. end
  2461. local combothingy = TheGunHandle.Touched:connect(onTouch)
  2462. Swait(.5*30)
  2463. if TheGunHandle.Parent == Effects then
  2464. combothingy:disconnect()
  2465. TheGunHandle:Destroy()
  2466. attack = false
  2467. end
  2468. while true do Swait()
  2469.  
  2470. if attack == false then
  2471. break
  2472. end
  2473.  
  2474. end
  2475. print("aaaaaaaaaaaaaaaaaa")
  2476. combothingy:disconnect()
  2477. Humanoid.JumpPower = 60
  2478. Humanoid.WalkSpeed=16
  2479.  
  2480.  
  2481.  
  2482.  
  2483. end
  2484.  
  2485.  
  2486.  
  2487.  
  2488. function Attack6()
  2489.  
  2490. for i, v in pairs(GatherAllInstances(Effects)) do
  2491. if v.Name == "Zombie" then
  2492. v.Parent:Destroy()
  2493. end
  2494. end
  2495. end
  2496.  
  2497. function ClickCombo()
  2498. if Anim == "Fall" or Anim == "Jump" then
  2499. if Combo == 0 then
  2500. --DownAT()
  2501. end
  2502. else
  2503. if agresive == false then
  2504. if Combo == 0 then
  2505. AT1()
  2506. Combo = 1
  2507. elseif Combo == 1 then
  2508. AT2()
  2509. Combo = 2
  2510. elseif Combo == 2 then
  2511. AT3()
  2512. Combo = 0
  2513. elseif Combo == 3 then
  2514. Combo = 0
  2515. ClickCombo()
  2516. end
  2517.  
  2518. else
  2519. if Combo == 0 then
  2520. AT4()
  2521. Combo = 1
  2522. elseif Combo == 1 then
  2523. AT5()
  2524. Combo = 2
  2525. elseif Combo == 2 then
  2526. AT6()
  2527. Combo = 3
  2528. elseif Combo == 3 then
  2529. AT7()
  2530. Combo = 0
  2531. end
  2532.  
  2533. end
  2534. end
  2535. end
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541. local Hold = false
  2542.  
  2543.  
  2544. Button1DownF=function()
  2545.  
  2546. Hold= true
  2547. while Hold == true do
  2548. if attack == false then
  2549. ClickCombo()
  2550. else
  2551.  
  2552. end Swait()
  2553. end
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562. end
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568. Button1UpF=function()
  2569.  
  2570. if Hold==true then
  2571.  
  2572. Hold = false
  2573.  
  2574. end
  2575.  
  2576. end
  2577.  
  2578. KeyUpF=function(key)
  2579.  
  2580.  
  2581.  
  2582. end
  2583.  
  2584. KeyDownF=function(key)
  2585. if key == "f" and attack == false then
  2586. --Attack1()
  2587. if agresive == false then
  2588. SetTween(RCW,{C0=CF(0,-.75,0)},"Quad","Out",.5)
  2589. SetTween(LCW,{C0=CF(0,-.75,0)},"Quad","Out",.5)
  2590. agresive= true
  2591. so("3051417649", RightArm,1.5, .8)
  2592. so("3051417649", LeftArm,1.5, .8)
  2593. else
  2594. SetTween(RCW,{C0=CF(0,-0,0)},"Quad","In",.5)
  2595. SetTween(LCW,{C0=CF(0,-0,0)},"Quad","In",.5)
  2596. agresive= false
  2597. so("3051417791", RightArm,1.5, .8)
  2598. so("3051417791", LeftArm,1.5, .8)
  2599. end
  2600.  
  2601. end
  2602. if key == "r" and attack == false then
  2603.  
  2604.  
  2605. attack = true
  2606. local laying = true
  2607. while laying == true do
  2608.  
  2609.  
  2610. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-2.20)*angles(math.rad(75),math.rad(5* math.cos(sine / 8 )),math.rad(5* math.cos(sine / 8 )))},"Linear","InOut",0.1)
  2611. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-40),math.rad(15* math.sin(sine / 8 )),math.rad(0))},"Linear","InOut",0.1)
  2612. SetTween(RW,{C0=CFrame.new(1.0 , 0.5, -.4)*angles(math.rad(160),math.rad(5* math.cos(sine / 8 )),math.rad(-50+5* math.cos(sine / 8 )))},"Linear","Out",0.1)
  2613. SetTween(LW,{C0=CFrame.new(-1.0, 0.5, -.4)*angles(math.rad(160),math.rad(5* math.cos(sine / 8 )),math.rad(40+5* math.cos(sine / 8 )))},"Linear","Out",0.1)
  2614. SetTween(RH,{C0=CFrame.new(.5, -.9-.1* math.cos(sine / 8 ), -.4+.4* math.cos(sine / 8 ))*angles(math.rad(-50+35* math.cos(sine / 8 )),math.rad(5* math.cos(sine / 8 )),math.rad(-15* math.cos(sine / 8 )))},"Linear","InOut",0.1)
  2615. SetTween(LH,{C0=CFrame.new(-.5, -.9+.1* math.cos(sine / 8 ), -.4-.4* math.cos(sine / 8 ))*angles(math.rad(-50-35* math.cos(sine / 8 )),math.rad(5* math.cos(sine / 8 )),math.rad(-15* math.cos(sine / 8 )))},"Linear","InOut",0.1)
  2616.  
  2617. SetTween(tailw,{C0=CF(-.2* math.cos(sine / 8 ),0,.30+.15* math.sin(sine / 4 ))*ANGLES(mr(80+10* math.sin(sine / 4 )),mr(10* math.cos(sine / 8 )),mr(10-30* math.cos(sine / 8 )))},"Linear","In",.1)
  2618. Swait()
  2619. if (Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude > .5 then
  2620. laying = false
  2621. end
  2622. end
  2623.  
  2624.  
  2625. attack = false
  2626.  
  2627.  
  2628. end
  2629. if key == "z" and attack == false then
  2630. Attack1()
  2631. end
  2632. if key == "x" and attack == false then
  2633. --Attack2()
  2634. end
  2635. if key == "c" and attack == false then
  2636. --Attack3()
  2637. end
  2638. if key == "v" and attack == false then
  2639. --Attack4()
  2640. end
  2641. if key == "f" and attack == false then
  2642. --Attack5()
  2643. end
  2644. if key == "y" and attack == false then
  2645. joke()
  2646. end
  2647. if key == "t" and attack == false then
  2648. --Tuant()
  2649. attack = true
  2650.  
  2651. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30))},"Back","Out",0.3)
  2652. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Back","Out",0.3)
  2653. SetTween(RW,{C0=CFrame.new(1.3 , 0.5, -.0)*angles(math.rad(120),math.rad(0),math.rad(-40))},"Back","Out",0.3)
  2654. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2655. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2656. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.3)
  2657. Swait(.3*30)
  2658.  
  2659. so("3051419970", Character,4, .9)
  2660. change = 4.3
  2661. for i = 1,4,0.1 do
  2662.  
  2663. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-.1-.05* math.cos(sine / 8))*angles(math.rad(1+1* math.cos(sine / 8)),math.rad(0),math.rad(30+1* math.cos(sine / 8)))},"Quad","InOut",0.1)
  2664. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30+1* math.cos(sine / 8)))},"Quad","InOut",0.1)
  2665. SetTween(RW,{C0=CFrame.new(1.3 , 0.5, -.0)*angles(math.rad(120),math.rad(0),math.rad(-40))},"Quad","InOut",0.1)
  2666. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2667. SetTween(RH,{C0=CFrame.new(.5, -.95+.05* math.cos(sine / 8), -.2+.05* math.cos(sine / 8))*angles(math.rad(-10+1* math.cos(sine / 8)),math.rad(25* math.cos(sine / 16)),math.rad(0))},"Quad","InOut",0.1)
  2668. SetTween(LH,{C0=CFrame.new(-.5, -.95+.05* math.cos(sine / 8), 0)*angles(math.rad(1+1* math.cos(sine / 8)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2669. Swait()
  2670. end
  2671. attack = false
  2672. end
  2673. if key == "p" and attack == false and Player.Name=="123jl123" then
  2674. if mememode == false then
  2675. mememode=true
  2676.  
  2677. --so("1499015636", Character,3, 1)
  2678. lastid= "http://www.roblox.com/asset/?id=876542935"
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690. lastsongpos = 0
  2691. s2.TimePosition = lastsongpos
  2692.  
  2693.  
  2694. else
  2695. mememode=false
  2696. CurId=CurId-1
  2697. KeyDownF("n")
  2698.  
  2699. end
  2700. end
  2701.  
  2702.  
  2703. if key == "0" then
  2704. if isruning == false then
  2705. isruning=true
  2706. end
  2707. end
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714. if key == "m" then
  2715.  
  2716. if playsong == true then
  2717. playsong = false
  2718. s2:stop()
  2719. elseif playsong == false then
  2720. playsong = true
  2721.  
  2722.  
  2723. s2:play()
  2724. end
  2725.  
  2726. end
  2727.  
  2728.  
  2729.  
  2730. if key == "n" and mememode == false then
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737. CurId = CurId + 1
  2738.  
  2739. if CurId > 5 then
  2740. CurId = 1
  2741.  
  2742. end
  2743. warn("now playing song Nr"..CurId)
  2744. if CurId == 1 then
  2745. lastid= "http://www.roblox.com/asset/?id=876316256"
  2746. elseif CurId == 2 then
  2747. lastid= "http://www.roblox.com/asset/?id=148453883"
  2748. elseif CurId == 3 then
  2749. lastid= "http://www.roblox.com/asset/?id=2899621215"
  2750. elseif CurId == 4 then
  2751. lastid= "http://www.roblox.com/asset/?id=256006025"
  2752. elseif CurId == 5 then
  2753. lastid= "http://www.roblox.com/asset/?id=396979089"
  2754.  
  2755. elseif CurId == 6 then
  2756. lastid= "http://www.roblox.com/asset/?id=968322964"
  2757.  
  2758.  
  2759.  
  2760. end
  2761.  
  2762.  
  2763. lastsongpos = 0
  2764. s2.TimePosition = lastsongpos
  2765.  
  2766.  
  2767. end
  2768.  
  2769.  
  2770. end
  2771.  
  2772. FF = Instance.new("ForceField",Character)
  2773. FF.Visible = false
  2774. Humanoid.DisplayDistanceType = "None"
  2775. Humanoid.MaxHealth = 9999
  2776.  
  2777. Humanoid.Health = 9999
  2778. GainCharge = function()
  2779. Humanoid.MaxHealth = 9999
  2780. Humanoid.Health = 9999
  2781. end
  2782.  
  2783. Humanoid.HealthChanged:connect(function() GainCharge(Humanoid) end)
  2784.  
  2785. coroutine.resume(coroutine.create(function()
  2786. while Humanoid.Health>0.001 do
  2787. sine = sine + change
  2788. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2789. if Character:FindFirstChild("Sound") then
  2790. Character:FindFirstChild("Sound"):Destroy()
  2791. end
  2792. local torvel = (Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude
  2793. local velderp = RootPart.Velocity.y
  2794. if RootPart.Velocity.y > 1 and hitfloor == nil then
  2795. Anim = "Jump"
  2796.  
  2797. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  2798. Anim = "Fall"
  2799. elseif Humanoid.Sit == true then
  2800. Anim = "Sit"
  2801. elseif torvel < .5 and hitfloor ~= nil then
  2802. Anim = "Idle"
  2803. elseif torvel > .5 and hitfloor ~= nil then
  2804.  
  2805. Anim = "Walk"
  2806.  
  2807.  
  2808.  
  2809.  
  2810. else
  2811. Anim = ""
  2812.  
  2813. end
  2814.  
  2815.  
  2816. local Ccf=RootPart.CFrame
  2817. --warn(Humanoid.MoveDirection*RootPart.CFrame.lookVector)
  2818. local Walktest1 = Humanoid.MoveDirection*Ccf.LookVector
  2819. local Walktest2 = Humanoid.MoveDirection*Ccf.RightVector
  2820. --warn(Walktest1.Z.."/"..Walktest1.X)
  2821. --warn(Walktest2.Z.."/"..Walktest2.X)
  2822. forWFB = Walktest1.X+Walktest1.Z
  2823. forWRL = Walktest2.X+Walktest2.Z
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829. --print(Humanoid.MoveDirection)
  2830. --warn(Torso.CFrame.lookVector)
  2831.  
  2832.  
  2833.  
  2834. coroutine.resume(coroutine.create(function()
  2835.  
  2836.  
  2837. if s2.Parent == nil or s2 == nil then
  2838.  
  2839. s2 = s2c:Clone()
  2840. s2.Parent = Torso
  2841. s2.Name = "BGMusic"
  2842. -- s2.SoundId = lastid
  2843. s2.Pitch = 1
  2844. s2.Volume = 1.5
  2845. s2.Looped = true
  2846. s2.archivable = false
  2847. s2.TimePosition = lastsongpos
  2848. if playsong == true then
  2849. s2:play()
  2850. elseif playsong == false then
  2851. s2:stop()
  2852. end
  2853.  
  2854.  
  2855. else
  2856. lastsongpos=s2.TimePosition
  2857. s2.Pitch = 1
  2858.  
  2859. s2.Volume = 1.5
  2860.  
  2861. s2.Looped = true
  2862. s2.SoundId = lastid
  2863. s2.EmitterSize = 30
  2864. end
  2865.  
  2866.  
  2867.  
  2868. end))
  2869. mouse.Button1Down:Connect(function()
  2870. Button1DownF()
  2871. end)
  2872. mouse.Button1Up:Connect(function()
  2873. Button1UpF()
  2874. end)
  2875. mouse.KeyDown:Connect(function(k)
  2876. KeyDownF(k)
  2877. end)
  2878.  
  2879. inairvel=torvel*1
  2880.  
  2881. --forWRL
  2882. if inairvel > 30 then
  2883. inairvel=30
  2884. end
  2885. inairvel=inairvel/50*2
  2886.  
  2887.  
  2888.  
  2889. if attack == false then
  2890. if Anim == "Jump" then
  2891. change = 0.60*2
  2892. 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*forWFB)/2, math.rad(0)-(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.25)
  2893. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  2894. SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(8 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2895. SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-8 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2896. SetTween(RH,{C0=CFrame.new(.5, -0.85+ .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)
  2897. SetTween(LH,{C0=CFrame.new(-.5, -0.35+ .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)
  2898.  
  2899.  
  2900.  
  2901. elseif Anim == "Fall" then
  2902. change = 0.60*2
  2903. SetTween(RJW,{C0=RootCF*cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.5 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8))-(inairvel*forWFB)/2, math.rad(0)+(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.35)
  2904. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  2905. SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(-15), math.rad(80 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2906. SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(15), math.rad(-80 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2907. SetTween(RH,{C0=CFrame.new(.5, -0.15+ .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)
  2908. SetTween(LH,{C0=CFrame.new(-.5, -0.55+ .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)
  2909.  
  2910.  
  2911.  
  2912. elseif Anim == "Idle" then
  2913.  
  2914.  
  2915. local dahspeed=1
  2916. if attack == true and mememode == true then
  2917. dahspeed=5
  2918. end
  2919.  
  2920.  
  2921.  
  2922. if agresive == false then
  2923.  
  2924. change = (0.60*1.75)*dahspeed
  2925. Humanoid.JumpPower = 60
  2926. Humanoid.WalkSpeed=16
  2927.  
  2928.  
  2929.  
  2930. local ADNum = 0
  2931. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(1.5 - 1 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1)
  2932. SetTween(NeckW,{C0=NeckCF*angles(math.rad(6.5 - 3.5 * math.sin(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(20 - 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  2933. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(0 + 3 * math.sin(sine / 8 )), math.rad(-5), math.rad(4 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2934. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(0 + 3 * math.sin(sine / 8 )), math.rad(5), math.rad(-4 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2935. SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2936. SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine / 8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2937. else
  2938.  
  2939.  
  2940. change = (0.60*1.75)*dahspeed
  2941. Humanoid.JumpPower = 60
  2942. Humanoid.WalkSpeed=16
  2943.  
  2944.  
  2945.  
  2946. local ADNum = 0
  2947. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(10.5 - 1 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-5))},"Quad","InOut",0.1)
  2948. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-6.5 - 3.5 * math.sin(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(5 - 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  2949. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(10 + 3 * math.sin(sine / 8 )), math.rad(25), math.rad(40 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2950. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(10 + 3 * math.sin(sine / 8 )), math.rad(-25), math.rad(-40 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2951. SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(20.5 - 1 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2952. SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine / 8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2953.  
  2954. end
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962. elseif Anim == "Walk" then
  2963.  
  2964. if agresive == false then
  2965.  
  2966. local speed=1.0
  2967. if mememode == true then
  2968. speed=4
  2969. end
  2970.  
  2971.  
  2972. change = 2.4*speed
  2973. Humanoid.JumpPower = 60*speed
  2974. Humanoid.WalkSpeed=16*speed
  2975.  
  2976.  
  2977. local RH2 = cf(-forWRL/7 * math.cos(sine / 8 ),0,forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(-forWFB*30) * math.cos(sine / 8 ),0,math.rad(-forWRL*30) * math.cos(sine / 8 ))
  2978. local LH2 = cf(forWRL/7 * math.cos(sine / 8 ),0,-forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(forWFB*30) * math.cos(sine / 8 ),0,math.rad(forWRL*30) * math.cos(sine / 8 ))
  2979.  
  2980. SetTween(RJW,{C0=RootCF*CFrame.new(0, 0 , -0.05 + 0.055 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad((forWFB*2 - forWFB * math.cos(sine / 4))*7), math.rad((-forWRL*2 - -forWRL * math.cos(sine / 4))*5) , math.rad(8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2981. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad((-forWFB*1 - -forWFB * math.cos(sine / 4))*7), math.rad((forWRL*2 - forWRL * math.cos(sine / 4))*3.5), math.rad(-forWRL*45+-8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2982. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + forWRL/50* math.cos(sine / 8), 0) * angles(math.rad(0 + forWFB*15 * math.cos(sine / 8 )), math.rad(0), math.rad(8 + forWRL*5 * math.cos(sine / 8)))},"Linear","Out",WalkAnimMove/speed)
  2983. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + forWRL/50 * math.cos(sine / 8), 0) * angles(math.rad(0 - forWFB*15 * math.cos(sine / 8 )), math.rad(0), math.rad(-8 - forWRL*5 * math.cos(sine / 8 )))},"Linear","Out",WalkAnimMove/speed)
  2984. SetTween(RH,{C0=CFrame.new(.5, -0.85+ .15 * math.sin(sine / 8 ), -.15+.15* math.cos(sine / 8 ))*RH2 * CFrame.Angles(math.rad(0 - 5 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2985. SetTween(LH,{C0=CFrame.new(-.5, -0.85- .15 * math.sin(sine / 8 ), -.15-.15* math.cos(sine / 8 ))*LH2 * CFrame.Angles(math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2986.  
  2987.  
  2988. else
  2989.  
  2990.  
  2991.  
  2992. local speed=1.6
  2993. if mememode == true then
  2994. speed=4
  2995. end
  2996.  
  2997.  
  2998. change = 2.5*speed
  2999. Humanoid.JumpPower = 60*speed
  3000. Humanoid.WalkSpeed=22*speed
  3001.  
  3002.  
  3003. local RH2 = cf(-forWRL/7 * math.cos(sine / 8 ),0,forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(forWFB*89) * math.cos(sine / 8 ),mr(-forWRL*55/2* math.cos(sine / 8 )),math.rad(forWRL*55/1 * math.cos(sine / 8 )))
  3004. local LH2 = cf(forWRL/7 * math.sin(sine / 8 ),0,-forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(forWFB*89) * math.cos(sine / 8 ),mr(forWRL*55/2* math.sin(sine / 8 )),math.rad(-forWRL*55/1* math.sin(sine / 8 )) )
  3005.  
  3006. SetTween(RJW,{C0=RootCF*CFrame.new(forWRL*1 * math.sin(sine / 8), forWFB*1 * math.sin(sine / 8) , -0.5 - 0.255 * math.cos(sine / 8) + -math.sin(sine / 8) / 8) * angles(math.rad(85+( forWFB * math.cos(sine / 8))*20), math.rad(( -forWRL * math.cos(sine / 4))*1) , math.rad((-forWRL * math.cos(sine / 8))*10))},"Linear","InOut",WalkAnimMove/speed)
  3007. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad(-20+(-forWFB*1 - -forWFB * math.cos(sine / 4))*5), math.rad((forWRL*2 - forWRL * math.cos(sine / 4))*3.5), math.rad(-forWRL*45+-8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3008. SetTween(RW,{C0=cf(1.0 + .0 * math.cos(sine / 8) , .5-forWFB*0.5* math.sin(sine / 8), -.4) * angles(math.rad(95 - forWFB*75 * math.sin(sine / 8 )), math.rad(0), math.rad(-8+(-forWRL*55* math.sin(sine / 8 )) + 10 * math.cos(sine / 8)))},"Linear","Out",WalkAnimMove/speed)
  3009. SetTween(LW,{C0=cf(-1.0 + .0 * math.cos(sine / 8), .5-forWFB*0.5* math.sin(sine / 8), -.4) * angles(math.rad(95 - forWFB*75 * math.sin(sine / 8 )), math.rad(0), math.rad(8+(forWRL*55* math.cos(sine / 8 )) - 10 * math.cos(sine / 8 )))},"Linear","Out",WalkAnimMove/speed)
  3010. SetTween(RH,{C0=CFrame.new(.5, -0.85- .25 * math.sin(sine / 8 ), -.15-.25* math.sin(sine / 8 ))*RH2 * CFrame.Angles(math.rad(60 - 5 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3011. SetTween(LH,{C0=CFrame.new(-.5, -0.85- .25 * math.sin(sine / 8 ), -.15-.25* math.sin(sine / 8 ))*LH2 * CFrame.Angles(math.rad(60 - 5 * math.sin(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.sin(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3012.  
  3013. SetTween(tailw,{C0=CF(0,0,.3)*ANGLES(mr(90+10* math.cos(sine / 8 )),0,mr(20* math.cos(sine / 16 )))},"Linear","In",.1)
  3014.  
  3015.  
  3016. end
  3017.  
  3018.  
  3019. elseif Anim == "Sit" then
  3020. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3021. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3022. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  3023. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  3024. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3025. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3026.  
  3027. end
  3028. end
  3029. if attack == false and not (agresive==true and Anim == "Walk") then
  3030. SetTween(tailw,{C0=tailc0*CF(0,.2,0)*ANGLES(mr(4+2* math.cos(sine / 8 )),0,mr(20+20* math.cos(sine / 16 )))},"Linear","In",.1)
  3031.  
  3032.  
  3033. end
  3034. Swait(Animstep*30)
  3035. end
  3036. end))
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
Add Comment
Please, Sign In to add comment