SHARE
TWEET

Untitled

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