DarkScriptZEditors

Fe Dark Titan

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