Advertisement
Abejaron23

Untitled

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