Vechol

uhh for sure this one

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