Advertisement
Guest User

genkadda

a guest
Jul 8th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.38 KB | None | 0 0
  1. --[[User: TheDarkRevenant
  2. Script: Genkadda.txt
  3. Pass: E1IZVizJ]]
  4.  
  5. local p = game.Players.LocalPlayer
  6. local char = p.Character
  7. local mouse = p:GetMouse()
  8. local larm = char["Left Arm"]
  9. local rarm = char["Right Arm"]
  10. local lleg = char["Left Leg"]
  11. local rleg = char["Right Leg"]
  12. local hed = char.Head
  13. local torso = char.Torso
  14. local hum = char.Humanoid
  15. local cam = game.Workspace.CurrentCamera
  16. local root = char.HumanoidRootPart
  17. local deb = false
  18. local shot = 0
  19. local stanceToggle = "Normal"
  20. local l = game:GetService("Lighting")
  21. local rs = game:GetService("RunService").RenderStepped
  22. math.randomseed(os.time())
  23. hum.MaxHealth = 9001
  24. wait(1)
  25. hum.Health = 9001
  26.  
  27. for i,v in pairs (hed:GetChildren()) do
  28. if v:IsA("Sound") then
  29. v:Destroy()
  30. end
  31. end
  32. --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char
  33. --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813"
  34. ----------------------------------------------------
  35. Debounces = {
  36. CanAttack = true;
  37. CanJoke = true;
  38. NoIdl = false;
  39. Slashing = false;
  40. Slashed = false;
  41. Slapping = false;
  42. Slapped = false;
  43. ks = false;
  44. }
  45. ----------------------------------------------------
  46. function weld5(part0, part1, c0, c1)
  47. weeld=Instance.new("Weld", part0)
  48. weeld.Part0=part0
  49. weeld.Part1=part1
  50. weeld.C0=c0
  51. weeld.C1=c1
  52. return weeld
  53. end
  54. ----------------------------------------------------
  55. mod=Instance.new('Model',char)
  56.  
  57. function Burst()
  58. part=Instance.new('Part',mod)
  59. part.Anchored=true
  60. part.CanCollide=false
  61. part.FormFactor='Custom'
  62. part.Size=Vector3.new(.2,.2,.2)
  63. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  64. part.Transparency=.7
  65. part.BrickColor=BrickColor.new('Really black')
  66. mesh=Instance.new('SpecialMesh',part)
  67. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  68. mesh.Scale=Vector3.new(10,5,10)
  69. part2=part:clone()
  70. part2.Parent=mod
  71. part2.BrickColor=BrickColor.new('Dark indigo')
  72. mesh2=mesh:clone()
  73. mesh2.Parent=part2
  74. mesh2.Scale=Vector3.new(5,2.5,5)
  75. coroutine.resume(coroutine.create(function()
  76. for i=0,1,0.1 do
  77. wait()
  78. part.CFrame=part.CFrame
  79. part.Transparency=i
  80. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  81. part2.CFrame=part2.CFrame
  82. part2.Transparency=i
  83. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  84. end
  85. part.Parent=nil
  86. part2.Parent=nil
  87. end))
  88. end
  89. ----------------------------------------------------
  90. mod4 = Instance.new("Model",char)
  91.  
  92. ptez = {0.7, 0.8, 0.9, 1}
  93.  
  94. function FindNearestTorso(Position,Distance,SinglePlayer)
  95. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  96. local List = {}
  97. for i,v in pairs(workspace:GetChildren())do
  98. if v:IsA("Model")then
  99. if v:findFirstChild("Torso")then
  100. if v ~= char then
  101. if(v.Torso.Position -Position).magnitude <= Distance then
  102. table.insert(List,v)
  103. end
  104. end
  105. end
  106. end
  107. end
  108. return List
  109. end
  110.  
  111. function Slam()
  112. part=Instance.new('Part',mod4)
  113. part.Anchored=true
  114. part.CanCollide=false
  115. part.FormFactor='Custom'
  116. part.Size=Vector3.new(.2,.2,.2)
  117. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  118. part.Transparency=.7
  119. part.BrickColor=BrickColor.new('Really black')
  120. mesh=Instance.new('SpecialMesh',part)
  121. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  122. mesh.Scale=Vector3.new(3,3,3)
  123. part2=Instance.new('Part',mod4)
  124. part2.Anchored=true
  125. part2.CanCollide=false
  126. part2.FormFactor='Custom'
  127. part2.Size=Vector3.new(.2,.2,.2)
  128. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  129. part2.Transparency=.7
  130. part2.BrickColor=BrickColor.new('Dark indigo')
  131. mesh2=Instance.new('SpecialMesh',part2)
  132. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  133. mesh2.Scale=Vector3.new(3,1.5,3)
  134. x = Instance.new("Sound",char)
  135. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  136. x.Pitch = ptez[math.random(1,#ptez)]
  137. x.Volume = 1
  138. wait(.1)
  139. x1 = Instance.new("Sound",char)
  140. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  141. x1.Pitch = ptez[math.random(1,#ptez)]
  142. x1.Volume = 1
  143. wait(.1)
  144. x:Play()
  145. x1:Play()
  146. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  147. if v:FindFirstChild('Humanoid') then
  148. v.Humanoid:TakeDamage(math.random(45,50))
  149. end
  150. end
  151. coroutine.resume(coroutine.create(function()
  152. for i=0,0.62,0.13 do
  153. wait()
  154. part.CFrame=part.CFrame
  155. part.Transparency=i
  156. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  157. part2.CFrame=part2.CFrame
  158. part2.Transparency=i
  159. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  160. end
  161. part.Parent=nil
  162. part2.Parent=nil
  163. x:Destroy()
  164. end))
  165. end
  166. ----------------------------------------------------
  167. GroundWave = function()
  168. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  169. local Colors = {"Dark indigo", "Really black"}
  170. local wave = Instance.new("Part", torso)
  171. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  172. wave.Anchored = true
  173. wave.CanCollide = false
  174. wave.Locked = true
  175. wave.Size = Vector3.new(1, 1, 1)
  176. wave.TopSurface = "Smooth"
  177. wave.BottomSurface = "Smooth"
  178. wave.Transparency = 0.35
  179. wave.CFrame = HandCF
  180. wm = Instance.new("SpecialMesh", wave)
  181. wm.MeshId = "rbxassetid://3270017"
  182. coroutine.wrap(function()
  183. for i = 1, 14, 1 do
  184. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  185. wave.Size = wm.Scale
  186. wave.CFrame = HandCF
  187. wave.Transparency = i/14
  188. wait()
  189. end
  190. wait()
  191. wave:Destroy()
  192. end)()
  193. end
  194. ----------------------------------------------------
  195. Magik = function()
  196. Spawn(function()
  197. local function lerp(a,b,c)
  198. return a+(b-a)*c
  199. end
  200. local function rndRange(rng)
  201. return math.random(-rng*1000,rng*1000)/1000
  202. end
  203. local magik = Instance.new("Part", larm)
  204. local Colors = {"Dark indigo", "Really black"}
  205. magik.Anchored = true
  206. magik.Locked = true
  207. magik.FormFactor = "Custom"
  208. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  209. magik.TopSurface = "Smooth"
  210. magik.BottomSurface = "Smooth"
  211. magik.Transparency = 0
  212. magik.CanCollide = false
  213. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  214. local mr = math.rad
  215. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  216. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  217. magik.CFrame = cf
  218. for i = 0, 1, .05 do
  219. local newTrans = lerp(0.5, 1, i)
  220. local ns = lerp(1,1.2,i)
  221. magik.Transparency = newTrans
  222. magik.Size = Vector3.new(ns,ns,ns)
  223. magik.CFrame = cf
  224. rs:wait()
  225. end
  226. magik:Destroy()
  227. wait()
  228. end)
  229. end
  230. ----------------------------------------------------
  231. Magik2 = function()
  232. Spawn(function()
  233. if stanceToggle == "Melee" then
  234. local function lerp(a,b,c)
  235. return a+(b-a)*c
  236. end
  237. local function rndRange(rng)
  238. return math.random(-rng*1000,rng*1000)/1000
  239. end
  240. local magik2 = Instance.new("Part", rarm)
  241. local Colors = {"Dark indigo", "Really black"}
  242. magik2.Anchored = true
  243. magik2.Locked = true
  244. magik2.FormFactor = "Custom"
  245. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  246. magik2.TopSurface = "Smooth"
  247. magik2.BottomSurface = "Smooth"
  248. magik2.Transparency = 0
  249. magik2.CanCollide = false
  250. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  251. local mr = math.rad
  252. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  253. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  254. magik2.CFrame = cf
  255. for i = 0, 1, .05 do
  256. local newTrans = lerp(0.5, 1, i)
  257. local ns = lerp(1,1.2,i)
  258. magik2.Transparency = newTrans
  259. magik2.Size = Vector3.new(ns,ns,ns)
  260. magik2.CFrame = cf
  261. rs:wait()
  262. end
  263. magik2:Destroy()
  264. elseif stanceToggle ~= "Melee" then
  265. wait()
  266. end
  267. end)
  268. end
  269. ----------------------------------------------------
  270. function lerp(a, b, t) -- Linear interpolation
  271. return a + (b - a)*t
  272. end
  273.  
  274. function slerp(a, b, t) --Spherical interpolation
  275. dot = a:Dot(b)
  276. if dot > 0.99999 or dot < -0.99999 then
  277. return t <= 0.5 and a or b
  278. else
  279. r = math.acos(dot)
  280. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  281. end
  282. end
  283.  
  284. function matrixInterpolate(a, b, t)
  285. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  286. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  287. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  288. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  289. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  290. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  291. local t = v1:Dot(v2)
  292. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  293. return CFrame.new()
  294. end
  295. return CFrame.new(
  296. v0.x, v0.y, v0.z,
  297. v1.x, v1.y, v1.z,
  298. v2.x, v2.y, v2.z,
  299. v3.x, v3.y, v3.z)
  300. end
  301. ----------------------------------------------------
  302. function genWeld(a,b)
  303. local w = Instance.new("Weld",a)
  304. w.Part0 = a
  305. w.Part1 = b
  306. return w
  307. end
  308. function weld(a, b)
  309. local weld = Instance.new("Weld")
  310. weld.Name = "W"
  311. weld.Part0 = a
  312. weld.Part1 = b
  313. weld.C0 = a.CFrame:inverse() * b.CFrame
  314. weld.Parent = a
  315. return weld;
  316. end
  317. ----------------------------------------------------
  318. function Lerp(c1,c2,al)
  319. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  320. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  321. for i,v in pairs(com1) do
  322. com1[i] = v+(com2[i]-v)*al
  323. end
  324. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  325. end
  326. ----------------------------------------------------
  327. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  328. local wld = Instance.new("Weld", wp1)
  329. wld.Part0 = wp0
  330. wld.Part1 = wp1
  331. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  332. end
  333. ----------------------------------------------------
  334. newWeld(torso, larm, -1.5, 0.5, 0)
  335. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  336. newWeld(torso, rarm, 1.5, 0.5, 0)
  337. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  338. newWeld(torso, hed, 0, 1.5, 0)
  339. newWeld(torso, lleg, -0.5, -1, 0)
  340. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  341. newWeld(torso, rleg, 0.5, -1, 0)
  342. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  343. newWeld(root, torso, 0, -1, 0)
  344. torso.Weld.C1 = CFrame.new(0, -1, 0)
  345. ----------------------------------------------------
  346. --local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916
  347. z = Instance.new("Sound",char) --music
  348. z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)]
  349. z.Looped = true
  350. z.Volume = 1
  351. z.Pitch = .72
  352. wait(1)
  353. z:Play()
  354. hum.WalkSpeed = 9
  355. lite = Instance.new("PointLight",torso)
  356. lite.Brightness = 16
  357. lite.Range = 12
  358. lite.Color = Color3.new(255/255,0,0)
  359. ----------------------------------------------------
  360.  
  361. ----------------------------------------------------
  362. local m = Instance.new("Model")
  363. m.Name = "Genkadda"
  364. p1 = Instance.new("Part", m)
  365. p1.Material = "Metal"
  366. p1.BrickColor = BrickColor.new("Really black")
  367. p1.Name = "BladePart"
  368. p1.FormFactor = Enum.FormFactor.Symmetric
  369. p1.Size = Vector3.new(1, 1, 1)
  370. 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)
  371. p1.CanCollide = false
  372. p1.Locked = true
  373. p1.Elasticity = 0
  374. p1.BottomSurface = Enum.SurfaceType.Smooth
  375. p1.TopSurface = Enum.SurfaceType.Smooth
  376. b1 = Instance.new("BlockMesh", p1)
  377. b1.Name = "Mesh"
  378. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  379. p2 = Instance.new("Part", m)
  380. p2.Material = "Metal"
  381. p2.BrickColor = BrickColor.new("Really black")
  382. p2.FormFactor = Enum.FormFactor.Symmetric
  383. p2.Size = Vector3.new(1, 1, 1)
  384. 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)
  385. p2.CanCollide = false
  386. p2.Locked = true
  387. p2.Elasticity = 0
  388. p2.BottomSurface = Enum.SurfaceType.Smooth
  389. p2.TopSurface = Enum.SurfaceType.Smooth
  390. b2 = Instance.new("BlockMesh", p2)
  391. b2.Name = "Mesh"
  392. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  393. p3 = Instance.new("Part", m)
  394. p3.Material = "Metal"
  395. p3.BrickColor = BrickColor.new("Really black")
  396. p3.FormFactor = Enum.FormFactor.Symmetric
  397. p3.Size = Vector3.new(1, 2, 1)
  398. 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)
  399. p3.CanCollide = false
  400. p3.Locked = true
  401. p3.Elasticity = 0
  402. p3.BottomSurface = Enum.SurfaceType.Smooth
  403. p3.TopSurface = Enum.SurfaceType.Smooth
  404. b3 = Instance.new("BlockMesh", p3)
  405. b3.Name = "Mesh"
  406. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  407. p4 = Instance.new("Part", m)
  408. p4.Material = "Metal"
  409. p4.BrickColor = BrickColor.new("Really black")
  410. p4.Name = "BladePart"
  411. p4.FormFactor = Enum.FormFactor.Symmetric
  412. p4.Size = Vector3.new(1, 1, 1)
  413. 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)
  414. p4.CanCollide = false
  415. p4.Locked = true
  416. p4.Elasticity = 0
  417. p4.BottomSurface = Enum.SurfaceType.Smooth
  418. p4.TopSurface = Enum.SurfaceType.Smooth
  419. b4 = Instance.new("BlockMesh", p4)
  420. b4.Name = "Mesh"
  421. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  422. p5 = Instance.new("Part", m)
  423. p5.Material = "Metal"
  424. p5.BrickColor = BrickColor.new("Really black")
  425. p5.Name = "Hilt"
  426. p5.FormFactor = Enum.FormFactor.Custom
  427. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  428. 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)
  429. p5.CanCollide = false
  430. p5.Locked = true
  431. p5.BottomSurface = Enum.SurfaceType.Smooth
  432. p5.TopSurface = Enum.SurfaceType.Smooth
  433. b5 = Instance.new("BlockMesh", p5)
  434. b5.Name = "Mesh"
  435. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  436. p6 = Instance.new("Part", m)
  437. p6.Material = "Metal"
  438. p6.BrickColor = BrickColor.new("Really black")
  439. p6.Name = "Handle"
  440. p6.FormFactor = Enum.FormFactor.Custom
  441. p6.Size = Vector3.new(1.29999995, 1, 1)
  442. 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)
  443. p6.CanCollide = false
  444. p6.Locked = true
  445. p6.BottomSurface = Enum.SurfaceType.Smooth
  446. p6.TopSurface = Enum.SurfaceType.Smooth
  447. b6 = Instance.new("SpecialMesh", p6)
  448. b6.MeshType = Enum.MeshType.Cylinder
  449. b6.Name = "Mesh"
  450. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  451. p7 = Instance.new("Part", m)
  452. p7.Material = "Metal"
  453. p7.BrickColor = BrickColor.new("Really black")
  454. p7.FormFactor = Enum.FormFactor.Symmetric
  455. p7.Size = Vector3.new(1, 1, 1)
  456. 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)
  457. p7.CanCollide = false
  458. p7.Locked = true
  459. b7 = Instance.new("SpecialMesh", p7)
  460. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  461. b7.TextureId = ""
  462. b7.MeshType = Enum.MeshType.FileMesh
  463. b7.Name = "Mesh"
  464. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  465. p8 = Instance.new("Part", m)
  466. p8.Material = "Metal"
  467. p8.BrickColor = BrickColor.new("Really black")
  468. p8.Name = "BladePart"
  469. p8.FormFactor = Enum.FormFactor.Symmetric
  470. p8.Size = Vector3.new(1, 1, 1)
  471. 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)
  472. p8.CanCollide = false
  473. p8.Locked = true
  474. p8.Elasticity = 0
  475. p8.BottomSurface = Enum.SurfaceType.Smooth
  476. p8.TopSurface = Enum.SurfaceType.Smooth
  477. b8 = Instance.new("BlockMesh", p8)
  478. b8.Name = "Mesh"
  479. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  480. p9 = Instance.new("Part", m)
  481. p9.Material = "Metal"
  482. p9.BrickColor = BrickColor.new("Really black")
  483. p9.Name = "BladePart"
  484. p9.FormFactor = Enum.FormFactor.Symmetric
  485. p9.Size = Vector3.new(1, 1, 1)
  486. 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)
  487. p9.CanCollide = false
  488. p9.Locked = true
  489. p9.Elasticity = 0
  490. p9.BottomSurface = Enum.SurfaceType.Smooth
  491. p9.TopSurface = Enum.SurfaceType.Smooth
  492. b9 = Instance.new("BlockMesh", p9)
  493. b9.Name = "Mesh"
  494. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  495. p10 = Instance.new("Part", m)
  496. p10.Material = "Metal"
  497. p10.BrickColor = BrickColor.new("Really black")
  498. p10.Name = "BladeTip"
  499. p10.FormFactor = Enum.FormFactor.Symmetric
  500. p10.Size = Vector3.new(1, 1, 2)
  501. 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)
  502. p10.CanCollide = false
  503. p10.Locked = true
  504. p10.Elasticity = 0
  505. p10.BottomSurface = Enum.SurfaceType.Smooth
  506. p10.TopSurface = Enum.SurfaceType.Smooth
  507. b10 = Instance.new("SpecialMesh", p10)
  508. b10.MeshType = Enum.MeshType.Wedge
  509. b10.Name = "Mesh"
  510. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  511. p11 = Instance.new("Part", m)
  512. p11.Material = "Metal"
  513. p11.BrickColor = BrickColor.new("Really black")
  514. p11.Name = "BladePart"
  515. p11.FormFactor = Enum.FormFactor.Symmetric
  516. p11.Size = Vector3.new(1, 1, 1)
  517. 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)
  518. p11.CanCollide = false
  519. p11.Locked = true
  520. p11.Elasticity = 0
  521. p11.BottomSurface = Enum.SurfaceType.Smooth
  522. p11.TopSurface = Enum.SurfaceType.Smooth
  523. b11 = Instance.new("BlockMesh", p11)
  524. b11.Name = "Mesh"
  525. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  526. p12 = Instance.new("Part", m)
  527. p12.Material = "Metal"
  528. p12.BrickColor = BrickColor.new("Really black")
  529. p12.Name = "BladeTip2"
  530. p12.FormFactor = Enum.FormFactor.Custom
  531. p12.Size = Vector3.new(1, 1, 2.4000001)
  532. 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)
  533. p12.CanCollide = false
  534. p12.Locked = true
  535. p12.Elasticity = 0
  536. p12.BottomSurface = Enum.SurfaceType.Smooth
  537. p12.TopSurface = Enum.SurfaceType.Smooth
  538. b12 = Instance.new("SpecialMesh", p12)
  539. b12.MeshType = Enum.MeshType.Wedge
  540. b12.Name = "Mesh"
  541. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  542. p13 = Instance.new("Part", m)
  543. p13.Material = "Metal"
  544. p13.BrickColor = BrickColor.new("Medium stone grey")
  545. p13.Transparency = 1
  546. p13.Name = "HitBox"
  547. p13.FormFactor = Enum.FormFactor.Custom
  548. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  549. 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)
  550. p13.CanCollide = false
  551. p13.Locked = true
  552. p13.BottomSurface = Enum.SurfaceType.Smooth
  553. p13.TopSurface = Enum.SurfaceType.Smooth
  554. w1 = Instance.new("Weld", p1)
  555. w1.Name = "Part_Weld"
  556. w1.Part0 = p1
  557. 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)
  558. w1.Part1 = p2
  559. 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)
  560. w2 = Instance.new("Weld", p2)
  561. w2.Name = "Part_Weld"
  562. w2.Part0 = p2
  563. 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)
  564. w2.Part1 = p3
  565. 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)
  566. w3 = Instance.new("Weld", p3)
  567. w3.Name = "BladePart_Weld"
  568. w3.Part0 = p3
  569. 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)
  570. w3.Part1 = p4
  571. 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)
  572. w4 = Instance.new("Weld", p4)
  573. w4.Name = "Hilt_Weld"
  574. w4.Part0 = p4
  575. 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)
  576. w4.Part1 = p5
  577. 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)
  578. w5 = Instance.new("Weld", p5)
  579. w5.Name = "Handle_Weld"
  580. w5.Part0 = p5
  581. 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)
  582. w5.Part1 = p6
  583. 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)
  584. w6 = Instance.new("Weld", p6)
  585. w6.Name = "Part_Weld"
  586. w6.Part0 = p6
  587. 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)
  588. w6.Part1 = p7
  589. 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)
  590. w7 = Instance.new("Weld", p7)
  591. w7.Name = "BladePart_Weld"
  592. w7.Part0 = p7
  593. 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)
  594. w7.Part1 = p8
  595. 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)
  596. w8 = Instance.new("Weld", p8)
  597. w8.Name = "BladePart_Weld"
  598. w8.Part0 = p8
  599. 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)
  600. w8.Part1 = p9
  601. 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)
  602. w9 = Instance.new("Weld", p9)
  603. w9.Name = "BladeTip_Weld"
  604. w9.Part0 = p9
  605. 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)
  606. w9.Part1 = p10
  607. 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)
  608. w10 = Instance.new("Weld", p10)
  609. w10.Name = "BladePart_Weld"
  610. w10.Part0 = p10
  611. 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)
  612. w10.Part1 = p11
  613. 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)
  614. w11 = Instance.new("Weld", p11)
  615. w11.Name = "BladeTip2_Weld"
  616. w11.Part0 = p11
  617. 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)
  618. w11.Part1 = p12
  619. 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)
  620. w12 = Instance.new("Weld", p12)
  621. w12.Name = "HitBox_Weld"
  622. w12.Part0 = p12
  623. 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)
  624. w12.Part1 = p13
  625. 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)
  626. w13 = Instance.new("Weld", p13)
  627. w13.Name = "Weld"
  628. w13.Part0 = p13
  629. 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)
  630. m.Parent = char
  631. m:MakeJoints()
  632. ----------------------------------------------------
  633. local cor = Instance.new("Part", char.Genkadda)
  634. cor.Name = "Thingy"
  635. cor.Locked = true
  636. cor.BottomSurface = 0
  637. cor.CanCollide = false
  638. cor.Size = Vector3.new(1, 9, 1)
  639. cor.Transparency = 1
  640. cor.TopSurface = 0
  641. corw = Instance.new("Weld", cor)
  642. corw.Part0 = rarm
  643. corw.Part1 = cor
  644. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  645. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  646. weld1 = Instance.new("Weld", char.Genkadda)
  647. weld1.Part0 = cor
  648. weld1.Part1 = p6
  649. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  650. ----------------------------------------------------
  651. function Vanish()
  652. for i = 1, 10 do wait()
  653. for i,v in pairs(char.Genkadda:GetChildren()) do
  654. if v:IsA("Part") or v:IsA("WedgePart") then
  655. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  656. v.Transparency = v.Transparency + 0.1
  657. end
  658. end
  659. end
  660. end
  661. end
  662. ----------------------------------------------------
  663. function Appear()
  664. for i = 1, 10 do wait()
  665. for i,v in pairs(char.Genkadda:GetChildren()) do
  666. if v:IsA("Part") or v:IsA("WedgePart") then
  667. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  668. v.Transparency = v.Transparency - 0.1
  669. end
  670. end
  671. end
  672. end
  673. end
  674. ----------------------------------------------------
  675. local player = game.Players.LocalPlayer
  676. local pchar = player.Character
  677. local mouse = player:GetMouse()
  678. local cam = workspace.CurrentCamera
  679.  
  680. local rad = math.rad
  681.  
  682. local keysDown = {}
  683. local flySpeed = 0
  684. local MAX_FLY_SPEED = 50
  685.  
  686. local canFly = false
  687. local flyToggled = false
  688.  
  689. local forward, side = 0, 0
  690. local lastForward, lastSide = 0, 0
  691.  
  692. local floatBP = Instance.new("BodyPosition")
  693. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  694. local flyBV = Instance.new("BodyVelocity")
  695. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  696. local turnBG = Instance.new("BodyGyro")
  697. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  698.  
  699. mouse.KeyDown:connect(function(key)
  700. keysDown[key] = true
  701.  
  702. if key == "f" then
  703. flyToggled = not flyToggled
  704.  
  705. if not flyToggled then
  706. stanceToggle = "Normal"
  707. floatBP.Parent = nil
  708. flyBV.Parent = nil
  709. turnBG.Parent = nil
  710. root.Velocity = Vector3.new()
  711. pchar.Humanoid.PlatformStand = false
  712. end
  713. end
  714.  
  715. end)
  716. mouse.KeyUp:connect(function(key)
  717. keysDown[key] = nil
  718. end)
  719.  
  720. local function updateFly()
  721.  
  722. if not flyToggled then return end
  723.  
  724. lastForward = forward
  725. lastSide = side
  726.  
  727. forward = 0
  728. side = 0
  729.  
  730. if keysDown.w then
  731. forward = forward + 1
  732. end
  733. if keysDown.s then
  734. forward = forward - 1
  735. end
  736. if keysDown.a then
  737. side = side - 1
  738. end
  739. if keysDown.d then
  740. side = side + 1
  741. end
  742.  
  743. canFly = (forward ~= 0 or side ~= 0)
  744.  
  745. if canFly then
  746. stanceToggle = "Floating"
  747. turnBG.Parent = root
  748. floatBP.Parent = nil
  749. flyBV.Parent = root
  750.  
  751. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  752. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  753. else
  754. floatBP.position = root.Position
  755. floatBP.Parent = root
  756.  
  757. flySpeed = flySpeed - 1
  758. if flySpeed < 0 then flySpeed = 0 end
  759. end
  760.  
  761. local camCF = cam.CoordinateFrame
  762. local in_forward = canFly and forward or lastForward
  763. local in_side = canFly and side or lastSide
  764.  
  765. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  766. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  767.  
  768. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  769. 0)
  770. end
  771.  
  772. game:service'RunService'.RenderStepped:connect(function()
  773. if flyToggled then
  774. pchar.Humanoid.PlatformStand = true
  775. end
  776. updateFly()
  777. end)
  778. ----------------------------------------------------
  779. p13.Touched:connect(function(ht)
  780. hit = ht.Parent
  781. if ht and hit:IsA("Model") then
  782. if hit:FindFirstChild("Humanoid") then
  783. if hit.Name ~= p.Name then
  784. if Debounces.Slashing == true and Debounces.Slashed == false then
  785. Debounces.Slashed = true
  786. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25))
  787. wait(.3)
  788. Debounces.Slashed = false
  789. end
  790. end
  791. end
  792. elseif ht and hit:IsA("Hat") then
  793. if hit.Parent.Name ~= p.Name then
  794. if hit.Parent:FindFirstChild("Humanoid") then
  795. if Debounces.Slashing == true and Debounces.Slashed == false then
  796. Debounces.Slashed = true
  797. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25))
  798. wait(.3)
  799. Debounces.Slashed = false
  800. end
  801. end
  802. end
  803. end
  804. end)
  805. ----------------------------------------------------
  806. ptz = {0.7, 0.8, 0.9, 1}
  807. idz = {"161006212", "161006195"}
  808. mouse.KeyDown:connect(function(key)
  809. if key == "q" then
  810. if Debounces.CanAttack == true then
  811. Debounces.CanAttack = false
  812. Debounces.NoIdl = true
  813. Debounces.on = true
  814. for i = 1, 20 do
  815. 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)
  816. 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)
  817. 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)
  818. 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)
  819. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  820. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  821. if Debounces.on == false then break end
  822. rs:wait(2)
  823. end
  824. z = Instance.new("Sound", hed)
  825. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  826. z.Pitch = ptz[math.random(1,#ptz)]
  827. z.Volume = 1
  828. wait(.01)
  829. z:Play()
  830. Debounces.Slashing = true
  831. for i = 1, 20 do
  832. 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)
  833. 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)
  834. 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)
  835. 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)
  836. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  837. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  838. if Debounces.on == false then break end
  839. rs:wait(2)
  840. end
  841. z1 = Instance.new("Sound", hed)
  842. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  843. z1.Pitch = ptz[math.random(1,#ptz)]
  844. z1.Volume = 1
  845. wait(.01)
  846. z1:Play()
  847. Debounces.Slashing = true
  848. for i = 1, 26 do
  849. 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)
  850. 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)
  851. 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)
  852. 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)
  853. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  854. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  855. 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)
  856. if Debounces.on == false then break end
  857. rs:wait(2)
  858. end
  859. Debounces.Slashing = false
  860. z:Destroy()
  861. z1:Destroy()
  862. cor.Weld.C1 = CFrame.Angles(0,0,0)
  863. if Debounces.CanAttack == false then
  864. Debounces.CanAttack = true
  865. Debounces.NoIdl = false
  866. Debounces.on = false
  867. end
  868. end
  869. end
  870. end)
  871. -------------------------------
  872. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  873. mouse.KeyDown:connect(function(key)
  874. if key == "e" then
  875. if Debounces.CanAttack == true then
  876. Debounces.CanAttack = false
  877. Debounces.NoIdl = true
  878. Debounces.on = true
  879. Debounces.ks = true
  880. larm.Touched:connect(function(ht)
  881. hit = ht.Parent
  882. if ht and hit:IsA("Model") then
  883. if hit:FindFirstChild("Humanoid") then
  884. if hit.Name ~= p.Name then
  885. if Debounces.Slapping == true and Debounces.Slapped == false then
  886. Debounces.Slapped = true
  887. if Debounces.ks==true then
  888. z = Instance.new("Sound",hed)
  889. z.SoundId = "rbxassetid://169380525"
  890. z.Volume = 1
  891. z:Play()
  892. z1 = Instance.new("Sound",char)
  893. z1.SoundId = "rbxassetid://261010715"
  894. z1.Pitch = pts[math.random(1,#pts)]
  895. z1.Volume = 1
  896. z2 = Instance.new("Sound",char)
  897. z2.SoundId = "rbxassetid://261010715"
  898. z2.Pitch = z1.Pitch
  899. z2.Volume = 1
  900. z3 = Instance.new("Sound",char)
  901. z3.SoundId = "rbxassetid://261010715"
  902. z3.Pitch = z1.Pitch
  903. z3.Volume = 1
  904. z1:Play()
  905. z2:Play()
  906. z3:Play()
  907. Debounces.ks=false
  908. end
  909. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  910. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  911. wait(.5)
  912. Debounces.Slapped = false
  913. z:Destroy()
  914. z1:Destroy()
  915. z2:Destroy()
  916. z3:Destroy()
  917. end
  918. end
  919. end
  920. elseif ht and hit:IsA("Hat") then
  921. if hit.Parent.Name ~= p.Name then
  922. if hit.Parent:FindFirstChild("Humanoid") then
  923. if Debounces.Slapping == true and Debounces.Slapped == false then
  924. Debounces.Slapped = true
  925. if Debounces.ks==true then
  926. z = Instance.new("Sound",hed)
  927. z.SoundId = "rbxassetid://169380525"
  928. z.Volume = 1
  929. z:Play()
  930. z1 = Instance.new("Sound",char)
  931. z1.SoundId = "rbxassetid://261010715"
  932. z1.Pitch = pts[math.random(1,#pts)]
  933. z1.Volume = 1
  934. z2 = Instance.new("Sound",char)
  935. z2.SoundId = "rbxassetid://261010715"
  936. z2.Pitch = z1.Pitch
  937. z2.Volume = 1
  938. z3 = Instance.new("Sound",char)
  939. z3.SoundId = "rbxassetid://261010715"
  940. z3.Pitch = z1.Pitch
  941. z3.Volume = 1
  942. z1:Play()
  943. z2:Play()
  944. z3:Play()
  945. Debounces.ks=false
  946. end
  947. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  948. wait(.5)
  949. Debounces.Slapped = false
  950. z:Destroy()
  951. z1:Destroy()
  952. z2:Destroy()
  953. z3:Destroy()
  954. end
  955. end
  956. end
  957. end
  958. end)
  959. for i = 1, 14 do
  960. 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)
  961. 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)
  962. 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)
  963. 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)
  964. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  965. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  966. if Debounces.on==false then break end
  967. rs:wait(2)
  968. end
  969. Debounces.Slapping = true
  970. for i = 1, 20 do
  971. 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)
  972. 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)
  973. 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)
  974. 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)
  975. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  976. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  977. if Debounces.on==false then break end
  978. rs:wait(2)
  979. end
  980. Debounces.Slapping = false
  981. if Debounces.CanAttack == false then
  982. Debounces.CanAttack = true
  983. Debounces.NoIdl = false
  984. Debounces.on = false
  985. end
  986. end
  987. end
  988. end)
  989. -------------------------------
  990. mouse.KeyDown:connect(function(key)
  991. if key == "r" then
  992. if Debounces.CanAttack == true then
  993. Debounces.CanAttack = false
  994. Debounces.NoIdl = true
  995. Debounces.on = true
  996. for i = 1, 20 do
  997. 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)
  998. 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)
  999. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  1000. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
  1001. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1002. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1003. 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)
  1004. if Debounces.on==false then break end
  1005. rs:wait(2)
  1006. end
  1007. Debounces.Slashing = true
  1008. z = Instance.new("Sound",hed)
  1009. z.SoundId = "rbxassetid://206083107"
  1010. z.Pitch = .75
  1011. z.Volume = .65
  1012. wait(0.1)
  1013. z:Play()
  1014. z1 = Instance.new("Sound", hed)
  1015. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1016. z1.Pitch = ptz[math.random(1,#ptz)]
  1017. z1.Volume = 1
  1018. wait(.01)
  1019. z1:Play()
  1020. for i = 1, 20 do
  1021. 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)
  1022. 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)
  1023. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1024. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  1025. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  1026. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
  1027. 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)
  1028. if Debounces.on==false then break end
  1029. rs:wait(2)
  1030. end
  1031. Debounces.Slashing = false
  1032. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1033. if Debounces.CanAttack == false then
  1034. Debounces.CanAttack = true
  1035. Debounces.NoIdl = false
  1036. Debounces.on = false
  1037. end
  1038. end
  1039. end
  1040. end)
  1041. -------------------------------
  1042. mouse.KeyDown:connect(function(key)
  1043. if key == "t" then
  1044. if Debounces.CanAttack == true then
  1045. Debounces.CanAttack = false
  1046. Debounces.on = true
  1047. Debounces.NoIdl = true
  1048. for i = 1,20 do
  1049. 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)
  1050. 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)
  1051. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2)
  1052. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2)
  1053. 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)
  1054. 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)
  1055. if Debounces.on==false then break end
  1056. rs:wait(2)
  1057. end
  1058. for i = 1,20 do
  1059. 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)
  1060. 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)
  1061. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2)
  1062. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
  1063. 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)
  1064. 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)
  1065. if Debounces.on==false then break end
  1066. rs:wait(2)
  1067. end
  1068. if Debounces.CanAttack == false then
  1069. Debounces.CanAttack = true
  1070. Debounces.on = false
  1071. Debounces.NoIdl = false
  1072. end
  1073. end
  1074. end
  1075. end)
  1076. -------------------------------
  1077. mouse.KeyDown:connect(function(key)
  1078. if key == "g" then
  1079. if Debounces.CanAttack == true then
  1080. Debounces.CanAttack = false
  1081. Debounces.NoIdl = true
  1082. Debounces.on = true
  1083. Debounces.Slashing = true
  1084. for i = 1, 8 do
  1085. 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)
  1086. 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)
  1087. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1088. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1089. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1090. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1091. if Debounces.on==false then break end
  1092. rs:wait(2)
  1093. end
  1094. for i = 1, 1440, 48 do
  1095. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
  1096. rs:wait(4)
  1097. end
  1098. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1099. Debounces.Slashing = false
  1100. if Debounces.CanAttack == false then
  1101. Debounces.CanAttack = true
  1102. Debounces.NoIdl = false
  1103. Debounces.on = false
  1104. end
  1105. end
  1106. end
  1107. end)
  1108. ----------------------------------------------------
  1109. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1110. mouse.KeyDown:connect(function(key)
  1111. if key == "h" then
  1112. if Debounces.CanJoke == true then
  1113. Debounces.CanJoke = false
  1114. u = Instance.new("Sound",char)
  1115. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1116. u.Pitch = pt[math.random(1,#pt)]
  1117. u.Volume = 1
  1118. u2 = Instance.new("Sound",char)
  1119. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1120. u2.Pitch = u.Pitch
  1121. u2.Volume = 1
  1122. u3 = Instance.new("Sound",char)
  1123. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1124. u3.Pitch = u.Pitch
  1125. u3.Volume = 1
  1126. wait(.01)
  1127. u:Play()
  1128. u2:Play()
  1129. u3:Play()
  1130. wait(1.5)
  1131. u:Destroy()
  1132. u2:Destroy()
  1133. u3:Destroy()
  1134. if Debounces.CanJoke == false then
  1135. Debounces.CanJoke = true
  1136. end
  1137. end
  1138. end
  1139. end)
  1140.  
  1141. -------------------------------
  1142. mouse.KeyDown:connect(function(key)
  1143. if key == "k" then
  1144. if Debounces.CanAttack == true then
  1145. Debounces.CanAttack = false
  1146. Debounces.NoIdl = true
  1147. Debounces.on = true
  1148. char.Humanoid.WalkSpeed = .01
  1149. Debounces.on = true
  1150. Vanish()
  1151. for i = 1, 20 do
  1152. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3)
  1153. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3)
  1154. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3)
  1155. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3)
  1156. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6)
  1157. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4)
  1158. if Debounces.on==false then break end
  1159.  
  1160. wait()
  1161. end
  1162. wait(1)
  1163. x = Instance.new("Sound")
  1164. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1165. x.Parent = char.Head
  1166. x.Looped = false
  1167. x.Pitch = .88
  1168. x.Volume = 1
  1169. wait(.1)
  1170. x:Play()
  1171. Debounces.on = false
  1172. Debounces.Here = false
  1173. shot = shot + 2
  1174. for i = 1, 6 do
  1175. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4)
  1176. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(101)), 0.4)
  1177. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4)
  1178. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4)
  1179. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4)
  1180. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4)
  1181. wait()
  1182. end
  1183. local rng = Instance.new("Part", char)
  1184. rng.Anchored = true
  1185. rng.BrickColor = BrickColor.new("Really black")
  1186. rng.CanCollide = false
  1187. rng.FormFactor = 3
  1188. rng.Name = "Ring"
  1189. rng.Size = Vector3.new(1, 1, 1)
  1190. rng.Transparency = 0.35
  1191. rng.TopSurface = 0
  1192. rng.BottomSurface = 0
  1193. local rngm = Instance.new("SpecialMesh", rng)
  1194. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1195. rngm.Scale = Vector3.new(10, 10, 1)
  1196. local bem = Instance.new("Part", char)
  1197. bem.Anchored = true
  1198. bem.BrickColor = BrickColor.new("Really black")
  1199. bem.CanCollide = false
  1200. bem.FormFactor = 3
  1201. bem.Name = "Beam" .. shot
  1202. bem.Size = Vector3.new(1, 1, 1)
  1203. bem.Transparency = 0.35
  1204. bem.TopSurface = 0
  1205. bem.BottomSurface = 0
  1206. local bemm = Instance.new("SpecialMesh", bem)
  1207. bemm.MeshType = 4
  1208. bemm.Scale = Vector3.new(1, 4, 4)
  1209. local out = Instance.new("Part", char)
  1210. out.Anchored = true
  1211. out.BrickColor = BrickColor.new("Really black")
  1212. out.CanCollide = false
  1213. out.FormFactor = 3
  1214. out.Name = "Out"
  1215. out.Size = Vector3.new(1, 1, 1)
  1216. out.Transparency = 0.35
  1217. out.TopSurface = 0
  1218. out.BottomSurface = 0
  1219. local outm = Instance.new("SpecialMesh", out)
  1220. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1221. outm.Scale = Vector3.new(2, 2, 2)
  1222. local bnd = Instance.new("Part", char)
  1223. bnd.Anchored = true
  1224. bnd.BrickColor = BrickColor.new("Really black")
  1225. bnd.CanCollide = false
  1226. bnd.FormFactor = 3
  1227. bnd.Name = "BEnd"
  1228. bnd.Size = Vector3.new(1, 1, 1)
  1229. bnd.Transparency = 0.35
  1230. bnd.TopSurface = 0
  1231. bnd.BottomSurface = 0
  1232. local bndm = Instance.new("SpecialMesh", bnd)
  1233. bndm.MeshType = 3
  1234. bndm.Scale = Vector3.new(4, 4, 4)
  1235. out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0)
  1236. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  1237. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  1238. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1239. Debounces.Shewt = true
  1240. coroutine.wrap(function()
  1241. for i = 1, 20, 0.2 do
  1242. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  1243. rng.Transparency = i/20
  1244. wait()
  1245. end
  1246. wait()
  1247. rng:Destroy()
  1248. end)()
  1249. if Debounces.Shewt == true then
  1250. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) --Here
  1251. print("Hit")
  1252. hit = ht.Parent
  1253. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  1254. print("Yes")
  1255. if HasntTouched(hit.Name) == true and deb == false then
  1256. deb = true
  1257. coroutine.wrap(function()
  1258. hit:FindFirstChild("Humanoid").PlatformStand = true
  1259. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
  1260. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(18,63))
  1261. wait(1)
  1262. hit:FindFirstChild("Humanoid").PlatformStand = false
  1263. end)()
  1264. table.insert(Touche, hit.Name)
  1265. deb = false
  1266. end
  1267. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  1268. print("Yes")
  1269. if HasntTouched(hit.Parent.Name) == true and deb == false then
  1270. deb = true
  1271. coroutine.wrap(function()
  1272. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  1273. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
  1274. wait(1)
  1275. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1276. end)()
  1277. table.insert(Touche, hit.Parent.Name)
  1278. deb = false
  1279. for i, v in pairs(Touche) do
  1280. print(v)
  1281. end
  1282. end
  1283. end
  1284. end)
  1285. end
  1286. for i = 0, 200, 7 do
  1287. bem.Size = Vector3.new(i, 1, 1)
  1288. bem.CFrame = rarm.CFrame * CFrame.new(0, -2.5 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  1289. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 0)
  1290. wait()
  1291. end
  1292. wait()
  1293. Debounces.Shewt = false
  1294. bem:Destroy()
  1295. out:Destroy()
  1296. bnd:Destroy()
  1297. char.Humanoid.WalkSpeed = 10
  1298. Debounces.Ready = false
  1299. for i, v in pairs(Touche) do
  1300. table.remove(Touche, i)
  1301. end
  1302. wait()
  1303. table.insert(Touche, char.Name)
  1304. Debounces.NoIdl = false
  1305. if Debounces.CanAttack == false then
  1306. Debounces.CanAttack = true
  1307. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1308.  
  1309.  
  1310. Debounces.on = false
  1311.  
  1312. end
  1313. end
  1314. end
  1315. end)
  1316. -------------------------------
  1317.  
  1318. ----------------------------------------------------EDIT END
  1319. Grab = false
  1320. mouse.KeyDown:connect(function(key)
  1321. if key == "z" then
  1322. Debounces.on = true
  1323. Debounces.NoIdl = true
  1324. Debounces.ks = true
  1325. if Grab == false then
  1326. gp = nil
  1327. for i = 1, 20 do
  1328. 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)
  1329. 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)
  1330. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1331. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1332. 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)
  1333. 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)
  1334. if Debounces.on == false then break end
  1335. rs:wait(2)
  1336. end
  1337. con1=larm.Touched:connect(function(hit) -- this is grab
  1338. ht = hit.Parent
  1339. hum1=ht:FindFirstChild('Humanoid')
  1340. if hum1 ~= nil then
  1341. if Debounces.ks==true then
  1342. z = Instance.new("Sound",hed)
  1343. z.SoundId = "rbxassetid://169380525"
  1344. z.Volume = 1
  1345. z:Play()
  1346. Debounces.ks=false
  1347. end
  1348. hum1.PlatformStand=true
  1349. gp = ht
  1350. Grab = true
  1351. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  1352. asd.Parent = larm
  1353. asd.Name = "asd"
  1354. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1355. stanceToggle = "Grabbed"
  1356. --[[elseif hum1 == nil then
  1357. con1:disconnect()
  1358. wait() return]]--
  1359. end
  1360. end)
  1361. for i = 1, 20 do
  1362. 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)
  1363. 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)
  1364. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  1365. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  1366. 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)
  1367. 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)
  1368. if Debounces.on == false then break end
  1369. rs:wait(2)
  1370. end
  1371. con1:disconnect()
  1372. Debounces.on = false
  1373. Debounces.NoIdl = false
  1374. elseif Grab == true then
  1375. Grab = false
  1376. --[[for i = 1, 16 do
  1377. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  1378. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  1379. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1380. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1381. 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)
  1382. 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)
  1383. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1384. if Debounces.on == false then end
  1385. rs:wait()
  1386. end]]--
  1387. for i = 1, 16 do
  1388. 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)
  1389. 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)
  1390. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1391. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  1392. 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)
  1393. 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)
  1394. if Debounces.on == false then end
  1395. rs:wait()
  1396. end
  1397. Slam()
  1398. if gp ~= nil then
  1399. for i,v in pairs(larm:GetChildren()) do
  1400. if v.Name == "asd" and v:IsA("Weld") then
  1401. v:Remove()
  1402. end
  1403. end
  1404. for i = 1, 16 do
  1405. 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)
  1406. 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)
  1407. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  1408. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  1409. 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)
  1410. 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)
  1411. if Debounces.on == false then end
  1412. rs:wait()
  1413. end
  1414. stanceToggle = "Normal"
  1415. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1416. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1417. bv.P = 125000
  1418. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1419. ht=nil
  1420. Debounces.on = false
  1421. Debounces.NoIdl = false
  1422. elseif ht == nil then wait()
  1423. Grab = false
  1424. Debounces.on = false
  1425. Debounces.NoIdl = false
  1426. end
  1427. end
  1428. end
  1429. end)
  1430. -------------------------------
  1431. Sit = false
  1432. mouse.KeyDown:connect(function(key)
  1433. if key == "v" then
  1434. if Sit == false then
  1435. Sit = true
  1436. hum.WalkSpeed = 0.1
  1437. stanceToggle = "Sitting"
  1438. elseif Sit == true then
  1439. Sit = false
  1440. hum.WalkSpeed = 7
  1441. stanceToggle = "Normal"
  1442. end
  1443. end
  1444. end)
  1445. -------------------------------
  1446. Melee = false
  1447. mouse.KeyDown:connect(function(key)
  1448. if key == "m" then
  1449. if Melee == false then
  1450. Melee = true
  1451. Vanish()
  1452. stanceToggle = "Melee"
  1453. elseif Melee == true then
  1454. Melee = false
  1455. Appear()
  1456. stanceToggle = "Normal"
  1457. end
  1458. end
  1459. end)
  1460. -------------------------------
  1461. mouse.KeyDown:connect(function(key)
  1462. if string.byte(key) == 52 then
  1463. if Debounces.CanAttack == true then
  1464. if stanceToggle ~= "Floating" then
  1465. char.Humanoid.WalkSpeed = 60
  1466. Burst()
  1467. elseif Debounces.CanAttack == false then
  1468. elseif stanceToggle == "Floating" then
  1469. wait()
  1470. end
  1471. end
  1472. end
  1473. end)
  1474. mouse.KeyUp:connect(function(key)
  1475. if string.byte(key) == 52 then
  1476. char.Humanoid.WalkSpeed = 9
  1477. end
  1478. end)
  1479. -------------------------------
  1480. local animpose = "Idle"
  1481. local lastanimpose = "Idle"
  1482. local grab = false
  1483. local sine = 0
  1484. local change = 1
  1485. local val = 0
  1486. local ffing = false
  1487. -------------------------------
  1488. --[[if stanceToggle == "Sitting" then
  1489. if wait(math.random(1,2)) == 1 then
  1490. stanceToggle = "Sitting2"
  1491. wait(8)
  1492. stanceToggle = "Sitting"
  1493. end
  1494. end]]--
  1495. -------------------------------
  1496. game:GetService("RunService").RenderStepped:connect(function()
  1497. --[[if char.Humanoid.Jump == true then
  1498. jump = true
  1499. else
  1500. jump = false
  1501. end]]
  1502. char.Humanoid.FreeFalling:connect(function(f)
  1503. if f then
  1504. ffing = true
  1505. else
  1506. ffing = false
  1507. end
  1508. end)
  1509. sine = sine + change
  1510. if jumpn == true then
  1511. animpose = "Jumping"
  1512. elseif ffing == true then
  1513. animpose = "Freefalling"
  1514. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1515. animpose = "Idle"
  1516. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1517. animpose = "Walking"
  1518. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1519. animpose = "Running"
  1520. end
  1521. if animpose ~= lastanimpose then
  1522. sine = 0
  1523. if Debounces.NoIdl == false then
  1524. if stanceToggle == "Normal" then
  1525. for i = 1, 2 do
  1526. 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)
  1527. 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)
  1528. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  1529. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1530. 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)
  1531. 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)
  1532. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1533. end
  1534. elseif stanceToggle == "Sitting" then
  1535. 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)
  1536. 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)
  1537. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1538. 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)
  1539. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  1540. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  1541. elseif stanceToggle == "Floating" then
  1542. 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)
  1543. 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)
  1544. 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)
  1545. 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)
  1546. 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)
  1547. 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)
  1548. wait()
  1549. end
  1550. else
  1551. end
  1552. end
  1553. lastanimpose = animpose
  1554. if Debounces.NoIdl == false then
  1555. if animpose == "Idle" then
  1556. if stanceToggle == "Normal" then
  1557. change = 0.5
  1558. 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)
  1559. 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)
  1560. 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)
  1561. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1562. 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)
  1563. 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)
  1564. elseif stanceToggle == "Melee" then
  1565. 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)
  1566. 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)
  1567. 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)
  1568. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1569. 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)
  1570. 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)
  1571. elseif stanceToggle == "Sitting" then
  1572. 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)
  1573. 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)
  1574. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1575. 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)
  1576. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  1577. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  1578. elseif stanceToggle == "Floating" then
  1579. 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)
  1580. 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)
  1581. 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)
  1582. 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)
  1583. 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)
  1584. 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)
  1585. elseif stanceToggle == "Grabbed" then
  1586. grab = true
  1587. 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)
  1588. 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)
  1589. 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)
  1590. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1591. 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)
  1592. 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)
  1593. end
  1594. elseif animpose == "Walking" then
  1595. if stanceToggle == "Normal" then
  1596. change = 1
  1597. 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)
  1598. 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)
  1599. 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)
  1600. 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)
  1601. 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)
  1602. 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)
  1603. elseif stanceToggle == "Melee" then
  1604. 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)
  1605. 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)
  1606. 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)
  1607. 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)
  1608. 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)
  1609. 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)
  1610. elseif stanceToggle == "Floating" then
  1611. 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)
  1612. 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)
  1613. 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)
  1614. 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)
  1615. 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)
  1616. 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)
  1617. elseif stanceToggle == "Grabbed" then
  1618. 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)
  1619. 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)
  1620. 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)
  1621. 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)
  1622. 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)
  1623. 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)
  1624. end
  1625. elseif animpose == "Running" then
  1626. if stanceToggle == "Normal" then
  1627. change = 1
  1628. 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)
  1629. 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)
  1630. 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)
  1631. 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)
  1632. 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)
  1633. 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)
  1634. elseif stanceToggle == "Floating" then
  1635. 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)
  1636. 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)
  1637. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  1638. 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)
  1639. 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)
  1640. 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)
  1641. end
  1642. end
  1643. end
  1644. end)
  1645.  
  1646. Spawn(function()
  1647. while wait() do
  1648. updateFly()
  1649. end
  1650. end)
  1651.  
  1652. Spawn(function()
  1653. while wait(.1) do
  1654. Magik()
  1655. end
  1656. end)
  1657.  
  1658. Spawn(function()
  1659. while wait(.1) do
  1660. Magik2()
  1661. end
  1662. end)
  1663.  
  1664. Spawn(function()
  1665. while wait(4) do
  1666. GroundWave()
  1667. end
  1668. end)--/e l/game.Players.vampire100:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement