Advertisement
Guest User

Untitled

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