cat568

test

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