Advertisement
SurfaceSwine1337

hkjhkj

Jul 5th, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.46 KB | None | 0 0
  1. --[[
  2. fixed ;0
  3.  
  4. by: internalsequence
  5. for: surfaceswine
  6. --]]
  7.  
  8. local p = game:GetService("Players").LocalPlayer
  9. local char = p.Character
  10. local mouse = p:GetMouse()
  11. local larm = char["Left Arm"]
  12. local rarm = char["Right Arm"]
  13. local lleg = char["Left Leg"]
  14. local rleg = char["Right Leg"]
  15. local hed = char.Head
  16. local torso = char.Torso
  17. local hum = char.Humanoid
  18. local cam = game.Workspace.CurrentCamera
  19. local root = char.HumanoidRootPart
  20. local deb = false
  21. local shot = 0
  22. local stanceToggle = "Normal"
  23. local l = game:GetService("Lighting")
  24. local rs = game:GetService("RunService").RenderStepped
  25. hum.DisplayDistanceType = "None"
  26. math.randomseed(os.time())
  27. for i,v in pairs(char:children()) do
  28. if v:IsA("Hat") then
  29. v:Destroy()
  30. end
  31. end
  32. for i,v in pairs (hed:GetChildren()) do
  33. if v:IsA("Sound") then
  34. v:Destroy()
  35. end
  36. end
  37. --------------------------------------------------------
  38. local WorldEaterGui = Instance.new("BillboardGui", char.Head)
  39. WorldEaterGui.ExtentsOffset = Vector3.new(0,5,0)
  40. WorldEaterGui.Adornee = char.Head
  41. WorldEaterGui.AlwaysOnTop = true
  42. WorldEaterGui.Enabled = true
  43. WorldEaterGui.Size = UDim2.new(0, 200,0, 50)
  44.  
  45. local W = Instance.new("TextLabel", WorldEaterGui)
  46. W.BackgroundTransparency = 1
  47. W.Font = "Garamond"
  48. W.Size = UDim2.new(0, 200,0, 50)
  49. W.TextStrokeColor3 = BrickColor.Black().Color
  50. W.TextStrokeTransparency = 0
  51. W.TextColor3 = BrickColor.Black().Color
  52. W.TextScaled = true
  53. W.Text = "SurfaceSwine"
  54. ----------------------------------------------------
  55. Debounces = {
  56. CanAttack = true;
  57. CanJoke = true;
  58. NoIdl = false;
  59. Slashing = false;
  60. Slashed = false;
  61. Slapping = false;
  62. Slapped = false;
  63. ks = false;
  64. }
  65. ----------------------------------------------------
  66. function weld5(part0, part1, c0, c1)
  67. local weeld=Instance.new("Weld", part0)
  68. weeld.Part0=part0
  69. weeld.Part1=part1
  70. weeld.C0=c0
  71. weeld.C1=c1
  72. return weeld
  73. end
  74. ----------------------------------------------------
  75. mod4 = Instance.new("Model",char)
  76.  
  77. ptez = {0.7, 0.8, 0.9, 1}
  78.  
  79. function FindNearestTorso(Position,Distance,SinglePlayer)
  80. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  81. local List = {}
  82. for i,v in pairs(workspace:GetChildren())do
  83. if v:IsA("Model")then
  84. if v:findFirstChild("Torso")then
  85. if v ~= char then
  86. if(v.Torso.Position -Position).magnitude <= Distance then
  87. table.insert(List,v)
  88. end
  89. end
  90. end
  91. end
  92. end
  93. return List
  94. end
  95. ----------------------------------------------------
  96. player = game:GetService("Players").LocalPlayer
  97. Fire = Instance.new("Fire", player.Character["Left Arm"])
  98. Fire.Size = 15
  99. Fire.Color = Color3.fromRGB(255,5,0)
  100. Fire.SecondaryColor = Color3.fromRGB(255,5,0)
  101. Fire2 = Instance.new("Fire", player.Character["Right Arm"])
  102. Fire2.Size = 15
  103. Fire2.Color = Color3.fromRGB(255,5,0)
  104. Fire2.SecondaryColor = Color3.fromRGB(255,5,0)
  105. ----------------------------------------------------
  106. GroundWave3 = function()
  107. local HandCF = CFrame.new(root.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0)
  108. local wave1 = Instance.new("Part", torso)
  109. wave1.BrickColor = BrickColor.new("Really black")
  110. wave1.Anchored = true
  111. wave1.CanCollide = false
  112. wave1.Locked = true
  113. wave1.Material = "Neon"
  114. wave1.Size = Vector3.new(1, 1, 1)
  115. wave1.TopSurface = "Smooth"
  116. wave1.BottomSurface = "Smooth"
  117. wave1.Transparency = 0.35
  118. wave1.CFrame = HandCF
  119. wm = Instance.new("SpecialMesh", wave1)
  120. wm.Scale = Vector3.new(.1,.1,.1)
  121. wm.MeshType = "Sphere"
  122. coroutine.wrap(function()
  123. for i = 1, 20, 1 do
  124. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  125. --wave1.Size = wm.Scale
  126. wave1.CFrame = HandCF
  127. wave1.Transparency = i/20
  128. wait()
  129. end
  130. wait()
  131. wave1:Destroy()
  132. end)()
  133. end
  134. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  135. local wave = Instance.new("Part", torso)
  136. wave.BrickColor = BrickColor.new("Really red")
  137. wave.Anchored = true
  138. wave.CanCollide = false
  139. wave.Locked = true
  140. wave.Size = Vector3.new(1, 1, 1)
  141. wave.TopSurface = "Smooth"
  142. wave.BottomSurface = "Smooth"
  143. wave.Transparency = 0.8
  144. wave.CFrame = HandCF
  145. wm = Instance.new("SpecialMesh", wave)
  146. wm.MeshId = "rbxassetid://3270017"
  147. coroutine.wrap(function()
  148. for i = 1, 14, 1 do
  149. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  150. wave.Size = wm.Scale
  151. wave.CFrame = HandCF
  152. wave.Transparency = i/14
  153. wait()
  154. end
  155. wait()
  156. wave:Destroy()
  157. end)()
  158. ----------------------------------------------------
  159. function lerp(a, b, t) -- Linear interpolation
  160. return a + (b - a)*t
  161. end
  162.  
  163. function slerp(a, b, t) --Spherical interpolation
  164. dot = a:Dot(b)
  165. if dot > 0.99999 or dot < -0.99999 then
  166. return t <= 0.5 and a or b
  167. else
  168. r = math.acos(dot)
  169. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  170. end
  171. end
  172.  
  173. function matrixInterpolate(a, b, t)
  174. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  175. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  176. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  177. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  178. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  179. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  180. local t = v1:Dot(v2)
  181. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  182. return CFrame.new()
  183. end
  184. return CFrame.new(
  185. v0.x, v0.y, v0.z,
  186. v1.x, v1.y, v1.z,
  187. v2.x, v2.y, v2.z,
  188. v3.x, v3.y, v3.z)
  189. end
  190. ----------------------------------------------------
  191. function genWeld(a,b)
  192. local w = Instance.new("Weld",a)
  193. w.Part0 = a
  194. w.Part1 = b
  195. return w
  196. end
  197. function weld(a, b)
  198. local weld = Instance.new("Weld")
  199. weld.Name = "W"
  200. weld.Part0 = a
  201. weld.Part1 = b
  202. weld.C0 = a.CFrame:inverse() * b.CFrame
  203. weld.Parent = a
  204. return weld;
  205. end
  206. ----------------------------------------------------
  207. function Lerp(c1,c2,al)
  208. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  209. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  210. for i,v in pairs(com1) do
  211. com1[i] = v+(com2[i]-v)*al
  212. end
  213. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  214. end
  215. ----------------------------------------------------
  216. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  217. local wld = Instance.new("Weld", wp1)
  218. wld.Part0 = wp0
  219. wld.Part1 = wp1
  220. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  221. end
  222. ----------------------------------------------------
  223. local AddInstance = function(Object, ...)
  224. local Obj = Instance.new(Object)
  225. for i,v in next,(...) do
  226. Obj[i] = v
  227. end
  228. return Obj
  229. end
  230. ----------------------------------------------------
  231. larm.Size = larm.Size * 4.5
  232. rarm.Size = rarm.Size * 4.5
  233. lleg.Size = lleg.Size * 4.5
  234. rleg.Size = rleg.Size * 4.5
  235. torso.Size = torso.Size * 4.5
  236. hed.Size = hed.Size * 4.5
  237. root.Size = root.Size * 4.5
  238. ----------------------------------------------------
  239. newWeld(torso, larm, -1.5, 0.5, 0)
  240. larm.Weld.C1 = CFrame.new(5.2,0.5,0)
  241. newWeld(torso, rarm, 1.5, 0.5, 0)
  242. rarm.Weld.C1 = CFrame.new(-5.2, 0.5, 0)
  243. newWeld(torso, hed, 0, 6.8, 0)
  244. newWeld(torso, lleg, -0.5, -1, 0)
  245. lleg.Weld.C1 = CFrame.new(1.7, 8, 0)
  246. newWeld(torso, rleg, 0.5, -1, 0)
  247. rleg.Weld.C1 = CFrame.new(-1.7, 8, 0)
  248. newWeld(root, torso, 0, 0, 0)
  249. torso.Weld.C1 = CFrame.new(0, 0, 0)
  250. ----------------------------------------------------
  251. --local SIDz = {"389780352"}, 167161785, 148274436
  252. z = Instance.new("Sound",char)
  253. z.SoundId = "rbxassetid://"--..SIDz[math.random(1,#SIDz)]
  254. z.Looped = true
  255. z.Volume = math.huge
  256. z.Pitch = 1
  257. wait(1)
  258. z:Play()
  259. hum.WalkSpeed = 50
  260. ----------------------------------------------------
  261. local Eye1 = AddInstance("Part",{
  262. Name = "Eye1",
  263. Parent = hed,
  264. CFrame = hed.CFrame,
  265. Color = Color3.new(255,0,0),
  266. Material = "Neon",
  267. formFactor = "Symmetric",
  268. Size = Vector3.new(1, 1, 1),
  269. CanCollide = false,
  270. Shape = "Ball",
  271. TopSurface = "Smooth",
  272. BottomSurface = "Smooth",
  273. Locked = true,
  274. })
  275. local Weld = AddInstance("Weld",{
  276. Parent = Eye1,
  277. Part0 = hed,
  278. C0 = CFrame.new(-0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0),
  279. Part1 = Eye1,
  280. })
  281. local Eye2 = AddInstance("Part",{
  282. Name = "Eye2",
  283. Parent = hed,
  284. CFrame = hed.CFrame,
  285. Color = Color3.new(255,0,0),
  286. Material = "Neon",
  287. formFactor = "Symmetric",
  288. Size = Vector3.new(1, 1, 1),
  289. CanCollide = false,
  290. Shape = "Ball",
  291. TopSurface = "Smooth",
  292. BottomSurface = "Smooth",
  293. Locked = true,
  294. })
  295. local Weld = AddInstance("Weld",{
  296. Parent = Eye2,
  297. Part0 = hed,
  298. C0 = CFrame.new(0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0),
  299. Part1 = Eye2,
  300. })
  301. local Reaper = AddInstance("Part",{
  302. Parent = hed,
  303. CFrame = hed.CFrame,
  304. formFactor = "Symmetric",
  305. Size = Vector3.new(1, 1, 1),
  306. CanCollide = false,
  307. TopSurface = "Smooth",
  308. BottomSurface = "Smooth",
  309. Locked = true,
  310. })
  311. local Weld = AddInstance("Weld",{
  312. Parent = Reaper,
  313. Part0 = hed,
  314. C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, 0, 0),
  315. Part1 = Reaper,
  316. })
  317. local Mesh = AddInstance("SpecialMesh",{
  318. Parent = Reaper,
  319. MeshId = "rbxassetid://21057410",
  320. TextureId = "rbxassetid://64444605",
  321. Scale = Vector3.new(5.181, 5.181, 5.181),
  322. VertexColor = Vector3.new(0.3, 0.3, 0.3),
  323. })
  324. ----------------------------------------------------
  325. local o1 = AddInstance("Model",{
  326. Name = "Genkadda",
  327. Parent = char,
  328. })
  329. local o2 = AddInstance("Part",{
  330. Name = "Handle",
  331. Parent = o1,
  332. Material = Enum.Material.Granite,
  333. BrickColor = BrickColor.new("Black"),
  334. CanCollide = false,
  335. Size = Vector3.new(0.54285717, 4.96428585, 1.02857149),
  336. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  337. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  338. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  339. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  340. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  341. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  342. Color = Color3.new(0.105882, 0.164706, 0.207843),
  343. Locked = true,
  344. })
  345. local o3 = AddInstance("Part",{
  346. Parent = o1,
  347. Material = Enum.Material.Granite,
  348. BrickColor = BrickColor.new("Really black"),
  349. CanCollide = false,
  350. Size = Vector3.new(0.521428645, 0.200000003, 4.92857265),
  351. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  352. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  353. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  354. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  355. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  356. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  357. Color = Color3.new(0.0666667, 0.0666667, 0.0666667),
  358. Locked = true,
  359. })
  360. local Weld = AddInstance("Weld",{
  361. Parent = o3,
  362. Part0 = o2,
  363. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  364. Part1 = o3,
  365. C1 = CFrame.new(7.12578583, -2.70594311, -56.9015656, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  366. })
  367. local o6 = AddInstance("Part",{
  368. Name = "8",
  369. Parent = o1,
  370. Material = Enum.Material.Neon,
  371. BrickColor = BrickColor.new("Camo"),
  372. CanCollide = false,
  373. Size = Vector3.new(0.864285767, 0.221428677, 5.65714407),
  374. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  375. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  376. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  377. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  378. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  379. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  380. Color = Color3.new(0.972549, 0.972549, 0.972549),
  381. Locked = true,
  382. })
  383. local Weld = AddInstance("Weld",{
  384. Parent = o6,
  385. Part0 = o2,
  386. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  387. Part1 = o6,
  388. C1 = CFrame.new(7.12578583, -2.68451595, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  389. })
  390. local o8 = AddInstance("Part",{
  391. Name = "20",
  392. Parent = o1,
  393. Material = Enum.Material.Neon,
  394. BrickColor = BrickColor.new("Camo"),
  395. CanCollide = false,
  396. Size = Vector3.new(0.54285717, 0.657142878, 1.02857149),
  397. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  398. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  399. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  400. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  401. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  402. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  403. Color = Color3.new(0.972549, 0.972549, 0.972549),
  404. Locked = true,
  405. })
  406. local Weld = AddInstance("Weld",{
  407. Parent = o8,
  408. Part0 = o2,
  409. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  410. Part1 = o8,
  411. C1 = CFrame.new(7.12578964, 2.69762135, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  412. })
  413. local o10 = AddInstance("Part",{
  414. Name = "15",
  415. Parent = o1,
  416. Material = Enum.Material.Neon,
  417. BrickColor = BrickColor.new("Camo"),
  418. CanCollide = false,
  419. Size = Vector3.new(0.54285717, 0.657142937, 2.02857161),
  420. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  421. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  422. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  423. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  424. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  425. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  426. Color = Color3.new(0.972549, 0.972549, 0.972549),
  427. Locked = true,
  428. })
  429. local Weld = AddInstance("Weld",{
  430. Parent = o10,
  431. Part0 = o2,
  432. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  433. Part1 = o10,
  434. C1 = CFrame.new(7.12578773, 2.69762325, -55.3730087, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  435. })
  436. local o11 = AddInstance("SpecialMesh",{
  437. Parent = o10,
  438. MeshType = Enum.MeshType.Wedge,
  439. })
  440. o12 = AddInstance("Part",{
  441. Name = "10",
  442. Parent = o1,
  443. Material = Enum.Material.Neon,
  444. BrickColor = BrickColor.new("Camo"),
  445. CanCollide = false,
  446. Size = Vector3.new(0.54285717, 0.657142878, 2.02857161),
  447. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  448. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  449. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  450. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  451. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  452. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  453. Color = Color3.new(0.972549, 0.972549, 0.972549),
  454. Locked = true,
  455. })
  456. local Weld = AddInstance("Weld",{
  457. Parent = o12,
  458. Part0 = o2,
  459. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  460. Part1 = o12,
  461. C1 = CFrame.new(-7.12579155, 2.69761753, 58.4300995, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494),
  462. })
  463. local o13 = AddInstance("SpecialMesh",{
  464. Parent = o12,
  465. MeshType = Enum.MeshType.Wedge,
  466. })
  467. local o14 = AddInstance("Part",{
  468. Name = "9",
  469. Parent = o1,
  470. Material = Enum.Material.Neon,
  471. BrickColor = BrickColor.new("Camo"),
  472. CanCollide = false,
  473. Size = Vector3.new(0.54285717, 1.11428583, 0.371428579),
  474. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  475. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  476. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  477. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  478. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  479. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  480. Color = Color3.new(0.972549, 0.972549, 0.972549),
  481. Locked = true,
  482. })
  483. local Weld = AddInstance("Weld",{
  484. Parent = o14,
  485. Part0 = o2,
  486. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  487. Part1 = o14,
  488. C1 = CFrame.new(7.12578201, 2.12619781, -56.2015648, -0.999990702, 0.00427558692, -0.000560841348, 0.00055476022, -0.00142335275, -0.999998868, -0.00427637994, -0.999989867, 0.00142096763),
  489. })
  490. local o15 = AddInstance("SpecialMesh",{
  491. Parent = o14,
  492. MeshType = Enum.MeshType.Wedge,
  493. })
  494. o16 = AddInstance("Part",{
  495. Name = "6",
  496. Parent = o1,
  497. Material = Enum.Material.Neon,
  498. BrickColor = BrickColor.new("Camo"),
  499. CanCollide = false,
  500. Size = Vector3.new(0.54285717, 1.11428583, 0.371428579),
  501. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  502. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  503. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  504. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  505. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  506. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  507. Color = Color3.new(0.972549, 0.972549, 0.972549),
  508. Locked = true,
  509. })
  510. local Weld = AddInstance("Weld",{
  511. Parent = o16,
  512. Part0 = o2,
  513. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  514. Part1 = o16,
  515. C1 = CFrame.new(-7.12579536, 2.12619114, 57.6015701, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237),
  516. })
  517. local o17 = AddInstance("SpecialMesh",{
  518. Parent = o16,
  519. MeshType = Enum.MeshType.Wedge,
  520. })
  521. o18 = AddInstance("Part",{
  522. Name = "21",
  523. Parent = o1,
  524. Material = Enum.Material.Neon,
  525. BrickColor = BrickColor.new("Camo"),
  526. CanCollide = false,
  527. Size = Vector3.new(0.564285755, 0.257142901, 0.514285743),
  528. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  529. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  530. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  531. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  532. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  533. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  534. Color = Color3.new(0.972549, 0.972549, 0.972549),
  535. Locked = true,
  536. })
  537. local Weld = AddInstance("Weld",{
  538. Parent = o18,
  539. Part0 = o2,
  540. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  541. Part1 = o18,
  542. C1 = CFrame.new(-7.12578964, 2.24047565, 57.1586876, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237),
  543. })
  544. local o19 = AddInstance("SpecialMesh",{
  545. Parent = o18,
  546. MeshType = Enum.MeshType.Wedge,
  547. })
  548. o20 = AddInstance("Part",{
  549. Name = "13",
  550. Parent = o1,
  551. Material = Enum.Material.Neon,
  552. BrickColor = BrickColor.new("Camo"),
  553. CanCollide = false,
  554. Size = Vector3.new(0.564285755, 0.257142901, 0.514285743),
  555. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  556. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  557. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  558. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  559. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  560. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  561. Color = Color3.new(0.972549, 0.972549, 0.972549),
  562. Locked = true,
  563. })
  564. local Weld = AddInstance("Weld",{
  565. Parent = o20,
  566. Part0 = o2,
  567. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  568. Part1 = o20,
  569. C1 = CFrame.new(7.1258049, 2.24045849, -56.6443939, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849),
  570. })
  571. local o21 = AddInstance("SpecialMesh",{
  572. Parent = o20,
  573. MeshType = Enum.MeshType.Wedge,
  574. })
  575. o22 = AddInstance("Part",{
  576. Name = "16",
  577. Parent = o1,
  578. Material = Enum.Material.Neon,
  579. BrickColor = BrickColor.new("Camo"),
  580. CanCollide = false,
  581. Size = Vector3.new(0.564285755, 1.73571444, 0.200000003),
  582. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  583. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  584. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  585. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  586. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  587. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  588. Color = Color3.new(0.972549, 0.972549, 0.972549),
  589. Locked = true,
  590. })
  591. local Weld = AddInstance("Weld",{
  592. Parent = o22,
  593. Part0 = o2,
  594. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  595. Part1 = o22,
  596. C1 = CFrame.new(7.1258049, 1.38688946, -56.830143, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849),
  597. })
  598. local o23 = AddInstance("SpecialMesh",{
  599. Parent = o22,
  600. Scale = Vector3.new(1, 1, 0.714285672),
  601. MeshType = Enum.MeshType.Wedge,
  602. })
  603. o24 = AddInstance("Part",{
  604. Name = "14",
  605. Parent = o1,
  606. Material = Enum.Material.Neon,
  607. BrickColor = BrickColor.new("Camo"),
  608. CanCollide = false,
  609. Size = Vector3.new(0.564285755, 1.73571444, 0.200000003),
  610. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  611. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  612. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  613. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  614. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  615. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  616. Color = Color3.new(0.972549, 0.972549, 0.972549),
  617. Locked = true,
  618. })
  619. local Weld = AddInstance("Weld",{
  620. Parent = o24,
  621. Part0 = o2,
  622. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  623. Part1 = o24,
  624. C1 = CFrame.new(-7.12580872, 1.38689709, 56.9729919, 0.999990702, -0.0042760619, 0.000560866669, 0.000554783503, -0.00142366707, -0.999998868, 0.00427685538, 0.999989867, -0.00142128149),
  625. })
  626. local o25 = AddInstance("SpecialMesh",{
  627. Parent = o24,
  628. Scale = Vector3.new(1, 1, 0.714285672),
  629. MeshType = Enum.MeshType.Wedge,
  630. })
  631. o26 = AddInstance("Part",{
  632. Name = "4",
  633. Parent = o1,
  634. Material = Enum.Material.Neon,
  635. BrickColor = BrickColor.new("Camo"),
  636. CanCollide = false,
  637. Size = Vector3.new(0.54285717, 0.657142878, 1.02857149),
  638. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  639. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  640. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  641. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  642. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  643. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  644. Color = Color3.new(0.972549, 0.972549, 0.972549),
  645. Locked = true,
  646. })
  647. local Weld = AddInstance("Weld",{
  648. Parent = o26,
  649. Part0 = o2,
  650. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  651. Part1 = o26,
  652. C1 = CFrame.new(-7.12579346, 2.69762135, 57.9301262, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494),
  653. })
  654. local o27 = AddInstance("SpecialMesh",{
  655. Parent = o26,
  656. MeshType = Enum.MeshType.Wedge,
  657. })
  658. o28 = AddInstance("Part",{
  659. Name = "11",
  660. Parent = o1,
  661. Material = Enum.Material.Neon,
  662. BrickColor = BrickColor.new("Camo"),
  663. CanCollide = false,
  664. Size = Vector3.new(0.864285767, 0.657142937, 1.02857149),
  665. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  666. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  667. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  668. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  669. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  670. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  671. Color = Color3.new(0.972549, 0.972549, 0.972549),
  672. Locked = true,
  673. })
  674. local Weld = AddInstance("Weld",{
  675. Parent = o28,
  676. Part0 = o2,
  677. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  678. Part1 = o28,
  679. C1 = CFrame.new(7.12579346, 59.387291, -2.07380676, -0.999990702, 0.00427573128, -0.000560924469, 0.00427652476, 0.999989867, -0.00142105541, 0.000554842758, -0.00142344099, -0.999998868),
  680. })
  681. local o29 = AddInstance("SpecialMesh",{
  682. Parent = o28,
  683. MeshType = Enum.MeshType.Wedge,
  684. })
  685. o30 = AddInstance("Part",{
  686. Name = "17",
  687. Parent = o1,
  688. Material = Enum.Material.Granite,
  689. BrickColor = BrickColor.new("Really black"),
  690. CanCollide = false,
  691. Size = Vector3.new(0.542999983, 20, 3.02900004),
  692. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  693. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  694. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  695. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  696. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  697. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  698. Color = Color3.new(0.0666667, 0.0666667, 0.0666667),
  699. Locked = true,
  700. })
  701. local Weld = AddInstance("Weld",{
  702. Parent = o30,
  703. Part0 = o2,
  704. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  705. Part1 = o30,
  706. C1 = CFrame.new(7.1257782, -12.6132841, -56.901535, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  707. })
  708. local o32 = AddInstance("Part",{
  709. Name = "3",
  710. Parent = o1,
  711. Material = Enum.Material.Neon,
  712. BrickColor = BrickColor.new("Camo"),
  713. CanCollide = false,
  714. Size = Vector3.new(0.864285767, 0.657142937, 1.02857149),
  715. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  716. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  717. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  718. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  719. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  720. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  721. Color = Color3.new(0.972549, 0.972549, 0.972549),
  722. Locked = true,
  723. })
  724. local Weld = AddInstance("Weld",{
  725. Parent = o32,
  726. Part0 = o2,
  727. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  728. Part1 = o32,
  729. C1 = CFrame.new(-7.12579155, -54.4158592, -2.07380486, 0.999990702, -0.00427573407, 0.000560930872, -0.00427652756, -0.999989867, 0.00142105471, 0.000554849161, -0.00142344029, -0.999998868),
  730. })
  731. local o33 = AddInstance("SpecialMesh",{
  732. Parent = o32,
  733. MeshType = Enum.MeshType.Wedge,
  734. })
  735. o34 = AddInstance("Part",{
  736. Name = "18",
  737. Parent = o1,
  738. Material = Enum.Material.Neon,
  739. BrickColor = BrickColor.new("Camo"),
  740. CanCollide = false,
  741. Size = Vector3.new(0.400000006, 6.11428595, 5.03142834),
  742. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  743. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  744. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  745. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  746. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  747. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  748. Color = Color3.new(0.972549, 0.972549, 0.972549),
  749. Locked = true,
  750. })
  751. local Weld = AddInstance("Weld",{
  752. Parent = o34,
  753. Part0 = o2,
  754. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  755. Part1 = o34,
  756. C1 = CFrame.new(-7.12446594, -25.670372, 56.9022903, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121),
  757. })
  758. local o35 = AddInstance("SpecialMesh",{
  759. Parent = o34,
  760. MeshType = Enum.MeshType.Wedge,
  761. })
  762. o36 = AddInstance("Part",{
  763. Name = "7",
  764. Parent = o1,
  765. Material = Enum.Material.Granite,
  766. BrickColor = BrickColor.new("Really black"),
  767. CanCollide = false,
  768. Size = Vector3.new(0.542999983, 4.11428595, 3.03142834),
  769. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  770. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  771. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  772. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  773. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  774. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  775. Color = Color3.new(0.0666667, 0.0666667, 0.0666667),
  776. Locked = true,
  777. })
  778. local Weld = AddInstance("Weld",{
  779. Parent = o36,
  780. Part0 = o2,
  781. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  782. Part1 = o36,
  783. C1 = CFrame.new(-7.12448502, -24.6703815, 56.9065475, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121),
  784. })
  785. local o37 = AddInstance("SpecialMesh",{
  786. Parent = o36,
  787. MeshType = Enum.MeshType.Wedge,
  788. })
  789. local o38 = AddInstance("Part",{
  790. Name = "19",
  791. Parent = o1,
  792. Material = Enum.Material.Neon,
  793. BrickColor = BrickColor.new("Camo"),
  794. CanCollide = false,
  795. Size = Vector3.new(4.54285717, 5.01428556, 1.02857161),
  796. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  797. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  798. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  799. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  800. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  801. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  802. Color = Color3.new(0.972549, 0.972549, 0.972549),
  803. Locked = true,
  804. })
  805. local Weld = AddInstance("Weld",{
  806. Parent = o38,
  807. Part0 = o2,
  808. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  809. Part1 = o38,
  810. C1 = CFrame.new(2.95587444, -56.843811, -7.12423134, -0.000554800034, 0.00142350839, 0.999998927, -0.00427680276, -0.999989867, 0.0014211227, 0.999990702, -0.00427600928, 0.000560882385),
  811. })
  812. local o39 = AddInstance("SpecialMesh",{
  813. Parent = o38,
  814. MeshId = "http://www.roblox.com/asset?id=156292343",
  815. Scale = Vector3.new(7, 7, 15),
  816. MeshType = Enum.MeshType.FileMesh,
  817. })
  818. local o40 = AddInstance("Part",{
  819. Name = "12",
  820. Parent = o1,
  821. Material = Enum.Material.Neon,
  822. BrickColor = BrickColor.new("Camo"),
  823. CanCollide = false,
  824. Size = Vector3.new(4.54285717, 5.01428556, 1.02857161),
  825. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  826. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  827. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  828. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  829. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  830. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  831. Color = Color3.new(0.972549, 0.972549, 0.972549),
  832. Locked = true,
  833. })
  834. local Weld = AddInstance("Weld",{
  835. Parent = o40,
  836. Part0 = o2,
  837. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  838. Part1 = o40,
  839. C1 = CFrame.new(-12.5559368, 56.88451, -7.11906242, 0.000555172679, -0.00142338919, -0.999998868, 0.00427656481, 0.999989867, -0.00142100221, 0.999990702, -0.00427577086, 0.000561254215),
  840. })
  841. local o41 = AddInstance("SpecialMesh",{
  842. Parent = o40,
  843. MeshId = "rbxassetid://430139732",
  844. Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001),
  845. MeshType = Enum.MeshType.FileMesh,
  846. })
  847. local o42 = AddInstance("Part",{
  848. Name = "2",
  849. Parent = o1,
  850. Material = Enum.Material.Neon,
  851. BrickColor = BrickColor.new("Camo"),
  852. CanCollide = false,
  853. Size = Vector3.new(0.400000006, 20, 5.02900028),
  854. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  855. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  856. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  857. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  858. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  859. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  860. Color = Color3.new(0.972549, 0.972549, 0.972549),
  861. Locked = true,
  862. })
  863. local Weld = AddInstance("Weld",{
  864. Parent = o42,
  865. Part0 = o2,
  866. C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  867. Part1 = o42,
  868. C1 = CFrame.new(7.1257782, -12.6132774, -56.9015694, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  869. })
  870. ----------------------------------------------------
  871. local cor = AddInstance("Part",{
  872. Parent = char.Genkadda,
  873. Name = "Thingy",
  874. Locked = true,
  875. BottomSurface = 0,
  876. CanCollide = false,
  877. Size = Vector3.new(5.5, 5.5, 5.5),
  878. Transparency = 1,
  879. TopSurface = 0,
  880. })
  881. local corw = AddInstance("Weld",{
  882. Parent = cor,
  883. Part0 = rarm,
  884. Part1 = cor,
  885. C0 = CFrame.new(0, -3, 0) * CFrame.Angles(0,0,0),
  886. C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),
  887. })
  888. local weld1 = AddInstance("Weld",{
  889. Parent = char.Genkadda,
  890. Part0 = cor,
  891. Part1 = o2,
  892. C0 = CFrame.new(-7, 57, 0),
  893. C1 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494),
  894. })
  895. ----------------------------------------------------
  896. function Vanish()
  897. for i = 1, 10 do wait()
  898. for i,v in pairs(char.Genkadda:GetChildren()) do
  899. if v:IsA("Part") or v:IsA("WedgePart") then
  900. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  901. v.Transparency = v.Transparency + 0.1
  902.  
  903. end
  904. end
  905. end
  906. end
  907. end
  908. ----------------------------------------------------
  909. function Appear()
  910. for i = 1, 10 do wait()
  911. for i,v in pairs(char.Genkadda:GetChildren()) do
  912. if v:IsA("Part") or v:IsA("WedgePart") then
  913. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  914. v.Transparency = v.Transparency - 0.1
  915. end
  916. end
  917. end
  918. end
  919. end
  920. ----------------------------------------------------
  921. local player = game:GetService("Players").LocalPlayer
  922. local pchar = player.Character
  923. local mouse = player:GetMouse()
  924. local cam = workspace.CurrentCamera
  925.  
  926. local keysDown = {}
  927. local flySpeed = 0
  928. local MAX_FLY_SPEED = 80
  929.  
  930. local canFly = false
  931. local flyToggled = false
  932.  
  933. local forward, side = 0, 0
  934. local lastForward, lastSide = 0, 0
  935.  
  936. local floatBP = Instance.new("BodyPosition")
  937. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  938. local flyBV = Instance.new("BodyVelocity")
  939. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  940. local turnBG = Instance.new("BodyGyro")
  941. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  942.  
  943. mouse.KeyDown:connect(function(key)
  944. keysDown[key] = true
  945.  
  946. if key == "f" then
  947. flyToggled = not flyToggled
  948.  
  949. if not flyToggled then
  950. stanceToggle = "Normal"
  951. floatBP.Parent = nil
  952. flyBV.Parent = nil
  953. turnBG.Parent = nil
  954. root.Velocity = Vector3.new()
  955. pchar.Humanoid.PlatformStand = false
  956. end
  957. end
  958.  
  959. end)
  960. mouse.KeyUp:connect(function(key)
  961. keysDown[key] = nil
  962. end)
  963.  
  964. local function updateFly()
  965.  
  966. if not flyToggled then return end
  967.  
  968. lastForward = forward
  969. lastSide = side
  970.  
  971. forward = 0
  972. side = 0
  973.  
  974. if keysDown.w then
  975. forward = forward + 1
  976. end
  977. if keysDown.s then
  978. forward = forward - 1
  979. end
  980. if keysDown.a then
  981. side = side - 1
  982. end
  983. if keysDown.d then
  984. side = side + 1
  985. end
  986.  
  987. canFly = (forward ~= 0 or side ~= 0)
  988.  
  989. if canFly then
  990. stanceToggle = "Floating"
  991. turnBG.Parent = root
  992. floatBP.Parent = nil
  993. flyBV.Parent = root
  994.  
  995. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  996. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  997. else
  998. floatBP.position = root.Position
  999. floatBP.Parent = root
  1000.  
  1001. flySpeed = flySpeed - 1
  1002. if flySpeed < 0 then flySpeed = 0 end
  1003. end
  1004.  
  1005. local camCF = cam.CoordinateFrame
  1006. local in_forward = canFly and forward or lastForward
  1007. local in_side = canFly and side or lastSide
  1008.  
  1009. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1010. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1011.  
  1012. turnBG.cframe = camCF * CFrame.Angles(-math.rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1013. 0)
  1014. end
  1015.  
  1016. game:service'RunService'.RenderStepped:connect(function()
  1017. if flyToggled then
  1018. pchar.Humanoid.PlatformStand = true
  1019. end
  1020. updateFly()
  1021. end)
  1022. ----------------------------------------------------
  1023. o42.Touched:connect(function(ht)
  1024. hit = ht.Parent
  1025. if ht and hit:IsA("Model") then
  1026. if hit:FindFirstChild("Humanoid") then
  1027. if hit.Name ~= p.Name then
  1028. if Debounces.Slashing == true and Debounces.Slashed == false then
  1029. Debounces.Slashed = true
  1030. hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  1031. wait(.3)
  1032. Debounces.Slashed = false
  1033. end
  1034. end
  1035. end
  1036. elseif ht and hit:IsA("Hat") then
  1037. if hit.Parent.Name ~= p.Name then
  1038. if hit.Parent:FindFirstChild("Humanoid") then
  1039. if Debounces.Slashing == true and Debounces.Slashed == false then
  1040. Debounces.Slashed = true
  1041. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  1042. wait(.3)
  1043. Debounces.Slashed = false
  1044. end
  1045. end
  1046. end
  1047. end
  1048. end)
  1049. ----------------------------------------------------
  1050. ptz = {0.7, 0.8, 0.9, 1}
  1051. idz = {"161006212", "161006195"}
  1052. mouse.KeyDown:connect(function(key)
  1053. if key == "q" then
  1054. if Debounces.CanAttack == true then
  1055. Debounces.CanAttack = false
  1056. Debounces.NoIdl = true
  1057. Debounces.on = true
  1058. for i = 1, 20 do
  1059. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,0.65,-6)*CFrame.Angles(math.rad(60),math.rad(70),math.rad(70)), 0.2)
  1060. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-1,2.2) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2)
  1061. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2)
  1062. 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)
  1063. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  1064. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  1065. if Debounces.on == false then break end
  1066. rs:wait(2)
  1067. end
  1068. z = Instance.new("Sound", hed)
  1069. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1070. z.Pitch = ptz[math.random(1,#ptz)]
  1071. z.Volume = math.huge
  1072. wait(.01)
  1073. z:Play()
  1074. Debounces.Slashing = true
  1075. for i = 1, 20 do
  1076. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2, -2, 3) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
  1077. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
  1078. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
  1079. 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)
  1080. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  1081. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  1082. if Debounces.on == false then break end
  1083. rs:wait(2)
  1084. end
  1085. Debounces.Slashing = false
  1086. z:Destroy()
  1087. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1088. if Debounces.CanAttack == false then
  1089. Debounces.CanAttack = true
  1090. Debounces.NoIdl = false
  1091. Debounces.on = false
  1092. end
  1093. end
  1094. end
  1095. end)
  1096. ----------------------------------------------------
  1097. mouse.KeyDown:connect(function(key)
  1098. if key == "r" then
  1099. if Debounces.CanAttack == true then
  1100. Debounces.CanAttack = false
  1101. Debounces.NoIdl = true
  1102. Debounces.on = true
  1103. for i = 1, 20 do
  1104. 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)
  1105. 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)
  1106. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  1107. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
  1108. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1109. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1110. 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)
  1111. if Debounces.on==false then break end
  1112. rs:wait(2)
  1113. end
  1114. Debounces.Slashing = true
  1115. z = Instance.new("Sound",hed)
  1116. z.SoundId = "rbxassetid:// "
  1117. z.Pitch = .75
  1118. z.Volume = .65
  1119. wait(0.1)
  1120. z:Play()
  1121. z1 = Instance.new("Sound", hed)
  1122. z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1123. z1.Pitch = ptz[math.random(1,#ptz)]
  1124. z1.Volume = math.huge
  1125. wait(.01)
  1126. z1:Play()
  1127. for i = 1, 20 do
  1128. 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)
  1129. 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)
  1130. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1131. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  1132. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  1133. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
  1134. 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)
  1135. if Debounces.on==false then break end
  1136. rs:wait(2)
  1137. end
  1138. Debounces.Slashing = false
  1139. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1140. if Debounces.CanAttack == false then
  1141. Debounces.CanAttack = true
  1142. Debounces.NoIdl = false
  1143. Debounces.on = false
  1144. end
  1145. end
  1146. end
  1147. end)
  1148. -------------------------------
  1149. mouse.KeyDown:connect(function(key)
  1150. if key == "g" then
  1151. if Debounces.CanAttack == true then
  1152. Debounces.CanAttack = false
  1153. Debounces.NoIdl = true
  1154. Debounces.on = true
  1155. Debounces.Slashing = true
  1156. for i = 1, 8 do
  1157. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8)
  1158. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8)
  1159. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1160. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(0, 0, 0), 0.8)
  1161. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1162. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
  1163. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(80), math.rad(0), math.rad(0)), 0.35)
  1164. if Debounces.on==false then break end
  1165. rs:wait(2)
  1166. end
  1167. for i = 1, 1440, 48 do
  1168. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
  1169. rs:wait(4)
  1170. end
  1171. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1172. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1173. Debounces.Slashing = false
  1174. if Debounces.CanAttack == false then
  1175. Debounces.CanAttack = true
  1176. Debounces.NoIdl = false
  1177. Debounces.on = false
  1178. end
  1179. end
  1180. end
  1181. end)
  1182. ----------------------------------------------------
  1183. pt = {6.6, 6.8, 7, 7.2, 7.4}
  1184. mouse.KeyDown:connect(function(key)
  1185. if key == "h" then
  1186. if Debounces.CanJoke == true then
  1187. Debounces.CanJoke = false
  1188. u = Instance.new("Sound",char)
  1189. u.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1190. u.Pitch = pt[math.random(1,#pt)]
  1191. u.Volume = math.huge
  1192. u2 = Instance.new("Sound",char)
  1193. u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1194. u2.Pitch = u.Pitch
  1195. u2.Volume = math.huge
  1196. u3 = Instance.new("Sound",char)
  1197. u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
  1198. u3.Pitch = u.Pitch
  1199. u3.Volume = math.huge
  1200. wait(.01)
  1201. u:Play()
  1202. u2:Play()
  1203. u3:Play()
  1204. wait(1.5)
  1205. u:Destroy()
  1206. u2:Destroy()
  1207. u3:Destroy()
  1208. if Debounces.CanJoke == false then
  1209. Debounces.CanJoke = true
  1210. end
  1211. end
  1212. end
  1213. end)
  1214. ----------------------------------------------------
  1215. Melee = false
  1216. mouse.KeyDown:connect(function(key)
  1217. if key == "m" then
  1218. if Melee == false then
  1219. Melee = true
  1220. Vanish()
  1221. stanceToggle = "Melee"
  1222. elseif Melee == true then
  1223. Melee = false
  1224. Appear()
  1225. stanceToggle = "Normal"
  1226. end
  1227. end
  1228. end)
  1229. -------------------------------
  1230. mouse.KeyDown:connect(function(key)
  1231. if string.byte(key) == 48 then
  1232. if Debounces.CanAttack == true then
  1233. if stanceToggle ~= "Floating" then
  1234. char.Humanoid.WalkSpeed = 80
  1235. elseif Debounces.CanAttack == false then
  1236. elseif stanceToggle == "Floating" then
  1237. wait()
  1238. end
  1239. end
  1240. end
  1241. end)
  1242. mouse.KeyUp:connect(function(key)
  1243. if string.byte(key) == 48 then
  1244. char.Humanoid.WalkSpeed = 16
  1245. end
  1246. end)
  1247. -------------------------------
  1248. local animpose = "Idle"
  1249. local lastanimpose = "Idle"
  1250. local sine = 0
  1251. local change = 1
  1252. local val = 0
  1253. local ffing = false
  1254. -------------------------------
  1255. --[[if stanceToggle == "Sitting" then
  1256. if wait(math.random(1,2)) == 1 then
  1257. stanceToggle = "Sitting2"
  1258. wait(8)
  1259. stanceToggle = "Sitting"
  1260. end
  1261. end]]--
  1262. -------------------------------
  1263. game:GetService("RunService").RenderStepped:connect(function()
  1264. --[[if char.Humanoid.Jump == true then
  1265. jump = true
  1266. else
  1267. jump = false
  1268. end]]
  1269. char.Humanoid.FreeFalling:connect(function(f)
  1270. if f then
  1271. ffing = true
  1272. else
  1273. ffing = false
  1274. end
  1275. end)
  1276. sine = sine + change
  1277. if jumpn == true then
  1278. animpose = "Jumping"
  1279. elseif ffing == true then
  1280. animpose = "Freefalling"
  1281. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1282. animpose = "Idle"
  1283. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1284. animpose = "Walking"
  1285. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1286. animpose = "Running"
  1287. end
  1288. if animpose ~= lastanimpose then
  1289. sine = 0
  1290. if Debounces.NoIdl == false then
  1291. if stanceToggle == "Normal" then
  1292. for i = 1, 2 do
  1293. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
  1294. 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)
  1295. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  1296. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1297. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1298. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  1299. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1300. end
  1301. elseif stanceToggle == "Floating" then
  1302. 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)
  1303. 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)
  1304. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1305. 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)
  1306. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1307. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1308. wait()
  1309. end
  1310. else
  1311. end
  1312. end
  1313. lastanimpose = animpose
  1314. if Debounces.NoIdl == false then
  1315. if animpose == "Idle" then
  1316. if stanceToggle == "Normal" then
  1317. change = 0.5
  1318. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2+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)
  1319. 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)
  1320. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2)
  1321. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1322. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1323. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  1324. elseif stanceToggle == "Melee" then
  1325. 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)
  1326. 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)
  1327. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1328. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1329. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1330. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1331. elseif stanceToggle == "Floating" then
  1332. 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)
  1333. 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)
  1334. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1335. 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)
  1336. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1337. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1338. end
  1339. elseif animpose == "Walking" then
  1340. if stanceToggle == "Normal" then
  1341. change = 1
  1342. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  1343. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  1344. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1345. 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)
  1346. 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)
  1347. 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)
  1348. elseif stanceToggle == "Melee" then
  1349. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0-.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)
  1350. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0+.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)
  1351. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1352. 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)
  1353. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -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)
  1354. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -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)
  1355. elseif stanceToggle == "Floating" then
  1356. 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)
  1357. 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)
  1358. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
  1359. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
  1360. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
  1361. 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)
  1362. end
  1363. elseif animpose == "Running" then
  1364. if stanceToggle == "Normal" then
  1365. change = 1
  1366. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  1367. 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)
  1368. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-4, -0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  1369. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(4, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  1370. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  1371. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  1372. elseif stanceToggle == "Floating" then
  1373. 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)
  1374. 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)
  1375. hed.Weld.C0 = CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  1376. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
  1377. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
  1378. 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)
  1379. end
  1380. end
  1381. end
  1382. end)
  1383.  
  1384. Spawn(function()
  1385. while wait() do
  1386. updateFly()
  1387. end
  1388. end)
  1389.  
  1390. Spawn(function()
  1391. while wait(5) do
  1392. GroundWave3()
  1393. end
  1394. end)
  1395. Spawn(function()
  1396. while wait(0) do
  1397. hum.MaxHealth = 1.79769e+308
  1398. hum.Health = 1.79769e+308
  1399. end
  1400. end)
  1401. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  1402. --[[Part0 = Vector3 (Start pos)
  1403. Part1 = Vector3 (End pos)
  1404. Times = number (Amount of lightning parts)
  1405. Offset = number (Offset)
  1406. Color = color (brickcolor value)
  1407. Thickness = number (thickness)
  1408. Trans = number (transparency)
  1409. ]]--
  1410. local magz = (Part0 - Part1).magnitude
  1411. local curpos = Part0
  1412. local trz = {-Offset,Offset}
  1413. for i=1,Times do
  1414. local li = Instance.new("Part", torso)
  1415. li.Name = "Lightning"
  1416. li.TopSurface =0
  1417. li.Material = "Neon"
  1418. li.BottomSurface = 0
  1419. li.Anchored = true
  1420. li.Locked = true
  1421. li.Transparency = Trans or 0.4
  1422. li.BrickColor = BrickColor.new(Color)
  1423. li.formFactor = "Custom"
  1424. li.CanCollide = false
  1425. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1426. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1427. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1428. if Times == i then
  1429. local magz2 = (curpos - Part1).magnitude
  1430. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1431. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1432. else
  1433. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1434. end
  1435. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1436. game.Debris:AddItem(li,.1)
  1437. end
  1438. end
  1439.  
  1440. BodyParts = {} -- Parts to emit lightning effects from
  1441. for _, v in pairs(char:GetChildren()) do
  1442. if v:IsA("Part") then
  1443. table.insert(BodyParts, v)
  1444. end
  1445. end
  1446.  
  1447. Bounding = {} -- Calculate the bounding boxes
  1448. for _, v in pairs(BodyParts) do
  1449. local temp = {X=nil, Y=nil, Z=nil}
  1450. temp.X = v.Size.X/2 * 35
  1451. temp.Y = v.Size.Y/2 * 35
  1452. temp.Z = v.Size.Z/2 * 35
  1453. Bounding[v.Name] = temp
  1454. --table.insert(Bounding, v.Name, temp)
  1455. end
  1456.  
  1457. while wait(0) do -- Emit the Lightning effects randomly
  1458. local Body1 = BodyParts[math.random(#BodyParts)]
  1459. local Body2 = BodyParts[math.random(#BodyParts)]
  1460. local Pos1 = Vector3.new(
  1461. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/35,
  1462. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/35,
  1463. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/35
  1464. )
  1465. local Pos2 = Vector3.new(
  1466. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/35,
  1467. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/35,
  1468. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/35
  1469. )
  1470. local SPos1 = Body1.Position + Pos1
  1471. local SPos2 = Body2.Position + Pos2
  1472. Lightning(SPos1, SPos2, 4, 3, "Teal", .3, .56)
  1473. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement