Advertisement
breezyshadow012

THE BIGGEST TITAN

Mar 18th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.40 KB | None | 0 0
  1.  
  2.  
  3.  
  4. System = {}
  5.  
  6. System.Create = function(a, c)
  7. local e = Instance.new(a)
  8. for d, a in pairs(c) do
  9. local b, a = ypcall(function()
  10. return e[d]
  11. end)
  12. if b then
  13. e[d] = c[d]
  14. end
  15. end
  16. return e
  17. end
  18. function b(d, b)
  19. local c = getfenv(d)
  20. local a = setmetatable({}, {
  21. __index = function(a, a)
  22. if a:lower() == 'script' then
  23. return b
  24. else
  25. return c[a]
  26. end
  27. end
  28. })
  29. setfenv(d, a)
  30. ypcall(function()
  31. d()
  32. end)
  33. end
  34. c = {}
  35. mas = Instance.new("Model",game:GetService("Lighting"))
  36. mas.Name = "CompiledModel"
  37. o1 = System.Create("Part",{
  38. ["Parent"] = mas,
  39. ["Position"] = Vector3.new(225.174713, 0.665851116, -134.765137),
  40. ["Rotation"] = Vector3.new(79.999939, 0, 2.54445326e-014),
  41. ["Anchored"] = true,
  42. ["CFrame"] = CFrame.new(225.174713, 0.665851116, -134.765137, 0.999996305, -4.4408921e-016, 0, 0, 0.173648298, -0.984803975, 0, 0.984805763, 0.173648611),
  43. ["CanCollide"] = false,
  44. ["Size"] = Vector3.new(0.1,0.1,0.1),
  45. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  46. ["TopSurface"] = Enum.SurfaceType.Smooth,
  47. })
  48. o2 = System.Create("ParticleEmitter",{
  49. ["Parent"] = o1,
  50. ["Size"] = NumberSequence.new(4,4),
  51. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  52. ["LightEmission"] = -5,
  53. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  54. ["Acceleration"] = Vector3.new(-7, 0, 0),
  55. ["Lifetime"] = NumberRange.new(10,10),
  56. ["Rate"] = 70,
  57. ["LockedToPart"] = true,
  58. })
  59. o3 = System.Create("ParticleEmitter",{
  60. ["Parent"] = o1,
  61. ["Size"] = NumberSequence.new(4,4),
  62. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  63. ["LightEmission"] = -5,
  64. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  65. ["Acceleration"] = Vector3.new(7, 0, -1),
  66. ["Lifetime"] = NumberRange.new(10,10),
  67. ["Rate"] = 70,
  68. ["LockedToPart"] = true,
  69. })
  70.  
  71. o5 = System.Create("ParticleEmitter",{
  72. ["Parent"] = o1,
  73. ["Size"] = NumberSequence.new(4,4),
  74. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  75. ["LightEmission"] = -5,
  76. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  77. ["Acceleration"] = Vector3.new(7, 0, -2),
  78. ["Lifetime"] = NumberRange.new(10,10),
  79. ["Rate"] = 70,
  80. ["LockedToPart"] = true,
  81. })
  82. o6 = System.Create("ParticleEmitter",{
  83. ["Parent"] = o1,
  84. ["Size"] = NumberSequence.new(4,4),
  85. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  86. ["LightEmission"] = -5,
  87. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  88. ["Acceleration"] = Vector3.new(-7, 0, -2),
  89. ["Lifetime"] = NumberRange.new(10,10),
  90. ["Rate"] = 70,
  91. ["LockedToPart"] = true,
  92. })
  93. o7 = System.Create("ParticleEmitter",{
  94. ["Parent"] = o1,
  95. ["Size"] = NumberSequence.new(4,4),
  96. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  97. ["LightEmission"] = -5,
  98. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  99. ["Acceleration"] = Vector3.new(-7, 0, -1),
  100. ["Lifetime"] = NumberRange.new(10,10),
  101. ["Rate"] = 70,
  102. ["LockedToPart"] = true,
  103. })
  104. o8 = System.Create("ParticleEmitter",{
  105. ["Parent"] = o1,
  106. ["Size"] = NumberSequence.new(4,4),
  107. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  108. ["LightEmission"] = -5,
  109. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  110. ["Acceleration"] = Vector3.new(-7, 0, 1),
  111. ["Lifetime"] = NumberRange.new(10,10),
  112. ["Rate"] = 70,
  113. ["LockedToPart"] = true,
  114. })
  115. o9 = System.Create("ParticleEmitter",{
  116. ["Parent"] = o1,
  117. ["Size"] = NumberSequence.new(4,4),
  118. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  119. ["LightEmission"] = -5,
  120. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  121. ["Acceleration"] = Vector3.new(7, 0, 1),
  122. ["Lifetime"] = NumberRange.new(10,10),
  123. ["Rate"] = 70,
  124. ["LockedToPart"] = true,
  125. })
  126. o10 = System.Create("ParticleEmitter",{
  127. ["Parent"] = o1,
  128. ["Size"] = NumberSequence.new(4,4),
  129. ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
  130. ["LightEmission"] = -5,
  131. ["Texture"] = "rbxasset://textures/particles/fire_main.dds",
  132. ["Acceleration"] = Vector3.new(7, 0, 0),
  133. ["Lifetime"] = NumberRange.new(10,10),
  134. ["Rate"] = 70,
  135. ["LockedToPart"] = true,
  136. })
  137. mas.Parent = game.Players.LocalPlayer.Character or workspace.Player1
  138. mas:MakeJoints()
  139. local b = mas:GetChildren()
  140. for a = 1, #b do
  141. b[a].Parent = game.Players.LocalPlayer.Character or workspace.Player1
  142. ypcall(function()
  143. b[a]:MakeJoints()
  144. end)
  145. end
  146. mas:Destroy()
  147. for a = 1, #c do
  148. coroutine.resume(c[a])
  149. end
  150.  
  151.  
  152. local p = game.Players.LocalPlayer.Character.Part
  153. local me = game.Players.LocalPlayer.Character or game.Players.Player1.Character
  154.  
  155.  
  156. game:GetService('RunService').Stepped:connect(function()
  157. p.CFrame = me.Torso.CFrame * CFrame.new(0,-1,1) * CFrame.Angles(-100,0,0)
  158. end)
  159.  
  160. wait(0.5)
  161. local p = game:GetService("Players").LocalPlayer
  162. local char = p.Character
  163. local mouse = p:GetMouse()
  164. local larm = char["Left Arm"]
  165. local rarm = char["Right Arm"]
  166. local lleg = char["Left Leg"]
  167. local rleg = char["Right Leg"]
  168. local hed = char.Head
  169. local torso = char.Torso
  170. local hum = char.Humanoid
  171. local cam = game.Workspace.CurrentCamera
  172. local root = char.HumanoidRootPart
  173. local deb = false
  174. local shot = 0
  175. local stanceToggle = "Floating"
  176. local l = game:GetService("Lighting")
  177. local rs = game:GetService("RunService").RenderStepped
  178. hum.DisplayDistanceType = "None"
  179. math.randomseed(os.time())
  180. for i,v in pairs(char:children()) do
  181. if v:IsA("Hat") then
  182. v:Destroy()
  183. end
  184. end
  185. for i,v in pairs (hed:GetChildren()) do
  186. if v:IsA("Sound") then
  187. v:Destroy()
  188. end
  189. end
  190.  
  191. ----------------------------------------------------
  192. ----------------------------------------------------
  193. shirt = Instance.new("Shirt", char)
  194. shirt.Name = "Shirt"
  195. pants = Instance.new("Pants", char)
  196. pants.Name = "Pants"
  197. char.Shirt.ShirtTemplate = "rbxassetid://237906462"
  198. char.Pants.PantsTemplate = "rbxassetid://237906462"
  199. ----------------------------------------------------
  200. local hat1 = Instance.new("SpecialMesh")
  201. local hat2 = Instance.new("Part")
  202. hat1.Parent = hat2
  203. hat2.Parent = hat3
  204. hat2.CanCollide = false
  205. hat2.Anchored = true
  206. hat2.Locked = true
  207. hat2.Parent = char
  208. hat2.Name = "Handle"
  209. hat1.Name = "Mesh"
  210. char.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=16150814"
  211. char.Handle.Mesh.Scale = char.Handle.Mesh.Scale * 16
  212. char.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=16150799"
  213. char.Handle.Mesh.VertexColor = Vector3.new(0.2,0.2,0.2)
  214. ----------------------------------------------------
  215. local p = game.Players.LocalPlayer.Character.Handle
  216. local me = game.Players.LocalPlayer.Character
  217.  
  218. game:GetService('RunService').Stepped:connect(function()
  219. p.CFrame = me.Head.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  220. end)
  221. ----------------------------------------------------
  222. ----------------------------------------------------
  223. hum.Health = 9000000000000000
  224. ----------------------------------------------------
  225. local function recursiveSetAllDensityToOne(instance)
  226. if instance:IsA("BasePart") then
  227. -- See if this is a CUSTOM Physics part already
  228. if instance.CustomPhysicalProperties then
  229. local oldProp = instance.CustomPhysicalProperties
  230. local physicalProp = PhysicalProperties.new(0.01, oldProp.Friction,
  231. oldProp.Elasticity,
  232. oldProp.FrictionWeight,
  233. oldProp.ElasticityWeight)
  234. instance.CustomPhysicalProperties = physicalProp
  235. else
  236. local oldProp = PhysicalProperties.new(instance.Material)
  237. local physicalProp = PhysicalProperties.new(0.01, oldProp.Friction,
  238. oldProp.Elasticity,
  239. oldProp.FrictionWeight,
  240. oldProp.ElasticityWeight)
  241. instance.CustomPhysicalProperties = physicalProp
  242. end
  243. end
  244.  
  245. for i,v in pairs(instance:GetChildren()) do
  246. pcall( function()recursiveSetAllDensityToOne(v) end)
  247. end
  248. end
  249.  
  250. recursiveSetAllDensityToOne(game)
  251. ----------------------------------------------------
  252. Debounces = {
  253. CanAttack = true;
  254. CanJoke = true;
  255. NoIdl = false;
  256. Slashing = false;
  257. Slashed = false;
  258. Slapping = false;
  259. Slapped = false;
  260. ks = false;
  261. }
  262. ----------------------------------------------------
  263. function weld5(part0, part1, c0, c1)
  264. weeld=Instance.new("Weld", part0)
  265. weeld.Part0=part0
  266. weeld.Part1=part1
  267. weeld.C0=c0
  268. weeld.C1=c1
  269. return weeld
  270. end
  271.  
  272.  
  273. function lerp(a, b, t) -- Linear interpolation
  274. return a + (b - a)*t
  275. end
  276.  
  277. function slerp(a, b, t) --Spherical interpolation
  278. dot = a:Dot(b)
  279. if dot > 0.99999 or dot < -0.99999 then
  280. return t <= 0.5 and a or b
  281. else
  282. r = math.acos(dot)
  283. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  284. end
  285. end
  286.  
  287. function matrixInterpolate(a, b, t)
  288. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  289. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  290. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  291. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  292. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  293. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  294. local t = v1:Dot(v2)
  295. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  296. return CFrame.new()
  297. end
  298. return CFrame.new(
  299. v0.x, v0.y, v0.z,
  300. v1.x, v1.y, v1.z,
  301. v2.x, v2.y, v2.z,
  302. v3.x, v3.y, v3.z)
  303. end
  304. ----------------------------------------------------
  305. function genWeld(a,b)
  306. local w = Instance.new("Weld",a)
  307. w.Part0 = a
  308. w.Part1 = b
  309. return w
  310. end
  311. function weld(a, b)
  312. local weld = Instance.new("Weld")
  313. weld.Name = "W"
  314. weld.Part0 = a
  315. weld.Part1 = b
  316. weld.C0 = a.CFrame:inverse() * b.CFrame
  317. weld.Parent = a
  318. return weld;
  319. end
  320. ----------------------------------------------------
  321. function Lerp(c1,c2,al)
  322. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  323. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  324. for i,v in pairs(com1) do
  325. com1[i] = v+(com2[i]-v)*al
  326. end
  327. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  328. end
  329. ----------------------------------------------------
  330. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  331. local wld = Instance.new("Weld", wp1)
  332. wld.Part0 = wp0
  333. wld.Part1 = wp1
  334. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  335. end
  336. ----------------------------------------------------
  337. local AddInstance = function(Object, ...)
  338. local Obj = Instance.new(Object)
  339. for i,v in next,(...) do
  340. Obj[i] = v
  341. end
  342. return Obj
  343. end
  344. ----------------------------------------------------
  345. larm.Size = larm.Size * 13.5
  346. rarm.Size = rarm.Size * 13.5
  347. lleg.Size = lleg.Size * 13.5
  348. rleg.Size = rleg.Size * 13.5
  349. torso.Size = torso.Size * 13.5
  350. hed.Size = hed.Size * 13.5
  351. root.Size = root.Size * 13.5
  352. ----------------------------------------------------
  353. newWeld(torso, larm, -7.5, 0.5, 0)
  354. larm.Weld.C1 = CFrame.new(5.2,0.5,0)
  355. newWeld(torso, rarm, 7.5, 0.5, 0)
  356. rarm.Weld.C1 = CFrame.new(-5.2, 0.5, 0)
  357. newWeld(torso, hed, 0, 6.8, 0)
  358. newWeld(torso, lleg, -0.5, -1, 0)
  359. lleg.Weld.C1 = CFrame.new(1.7, 8, 0)
  360. newWeld(torso, rleg, 0.5, -1, 0)
  361. rleg.Weld.C1 = CFrame.new(-1.7, 8, 0)
  362. newWeld(root, torso, 0, 0, 0)
  363. torso.Weld.C1 = CFrame.new(0, 0, 0)
  364. ----------------------------------------------------
  365. --local SIDz = {"167985102"}, 167161785, 148274436
  366. z = Instance.new("Sound",char)
  367. z.SoundId = "rbxassetid://167978935"--..SIDz[math.random(1,#SIDz)]
  368. z.Looped = true
  369. z.Volume = 1
  370. z.Pitch = 1
  371. wait(1)
  372. z:Play()
  373. hum.WalkSpeed = 5
  374. ----------------------------------------------------
  375. ----------------------------------------------------
  376. local o1 = AddInstance("Model",{
  377. Name = "Genkadda",
  378. Parent = char,
  379. })
  380. local o2 = AddInstance("Part",{
  381. Name = "Handle",
  382. Parent = o1,
  383. Material = Enum.Material.Granite,
  384. BrickColor = BrickColor.new("Black"),
  385. CanCollide = false,
  386. Size = Vector3.new(0.54285717, 4.96428585, 1.02857149),
  387. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  388. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  389. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  390. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  391. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  392. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  393. Color = Color3.new(0.105882, 0.164706, 0.207843),
  394. Transparency = 1,
  395. Locked = true,
  396. })
  397. local o3 = AddInstance("Part",{
  398. Parent = o1,
  399. Material = Enum.Material.Granite,
  400. BrickColor = BrickColor.new("Really black"),
  401. CanCollide = false,
  402. Size = Vector3.new(0.521428645, 0.200000003, 4.92857265),
  403. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  404. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  405. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  406. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  407. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  408. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  409. Color = Color3.new(0.0666667, 0.0666667, 0.0666667),
  410. Locked = true,
  411. Transparency = 1,
  412. })
  413. local Weld = AddInstance("Weld",{
  414. Parent = o3,
  415. Part0 = o2,
  416. 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),
  417. Part1 = o3,
  418. 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),
  419. })
  420. local o6 = AddInstance("Part",{
  421. Name = "8",
  422. Parent = o1,
  423. Material = Enum.Material.Neon,
  424. BrickColor = BrickColor.new("Really black"),
  425. CanCollide = false,
  426. Size = Vector3.new(0.864285767, 0.221428677, 5.65714407),
  427. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  428. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  429. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  430. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  431. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  432. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  433. Color = Color3.new(0.972549, 0.972549, 0.972549),
  434. Locked = true,
  435. Transparency = 1,
  436. })
  437. local Weld = AddInstance("Weld",{
  438. Parent = o6,
  439. Part0 = o2,
  440. 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),
  441. Part1 = o6,
  442. 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),
  443. })
  444. local o8 = AddInstance("Part",{
  445. Name = "20",
  446. Parent = o1,
  447. Material = Enum.Material.Neon,
  448. BrickColor = BrickColor.new("Really black"),
  449. CanCollide = false,
  450. Size = Vector3.new(0.54285717, 0.657142878, 1.02857149),
  451. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  452. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  453. Transparency = 1,
  454. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  455. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  456. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  457. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  458. Color = Color3.new(0.972549, 0.972549, 0.972549),
  459. Locked = true,
  460. })
  461. local Weld = AddInstance("Weld",{
  462. Parent = o8,
  463. Part0 = o2,
  464. 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),
  465. Part1 = o8,
  466. 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),
  467. })
  468. local o10 = AddInstance("Part",{
  469. Name = "15",
  470. Parent = o1,
  471. Material = Enum.Material.Neon,
  472. BrickColor = BrickColor.new("Really black"),
  473. CanCollide = false,
  474. Size = Vector3.new(0.54285717, 0.657142937, 2.02857161),
  475. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  476. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  477. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  478. Transparency = 1,
  479. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  480. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  481. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  482. Color = Color3.new(0.972549, 0.972549, 0.972549),
  483. Locked = true,
  484. })
  485. local Weld = AddInstance("Weld",{
  486. Parent = o10,
  487. Part0 = o2,
  488. 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),
  489. Part1 = o10,
  490. 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),
  491. })
  492. local o11 = AddInstance("SpecialMesh",{
  493. Parent = o10,
  494. MeshType = Enum.MeshType.Wedge,
  495. })
  496. o12 = AddInstance("Part",{
  497. Name = "10",
  498. Parent = o1,
  499. Material = Enum.Material.Neon,
  500. BrickColor = BrickColor.new("Really black"),
  501. CanCollide = false,
  502. Size = Vector3.new(0.54285717, 0.657142878, 2.02857161),
  503. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  504. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  505. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  506. Transparency = 1,
  507. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  508. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  509. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  510. Color = Color3.new(0.972549, 0.972549, 0.972549),
  511. Locked = true,
  512. })
  513. local Weld = AddInstance("Weld",{
  514. Parent = o12,
  515. Part0 = o2,
  516. 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),
  517. Part1 = o12,
  518. 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),
  519. })
  520. local o13 = AddInstance("SpecialMesh",{
  521. Parent = o12,
  522. MeshType = Enum.MeshType.Wedge,
  523. })
  524. local o14 = AddInstance("Part",{
  525. Name = "9",
  526. Parent = o1,
  527. Material = Enum.Material.Neon,
  528. BrickColor = BrickColor.new("Really black"),
  529. CanCollide = false,
  530. Size = Vector3.new(0.54285717, 1.11428583, 0.371428579),
  531. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  532. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  533. Transparency = 1,
  534. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  535. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  536. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  537. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  538. Color = Color3.new(0.972549, 0.972549, 0.972549),
  539. Locked = true,
  540. })
  541. local Weld = AddInstance("Weld",{
  542. Parent = o14,
  543. Part0 = o2,
  544. 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),
  545. Part1 = o14,
  546. 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),
  547. })
  548. local o15 = AddInstance("SpecialMesh",{
  549. Parent = o14,
  550. MeshType = Enum.MeshType.Wedge,
  551. })
  552. o16 = AddInstance("Part",{
  553. Name = "6",
  554. Parent = o1,
  555. Material = Enum.Material.Neon,
  556. BrickColor = BrickColor.new("Really black"),
  557. CanCollide = false,
  558. Size = Vector3.new(0.54285717, 1.11428583, 0.371428579),
  559. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  560. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  561. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  562. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  563. Transparency = 1,
  564. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  565. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  566. Color = Color3.new(0.972549, 0.972549, 0.972549),
  567. Locked = true,
  568. })
  569. local Weld = AddInstance("Weld",{
  570. Parent = o16,
  571. Part0 = o2,
  572. 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),
  573. Part1 = o16,
  574. 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),
  575. })
  576. local o17 = AddInstance("SpecialMesh",{
  577. Parent = o16,
  578. MeshType = Enum.MeshType.Wedge,
  579. })
  580. o18 = AddInstance("Part",{
  581. Name = "21",
  582. Parent = o1,
  583. Material = Enum.Material.Neon,
  584. BrickColor = BrickColor.new("Really black"),
  585. CanCollide = false,
  586. Size = Vector3.new(0.564285755, 0.257142901, 0.514285743),
  587. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  588. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  589. Transparency = 1,
  590. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  591. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  592. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  593. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  594. Color = Color3.new(0.972549, 0.972549, 0.972549),
  595. Locked = true,
  596. })
  597. local Weld = AddInstance("Weld",{
  598. Parent = o18,
  599. Part0 = o2,
  600. 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),
  601. Part1 = o18,
  602. 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),
  603. })
  604. local o19 = AddInstance("SpecialMesh",{
  605. Parent = o18,
  606. MeshType = Enum.MeshType.Wedge,
  607. })
  608. o20 = AddInstance("Part",{
  609. Name = "13",
  610. Parent = o1,
  611. Material = Enum.Material.Neon,
  612. BrickColor = BrickColor.new("Really black"),
  613. CanCollide = false,
  614. Size = Vector3.new(0.564285755, 0.257142901, 0.514285743),
  615. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  616. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  617. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  618. Transparency = 1,
  619. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  620. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  621. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  622. Color = Color3.new(0.972549, 0.972549, 0.972549),
  623. Locked = true,
  624. })
  625. local Weld = AddInstance("Weld",{
  626. Parent = o20,
  627. Part0 = o2,
  628. 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),
  629. Part1 = o20,
  630. 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),
  631. })
  632. local o21 = AddInstance("SpecialMesh",{
  633. Parent = o20,
  634. MeshType = Enum.MeshType.Wedge,
  635. })
  636. o22 = AddInstance("Part",{
  637. Name = "16",
  638. Parent = o1,
  639. Material = Enum.Material.Neon,
  640. BrickColor = BrickColor.new("Really black"),
  641. CanCollide = false,
  642. Size = Vector3.new(0.564285755, 1.73571444, 0.200000003),
  643. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  644. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  645. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  646. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  647. Transparency = 1,
  648. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  649. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  650. Color = Color3.new(0.972549, 0.972549, 0.972549),
  651. Locked = true,
  652. })
  653. local Weld = AddInstance("Weld",{
  654. Parent = o22,
  655. Part0 = o2,
  656. 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),
  657. Part1 = o22,
  658. 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),
  659. })
  660. local o23 = AddInstance("SpecialMesh",{
  661. Parent = o22,
  662. Scale = Vector3.new(1, 1, 0.714285672),
  663. MeshType = Enum.MeshType.Wedge,
  664. })
  665. o24 = AddInstance("Part",{
  666. Name = "14",
  667. Parent = o1,
  668. Material = Enum.Material.Neon,
  669. BrickColor = BrickColor.new("Really black"),
  670. CanCollide = false,
  671. Size = Vector3.new(0.564285755, 1.73571444, 0.200000003),
  672. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  673. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  674. Transparency = 1,
  675. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  676. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  677. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  678. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  679. Color = Color3.new(0.972549, 0.972549, 0.972549),
  680. Locked = true,
  681. })
  682. local Weld = AddInstance("Weld",{
  683. Parent = o24,
  684. Part0 = o2,
  685. 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),
  686. Part1 = o24,
  687. 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),
  688. })
  689. local o25 = AddInstance("SpecialMesh",{
  690. Parent = o24,
  691. Scale = Vector3.new(1, 1, 0.714285672),
  692. MeshType = Enum.MeshType.Wedge,
  693. })
  694. o26 = AddInstance("Part",{
  695. Name = "4",
  696. Parent = o1,
  697. Material = Enum.Material.Neon,
  698. BrickColor = BrickColor.new("Really black"),
  699. CanCollide = false,
  700. Size = Vector3.new(0.54285717, 0.657142878, 1.02857149),
  701. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  702. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  703. Transparency = 1,
  704. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  705. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  706. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  707. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  708. Color = Color3.new(0.972549, 0.972549, 0.972549),
  709. Locked = true,
  710. })
  711. local Weld = AddInstance("Weld",{
  712. Parent = o26,
  713. Part0 = o2,
  714. 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),
  715. Part1 = o26,
  716. 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),
  717. })
  718. local o27 = AddInstance("SpecialMesh",{
  719. Parent = o26,
  720. MeshType = Enum.MeshType.Wedge,
  721. })
  722. o28 = AddInstance("Part",{
  723. Name = "11",
  724. Parent = o1,
  725. Material = Enum.Material.Neon,
  726. BrickColor = BrickColor.new("Really black"),
  727. CanCollide = false,
  728. Size = Vector3.new(0.864285767, 0.657142937, 1.02857149),
  729. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  730. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  731. Transparency = 1,
  732. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  733. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  734. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  735. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  736. Color = Color3.new(0.972549, 0.972549, 0.972549),
  737. Locked = true,
  738. })
  739. local Weld = AddInstance("Weld",{
  740. Parent = o28,
  741. Part0 = o2,
  742. 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),
  743. Part1 = o28,
  744. 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),
  745. })
  746. local o29 = AddInstance("SpecialMesh",{
  747. Parent = o28,
  748. MeshType = Enum.MeshType.Wedge,
  749. })
  750. o30 = AddInstance("Part",{
  751. Name = "17",
  752. Parent = o1,
  753. Material = Enum.Material.Granite,
  754. BrickColor = BrickColor.new("Really black"),
  755. CanCollide = false,
  756. Size = Vector3.new(0.542999983, 20, 3.02900004),
  757. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  758. Transparency = 1,
  759. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  760. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  761. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  762. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  763. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  764. Color = Color3.new(0.0666667, 0.0666667, 0.0666667),
  765. Locked = true,
  766. })
  767. local Weld = AddInstance("Weld",{
  768. Parent = o30,
  769. Part0 = o2,
  770. 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),
  771. Part1 = o30,
  772. 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),
  773. })
  774. local o32 = AddInstance("Part",{
  775. Name = "3",
  776. Parent = o1,
  777. Material = Enum.Material.Neon,
  778. BrickColor = BrickColor.new("Really black"),
  779. CanCollide = false,
  780. Size = Vector3.new(0.864285767, 0.657142937, 1.02857149),
  781. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  782. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  783. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  784. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  785. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  786. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  787. Color = Color3.new(0.972549, 0.972549, 0.972549),
  788. Transparency = 1,
  789. Locked = true,
  790. })
  791. local Weld = AddInstance("Weld",{
  792. Parent = o32,
  793. Part0 = o2,
  794. 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),
  795. Part1 = o32,
  796. 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),
  797. })
  798. local o33 = AddInstance("SpecialMesh",{
  799. Parent = o32,
  800. MeshType = Enum.MeshType.Wedge,
  801. })
  802. o34 = AddInstance("Part",{
  803. Name = "18",
  804. Parent = o1,
  805. Material = Enum.Material.Neon,
  806. BrickColor = BrickColor.new("Really black"),
  807. CanCollide = false,
  808. Size = Vector3.new(0.400000006, 6.11428595, 5.03142834),
  809. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  810. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  811. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  812. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  813. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  814. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  815. Color = Color3.new(0.972549, 0.972549, 0.972549),
  816. Transparency = 1,
  817. Locked = true,
  818. })
  819. local Weld = AddInstance("Weld",{
  820. Parent = o34,
  821. Part0 = o2,
  822. 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),
  823. Part1 = o34,
  824. 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),
  825. })
  826. local o35 = AddInstance("SpecialMesh",{
  827. Parent = o34,
  828. MeshType = Enum.MeshType.Wedge,
  829. })
  830. o36 = AddInstance("Part",{
  831. Name = "7",
  832. Parent = o1,
  833. Material = Enum.Material.Granite,
  834. BrickColor = BrickColor.new("Really black"),
  835. CanCollide = false,
  836. Size = Vector3.new(0.542999983, 4.11428595, 3.03142834),
  837. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  838. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  839. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  840. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  841. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  842. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  843. Transparency = 1,
  844. Color = Color3.new(0.0666667, 0.0666667, 0.0666667),
  845. Locked = true,
  846. })
  847. local Weld = AddInstance("Weld",{
  848. Parent = o36,
  849. Part0 = o2,
  850. 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),
  851. Part1 = o36,
  852. 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),
  853. })
  854. local o37 = AddInstance("SpecialMesh",{
  855. Parent = o36,
  856. MeshType = Enum.MeshType.Wedge,
  857. })
  858. local o38 = AddInstance("Part",{
  859. Name = "19",
  860. Parent = o1,
  861. Material = Enum.Material.Neon,
  862. BrickColor = BrickColor.new("Really black"),
  863. CanCollide = false,
  864. Size = Vector3.new(4.54285717, 5.01428556, 1.02857161),
  865. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  866. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  867. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  868. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  869. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  870. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  871. Transparency = 1,
  872. Color = Color3.new(0.972549, 0.972549, 0.972549),
  873. Locked = true,
  874. })
  875. local Weld = AddInstance("Weld",{
  876. Parent = o38,
  877. Part0 = o2,
  878. 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),
  879. Part1 = o38,
  880. 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),
  881. })
  882. local o39 = AddInstance("SpecialMesh",{
  883. Parent = o38,
  884. MeshId = "http://www.roblox.com/asset?id=156292343",
  885. Scale = Vector3.new(7, 7, 15),
  886. MeshType = Enum.MeshType.FileMesh,
  887. })
  888. local o40 = AddInstance("Part",{
  889. Name = "12",
  890. Parent = o1,
  891. Material = Enum.Material.Neon,
  892. BrickColor = BrickColor.new("Really black"),
  893. CanCollide = false,
  894. Size = Vector3.new(4.54285717, 5.01428556, 1.02857161),
  895. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  896. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  897. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  898. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  899. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  900. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  901. Transparency = 1,
  902. Color = Color3.new(0.972549, 0.972549, 0.972549),
  903. Locked = true,
  904. })
  905. local Weld = AddInstance("Weld",{
  906. Parent = o40,
  907. Part0 = o2,
  908. 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),
  909. Part1 = o40,
  910. 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),
  911. })
  912. local o41 = AddInstance("SpecialMesh",{
  913. Parent = o40,
  914. MeshId = "rbxassetid://430139732",
  915. Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001),
  916. MeshType = Enum.MeshType.FileMesh,
  917. })
  918. local o42 = AddInstance("Part",{
  919. Name = "2",
  920. Parent = o1,
  921. Material = Enum.Material.Neon,
  922. BrickColor = BrickColor.new("Really black"),
  923. CanCollide = false,
  924. Size = Vector3.new(0.400000006, 20, 5.02900028),
  925. BackSurface = Enum.SurfaceType.SmoothNoOutlines,
  926. BottomSurface = Enum.SurfaceType.SmoothNoOutlines,
  927. Transparency = 1,
  928. FrontSurface = Enum.SurfaceType.SmoothNoOutlines,
  929. LeftSurface = Enum.SurfaceType.SmoothNoOutlines,
  930. RightSurface = Enum.SurfaceType.SmoothNoOutlines,
  931. TopSurface = Enum.SurfaceType.SmoothNoOutlines,
  932. Color = Color3.new(0.972549, 0.972549, 0.972549),
  933. Locked = true,
  934. })
  935. local Weld = AddInstance("Weld",{
  936. Parent = o42,
  937. Part0 = o2,
  938. 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),
  939. Part1 = o42,
  940. 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),
  941. })
  942. ----------------------------------------------------
  943. local cor = AddInstance("Part",{
  944. Parent = char.Genkadda,
  945. Name = "Thingy",
  946. Locked = true,
  947. BottomSurface = 0,
  948. CanCollide = false,
  949. Size = Vector3.new(5.5, 5.5, 5.5),
  950. Transparency = 1,
  951. TopSurface = 0,
  952. })
  953. local corw = AddInstance("Weld",{
  954. Parent = cor,
  955. Part0 = rarm,
  956. Part1 = cor,
  957. C0 = CFrame.new(0, -3, 0) * CFrame.Angles(0,0,0),
  958. C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0),
  959. })
  960. local weld1 = AddInstance("Weld",{
  961. Parent = char.Genkadda,
  962. Part0 = cor,
  963. Part1 = o2,
  964. C0 = CFrame.new(-7, 57, 0),
  965. 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),
  966. })
  967. ----------------------------------------------------
  968. function Vanish()
  969. for i = 1, 10 do wait()
  970. for i,v in pairs(char.Genkadda:GetChildren()) do
  971. if v:IsA("Part") or v:IsA("WedgePart") then
  972. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  973. v.Transparency = v.Transparency + 0.1
  974.  
  975. end
  976. end
  977. end
  978. end
  979. end
  980. ----------------------------------------------------
  981. function Appear()
  982. for i = 1, 10 do wait()
  983. for i,v in pairs(char.Genkadda:GetChildren()) do
  984. if v:IsA("Part") or v:IsA("WedgePart") then
  985. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  986. v.Transparency = v.Transparency - 0.1
  987. end
  988. end
  989. end
  990. end
  991. end
  992. ----------------------------------------------------
  993. local player = game:GetService("Players").LocalPlayer
  994. local pchar = player.Character
  995. local mouse = player:GetMouse()
  996. local cam = workspace.CurrentCamera
  997.  
  998. local keysDown = {}
  999. local flySpeed = 0
  1000. local MAX_FLY_SPEED = 80
  1001.  
  1002. local canFly = false
  1003. local flyToggled = false
  1004.  
  1005. local forward, side = 0, 0
  1006. local lastForward, lastSide = 0, 0
  1007.  
  1008. local floatBP = Instance.new("BodyPosition")
  1009. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1010. local flyBV = Instance.new("BodyVelocity")
  1011. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1012. local turnBG = Instance.new("BodyGyro")
  1013. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1014.  
  1015. mouse.KeyDown:connect(function(key)
  1016. keysDown[key] = true
  1017.  
  1018. if key == "f" then
  1019. flyToggled = not flyToggled
  1020.  
  1021. if not flyToggled then
  1022. stanceToggle = "Floating"
  1023. floatBP.Parent = nil
  1024. flyBV.Parent = nil
  1025. turnBG.Parent = nil
  1026. root.Velocity = Vector3.new()
  1027. pchar.Humanoid.PlatformStand = false
  1028. end
  1029. end
  1030.  
  1031. end)
  1032. mouse.KeyUp:connect(function(key)
  1033. keysDown[key] = nil
  1034. end)
  1035.  
  1036. local function updateFly()
  1037.  
  1038. if not flyToggled then return end
  1039.  
  1040. lastForward = forward
  1041. lastSide = side
  1042.  
  1043. forward = 0
  1044. side = 0
  1045.  
  1046. if keysDown.w then
  1047. forward = forward + 1
  1048. end
  1049. if keysDown.s then
  1050. forward = forward - 1
  1051. end
  1052. if keysDown.a then
  1053. side = side - 1
  1054. end
  1055. if keysDown.d then
  1056. side = side + 1
  1057. end
  1058.  
  1059. canFly = (forward ~= 0 or side ~= 0)
  1060.  
  1061. if canFly then
  1062. stanceToggle = "Floating"
  1063. turnBG.Parent = root
  1064. floatBP.Parent = nil
  1065. flyBV.Parent = root
  1066.  
  1067. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1068. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1069. else
  1070. floatBP.position = root.Position
  1071. floatBP.Parent = root
  1072.  
  1073. flySpeed = flySpeed - 1
  1074. if flySpeed < 0 then flySpeed = 0 end
  1075. end
  1076.  
  1077. local camCF = cam.CoordinateFrame
  1078. local in_forward = canFly and forward or lastForward
  1079. local in_side = canFly and side or lastSide
  1080.  
  1081. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1082. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1083.  
  1084. turnBG.cframe = camCF * CFrame.Angles(-math.rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1085. 0)
  1086. end
  1087.  
  1088. game:service'RunService'.RenderStepped:connect(function()
  1089. if flyToggled then
  1090. pchar.Humanoid.PlatformStand = true
  1091. end
  1092. updateFly()
  1093. end)
  1094. ----------------------------------------------------
  1095. o42.Touched:connect(function(ht)
  1096. hit = ht.Parent
  1097. if ht and hit:IsA("Model") then
  1098. if hit:FindFirstChild("Humanoid") then
  1099. if hit.Name ~= p.Name then
  1100. if Debounces.Slashing == true and Debounces.Slashed == false then
  1101. Debounces.Slashed = true
  1102. hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  1103. wait(.3)
  1104. Debounces.Slashed = false
  1105. end
  1106. end
  1107. end
  1108. elseif ht and hit:IsA("Hat") then
  1109. if hit.Parent.Name ~= p.Name then
  1110. if hit.Parent:FindFirstChild("Humanoid") then
  1111. if Debounces.Slashing == true and Debounces.Slashed == false then
  1112. Debounces.Slashed = true
  1113. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  1114. wait(.3)
  1115. Debounces.Slashed = false
  1116. end
  1117. end
  1118. end
  1119. end
  1120. end)
  1121. ----------------------------------------------------
  1122. ptz = {0.7, 0.8, 0.9, 1}
  1123. idz = {"161006212", "161006195"}
  1124. mouse.KeyDown:connect(function(key)
  1125. if key == "q" then
  1126. if Debounces.CanAttack == true then
  1127. Debounces.CanAttack = false
  1128. Debounces.NoIdl = true
  1129. Debounces.on = true
  1130. for i = 1, 20 do
  1131. 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)
  1132. 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)
  1133. 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)
  1134. 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)
  1135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  1136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  1137. if Debounces.on == false then break end
  1138. rs:wait(2)
  1139. end
  1140. z = Instance.new("Sound", hed)
  1141. z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
  1142. z.Pitch = ptz[math.random(1,#ptz)]
  1143. z.Volume = math.huge
  1144. wait(.01)
  1145. z:Play()
  1146. Debounces.Slashing = true
  1147. for i = 1, 20 do
  1148. 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)
  1149. 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)
  1150. 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)
  1151. 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)
  1152. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  1153. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  1154. if Debounces.on == false then break end
  1155. rs:wait(2)
  1156. end
  1157. Debounces.Slashing = false
  1158. z:Destroy()
  1159. cor.Weld.C1 = CFrame.Angles(0,0,0)
  1160. if Debounces.CanAttack == false then
  1161. Debounces.CanAttack = true
  1162. Debounces.NoIdl = false
  1163. Debounces.on = false
  1164. end
  1165. end
  1166. end
  1167. end)
  1168.  
  1169.  
  1170. ----------------------------------------------------
  1171. ----------------------------------------------------
  1172. Melee = false
  1173. mouse.KeyDown:connect(function(key)
  1174. if key == "m" then
  1175. if Melee == false then
  1176. Melee = true
  1177. Vanish()
  1178. stanceToggle = "Normal"
  1179. hum.WalkSpeed = 50
  1180.  
  1181. elseif Melee == true then
  1182. Melee = false
  1183. Appear()
  1184. stanceToggle = "Floating"
  1185.  
  1186. hum.WalkSpeed = 5
  1187. end
  1188. end
  1189. end)
  1190. -------------------------------
  1191.  
  1192. -------------------------------
  1193. mouse.KeyDown:connect(function(key)
  1194. if string.byte(key) == 48 then
  1195. if Debounces.CanAttack == true then
  1196. if stanceToggle ~= "Floating" then
  1197. char.Humanoid.WalkSpeed = 80
  1198. elseif Debounces.CanAttack == false then
  1199. elseif stanceToggle == "Floating" then
  1200. wait()
  1201. end
  1202. end
  1203. end
  1204. end)
  1205. mouse.KeyUp:connect(function(key)
  1206. if string.byte(key) == 48 then
  1207. char.Humanoid.WalkSpeed = 16
  1208. end
  1209. end)
  1210. -------------------------------
  1211. local animpose = "Idle"
  1212. local lastanimpose = "Idle"
  1213. local sine = 0
  1214. local change = 1
  1215. local val = 0
  1216. local ffing = false
  1217. -------------------------------
  1218. --[[if stanceToggle == "Sitting" then
  1219. if wait(math.random(1,2)) == 1 then
  1220. stanceToggle = "Sitting2"
  1221. wait(8)
  1222. stanceToggle = "Sitting"
  1223. end
  1224. end]]--
  1225. -------------------------------
  1226. game:GetService("RunService").RenderStepped:connect(function()
  1227. --[[if char.Humanoid.Jump == true then
  1228. jump = true
  1229. else
  1230. jump = false
  1231. end]]
  1232. char.Humanoid.FreeFalling:connect(function(f)
  1233. if f then
  1234. ffing = true
  1235. else
  1236. ffing = false
  1237. end
  1238. end)
  1239. sine = sine + change
  1240. if jumpn == true then
  1241. animpose = "Jumping"
  1242. elseif ffing == true then
  1243. animpose = "Freefalling"
  1244. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1245. animpose = "Idle"
  1246. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1247. animpose = "Walking"
  1248. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1249. animpose = "Running"
  1250. end
  1251. if animpose ~= lastanimpose then
  1252. sine = 0
  1253. if Debounces.NoIdl == false then
  1254. if stanceToggle == "Normal" then
  1255. for i = 1, 2 do
  1256. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1257. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1258. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1259. 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)
  1260. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1261. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -15, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1262. end
  1263. elseif stanceToggle == "Floating" then
  1264. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1265. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1266. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1267. 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)
  1268. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1269. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -16, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1270. wait()
  1271. end
  1272. else
  1273. end
  1274. end
  1275. lastanimpose = animpose
  1276. if Debounces.NoIdl == false then
  1277. if animpose == "Idle" then
  1278. if stanceToggle == "Normal" then
  1279. change = 0.5
  1280. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1281. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1282. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1283. 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)
  1284. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1285. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -15, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1286. elseif stanceToggle == "Melee" then
  1287. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1288. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1289. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1290. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1291. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1292. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1293. elseif stanceToggle == "Floating" then
  1294. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1295. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1296. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1297. 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)
  1298. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1299. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -16, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1300. end
  1301. elseif animpose == "Walking" then
  1302. if stanceToggle == "Normal" then
  1303. change = 1
  1304. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1305. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1306. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1307. 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)
  1308. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1309. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -15, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1310. elseif stanceToggle == "Melee" then
  1311. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1312. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1313. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1314. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1315. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1316. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1317. elseif stanceToggle == "Floating" then
  1318. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(14.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)
  1319. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-14.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)
  1320. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1321. 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)
  1322. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-5, -16, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1323. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(5, -16, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1324. end
  1325. elseif animpose == "Running" then
  1326. if stanceToggle == "Normal" then
  1327. change = 1
  1328. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.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)
  1329. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.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)
  1330. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1331. 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)
  1332. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2, -6, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1333. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2, -6, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1334. elseif stanceToggle == "Floating" then
  1335. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.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)
  1336. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.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)
  1337. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,20,-.8)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1338. 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)
  1339. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2, -6, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1340. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2, -6, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1341. end
  1342. end
  1343. end
  1344. end)
  1345.  
  1346.  
  1347.  
  1348. Spawn(function()
  1349. while wait() do
  1350. updateFly()
  1351. end
  1352. end)
  1353.  
  1354. local length = 90 --Length of cape in studs
  1355. local width = 27 --Width of cape
  1356. local thickness = 2 --How thick the cape is
  1357. local flourish = 30 --Widening towards bottom of cape
  1358. local thicken = -2 --Thickening towards bottom of cape
  1359. local segments = 20 --Segments of cape
  1360.  
  1361. local color = BrickColor.new("Really black") --What color the cape is, BrickColor name goes between quatations
  1362. local material = Enum.Material.Slate --What material the cape is
  1363. local reflectance = 0 --How reflective the cape is
  1364. local transparency = 0 --How transparent the cape is
  1365.  
  1366. local yOffset = 0 --This will raise or lower where the cape is on the player. Can be used for tails.
  1367.  
  1368.  
  1369. -- Advanced Customization -- You might not want to mess with these unless you know what you are doing.
  1370. local updatePercentage = 0.75--Cape will update to this percent velocity with the remaining as reminence from old velocity
  1371. local terminalVelo = 40 --Cape height will cap at this speed
  1372. local veloDivider = 5 --Velocity (not capped by terminal velocity) will be divided by this to lower the trail
  1373. local walkingMP = 30 --Multiplier for trail effect while moving, higher = more trail-y while walking
  1374. local backTrailMP = 30 --This makes the cape move backward a little more while moving, higher = more trail-y all around
  1375.  
  1376. local unitCap = 1 --This helps limit values. I DO NOT RECOMEND CHANGING THIS!
  1377.  
  1378. local maxSegmentAngle = -20 --This is how much segments can rotate from eachother.
  1379. local upperAngle = -45 --How cape flows idly and when trailing. The closer to zero the straighter.
  1380.  
  1381.  
  1382.  
  1383. -- Variables -- Waits for stuff to load in.
  1384. local plr = game.Players.LocalPlayer
  1385. local char = plr.Character or plr.CharacterAdded:wait()
  1386. local hum = char:WaitForChild("Humanoid")
  1387. local root = char:WaitForChild("HumanoidRootPart")
  1388. local torso = char:WaitForChild("Torso")
  1389.  
  1390. local hb = game:GetService("RunService").Heartbeat
  1391.  
  1392.  
  1393. -- Instances -- Now the real code begins...
  1394. local cape = Instance.new("Model", char)
  1395. cape.Name = "Cape"
  1396.  
  1397. if segments*0.2 > length then --If there are too many segments, this will automatically shorten the cape to what you want
  1398. segments = math.floor(length/0.2 + 0.5)
  1399. end
  1400.  
  1401. local segBase = Instance.new("Part")
  1402. segBase.Size = Vector3.new(width, length/segments, thickness)
  1403. segBase.CanCollide = false
  1404. segBase.BrickColor = color
  1405. segBase.Material = material
  1406. segBase.Reflectance = reflectance
  1407. segBase.Transparency = transparency
  1408. segBase.BottomSurface = Enum.SurfaceType.Smooth
  1409. wait(0.5)
  1410. segBase.CanCollide = true
  1411. segBase.TopSurface = Enum.SurfaceType.Smooth
  1412. segBase.CFrame = root.CFrame
  1413. segBase.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0,0,0,0)
  1414.  
  1415. if thickness < 0.2 then --For otherwise impossible-to-reach thickness-es
  1416. local bMesh = Instance.new("BlockMesh", segBase)
  1417. bMesh.Scale = Vector3.new(1,1,(thickness/0.2))
  1418. end
  1419.  
  1420. local jointBase = Instance.new("HingeConstraint")
  1421. jointBase.LimitsEnabled = true
  1422. jointBase.LowerAngle = maxSegmentAngle --Limits cape up/down angle
  1423. jointBase.Restitution = 0
  1424. jointBase.UpperAngle = upperAngle --Cape automatically splays out with this rotation; this is changed per-segment
  1425.  
  1426. local asBase = Instance.new("Attachment")
  1427. asBase.Name = "Start"
  1428. asBase.Position = Vector3.new(-segBase.Size.X/2,segBase.Size.Y/2,0)
  1429. asBase.Axis = Vector3.new(1,0,0)
  1430. asBase.SecondaryAxis = Vector3.new(0,1,0)
  1431. local asBase2 = asBase:Clone()
  1432. asBase2.Position = Vector3.new(-asBase2.Position.X, asBase2.Position.Y, asBase2.Position.Z)
  1433.  
  1434. local aeBase = Instance.new("Attachment")
  1435. aeBase.Name = "End"
  1436. aeBase.Position = Vector3.new(-segBase.Size.X/2,-segBase.Size.Y/2,0)
  1437. aeBase.Axis = Vector3.new(1,0,0)
  1438. aeBase.SecondaryAxis = Vector3.new(0,1,0)
  1439. local aeBase2 = aeBase:Clone()
  1440. aeBase2.Position = Vector3.new(-aeBase2.Position.X, aeBase2.Position.Y, aeBase2.Position.Z)
  1441.  
  1442. local startPos = torso.CFrame --torso:GetRenderCFrame() --RenderCFrame is not best for freshly-spawned players...
  1443. startPos = startPos - (startPos.lookVector*0.2) + Vector3.new(0,torso.Size.Y/2 + yOffset,0)
  1444.  
  1445. local lastEnd = asBase:Clone()
  1446. lastEnd.Position = Vector3.new(-torso.Size.X/2, torso.Size.Y/2 + yOffset, torso.Size.Z/2)
  1447. lastEnd.Parent = torso
  1448. local lastEnd2 = lastEnd:Clone()
  1449. lastEnd2.Position = Vector3.new(-lastEnd2.Position.X, lastEnd2.Position.Y, lastEnd2.Position.Z)
  1450. lastEnd2.Parent = torso
  1451.  
  1452.  
  1453.  
  1454. -- Generation --
  1455. wait(0.125) --Player instantly dies upon first spawn otherise... :/
  1456. --Change at your own risk!
  1457. local segs = {}
  1458. for i = 1, segments do
  1459. local seg = segBase:Clone()
  1460. seg.Name = "Segment"..i
  1461. seg.Size = seg.Size + Vector3.new((flourish/segments)*i,0,(thicken/segments)*i)
  1462.  
  1463. if i == 1 then
  1464. seg.CFrame = startPos
  1465. else
  1466. seg.CFrame = segs[i-1].CFrame
  1467. end
  1468.  
  1469. seg.Parent = cape
  1470. segs[#segs+1] = seg
  1471. local as = asBase:Clone()
  1472. as.Parent = seg
  1473. local ae = aeBase:Clone()
  1474. ae.Parent = seg
  1475. local as2 = asBase2:Clone()
  1476. as2.Parent = seg
  1477. local ae2 = aeBase2:Clone()
  1478. ae2.Parent = seg
  1479.  
  1480. local joint = jointBase:Clone()
  1481. joint.Parent = seg
  1482. joint.Attachment0 = lastEnd
  1483. joint.Attachment1 = as
  1484. local joint2 = jointBase:Clone()
  1485. joint2.Parent = seg
  1486. joint2.Attachment0 = lastEnd2
  1487. joint2.Attachment1 = as2
  1488.  
  1489. lastEnd = ae
  1490. lastEnd2 = ae2
  1491.  
  1492. if i <= segments/3 then
  1493. joint.UpperAngle = joint.UpperAngle/(i*3)
  1494. joint2.UpperAngle = joint2.UpperAngle/(i*3)
  1495. else
  1496. joint.UpperAngle = 0
  1497. joint2.UpperAngle = 0
  1498. end
  1499. end
  1500.  
  1501. local force = {}
  1502. for i = 1, #segs do
  1503. segs[i].Velocity = Vector3.new()
  1504. force[#force+1] = Instance.new("BodyForce", segs[i])
  1505. force[#force].Force = Vector3.new()
  1506. end
  1507.  
  1508.  
  1509.  
  1510. -- Forcery -- Like sorcery but with forces *Puts on sunglasses.* Deal with it. >:3
  1511. if updatePercentage > unitCap then updatePercentage = unitCap end
  1512.  
  1513. local cForce = 0
  1514. local lForce = 0
  1515. while hum.Health > 0 and force ~= nil and torso ~= nil and torso.Parent ~= nil and cape ~= nil and cape.Parent ~= nil do
  1516. hb:wait()
  1517. local velo = torso.Velocity.magnitude/terminalVelo
  1518. if velo > unitCap then velo = unitCap end
  1519. cForce = (velo*updatePercentage + lForce*(1-updatePercentage))/veloDivider
  1520. if hum.MoveDirection.magnitude ~= 0 then cForce = cForce*walkingMP end
  1521. if cForce > unitCap then cForce = unitCap end
  1522. cForce = cForce/3.5
  1523. for i = 1, #force do
  1524. force[i].Force = Vector3.new(0,cForce,0) - (torso:GetRenderCFrame().lookVector/backTrailMP*cForce)
  1525. end
  1526. lForce = cForce
  1527. end
  1528. for i = 1, #force do --Cape falls to ground upon death. May fall through ground too. Works nice with my ragoll script.
  1529. force[i].Force = Vector3.new()
  1530. end
  1531.  
  1532. Spawn(function()
  1533. while wait(0) do
  1534. hum.MaxHealth = 1.79769e+308
  1535. hum.Health = 1.79769e+308
  1536. end
  1537. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement