Advertisement
robthesnowman

genk1

Aug 27th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.72 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13. local deb = false
  14. local shot = 0
  15. local stanceToggle = "Normal"
  16. local l = game:GetService("Lighting")
  17. local rs = game:GetService("RunService").RenderStepped
  18. math.randomseed(os.time())
  19. hum.MaxHealth = 9001
  20. wait(1)
  21. hum.Health = 9001
  22. for i,v in pairs(char:children()) do
  23. if v:IsA("Hat") then
  24. v:Destroy()
  25. end
  26. end
  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('Bright red')
  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('Really red')
  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(30,45))
  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 = {"Really red", "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 = {"Really red", "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 = {"Really red", "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"}--181449739, 167161785, 148274436, 167985102
  347. z = Instance.new("Sound",char)
  348. z.SoundId = "rbxassetid://163752916"--..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. l = game.Lighting
  361. rb = Color3.new(0,0,0)
  362. nb = Color3.new(0.1,0.1,0.1)
  363. l.TimeOfDay = 0
  364. --[[l.Ambient = rb
  365. l.OutdoorAmbient = rb
  366. l.FogColor = rb
  367. l.FogEnd = 100
  368. s = Instance.new("Sky",l)
  369. s.CelestialBodiesShown = false
  370. workspace.Base.Material = "Plastic"
  371. workspace.Base.BrickColor = BrickColor.new("Really black")]]--
  372. ----------------------------------------------------
  373. local m = Instance.new("Model")
  374. m.Name = "Genkadda"
  375. p1 = Instance.new("Part", m)
  376. p1.Material = "Metal"
  377. p1.BrickColor = BrickColor.new("Really black")
  378. p1.Name = "BladePart"
  379. p1.FormFactor = Enum.FormFactor.Symmetric
  380. p1.Size = Vector3.new(1, 1, 1)
  381. 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)
  382. p1.CanCollide = false
  383. p1.Locked = true
  384. p1.Elasticity = 0
  385. p1.BottomSurface = Enum.SurfaceType.Smooth
  386. p1.TopSurface = Enum.SurfaceType.Smooth
  387. b1 = Instance.new("BlockMesh", p1)
  388. b1.Name = "Mesh"
  389. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  390. p2 = Instance.new("Part", m)
  391. p2.Material = "Metal"
  392. p2.BrickColor = BrickColor.new("Really black")
  393. p2.FormFactor = Enum.FormFactor.Symmetric
  394. p2.Size = Vector3.new(1, 1, 1)
  395. 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)
  396. p2.CanCollide = false
  397. p2.Locked = true
  398. p2.Elasticity = 0
  399. p2.BottomSurface = Enum.SurfaceType.Smooth
  400. p2.TopSurface = Enum.SurfaceType.Smooth
  401. b2 = Instance.new("BlockMesh", p2)
  402. b2.Name = "Mesh"
  403. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  404. p3 = Instance.new("Part", m)
  405. p3.Material = "Metal"
  406. p3.BrickColor = BrickColor.new("Really black")
  407. p3.FormFactor = Enum.FormFactor.Symmetric
  408. p3.Size = Vector3.new(1, 2, 1)
  409. 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)
  410. p3.CanCollide = false
  411. p3.Locked = true
  412. p3.Elasticity = 0
  413. p3.BottomSurface = Enum.SurfaceType.Smooth
  414. p3.TopSurface = Enum.SurfaceType.Smooth
  415. b3 = Instance.new("BlockMesh", p3)
  416. b3.Name = "Mesh"
  417. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  418. p4 = Instance.new("Part", m)
  419. p4.Material = "Metal"
  420. p4.BrickColor = BrickColor.new("Really black")
  421. p4.Name = "BladePart"
  422. p4.FormFactor = Enum.FormFactor.Symmetric
  423. p4.Size = Vector3.new(1, 1, 1)
  424. 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)
  425. p4.CanCollide = false
  426. p4.Locked = true
  427. p4.Elasticity = 0
  428. p4.BottomSurface = Enum.SurfaceType.Smooth
  429. p4.TopSurface = Enum.SurfaceType.Smooth
  430. b4 = Instance.new("BlockMesh", p4)
  431. b4.Name = "Mesh"
  432. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  433. p5 = Instance.new("Part", m)
  434. p5.Material = "Metal"
  435. p5.BrickColor = BrickColor.new("Really black")
  436. p5.Name = "Hilt"
  437. p5.FormFactor = Enum.FormFactor.Custom
  438. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  439. 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)
  440. p5.CanCollide = false
  441. p5.Locked = true
  442. p5.BottomSurface = Enum.SurfaceType.Smooth
  443. p5.TopSurface = Enum.SurfaceType.Smooth
  444. b5 = Instance.new("BlockMesh", p5)
  445. b5.Name = "Mesh"
  446. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  447. p6 = Instance.new("Part", m)
  448. p6.Material = "Metal"
  449. p6.BrickColor = BrickColor.new("Really black")
  450. p6.Name = "Handle"
  451. p6.FormFactor = Enum.FormFactor.Custom
  452. p6.Size = Vector3.new(1.29999995, 1, 1)
  453. 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)
  454. p6.CanCollide = false
  455. p6.Locked = true
  456. p6.BottomSurface = Enum.SurfaceType.Smooth
  457. p6.TopSurface = Enum.SurfaceType.Smooth
  458. b6 = Instance.new("SpecialMesh", p6)
  459. b6.MeshType = Enum.MeshType.Cylinder
  460. b6.Name = "Mesh"
  461. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  462. p7 = Instance.new("Part", m)
  463. p7.Material = "Metal"
  464. p7.BrickColor = BrickColor.new("Really black")
  465. p7.FormFactor = Enum.FormFactor.Symmetric
  466. p7.Size = Vector3.new(1, 1, 1)
  467. 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)
  468. p7.CanCollide = false
  469. p7.Locked = true
  470. b7 = Instance.new("SpecialMesh", p7)
  471. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  472. b7.TextureId = ""
  473. b7.MeshType = Enum.MeshType.FileMesh
  474. b7.Name = "Mesh"
  475. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  476. p8 = Instance.new("Part", m)
  477. p8.Material = "Metal"
  478. p8.BrickColor = BrickColor.new("Really black")
  479. p8.Name = "BladePart"
  480. p8.FormFactor = Enum.FormFactor.Symmetric
  481. p8.Size = Vector3.new(1, 1, 1)
  482. 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)
  483. p8.CanCollide = false
  484. p8.Locked = true
  485. p8.Elasticity = 0
  486. p8.BottomSurface = Enum.SurfaceType.Smooth
  487. p8.TopSurface = Enum.SurfaceType.Smooth
  488. b8 = Instance.new("BlockMesh", p8)
  489. b8.Name = "Mesh"
  490. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  491. p9 = Instance.new("Part", m)
  492. p9.Material = "Metal"
  493. p9.BrickColor = BrickColor.new("Really black")
  494. p9.Name = "BladePart"
  495. p9.FormFactor = Enum.FormFactor.Symmetric
  496. p9.Size = Vector3.new(1, 1, 1)
  497. 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)
  498. p9.CanCollide = false
  499. p9.Locked = true
  500. p9.Elasticity = 0
  501. p9.BottomSurface = Enum.SurfaceType.Smooth
  502. p9.TopSurface = Enum.SurfaceType.Smooth
  503. b9 = Instance.new("BlockMesh", p9)
  504. b9.Name = "Mesh"
  505. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  506. p10 = Instance.new("Part", m)
  507. p10.Material = "Metal"
  508. p10.BrickColor = BrickColor.new("Really black")
  509. p10.Name = "BladeTip"
  510. p10.FormFactor = Enum.FormFactor.Symmetric
  511. p10.Size = Vector3.new(1, 1, 2)
  512. 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)
  513. p10.CanCollide = false
  514. p10.Locked = true
  515. p10.Elasticity = 0
  516. p10.BottomSurface = Enum.SurfaceType.Smooth
  517. p10.TopSurface = Enum.SurfaceType.Smooth
  518. b10 = Instance.new("SpecialMesh", p10)
  519. b10.MeshType = Enum.MeshType.Wedge
  520. b10.Name = "Mesh"
  521. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  522. p11 = Instance.new("Part", m)
  523. p11.Material = "Metal"
  524. p11.BrickColor = BrickColor.new("Really black")
  525. p11.Name = "BladePart"
  526. p11.FormFactor = Enum.FormFactor.Symmetric
  527. p11.Size = Vector3.new(1, 1, 1)
  528. 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)
  529. p11.CanCollide = false
  530. p11.Locked = true
  531. p11.Elasticity = 0
  532. p11.BottomSurface = Enum.SurfaceType.Smooth
  533. p11.TopSurface = Enum.SurfaceType.Smooth
  534. b11 = Instance.new("BlockMesh", p11)
  535. b11.Name = "Mesh"
  536. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  537. p12 = Instance.new("Part", m)
  538. p12.Material = "Metal"
  539. p12.BrickColor = BrickColor.new("Really black")
  540. p12.Name = "BladeTip2"
  541. p12.FormFactor = Enum.FormFactor.Custom
  542. p12.Size = Vector3.new(1, 1, 2.4000001)
  543. 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)
  544. p12.CanCollide = false
  545. p12.Locked = true
  546. p12.Elasticity = 0
  547. p12.BottomSurface = Enum.SurfaceType.Smooth
  548. p12.TopSurface = Enum.SurfaceType.Smooth
  549. b12 = Instance.new("SpecialMesh", p12)
  550. b12.MeshType = Enum.MeshType.Wedge
  551. b12.Name = "Mesh"
  552. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  553. p13 = Instance.new("Part", m)
  554. p13.Material = "Metal"
  555. p13.BrickColor = BrickColor.new("Medium stone grey")
  556. p13.Transparency = 1
  557. p13.Name = "HitBox"
  558. p13.FormFactor = Enum.FormFactor.Custom
  559. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  560. 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)
  561. p13.CanCollide = false
  562. p13.Locked = true
  563. p13.BottomSurface = Enum.SurfaceType.Smooth
  564. p13.TopSurface = Enum.SurfaceType.Smooth
  565. w1 = Instance.new("Weld", p1)
  566. w1.Name = "Part_Weld"
  567. w1.Part0 = p1
  568. 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)
  569. w1.Part1 = p2
  570. 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)
  571. w2 = Instance.new("Weld", p2)
  572. w2.Name = "Part_Weld"
  573. w2.Part0 = p2
  574. 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)
  575. w2.Part1 = p3
  576. 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)
  577. w3 = Instance.new("Weld", p3)
  578. w3.Name = "BladePart_Weld"
  579. w3.Part0 = p3
  580. 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)
  581. w3.Part1 = p4
  582. 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)
  583. w4 = Instance.new("Weld", p4)
  584. w4.Name = "Hilt_Weld"
  585. w4.Part0 = p4
  586. 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)
  587. w4.Part1 = p5
  588. 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)
  589. w5 = Instance.new("Weld", p5)
  590. w5.Name = "Handle_Weld"
  591. w5.Part0 = p5
  592. 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)
  593. w5.Part1 = p6
  594. 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)
  595. w6 = Instance.new("Weld", p6)
  596. w6.Name = "Part_Weld"
  597. w6.Part0 = p6
  598. 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)
  599. w6.Part1 = p7
  600. 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)
  601. w7 = Instance.new("Weld", p7)
  602. w7.Name = "BladePart_Weld"
  603. w7.Part0 = p7
  604. 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)
  605. w7.Part1 = p8
  606. 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)
  607. w8 = Instance.new("Weld", p8)
  608. w8.Name = "BladePart_Weld"
  609. w8.Part0 = p8
  610. 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)
  611. w8.Part1 = p9
  612. 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)
  613. w9 = Instance.new("Weld", p9)
  614. w9.Name = "BladeTip_Weld"
  615. w9.Part0 = p9
  616. 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)
  617. w9.Part1 = p10
  618. 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)
  619. w10 = Instance.new("Weld", p10)
  620. w10.Name = "BladePart_Weld"
  621. w10.Part0 = p10
  622. 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)
  623. w10.Part1 = p11
  624. 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)
  625. w11 = Instance.new("Weld", p11)
  626. w11.Name = "BladeTip2_Weld"
  627. w11.Part0 = p11
  628. 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)
  629. w11.Part1 = p12
  630. 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)
  631. w12 = Instance.new("Weld", p12)
  632. w12.Name = "HitBox_Weld"
  633. w12.Part0 = p12
  634. 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)
  635. w12.Part1 = p13
  636. 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)
  637. w13 = Instance.new("Weld", p13)
  638. w13.Name = "Weld"
  639. w13.Part0 = p13
  640. 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)
  641. m.Parent = char
  642. m:MakeJoints()
  643. ----------------------------------------------------
  644. local cor = Instance.new("Part", char.Genkadda)
  645. cor.Name = "Thingy"
  646. cor.Locked = true
  647. cor.BottomSurface = 0
  648. cor.CanCollide = false
  649. cor.Size = Vector3.new(1, 9, 1)
  650. cor.Transparency = 1
  651. cor.TopSurface = 0
  652. corw = Instance.new("Weld", cor)
  653. corw.Part0 = rarm
  654. corw.Part1 = cor
  655. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  656. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  657. weld1 = Instance.new("Weld", char.Genkadda)
  658. weld1.Part0 = cor
  659. weld1.Part1 = p6
  660. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  661. ----------------------------------------------------
  662. function Vanish()
  663. for i = 1, 10 do wait()
  664. for i,v in pairs(char.Genkadda:GetChildren()) do
  665. if v:IsA("Part") or v:IsA("WedgePart") then
  666. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  667. v.Transparency = v.Transparency + 0.1
  668. end
  669. end
  670. end
  671. end
  672. end
  673. ----------------------------------------------------
  674. function Appear()
  675. for i = 1, 10 do wait()
  676. for i,v in pairs(char.Genkadda:GetChildren()) do
  677. if v:IsA("Part") or v:IsA("WedgePart") then
  678. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  679. v.Transparency = v.Transparency - 0.1
  680. end
  681. end
  682. end
  683. end
  684. end
  685. ----------------------------------------------------
  686. local player = game.Players.LocalPlayer
  687. local pchar = player.Character
  688. local mouse = player:GetMouse()
  689. local cam = workspace.CurrentCamera
  690.  
  691. local rad = math.rad
  692.  
  693. local keysDown = {}
  694. local flySpeed = 0
  695. local MAX_FLY_SPEED = 50
  696.  
  697. local canFly = false
  698. local flyToggled = false
  699.  
  700. local forward, side = 0, 0
  701. local lastForward, lastSide = 0, 0
  702.  
  703. local floatBP = Instance.new("BodyPosition")
  704. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  705. local flyBV = Instance.new("BodyVelocity")
  706. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  707. local turnBG = Instance.new("BodyGyro")
  708. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  709.  
  710. mouse.KeyDown:connect(function(key)
  711. keysDown[key] = true
  712.  
  713. if key == "f" then
  714. flyToggled = not flyToggled
  715.  
  716. if not flyToggled then
  717. stanceToggle = "Normal"
  718. floatBP.Parent = nil
  719. flyBV.Parent = nil
  720. turnBG.Parent = nil
  721. root.Velocity = Vector3.new()
  722. pchar.Humanoid.PlatformStand = false
  723. end
  724. end
  725.  
  726. end)
  727. mouse.KeyUp:connect(function(key)
  728. keysDown[key] = nil
  729. end)
  730.  
  731. local function updateFly()
  732.  
  733. if not flyToggled then return end
  734.  
  735. lastForward = forward
  736. lastSide = side
  737.  
  738. forward = 0
  739. side = 0
  740.  
  741. if keysDown.w then
  742. forward = forward + 1
  743. end
  744. if keysDown.s then
  745. forward = forward - 1
  746. end
  747. if keysDown.a then
  748. side = side - 1
  749. end
  750. if keysDown.d then
  751. side = side + 1
  752. end
  753.  
  754. canFly = (forward ~= 0 or side ~= 0)
  755.  
  756. if canFly then
  757. stanceToggle = "Floating"
  758. turnBG.Parent = root
  759. floatBP.Parent = nil
  760. flyBV.Parent = root
  761.  
  762. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  763. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  764. else
  765. floatBP.position = root.Position
  766. floatBP.Parent = root
  767.  
  768. flySpeed = flySpeed - 1
  769. if flySpeed < 0 then flySpeed = 0 end
  770. end
  771.  
  772. local camCF = cam.CoordinateFrame
  773. local in_forward = canFly and forward or lastForward
  774. local in_side = canFly and side or lastSide
  775.  
  776. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  777. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  778.  
  779. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  780. 0)
  781. end
  782.  
  783. game:service'RunService'.RenderStepped:connect(function()
  784. if flyToggled then
  785. pchar.Humanoid.PlatformStand = true
  786. end
  787. updateFly()
  788. end)
  789. ----------------------------------------------------
  790. p13.Touched:connect(function(ht)
  791. hit = ht.Parent
  792. if ht and hit:IsA("Model") then
  793. if hit:FindFirstChild("Humanoid") then
  794. if hit.Name ~= p.Name then
  795. if Debounces.Slashing == true and Debounces.Slashed == false then
  796. Debounces.Slashed = true
  797. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  798. wait(.3)
  799. Debounces.Slashed = false
  800. end
  801. end
  802. end
  803. elseif ht and hit:IsA("Hat") then
  804. if hit.Parent.Name ~= p.Name then
  805. if hit.Parent:FindFirstChild("Humanoid") then
  806. if Debounces.Slashing == true and Debounces.Slashed == false then
  807. Debounces.Slashed = true
  808. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(8,10))
  809. wait(.3)
  810. Debounces.Slashed = false
  811. end
  812. end
  813. end
  814. end
  815. end)
  816. ----------------------------------------------------
  817. ptz = {0.7, 0.8, 0.9, 1}
  818. idz = {"161006212", "161006195"}
  819. mouse.KeyDown:connect(function(key)
  820. if key == "q" then
  821. if Debounces.CanAttack == true then
  822. Debounces.CanAttack = false
  823. Debounces.NoIdl = true
  824. Debounces.on = true
  825. for i = 1, 20 do
  826. 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)
  827. 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)
  828. 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)
  829. 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)
  830. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  831. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  832. if Debounces.on == false then break end
  833. rs:wait(2)
  834. end
  835. z = Instance.new("Sound", hed)
  836. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  837. z.Pitch = ptz[math.random(1,#ptz)]
  838. z.Volume = 1
  839. wait(.01)
  840. z:Play()
  841. Debounces.Slashing = true
  842. for i = 1, 20 do
  843. 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)
  844. 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)
  845. 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)
  846. 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)
  847. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  848. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  849. if Debounces.on == false then break end
  850. rs:wait(2)
  851. end
  852. z1 = Instance.new("Sound", hed)
  853. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  854. z1.Pitch = ptz[math.random(1,#ptz)]
  855. z1.Volume = 1
  856. wait(.01)
  857. z1:Play()
  858. Debounces.Slashing = true
  859. for i = 1, 26 do
  860. 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)
  861. 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)
  862. 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)
  863. 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)
  864. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  865. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  866. 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)
  867. if Debounces.on == false then break end
  868. rs:wait(2)
  869. end
  870. Debounces.Slashing = false
  871. z:Destroy()
  872. z1:Destroy()
  873. cor.Weld.C1 = CFrame.Angles(0,0,0)
  874. if Debounces.CanAttack == false then
  875. Debounces.CanAttack = true
  876. Debounces.NoIdl = false
  877. Debounces.on = false
  878. end
  879. end
  880. end
  881. end)
  882. -------------------------------
  883. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  884. mouse.KeyDown:connect(function(key)
  885. if key == "e" then
  886. if Debounces.CanAttack == true then
  887. Debounces.CanAttack = false
  888. Debounces.NoIdl = true
  889. Debounces.on = true
  890. Debounces.ks = true
  891. larm.Touched:connect(function(ht)
  892. hit = ht.Parent
  893. if ht and hit:IsA("Model") then
  894. if hit:FindFirstChild("Humanoid") then
  895. if hit.Name ~= p.Name then
  896. if Debounces.Slapping == true and Debounces.Slapped == false then
  897. Debounces.Slapped = true
  898. if Debounces.ks==true then
  899. z = Instance.new("Sound",hed)
  900. z.SoundId = "rbxassetid://169380525"
  901. z.Volume = 1
  902. z:Play()
  903. z1 = Instance.new("Sound",char)
  904. z1.SoundId = "rbxassetid://261010715"
  905. z1.Pitch = pts[math.random(1,#pts)]
  906. z1.Volume = 1
  907. z2 = Instance.new("Sound",char)
  908. z2.SoundId = "rbxassetid://261010715"
  909. z2.Pitch = z1.Pitch
  910. z2.Volume = 1
  911. z3 = Instance.new("Sound",char)
  912. z3.SoundId = "rbxassetid://261010715"
  913. z3.Pitch = z1.Pitch
  914. z3.Volume = 1
  915. z1:Play()
  916. z2:Play()
  917. z3:Play()
  918. Debounces.ks=false
  919. end
  920. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  921. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  922. wait(.5)
  923. Debounces.Slapped = false
  924. z:Destroy()
  925. z1:Destroy()
  926. z2:Destroy()
  927. z3:Destroy()
  928. end
  929. end
  930. end
  931. elseif ht and hit:IsA("Hat") then
  932. if hit.Parent.Name ~= p.Name then
  933. if hit.Parent:FindFirstChild("Humanoid") then
  934. if Debounces.Slapping == true and Debounces.Slapped == false then
  935. Debounces.Slapped = true
  936. if Debounces.ks==true then
  937. z = Instance.new("Sound",hed)
  938. z.SoundId = "rbxassetid://169380525"
  939. z.Volume = 1
  940. z:Play()
  941. z1 = Instance.new("Sound",char)
  942. z1.SoundId = "rbxassetid://261010715"
  943. z1.Pitch = pts[math.random(1,#pts)]
  944. z1.Volume = 1
  945. z2 = Instance.new("Sound",char)
  946. z2.SoundId = "rbxassetid://261010715"
  947. z2.Pitch = z1.Pitch
  948. z2.Volume = 1
  949. z3 = Instance.new("Sound",char)
  950. z3.SoundId = "rbxassetid://261010715"
  951. z3.Pitch = z1.Pitch
  952. z3.Volume = 1
  953. z1:Play()
  954. z2:Play()
  955. z3:Play()
  956. Debounces.ks=false
  957. end
  958. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  959. wait(.5)
  960. Debounces.Slapped = false
  961. z:Destroy()
  962. z1:Destroy()
  963. z2:Destroy()
  964. z3:Destroy()
  965. end
  966. end
  967. end
  968. end
  969. end)
  970. for i = 1, 14 do
  971. 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)
  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.5)
  973. 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)
  974. 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)
  975. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  976. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  977. if Debounces.on==false then break end
  978. rs:wait(2)
  979. end
  980. Debounces.Slapping = true
  981. for i = 1, 20 do
  982. 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)
  983. 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)
  984. 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)
  985. 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)
  986. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  987. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  988. if Debounces.on==false then break end
  989. rs:wait(2)
  990. end
  991. Debounces.Slapping = false
  992. if Debounces.CanAttack == false then
  993. Debounces.CanAttack = true
  994. Debounces.NoIdl = false
  995. Debounces.on = false
  996. end
  997. end
  998. end
  999. end)
  1000. -------------------------------
  1001. mouse.KeyDown:connect(function(key)
  1002. if key == "r" then
  1003. if Debounces.CanAttack == true then
  1004. Debounces.CanAttack = false
  1005. Debounces.NoIdl = true
  1006. Debounces.on = true
  1007. for i = 1, 20 do
  1008. 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)
  1009. 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)
  1010. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  1011. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
  1012. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1013. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1014. 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)
  1015. if Debounces.on==false then break end
  1016. rs:wait(2)
  1017. end
  1018. Debounces.Slashing = true
  1019. z = Instance.new("Sound",hed)
  1020. z.SoundId = "rbxassetid://206083107"
  1021. z.Pitch = .75
  1022. z.Volume = .65
  1023. wait(0.1)
  1024. z:Play()
  1025. z1 = Instance.new("Sound", hed)
  1026. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1027. z1.Pitch = ptz[math.random(1,#ptz)]
  1028. z1.Volume = 1
  1029. wait(.01)
  1030. z1:Play()
  1031. for i = 1, 20 do
  1032. 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)
  1033. 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)
  1034. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1035. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  1036. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  1037. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
  1038. 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)
  1039. if Debounces.on==false then break end
  1040. rs:wait(2)
  1041. end
  1042. Debounces.Slashing = false
  1043. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1044. if Debounces.CanAttack == false then
  1045. Debounces.CanAttack = true
  1046. Debounces.NoIdl = false
  1047. Debounces.on = false
  1048. end
  1049. end
  1050. end
  1051. end)
  1052. -------------------------------
  1053. mouse.KeyDown:connect(function(key)
  1054. if key == "t" then
  1055. if Debounces.CanAttack == true then
  1056. Debounces.CanAttack = false
  1057. Debounces.on = true
  1058. Debounces.NoIdl = true
  1059. for i = 1,20 do
  1060. 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)
  1061. 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)
  1062. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2)
  1063. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2)
  1064. 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)
  1065. 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)
  1066. if Debounces.on==false then break end
  1067. rs:wait(2)
  1068. end
  1069. for i = 1,20 do
  1070. 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)
  1071. 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)
  1072. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2)
  1073. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
  1074. 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)
  1075. 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)
  1076. if Debounces.on==false then break end
  1077. rs:wait(2)
  1078. end
  1079. if Debounces.CanAttack == false then
  1080. Debounces.CanAttack = true
  1081. Debounces.on = false
  1082. Debounces.NoIdl = false
  1083. end
  1084. end
  1085. end
  1086. end)
  1087. -------------------------------
  1088. mouse.KeyDown:connect(function(key)
  1089. if key == "g" then
  1090. if Debounces.CanAttack == true then
  1091. Debounces.CanAttack = false
  1092. Debounces.NoIdl = true
  1093. Debounces.on = true
  1094. Debounces.Slashing = true
  1095. for i = 1, 8 do
  1096. 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)
  1097. 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)
  1098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1099. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1100. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1101. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1102. if Debounces.on==false then break end
  1103. rs:wait(2)
  1104. end
  1105. for i = 1, 1440, 48 do
  1106. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
  1107. rs:wait(4)
  1108. end
  1109. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1110. Debounces.Slashing = false
  1111. if Debounces.CanAttack == false then
  1112. Debounces.CanAttack = true
  1113. Debounces.NoIdl = false
  1114. Debounces.on = false
  1115. end
  1116. end
  1117. end
  1118. end)
  1119. ----------------------------------------------------
  1120. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1121. mouse.KeyDown:connect(function(key)
  1122. if key == "h" then
  1123. if Debounces.CanJoke == true then
  1124. Debounces.CanJoke = false
  1125. u = Instance.new("Sound",char)
  1126. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1127. u.Pitch = pt[math.random(1,#pt)]
  1128. u.Volume = 1
  1129. u2 = Instance.new("Sound",char)
  1130. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1131. u2.Pitch = u.Pitch
  1132. u2.Volume = 1
  1133. u3 = Instance.new("Sound",char)
  1134. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1135. u3.Pitch = u.Pitch
  1136. u3.Volume = 1
  1137. wait(.01)
  1138. u:Play()
  1139. u2:Play()
  1140. u3:Play()
  1141. wait(1.5)
  1142. u:Destroy()
  1143. u2:Destroy()
  1144. u3:Destroy()
  1145. if Debounces.CanJoke == false then
  1146. Debounces.CanJoke = true
  1147. end
  1148. end
  1149. end
  1150. end)
  1151. ----------------------------------------------------
  1152. Grab = false
  1153. mouse.KeyDown:connect(function(key)
  1154. if key == "z" then
  1155. Debounces.on = true
  1156. Debounces.NoIdl = true
  1157. Debounces.ks = true
  1158. if Grab == false then
  1159. gp = nil
  1160. for i = 1, 20 do
  1161. 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)
  1162. 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)
  1163. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  1164. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  1165. 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)
  1166. 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)
  1167. if Debounces.on == false then break end
  1168. rs:wait(2)
  1169. end
  1170. con1=larm.Touched:connect(function(hit) -- this is grab
  1171. ht = hit.Parent
  1172. hum1=ht:FindFirstChild('Humanoid')
  1173. if hum1 ~= nil then
  1174. if Debounces.ks==true then
  1175. z = Instance.new("Sound",hed)
  1176. z.SoundId = "rbxassetid://169380525"
  1177. z.Volume = 1
  1178. z:Play()
  1179. Debounces.ks=false
  1180. end
  1181. hum1.PlatformStand=true
  1182. gp = ht
  1183. Grab = true
  1184. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  1185. asd.Parent = larm
  1186. asd.Name = "asd"
  1187. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  1188. stanceToggle = "Grabbed"
  1189. --[[elseif hum1 == nil then
  1190. con1:disconnect()
  1191. wait() return]]--
  1192. end
  1193. end)
  1194. for i = 1, 20 do
  1195. 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)
  1196. 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)
  1197. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  1198. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  1199. 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)
  1200. 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)
  1201. if Debounces.on == false then break end
  1202. rs:wait(2)
  1203. end
  1204. con1:disconnect()
  1205. Debounces.on = false
  1206. Debounces.NoIdl = false
  1207. elseif Grab == true then
  1208. Grab = false
  1209. --[[for i = 1, 16 do
  1210. 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)
  1211. 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)
  1212. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  1213. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1214. 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)
  1215. 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)
  1216. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  1217. if Debounces.on == false then end
  1218. rs:wait()
  1219. end]]--
  1220. for i = 1, 16 do
  1221. 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)
  1222. 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)
  1223. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  1224. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  1225. 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)
  1226. 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)
  1227. if Debounces.on == false then end
  1228. rs:wait()
  1229. end
  1230. Slam()
  1231. if gp ~= nil then
  1232. for i,v in pairs(larm:GetChildren()) do
  1233. if v.Name == "asd" and v:IsA("Weld") then
  1234. v:Remove()
  1235. end
  1236. end
  1237. for i = 1, 16 do
  1238. 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)
  1239. 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)
  1240. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  1241. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  1242. 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)
  1243. 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)
  1244. if Debounces.on == false then end
  1245. rs:wait()
  1246. end
  1247. stanceToggle = "Normal"
  1248. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  1249. bv.maxForce = Vector3.new(400000, 400000, 400000)
  1250. bv.P = 125000
  1251. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  1252. ht=nil
  1253. Debounces.on = false
  1254. Debounces.NoIdl = false
  1255. elseif ht == nil then wait()
  1256. Grab = false
  1257. Debounces.on = false
  1258. Debounces.NoIdl = false
  1259. end
  1260. end
  1261. end
  1262. end)
  1263. -------------------------------
  1264. Sit = false
  1265. mouse.KeyDown:connect(function(key)
  1266. if key == "v" then
  1267. if Sit == false then
  1268. Sit = true
  1269. hum.WalkSpeed = 0.1
  1270. stanceToggle = "Sitting"
  1271. elseif Sit == true then
  1272. Sit = false
  1273. hum.WalkSpeed = 7
  1274. stanceToggle = "Normal"
  1275. end
  1276. end
  1277. end)
  1278. -------------------------------
  1279. Melee = false
  1280. mouse.KeyDown:connect(function(key)
  1281. if key == "m" then
  1282. if Melee == false then
  1283. Melee = true
  1284. Vanish()
  1285. stanceToggle = "Melee"
  1286. elseif Melee == true then
  1287. Melee = false
  1288. Appear()
  1289. stanceToggle = "Normal"
  1290. end
  1291. end
  1292. end)
  1293. -------------------------------
  1294. mouse.KeyDown:connect(function(key)
  1295. if string.byte(key) == 52 then
  1296. if Debounces.CanAttack == true then
  1297. if stanceToggle ~= "Floating" then
  1298. char.Humanoid.WalkSpeed = 60
  1299. Burst()
  1300. elseif Debounces.CanAttack == false then
  1301. elseif stanceToggle == "Floating" then
  1302. wait()
  1303. end
  1304. end
  1305. end
  1306. end)
  1307. mouse.KeyUp:connect(function(key)
  1308. if string.byte(key) == 52 then
  1309. char.Humanoid.WalkSpeed = 9
  1310. end
  1311. end)
  1312. -------------------------------
  1313. local animpose = "Idle"
  1314. local lastanimpose = "Idle"
  1315. local grab = false
  1316. local sine = 0
  1317. local change = 1
  1318. local val = 0
  1319. local ffing = false
  1320. -------------------------------
  1321. --[[if stanceToggle == "Sitting" then
  1322. if wait(math.random(1,2)) == 1 then
  1323. stanceToggle = "Sitting2"
  1324. wait(8)
  1325. stanceToggle = "Sitting"
  1326. end
  1327. end]]--
  1328. -------------------------------
  1329. game:GetService("RunService").RenderStepped:connect(function()
  1330. --[[if char.Humanoid.Jump == true then
  1331. jump = true
  1332. else
  1333. jump = false
  1334. end]]
  1335. char.Humanoid.FreeFalling:connect(function(f)
  1336. if f then
  1337. ffing = true
  1338. else
  1339. ffing = false
  1340. end
  1341. end)
  1342. sine = sine + change
  1343. if jumpn == true then
  1344. animpose = "Jumping"
  1345. elseif ffing == true then
  1346. animpose = "Freefalling"
  1347. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1348. animpose = "Idle"
  1349. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1350. animpose = "Walking"
  1351. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1352. animpose = "Running"
  1353. end
  1354. if animpose ~= lastanimpose then
  1355. sine = 0
  1356. if Debounces.NoIdl == false then
  1357. if stanceToggle == "Normal" then
  1358. for i = 1, 2 do
  1359. 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)
  1360. 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)
  1361. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  1362. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1363. 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)
  1364. 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)
  1365. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1366. end
  1367. elseif stanceToggle == "Sitting" then
  1368. 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)
  1369. 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)
  1370. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1371. 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)
  1372. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  1373. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  1374. elseif stanceToggle == "Floating" then
  1375. 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)
  1376. 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)
  1377. 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)
  1378. 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)
  1379. 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)
  1380. 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)
  1381. wait()
  1382. end
  1383. else
  1384. end
  1385. end
  1386. lastanimpose = animpose
  1387. if Debounces.NoIdl == false then
  1388. if animpose == "Idle" then
  1389. if stanceToggle == "Normal" then
  1390. change = 0.5
  1391. 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)
  1392. 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)
  1393. 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)
  1394. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1395. 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)
  1396. 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)
  1397. elseif stanceToggle == "Melee" then
  1398. 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)
  1399. 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)
  1400. 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)
  1401. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1402. 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)
  1403. 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)
  1404. elseif stanceToggle == "Sitting" then
  1405. 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)
  1406. 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)
  1407. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1408. 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)
  1409. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  1410. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  1411. elseif stanceToggle == "Floating" then
  1412. 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)
  1413. 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)
  1414. 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)
  1415. 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)
  1416. 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)
  1417. 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)
  1418. elseif stanceToggle == "Grabbed" then
  1419. grab = true
  1420. 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)
  1421. 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)
  1422. 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)
  1423. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1424. 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)
  1425. 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)
  1426. end
  1427. elseif animpose == "Walking" then
  1428. if stanceToggle == "Normal" then
  1429. change = 1
  1430. 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)
  1431. 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)
  1432. 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)
  1433. 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)
  1434. 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)
  1435. 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)
  1436. elseif stanceToggle == "Melee" then
  1437. 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)
  1438. 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)
  1439. 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)
  1440. 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)
  1441. 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)
  1442. 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)
  1443. elseif stanceToggle == "Floating" then
  1444. 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)
  1445. 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)
  1446. 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)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. elseif stanceToggle == "Grabbed" then
  1451. 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)
  1452. 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)
  1453. 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)
  1454. 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)
  1455. 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)
  1456. 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)
  1457. end
  1458. elseif animpose == "Running" then
  1459. if stanceToggle == "Normal" then
  1460. change = 1
  1461. 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)
  1462. 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)
  1463. 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)
  1464. 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)
  1465. 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)
  1466. 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)
  1467. elseif stanceToggle == "Floating" then
  1468. 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)
  1469. 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)
  1470. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  1471. 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)
  1472. 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)
  1473. 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)
  1474. end
  1475. end
  1476. end
  1477. end)
  1478.  
  1479. Spawn(function()
  1480. while wait() do
  1481. updateFly()
  1482. end
  1483. end)
  1484.  
  1485. Spawn(function()
  1486. while wait(.1) do
  1487. Magik()
  1488. end
  1489. end)
  1490.  
  1491. Spawn(function()
  1492. while wait(.1) do
  1493. Magik2()
  1494. end
  1495. end)
  1496.  
  1497. Spawn(function()
  1498. while wait(4) do
  1499. GroundWave()
  1500. end
  1501. end)--/e l/game.Players.RobTheSnowman:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement