rcubed1003

hooded titan with yellow sword fe ver

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