Advertisement
lafur

Untitled

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