gecksad

Untitled

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