memberhero

Test7

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