Advertisement
Guest User

Untitled

a guest
Nov 19th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.16 KB | None | 0 0
  1.  
  2. --Here you go faggots. Genkadda Leaked.
  3.  
  4. --[[User: rughj
  5. Script: Genkadda.txt
  6. Pass: E1IZVizJ]]
  7.  
  8. local p = game.Players.LocalPlayer
  9. local char = p.Character
  10. local mouse = p:GetMouse()
  11. local larm = char["Left Arm"]
  12. local rarm = char["Right Arm"]
  13. local lleg = char["Left Leg"]
  14. local rleg = char["Right Leg"]
  15. local hed = char.Head
  16. local torso = char.Torso
  17. local hum = char.Humanoid
  18. local cam = game.Workspace.CurrentCamera
  19. local root = char.HumanoidRootPart
  20. local deb = false
  21. local shot = 0
  22. local stanceToggle = "Normal"
  23. local l = game:GetService("Lighting")
  24. local rs = game:GetService("RunService").RenderStepped
  25. math.randomseed(os.time())
  26. hum.MaxHealth = 9001
  27. wait(1)
  28. hum.Health = 9001
  29. for i,v in pairs(char:children()) do
  30. if v:IsA("Hat") then
  31. v:Destroy()
  32. end
  33. end
  34. for i,v in pairs (hed:GetChildren()) do
  35. if v:IsA("Sound") then
  36. v:Destroy()
  37. end
  38. end
  39. game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char
  40. char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813"
  41. ----------------------------------------------------
  42. Debounces = {
  43. CanAttack = true;
  44. CanJoke = true;
  45. NoIdl = false;
  46. Slashing = false;
  47. Slashed = false;
  48. Slapping = false;
  49. Slapped = false;
  50. ks = false;
  51. }
  52. ----------------------------------------------------
  53. function weld5(part0, part1, c0, c1)
  54. weeld=Instance.new("Weld", part0)
  55. weeld.Part0=part0
  56. weeld.Part1=part1
  57. weeld.C0=c0
  58. weeld.C1=c1
  59. return weeld
  60. end
  61. ----------------------------------------------------
  62. mod=Instance.new('Model',char)
  63.  
  64. function Burst()
  65. part=Instance.new('Part',mod)
  66. part.Anchored=true
  67. part.CanCollide=false
  68. part.FormFactor='Custom'
  69. part.Size=Vector3.new(.2,.2,.2)
  70. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  71. part.Transparency=.7
  72. part.BrickColor=BrickColor.new('Really black')
  73. mesh=Instance.new('SpecialMesh',part)
  74. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  75. mesh.Scale=Vector3.new(10,5,10)
  76. part2=part:clone()
  77. part2.Parent=mod
  78. part2.BrickColor=BrickColor.new('Bright red')
  79. mesh2=mesh:clone()
  80. mesh2.Parent=part2
  81. mesh2.Scale=Vector3.new(5,2.5,5)
  82. coroutine.resume(coroutine.create(function()
  83. for i=0,1,0.1 do
  84. wait()
  85. part.CFrame=part.CFrame
  86. part.Transparency=i
  87. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  88. part2.CFrame=part2.CFrame
  89. part2.Transparency=i
  90. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  91. end
  92. part.Parent=nil
  93. part2.Parent=nil
  94. end))
  95. end
  96. ----------------------------------------------------
  97. mod4 = Instance.new("Model",char)
  98.  
  99. ptez = {0.7, 0.8, 0.9, 1}
  100.  
  101. function FindNearestTorso(Position,Distance,SinglePlayer)
  102. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  103. local List = {}
  104. for i,v in pairs(workspace:GetChildren())do
  105. if v:IsA("Model")then
  106. if v:findFirstChild("Torso")then
  107. if v ~= char then
  108. if(v.Torso.Position -Position).magnitude <= Distance then
  109. table.insert(List,v)
  110. end
  111. end
  112. end
  113. end
  114. end
  115. return List
  116. end
  117.  
  118. function Slam()
  119. part=Instance.new('Part',mod4)
  120. part.Anchored=true
  121. part.CanCollide=false
  122. part.FormFactor='Custom'
  123. part.Size=Vector3.new(.2,.2,.2)
  124. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  125. part.Transparency=.7
  126. part.BrickColor=BrickColor.new('Really black')
  127. mesh=Instance.new('SpecialMesh',part)
  128. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  129. mesh.Scale=Vector3.new(3,3,3)
  130. part2=Instance.new('Part',mod4)
  131. part2.Anchored=true
  132. part2.CanCollide=false
  133. part2.FormFactor='Custom'
  134. part2.Size=Vector3.new(.2,.2,.2)
  135. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  136. part2.Transparency=.7
  137. part2.BrickColor=BrickColor.new('Really red')
  138. mesh2=Instance.new('SpecialMesh',part2)
  139. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  140. mesh2.Scale=Vector3.new(3,1.5,3)
  141. x = Instance.new("Sound",char)
  142. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  143. x.Pitch = ptez[math.random(1,#ptez)]
  144. x.Volume = 1
  145. wait(.1)
  146. x1 = Instance.new("Sound",char)
  147. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  148. x1.Pitch = ptez[math.random(1,#ptez)]
  149. x1.Volume = 1
  150. wait(.1)
  151. x:Play()
  152. x1:Play()
  153. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  154. if v:FindFirstChild('Humanoid') then
  155. v.Humanoid:TakeDamage(math.random(30,45))
  156. end
  157. end
  158. coroutine.resume(coroutine.create(function()
  159. for i=0,0.62,0.13 do
  160. wait()
  161. part.CFrame=part.CFrame
  162. part.Transparency=i
  163. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  164. part2.CFrame=part2.CFrame
  165. part2.Transparency=i
  166. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  167. end
  168. part.Parent=nil
  169. part2.Parent=nil
  170. x:Destroy()
  171. end))
  172. end
  173. ----------------------------------------------------
  174. GroundWave = function()
  175. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  176. local Colors = {"Really red", "Really black"}
  177. local wave = Instance.new("Part", torso)
  178. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  179. wave.Anchored = true
  180. wave.CanCollide = false
  181. wave.Locked = true
  182. wave.Size = Vector3.new(1, 1, 1)
  183. wave.TopSurface = "Smooth"
  184. wave.BottomSurface = "Smooth"
  185. wave.Transparency = 0.35
  186. wave.CFrame = HandCF
  187. wm = Instance.new("SpecialMesh", wave)
  188. wm.MeshId = "rbxassetid://3270017"
  189. coroutine.wrap(function()
  190. for i = 1, 14, 1 do
  191. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  192. wave.Size = wm.Scale
  193. wave.CFrame = HandCF
  194. wave.Transparency = i/14
  195. wait()
  196. end
  197. wait()
  198. wave:Destroy()
  199. end)()
  200. end
  201. ----------------------------------------------------
  202. Magik = function()
  203. Spawn(function()
  204. local function lerp(a,b,c)
  205. return a+(b-a)*c
  206. end
  207. local function rndRange(rng)
  208. return math.random(-rng*1000,rng*1000)/1000
  209. end
  210. local magik = Instance.new("Part", larm)
  211. local Colors = {"Really red", "Really black"}
  212. magik.Anchored = true
  213. magik.Locked = true
  214. magik.FormFactor = "Custom"
  215. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  216. magik.TopSurface = "Smooth"
  217. magik.BottomSurface = "Smooth"
  218. magik.Transparency = 0
  219. magik.CanCollide = false
  220. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  221. local mr = math.rad
  222. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  223. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  224. magik.CFrame = cf
  225. for i = 0, 1, .05 do
  226. local newTrans = lerp(0.5, 1, i)
  227. local ns = lerp(1,1.2,i)
  228. magik.Transparency = newTrans
  229. magik.Size = Vector3.new(ns,ns,ns)
  230. magik.CFrame = cf
  231. rs:wait()
  232. end
  233. magik:Destroy()
  234. wait()
  235. end)
  236. end
  237. ----------------------------------------------------
  238. Magik2 = function()
  239. Spawn(function()
  240. if stanceToggle == "Melee" then
  241. local function lerp(a,b,c)
  242. return a+(b-a)*c
  243. end
  244. local function rndRange(rng)
  245. return math.random(-rng*1000,rng*1000)/1000
  246. end
  247. local magik2 = Instance.new("Part", rarm)
  248. local Colors = {"Really red", "Really black"}
  249. magik2.Anchored = true
  250. magik2.Locked = true
  251. magik2.FormFactor = "Custom"
  252. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  253. magik2.TopSurface = "Smooth"
  254. magik2.BottomSurface = "Smooth"
  255. magik2.Transparency = 0
  256. magik2.CanCollide = false
  257. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  258. local mr = math.rad
  259. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  260. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  261. magik2.CFrame = cf
  262. for i = 0, 1, .05 do
  263. local newTrans = lerp(0.5, 1, i)
  264. local ns = lerp(1,1.2,i)
  265. magik2.Transparency = newTrans
  266. magik2.Size = Vector3.new(ns,ns,ns)
  267. magik2.CFrame = cf
  268. rs:wait()
  269. end
  270. magik2:Destroy()
  271. elseif stanceToggle ~= "Melee" then
  272. wait()
  273. end
  274. end)
  275. end
  276. ----------------------------------------------------
  277. function lerp(a, b, t) -- Linear interpolation
  278. return a + (b - a)*t
  279. end
  280.  
  281. function slerp(a, b, t) --Spherical interpolation
  282. dot = a:Dot(b)
  283. if dot > 0.99999 or dot < -0.99999 then
  284. return t <= 0.5 and a or b
  285. else
  286. r = math.acos(dot)
  287. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  288. end
  289. end
  290.  
  291. function matrixInterpolate(a, b, t)
  292. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  293. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  294. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  295. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  296. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  297. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  298. local t = v1:Dot(v2)
  299. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  300. return CFrame.new()
  301. end
  302. return CFrame.new(
  303. v0.x, v0.y, v0.z,
  304. v1.x, v1.y, v1.z,
  305. v2.x, v2.y, v2.z,
  306. v3.x, v3.y, v3.z)
  307. end
  308. ----------------------------------------------------
  309. function genWeld(a,b)
  310. local w = Instance.new("Weld",a)
  311. w.Part0 = a
  312. w.Part1 = b
  313. return w
  314. end
  315. function weld(a, b)
  316. local weld = Instance.new("Weld")
  317. weld.Name = "W"
  318. weld.Part0 = a
  319. weld.Part1 = b
  320. weld.C0 = a.CFrame:inverse() * b.CFrame
  321. weld.Parent = a
  322. return weld;
  323. end
  324. ----------------------------------------------------
  325. function Lerp(c1,c2,al)
  326. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  327. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  328. for i,v in pairs(com1) do
  329. com1[i] = v+(com2[i]-v)*al
  330. end
  331. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  332. end
  333. ----------------------------------------------------
  334. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  335. local wld = Instance.new("Weld", wp1)
  336. wld.Part0 = wp0
  337. wld.Part1 = wp1
  338. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  339. end
  340. ----------------------------------------------------
  341. newWeld(torso, larm, -1.5, 0.5, 0)
  342. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  343. newWeld(torso, rarm, 1.5, 0.5, 0)
  344. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  345. newWeld(torso, hed, 0, 1.5, 0)
  346. newWeld(torso, lleg, -0.5, -1, 0)
  347. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  348. newWeld(torso, rleg, 0.5, -1, 0)
  349. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  350. newWeld(root, torso, 0, -1, 0)
  351. torso.Weld.C1 = CFrame.new(0, -1, 0)
  352. ----------------------------------------------------
  353. --local SIDz = {"167985102","181449739","167161785","148274436","167985102"}
  354. z = Instance.new("Sound",char)
  355. z.SoundId = "rbxassetid://163752916"
  356. z.Looped = true
  357. z.Volume = 1
  358. z.Pitch = .72
  359. wait(1)
  360. z:Play()
  361. hum.WalkSpeed = 9
  362. lite = Instance.new("PointLight",torso)
  363. lite.Brightness = 16
  364. lite.Range = 12
  365. lite.Color = Color3.new(255/255,0,0)
  366. ----------------------------------------------------
  367. l = game.Lighting
  368. rb = Color3.new(0,0,0)
  369. nb = Color3.new(0.1,0.1,0.1)
  370. l.TimeOfDay = 0
  371. ----------------------------------------------------
  372. local m = Instance.new("Model")
  373. m.Name = "Genkadda"
  374. p1 = Instance.new("Part", m)
  375. p1.Material = "Metal"
  376. p1.BrickColor = BrickColor.new("Really black")
  377. p1.Name = "BladePart"
  378. p1.FormFactor = Enum.FormFactor.Symmetric
  379. p1.Size = Vector3.new(1, 1, 1)
  380. p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
  381. p1.CanCollide = false
  382. p1.Locked = true
  383. p1.Elasticity = 0
  384. p1.BottomSurface = Enum.SurfaceType.Smooth
  385. p1.TopSurface = Enum.SurfaceType.Smooth
  386. b1 = Instance.new("BlockMesh", p1)
  387. b1.Name = "Mesh"
  388. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  389. p2 = Instance.new("Part", m)
  390. p2.Material = "Metal"
  391. p2.BrickColor = BrickColor.new("Really black")
  392. p2.FormFactor = Enum.FormFactor.Symmetric
  393. p2.Size = Vector3.new(1, 1, 1)
  394. p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
  395. p2.CanCollide = false
  396. p2.Locked = true
  397. p2.Elasticity = 0
  398. p2.BottomSurface = Enum.SurfaceType.Smooth
  399. p2.TopSurface = Enum.SurfaceType.Smooth
  400. b2 = Instance.new("BlockMesh", p2)
  401. b2.Name = "Mesh"
  402. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  403. p3 = Instance.new("Part", m)
  404. p3.Material = "Metal"
  405. p3.BrickColor = BrickColor.new("Really black")
  406. p3.FormFactor = Enum.FormFactor.Symmetric
  407. p3.Size = Vector3.new(1, 2, 1)
  408. p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
  409. p3.CanCollide = false
  410. p3.Locked = true
  411. p3.Elasticity = 0
  412. p3.BottomSurface = Enum.SurfaceType.Smooth
  413. p3.TopSurface = Enum.SurfaceType.Smooth
  414. b3 = Instance.new("BlockMesh", p3)
  415. b3.Name = "Mesh"
  416. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  417. p4 = Instance.new("Part", m)
  418. p4.Material = "Metal"
  419. p4.BrickColor = BrickColor.new("Really black")
  420. p4.Name = "BladePart"
  421. p4.FormFactor = Enum.FormFactor.Symmetric
  422. p4.Size = Vector3.new(1, 1, 1)
  423. p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
  424. p4.CanCollide = false
  425. p4.Locked = true
  426. p4.Elasticity = 0
  427. p4.BottomSurface = Enum.SurfaceType.Smooth
  428. p4.TopSurface = Enum.SurfaceType.Smooth
  429. b4 = Instance.new("BlockMesh", p4)
  430. b4.Name = "Mesh"
  431. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  432. p5 = Instance.new("Part", m)
  433. p5.Material = "Metal"
  434. p5.BrickColor = BrickColor.new("Really black")
  435. p5.Name = "Hilt"
  436. p5.FormFactor = Enum.FormFactor.Custom
  437. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  438. p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
  439. p5.CanCollide = false
  440. p5.Locked = true
  441. p5.BottomSurface = Enum.SurfaceType.Smooth
  442. p5.TopSurface = Enum.SurfaceType.Smooth
  443. b5 = Instance.new("BlockMesh", p5)
  444. b5.Name = "Mesh"
  445. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  446. p6 = Instance.new("Part", m)
  447. p6.Material = "Metal"
  448. p6.BrickColor = BrickColor.new("Really black")
  449. p6.Name = "Handle"
  450. p6.FormFactor = Enum.FormFactor.Custom
  451. p6.Size = Vector3.new(1.29999995, 1, 1)
  452. p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
  453. p6.CanCollide = false
  454. p6.Locked = true
  455. p6.BottomSurface = Enum.SurfaceType.Smooth
  456. p6.TopSurface = Enum.SurfaceType.Smooth
  457. b6 = Instance.new("SpecialMesh", p6)
  458. b6.MeshType = Enum.MeshType.Cylinder
  459. b6.Name = "Mesh"
  460. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  461. p7 = Instance.new("Part", m)
  462. p7.Material = "Metal"
  463. p7.BrickColor = BrickColor.new("Really black")
  464. p7.FormFactor = Enum.FormFactor.Symmetric
  465. p7.Size = Vector3.new(1, 1, 1)
  466. p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
  467. p7.CanCollide = false
  468. p7.Locked = true
  469. b7 = Instance.new("SpecialMesh", p7)
  470. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  471. b7.TextureId = ""
  472. b7.MeshType = Enum.MeshType.FileMesh
  473. b7.Name = "Mesh"
  474. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  475. p8 = Instance.new("Part", m)
  476. p8.Material = "Metal"
  477. p8.BrickColor = BrickColor.new("Really black")
  478. p8.Name = "BladePart"
  479. p8.FormFactor = Enum.FormFactor.Symmetric
  480. p8.Size = Vector3.new(1, 1, 1)
  481. p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
  482. p8.CanCollide = false
  483. p8.Locked = true
  484. p8.Elasticity = 0
  485. p8.BottomSurface = Enum.SurfaceType.Smooth
  486. p8.TopSurface = Enum.SurfaceType.Smooth
  487. b8 = Instance.new("BlockMesh", p8)
  488. b8.Name = "Mesh"
  489. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  490. p9 = Instance.new("Part", m)
  491. p9.Material = "Metal"
  492. p9.BrickColor = BrickColor.new("Really black")
  493. p9.Name = "BladePart"
  494. p9.FormFactor = Enum.FormFactor.Symmetric
  495. p9.Size = Vector3.new(1, 1, 1)
  496. p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
  497. p9.CanCollide = false
  498. p9.Locked = true
  499. p9.Elasticity = 0
  500. p9.BottomSurface = Enum.SurfaceType.Smooth
  501. p9.TopSurface = Enum.SurfaceType.Smooth
  502. b9 = Instance.new("BlockMesh", p9)
  503. b9.Name = "Mesh"
  504. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  505. p10 = Instance.new("Part", m)
  506. p10.Material = "Metal"
  507. p10.BrickColor = BrickColor.new("Really black")
  508. p10.Name = "BladeTip"
  509. p10.FormFactor = Enum.FormFactor.Symmetric
  510. p10.Size = Vector3.new(1, 1, 2)
  511. p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
  512. p10.CanCollide = false
  513. p10.Locked = true
  514. p10.Elasticity = 0
  515. p10.BottomSurface = Enum.SurfaceType.Smooth
  516. p10.TopSurface = Enum.SurfaceType.Smooth
  517. b10 = Instance.new("SpecialMesh", p10)
  518. b10.MeshType = Enum.MeshType.Wedge
  519. b10.Name = "Mesh"
  520. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  521. p11 = Instance.new("Part", m)
  522. p11.Material = "Metal"
  523. p11.BrickColor = BrickColor.new("Really black")
  524. p11.Name = "BladePart"
  525. p11.FormFactor = Enum.FormFactor.Symmetric
  526. p11.Size = Vector3.new(1, 1, 1)
  527. p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
  528. p11.CanCollide = false
  529. p11.Locked = true
  530. p11.Elasticity = 0
  531. p11.BottomSurface = Enum.SurfaceType.Smooth
  532. p11.TopSurface = Enum.SurfaceType.Smooth
  533. b11 = Instance.new("BlockMesh", p11)
  534. b11.Name = "Mesh"
  535. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  536. p12 = Instance.new("Part", m)
  537. p12.Material = "Metal"
  538. p12.BrickColor = BrickColor.new("Really black")
  539. p12.Name = "BladeTip2"
  540. p12.FormFactor = Enum.FormFactor.Custom
  541. p12.Size = Vector3.new(1, 1, 2.4000001)
  542. p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
  543. p12.CanCollide = false
  544. p12.Locked = true
  545. p12.Elasticity = 0
  546. p12.BottomSurface = Enum.SurfaceType.Smooth
  547. p12.TopSurface = Enum.SurfaceType.Smooth
  548. b12 = Instance.new("SpecialMesh", p12)
  549. b12.MeshType = Enum.MeshType.Wedge
  550. b12.Name = "Mesh"
  551. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  552. p13 = Instance.new("Part", m)
  553. p13.Material = "Metal"
  554. p13.BrickColor = BrickColor.new("Medium stone grey")
  555. p13.Transparency = 1
  556. p13.Name = "HitBox"
  557. p13.FormFactor = Enum.FormFactor.Custom
  558. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  559. p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
  560. p13.CanCollide = false
  561. p13.Locked = true
  562. p13.BottomSurface = Enum.SurfaceType.Smooth
  563. p13.TopSurface = Enum.SurfaceType.Smooth
  564. w1 = Instance.new("Weld", p1)
  565. w1.Name = "Part_Weld"
  566. w1.Part0 = p1
  567. w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
  568. w1.Part1 = p2
  569. w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  570. w2 = Instance.new("Weld", p2)
  571. w2.Name = "Part_Weld"
  572. w2.Part0 = p2
  573. w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  574. w2.Part1 = p3
  575. w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  576. w3 = Instance.new("Weld", p3)
  577. w3.Name = "BladePart_Weld"
  578. w3.Part0 = p3
  579. w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  580. w3.Part1 = p4
  581. w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  582. w4 = Instance.new("Weld", p4)
  583. w4.Name = "Hilt_Weld"
  584. w4.Part0 = p4
  585. w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  586. w4.Part1 = p5
  587. w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  588. w5 = Instance.new("Weld", p5)
  589. w5.Name = "Handle_Weld"
  590. w5.Part0 = p5
  591. w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  592. w5.Part1 = p6
  593. w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  594. w6 = Instance.new("Weld", p6)
  595. w6.Name = "Part_Weld"
  596. w6.Part0 = p6
  597. w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  598. w6.Part1 = p7
  599. w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  600. w7 = Instance.new("Weld", p7)
  601. w7.Name = "BladePart_Weld"
  602. w7.Part0 = p7
  603. w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  604. w7.Part1 = p8
  605. w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  606. w8 = Instance.new("Weld", p8)
  607. w8.Name = "BladePart_Weld"
  608. w8.Part0 = p8
  609. w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  610. w8.Part1 = p9
  611. w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  612. w9 = Instance.new("Weld", p9)
  613. w9.Name = "BladeTip_Weld"
  614. w9.Part0 = p9
  615. w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  616. w9.Part1 = p10
  617. w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  618. w10 = Instance.new("Weld", p10)
  619. w10.Name = "BladePart_Weld"
  620. w10.Part0 = p10
  621. w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  622. w10.Part1 = p11
  623. w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  624. w11 = Instance.new("Weld", p11)
  625. w11.Name = "BladeTip2_Weld"
  626. w11.Part0 = p11
  627. w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  628. w11.Part1 = p12
  629. w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  630. w12 = Instance.new("Weld", p12)
  631. w12.Name = "HitBox_Weld"
  632. w12.Part0 = p12
  633. w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  634. w12.Part1 = p13
  635. w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  636. w13 = Instance.new("Weld", p13)
  637. w13.Name = "Weld"
  638. w13.Part0 = p13
  639. w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  640. m.Parent = char
  641. m:MakeJoints()
  642. ----------------------------------------------------
  643. local cor = Instance.new("Part", char.Genkadda)
  644. cor.Name = "Thingy"
  645. cor.Locked = true
  646. cor.BottomSurface = 0
  647. cor.CanCollide = false
  648. cor.Size = Vector3.new(1, 9, 1)
  649. cor.Transparency = 1
  650. cor.TopSurface = 0
  651. corw = Instance.new("Weld", cor)
  652. corw.Part0 = rarm
  653. corw.Part1 = cor
  654. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  655. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  656. weld1 = Instance.new("Weld", char.Genkadda)
  657. weld1.Part0 = cor
  658. weld1.Part1 = p6
  659. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  660. ----------------------------------------------------
  661. function Vanish()
  662. for i = 1, 10 do wait()
  663. for i,v in pairs(char.Genkadda:GetChildren()) do
  664. if v:IsA("Part") or v:IsA("WedgePart") then
  665. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  666. v.Transparency = v.Transparency + 0.1
  667. end
  668. end
  669. end
  670. end
  671. end
  672. ----------------------------------------------------
  673. function Appear()
  674. for i = 1, 10 do wait()
  675. for i,v in pairs(char.Genkadda:GetChildren()) do
  676. if v:IsA("Part") or v:IsA("WedgePart") then
  677. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  678. v.Transparency = v.Transparency - 0.1
  679. end
  680. end
  681. end
  682. end
  683. end
  684. ----------------------------------------------------
  685. local player = game.Players.LocalPlayer
  686. local pchar = player.Character
  687. local mouse = player:GetMouse()
  688. local cam = workspace.CurrentCamera
  689.  
  690. local rad = math.rad
  691.  
  692. local keysDown = {}
  693. local flySpeed = 0
  694. local MAX_FLY_SPEED = 50
  695.  
  696. local canFly = false
  697. local flyToggled = false
  698.  
  699. local forward, side = 0, 0
  700. local lastForward, lastSide = 0, 0
  701.  
  702. local floatBP = Instance.new("BodyPosition")
  703. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  704. local flyBV = Instance.new("BodyVelocity")
  705. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  706. local turnBG = Instance.new("BodyGyro")
  707. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  708.  
  709. mouse.KeyDown:connect(function(key)
  710. keysDown[key] = true
  711.  
  712. if key == "f" then
  713. flyToggled = not flyToggled
  714.  
  715. if not flyToggled then
  716. stanceToggle = "Normal"
  717. floatBP.Parent = nil
  718. flyBV.Parent = nil
  719. turnBG.Parent = nil
  720. root.Velocity = Vector3.new()
  721. pchar.Humanoid.PlatformStand = false
  722. end
  723. end
  724.  
  725. end)
  726. mouse.KeyUp:connect(function(key)
  727. keysDown[key] = nil
  728. end)
  729.  
  730. local function updateFly()
  731.  
  732. if not flyToggled then return end
  733.  
  734. lastForward = forward
  735. lastSide = side
  736.  
  737. forward = 0
  738. side = 0
  739.  
  740. if keysDown.w then
  741. forward = forward + 1
  742. end
  743. if keysDown.s then
  744. forward = forward - 1
  745. end
  746. if keysDown.a then
  747. side = side - 1
  748. end
  749. if keysDown.d then
  750. side = side + 1
  751. end
  752.  
  753. canFly = (forward ~= 0 or side ~= 0)
  754.  
  755. if canFly then
  756. stanceToggle = "Floating"
  757. turnBG.Parent = root
  758. floatBP.Parent = nil
  759. flyBV.Parent = root
  760.  
  761. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  762. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  763. else
  764. floatBP.position = root.Position
  765. floatBP.Parent = root
  766.  
  767. flySpeed = flySpeed - 1
  768. if flySpeed < 0 then flySpeed = 0 end
  769. end
  770.  
  771. local camCF = cam.CoordinateFrame
  772. local in_forward = canFly and forward or lastForward
  773. local in_side = canFly and side or lastSide
  774.  
  775. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  776. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  777.  
  778. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  779. 0)
  780. end
  781.  
  782. game:service'RunService'.RenderStepped:connect(function()
  783. if flyToggled then
  784. pchar.Humanoid.PlatformStand = true
  785. end
  786. updateFly()
  787. end)
  788. ----------------------------------------------------
  789. p13.Touched:connect(function(ht)
  790. hit = ht.Parent
  791. if ht and hit:IsA("Model") then
  792. if hit:FindFirstChild("Humanoid") then
  793. if hit.Name ~= p.Name then
  794. if Debounces.Slashing == true and Debounces.Slashed == false then
  795. Debounces.Slashed = true
  796. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  797. wait(.3)
  798. Debounces.Slashed = false
  799. end
  800. end
  801. end
  802. elseif ht and hit:IsA("Hat") then
  803. if hit.Parent.Name ~= p.Name then
  804. if hit.Parent:FindFirstChild("Humanoid") then
  805. if Debounces.Slashing == true and Debounces.Slashed == false then
  806. Debounces.Slashed = true
  807. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  808. wait(.3)
  809. Debounces.Slashed = false
  810. end
  811. end
  812. end
  813. end
  814. end)
  815. ----------------------------------------------------
  816. ptz = {0.7, 0.8, 0.9, 1}
  817. idz = {"161006212", "161006195"}
  818. mouse.KeyDown:connect(function(key)
  819. if key == "q" then
  820. if Debounces.CanAttack == true then
  821. Debounces.CanAttack = false
  822. Debounces.NoIdl = true
  823. Debounces.on = true
  824. for i = 1, 20 do
  825. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2)
  826. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2)
  827. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2)
  828. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2)
  829. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  830. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  831. if Debounces.on == false then break end
  832. rs:wait(2)
  833. end
  834. z = Instance.new("Sound", hed)
  835. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  836. z.Pitch = ptz[math.random(1,#ptz)]
  837. z.Volume = 1
  838. wait(.01)
  839. z:Play()
  840. Debounces.Slashing = true
  841. for i = 1, 20 do
  842. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
  843. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
  844. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
  845. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
  846. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  847. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  848. if Debounces.on == false then break end
  849. rs:wait(2)
  850. end
  851. z1 = Instance.new("Sound", hed)
  852. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  853. z1.Pitch = ptz[math.random(1,#ptz)]
  854. z1.Volume = 1
  855. wait(.01)
  856. z1:Play()
  857. Debounces.Slashing = true
  858. for i = 1, 26 do
  859. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (90),math.rad(-40),math.rad(80)), 0.35)
  860. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
  861. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.35)
  862. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.35)
  863. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  864. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  865. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
  866. if Debounces.on == false then break end
  867. rs:wait(2)
  868. end
  869. Debounces.Slashing = false
  870. z:Destroy()
  871. z1:Destroy()
  872. cor.Weld.C1 = CFrame.Angles(0,0,0)
  873. if Debounces.CanAttack == false then
  874. Debounces.CanAttack = true
  875. Debounces.NoIdl = false
  876. Debounces.on = false
  877. end
  878. end
  879. end
  880. end)
  881. -------------------------------
  882. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  883. mouse.KeyDown:connect(function(key)
  884. if key == "e" then
  885. if Debounces.CanAttack == true then
  886. Debounces.CanAttack = false
  887. Debounces.NoIdl = true
  888. Debounces.on = true
  889. Debounces.ks = true
  890. larm.Touched:connect(function(ht)
  891. hit = ht.Parent
  892. if ht and hit:IsA("Model") then
  893. if hit:FindFirstChild("Humanoid") then
  894. if hit.Name ~= p.Name then
  895. if Debounces.Slapping == true and Debounces.Slapped == false then
  896. Debounces.Slapped = true
  897. if Debounces.ks==true then
  898. z = Instance.new("Sound",hed)
  899. z.SoundId = "rbxassetid://169380525"
  900. z.Volume = 1
  901. z:Play()
  902. Debounces.ks=false
  903. end
  904. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  905. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  906. wait(.5)
  907. Debounces.Slapped = false
  908. z:Destroy()
  909. end
  910. end
  911. end
  912. elseif ht and hit:IsA("Hat") then
  913. if hit.Parent.Name ~= p.Name then
  914. if hit.Parent:FindFirstChild("Humanoid") then
  915. if Debounces.Slapping == true and Debounces.Slapped == false then
  916. Debounces.Slapped = true
  917. if Debounces.ks==true then
  918. z = Instance.new("Sound",hed)
  919. z.SoundId = "rbxassetid://169380525"
  920. z.Volume = 1
  921. z:Play()
  922. Debounces.ks=false
  923. end
  924. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  925. wait(.5)
  926. Debounces.Slapped = false
  927. z:Destroy()
  928. end
  929. end
  930. end
  931. end
  932. end)
  933. for i = 1, 14 do
  934. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5)
  935. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5)
  936. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  937. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
  938. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  939. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  940. if Debounces.on==false then break end
  941. rs:wait(2)
  942. end
  943. Debounces.Slapping = true
  944. for i = 1, 20 do
  945. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6)
  946. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6)
  947. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6)
  948. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6)
  949. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  950. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  951. if Debounces.on==false then break end
  952. rs:wait(2)
  953. end
  954. Debounces.Slapping = false
  955. if Debounces.CanAttack == false then
  956. Debounces.CanAttack = true
  957. Debounces.NoIdl = false
  958. Debounces.on = false
  959. end
  960. end
  961. end
  962. end)
  963. -------------------------------
  964. mouse.KeyDown:connect(function(key)
  965. if key == "r" then
  966. if Debounces.CanAttack == true then
  967. Debounces.CanAttack = false
  968. Debounces.NoIdl = true
  969. Debounces.on = true
  970. for i = 1, 20 do
  971. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3)
  972. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3)
  973. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  974. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
  975. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  976. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  977. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
  978. if Debounces.on==false then break end
  979. rs:wait(2)
  980. end
  981. Debounces.Slashing = true
  982. z = Instance.new("Sound",hed)
  983. z.SoundId = "rbxassetid://206083107"
  984. z.Pitch = .75
  985. z.Volume = .65
  986. wait(0.1)
  987. z:Play()
  988. z1 = Instance.new("Sound", hed)
  989. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  990. z1.Pitch = ptz[math.random(1,#ptz)]
  991. z1.Volume = 1
  992. wait(.01)
  993. z1:Play()
  994. for i = 1, 20 do
  995. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3)
  996. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3)
  997. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  998. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  999. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  1000. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
  1001. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35)
  1002. if Debounces.on==false then break end
  1003. rs:wait(2)
  1004. end
  1005. Debounces.Slashing = false
  1006. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1007. if Debounces.CanAttack == false then
  1008. Debounces.CanAttack = true
  1009. Debounces.NoIdl = false
  1010. Debounces.on = false
  1011. end
  1012. end
  1013. end
  1014. end)
  1015. -------------------------------
  1016. mouse.KeyDown:connect(function(key)
  1017. if key == "t" then
  1018. if Debounces.CanAttack == true then
  1019. Debounces.CanAttack = false
  1020. Debounces.on = true
  1021. Debounces.NoIdl = true
  1022. for i = 1,20 do
  1023. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
  1024. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
  1025. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2)
  1026. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2)
  1027. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2)
  1028. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2)
  1029. if Debounces.on==false then break end
  1030. rs:wait(2)
  1031. end
  1032. for i = 1,20 do
  1033. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
  1034. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
  1035. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2)
  1036. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
  1037. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.2)
  1038. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
  1039. if Debounces.on==false then break end
  1040. rs:wait(2)
  1041. end
  1042. if Debounces.CanAttack == false then
  1043. Debounces.CanAttack = true
  1044. Debounces.on = false
  1045. Debounces.NoIdl = false
  1046. end
  1047. end
  1048. end
  1049. end)
  1050. -------------------------------
  1051. mouse.KeyDown:connect(function(key)
  1052. if key == "g" then
  1053. if Debounces.CanAttack == true then
  1054. Debounces.CanAttack = false
  1055. Debounces.NoIdl = true
  1056. Debounces.on = true
  1057. Debounces.Slashing = true
  1058. for i = 1, 8 do
  1059. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8)
  1060. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8)
  1061. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1062. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1063. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1064. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1065. if Debounces.on==false then break end
  1066. rs:wait(2)
  1067. end
  1068. for i = 1, 1440, 48 do
  1069. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
  1070. rs:wait(4)
  1071. end
  1072. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1073. Debounces.Slashing = false
  1074. if Debounces.CanAttack == false then
  1075. Debounces.CanAttack = true
  1076. Debounces.NoIdl = false
  1077. Debounces.on = false
  1078. end
  1079. end
  1080. end
  1081. end)
  1082. ----------------------------------------------------
  1083. Grab = false
  1084. mouse.KeyDown:connect(function(key)
  1085. if key == "z" then
  1086. Debounces.on = true
  1087. Debounces.NoIdl = true
  1088. Debounces.ks = true
  1089. if Grab == false then
  1090. gp = nil
  1091. for i = 1, 20 do
  1092. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1093. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  1094. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1095. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1096. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  1097. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  1098. if Debounces.on == false then break end
  1099. rs:wait(2)
  1100. end
  1101. con1=larm.Touched:connect(function(hit) -- this is grab
  1102. ht = hit.Parent
  1103. hum1=ht:FindFirstChild('Humanoid')
  1104. if hum1 ~= nil then
  1105. if Debounces.ks==true then
  1106. z = Instance.new("Sound",hed)
  1107. z.SoundId = "rbxassetid://169380525"
  1108. z.Volume = 1
  1109. z:Play()
  1110. Debounces.ks=false
  1111. end
  1112. hum1.PlatformStand=true
  1113. gp = ht
  1114. Grab = true
  1115. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  1116. asd.Parent = larm
  1117. asd.Name = "asd"
  1118. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1119. stanceToggle = "Grabbed"
  1120. end
  1121. end)
  1122. for i = 1, 20 do
  1123. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  1124. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  1125. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  1126. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  1127. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1128. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  1129. if Debounces.on == false then break end
  1130. rs:wait(2)
  1131. end
  1132. con1:disconnect()
  1133. Debounces.on = false
  1134. Debounces.NoIdl = false
  1135. elseif Grab == true then
  1136. Grab = false
  1137. for i = 1, 16 do
  1138. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  1139. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3)
  1140. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1141. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  1142. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  1143. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1144. if Debounces.on == false then end
  1145. rs:wait()
  1146. end
  1147. Slam()
  1148. if gp ~= nil then
  1149. for i,v in pairs(larm:GetChildren()) do
  1150. if v.Name == "asd" and v:IsA("Weld") then
  1151. v:Remove()
  1152. end
  1153. end
  1154. for i = 1, 16 do
  1155. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  1156. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3)
  1157. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  1158. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  1159. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
  1160. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
  1161. if Debounces.on == false then end
  1162. rs:wait()
  1163. end
  1164. stanceToggle = "Normal"
  1165. ht=nil
  1166. Debounces.on = false
  1167. Debounces.NoIdl = false
  1168. elseif ht == nil then wait()
  1169. Grab = false
  1170. Debounces.on = false
  1171. Debounces.NoIdl = false
  1172. end
  1173. end
  1174. end
  1175. end)
  1176. -------------------------------
  1177. Sit = false
  1178. mouse.KeyDown:connect(function(key)
  1179. if key == "v" then
  1180. if Sit == false then
  1181. Sit = true
  1182. hum.WalkSpeed = 0.1
  1183. stanceToggle = "Sitting"
  1184. elseif Sit == true then
  1185. Sit = false
  1186. hum.WalkSpeed = 7
  1187. stanceToggle = "Normal"
  1188. end
  1189. end
  1190. end)
  1191. -------------------------------
  1192. Melee = false
  1193. mouse.KeyDown:connect(function(key)
  1194. if key == "m" then
  1195. if Melee == false then
  1196. Melee = true
  1197. Vanish()
  1198. stanceToggle = "Melee"
  1199. elseif Melee == true then
  1200. Melee = false
  1201. Appear()
  1202. stanceToggle = "Normal"
  1203. end
  1204. end
  1205. end)
  1206. -------------------------------
  1207. mouse.KeyDown:connect(function(key)
  1208. if string.byte(key) == 52 then
  1209. if Debounces.CanAttack == true then
  1210. if stanceToggle ~= "Floating" then
  1211. char.Humanoid.WalkSpeed = 60
  1212. Burst()
  1213. elseif Debounces.CanAttack == false then
  1214. elseif stanceToggle == "Floating" then
  1215. wait()
  1216. end
  1217. end
  1218. end
  1219. end)
  1220. mouse.KeyUp:connect(function(key)
  1221. if string.byte(key) == 52 then
  1222. char.Humanoid.WalkSpeed = 9
  1223. end
  1224. end)
  1225. -------------------------------
  1226. local animpose = "Idle"
  1227. local lastanimpose = "Idle"
  1228. local grab = false
  1229. local sine = 0
  1230. local change = 1
  1231. local val = 0
  1232. local ffing = false
  1233. -------------------------------
  1234. game:GetService("RunService").RenderStepped:connect(function()
  1235. char.Humanoid.FreeFalling:connect(function(f)
  1236. if f then
  1237. ffing = true
  1238. else
  1239. ffing = false
  1240. end
  1241. end)
  1242. sine = sine + change
  1243. if jumpn == true then
  1244. animpose = "Jumping"
  1245. elseif ffing == true then
  1246. animpose = "Freefalling"
  1247. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1248. animpose = "Idle"
  1249. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1250. animpose = "Walking"
  1251. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1252. animpose = "Running"
  1253. end
  1254. if animpose ~= lastanimpose then
  1255. sine = 0
  1256. if Debounces.NoIdl == false then
  1257. if stanceToggle == "Normal" then
  1258. for i = 1, 2 do
  1259. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
  1260. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2)
  1261. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  1262. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1263. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1264. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  1265. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1266. end
  1267. elseif stanceToggle == "Sitting" then
  1268. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/30),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20+2*math.cos(sine/30))), 0.2)
  1269. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  1270. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1271. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-20), math.sin(sine/60)/3, 0), 0.3)
  1272. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  1273. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  1274. elseif stanceToggle == "Floating" then
  1275. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  1276. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  1277. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1278. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  1279. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1280. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1281. wait()
  1282. end
  1283. else
  1284. end
  1285. end
  1286. lastanimpose = animpose
  1287. if Debounces.NoIdl == false then
  1288. if animpose == "Idle" then
  1289. if stanceToggle == "Normal" then
  1290. change = 0.5
  1291. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  1292. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
  1293. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2)
  1294. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1295. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1296. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  1297. elseif stanceToggle == "Melee" then
  1298. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2)
  1299. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
  1300. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1301. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1302. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1303. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1304. elseif stanceToggle == "Sitting" then
  1305. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
  1306. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  1307. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1308. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5-0.06*math.cos(sine/25), -.2) * CFrame.Angles(math.rad(0-20*math.cos(sine/25)/2), math.sin(sine/50)/2.4, 0), 0.3)
  1309. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  1310. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  1311. elseif stanceToggle == "Floating" then
  1312. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  1313. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  1314. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1315. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  1316. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1317. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1318. elseif stanceToggle == "Grabbed" then
  1319. grab = true
  1320. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  1321. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3)
  1322. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
  1323. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1324. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  1325. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1326. end
  1327. elseif animpose == "Walking" then
  1328. if stanceToggle == "Normal" then
  1329. change = 1
  1330. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  1331. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  1332. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1333. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  1334. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  1335. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  1336. elseif stanceToggle == "Melee" then
  1337. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
  1338. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2)
  1339. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1340. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  1341. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  1342. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  1343. elseif stanceToggle == "Floating" then
  1344. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  1345. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1346. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
  1347. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
  1348. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
  1349. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  1350. elseif stanceToggle == "Grabbed" then
  1351. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  1352. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
  1353. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1354. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  1355. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  1356. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  1357. end
  1358. elseif animpose == "Running" then
  1359. if stanceToggle == "Normal" then
  1360. change = 1
  1361. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  1362. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  1363. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  1364. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  1365. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  1366. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  1367. elseif stanceToggle == "Floating" then
  1368. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  1369. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1370. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  1371. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
  1372. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
  1373. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
  1374. end
  1375. end
  1376. end
  1377. end)
  1378.  
  1379. Spawn(function()
  1380. while wait() do
  1381. updateFly()
  1382. end
  1383. end)
  1384.  
  1385. Spawn(function()
  1386. while wait(.1) do
  1387. Magik()
  1388. end
  1389. end)
  1390.  
  1391. Spawn(function()
  1392. while wait(.1) do
  1393. Magik2()
  1394. end
  1395. end)
  1396.  
  1397. Spawn(function()
  1398. while wait(4) do
  1399. GroundWave()
  1400. end
  1401. end)
  1402. --c00lkidd/c00lbl0xian
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement