DaOMEGAa32

fe lightning titan

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