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