Advertisement
uor

Untitled

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