Advertisement
13242

Untitled

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