Advertisement
breezyshadow012

MY EDITED BIGGEST TITAN

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