Advertisement
lafur

Untitled

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