SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local p = game.Players.LocalPlayer |
| 1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | do | |
| 4 | - | local mouse = p:GetMouse() |
| 4 | + | print("FE Compatibility code by Mokiros")
|
| 5 | script.Parent = Player.Character | |
| 6 | ||
| 7 | --RemoteEvent for communicating | |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | t.Function(...) | |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | for _,k in pairs(t.Keys) do | |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | local p = owner | |
| 84 | player = p | |
| 85 | local char = p.Character | |
| 86 | local larm = char["Left Arm"] | |
| 87 | local rarm = char["Right Arm"] | |
| 88 | local lleg = char["Left Leg"] | |
| 89 | local rleg = char["Right Leg"] | |
| 90 | local hed = char.Head | |
| 91 | local torso = char.Torso | |
| 92 | local hum = char.Humanoid | |
| 93 | local cam = game.Workspace.CurrentCamera | |
| 94 | local root = char.HumanoidRootPart | |
| 95 | local deb = false | |
| 96 | local shot = 0 | |
| 97 | local rs = game:GetService("RunService").RenderStepped
| |
| 98 | local stanceToggle = "Landed" | |
| 99 | local animpose = "Landed" | |
| 100 | local lastanimpose = "Landed" | |
| 101 | math.randomseed(os.time()) | |
| 102 | ||
| 103 | for i, v in pairs(char:children()) do | |
| 104 | if v:IsA("Hat") then
| |
| 105 | v:Destroy() | |
| 106 | end | |
| 107 | end | |
| 108 | ||
| 109 | Debounces = {
| |
| 110 | CanAttack = true, | |
| 111 | CanJoke = true, | |
| 112 | on = false, | |
| 113 | NoIdl = false, | |
| 114 | Slashing = false, | |
| 115 | Slashed = false, | |
| 116 | Reaping = false, | |
| 117 | Reaped = false, | |
| 118 | Invisible = false | |
| 119 | } | |
| 120 | local Touche = {
| |
| 121 | char.Name | |
| 122 | } | |
| 123 | function Magik() | |
| 124 | Spawn(function() | |
| 125 | if Debounces.Invisible == false then | |
| 126 | local lerp = function(a, b, c) | |
| 127 | return a + (b - a) * c | |
| 128 | end | |
| 129 | local rndRange = function(rng) | |
| 130 | return math.random(-rng * 1000, rng * 1000) / 1000 | |
| 131 | end | |
| 132 | local magik = Instance.new("Part", larm)
| |
| 133 | local Colors = {
| |
| 134 | "Really red", | |
| 135 | "Really black" | |
| 136 | } | |
| 137 | magik.Anchored = true | |
| 138 | magik.Locked = true | |
| 139 | magik.FormFactor = "Custom" | |
| 140 | magik.Size = Vector3.new(1.2, 1.2, 1.2) | |
| 141 | magik.TopSurface = "Smooth" | |
| 142 | magik.Transparency = 0 | |
| 143 | magik.BottomSurface = "Smooth" | |
| 144 | magik.CanCollide = false | |
| 145 | magik.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)]) | |
| 146 | local mr = math.rad | |
| 147 | local rnx, rny, rnz = mr(rndRange(180)), mr(rndRange(180)), mr(rndRange(180)) | |
| 148 | local cf = larm.CFrame * CFrame.new(0, -0.8, 0) * CFrame.Angles(rnx, rny, rnz) | |
| 149 | magik.CFrame = cf | |
| 150 | for i = 0, 1, 0.05 do | |
| 151 | local newTrans = lerp(0.5, 1, i) | |
| 152 | local ns = lerp(1, 1.2, i) | |
| 153 | magik.Transparency = newTrans | |
| 154 | magik.Size = Vector3.new(ns, ns, ns) | |
| 155 | magik.CFrame = cf | |
| 156 | rs:wait() | |
| 157 | end | |
| 158 | magik:Destroy() | |
| 159 | elseif Debounces.Invisible == true then | |
| 160 | wait() | |
| 161 | end | |
| 162 | end) | |
| 163 | end | |
| 164 | function Orb() | |
| 165 | local Head = char.Head | |
| 166 | local DistanceAway = 4 | |
| 167 | local Speed = 2.4 | |
| 168 | local YNum = 0 | |
| 169 | local MaxY = 0.5 | |
| 170 | local MinY = -0.5 | |
| 171 | local Up = true | |
| 172 | local Colours = {
| |
| 173 | {
| |
| 174 | X = 0.1, | |
| 175 | Y = 0, | |
| 176 | Z = 0 | |
| 177 | }, | |
| 178 | {
| |
| 179 | X = 0.6, | |
| 180 | Y = 0, | |
| 181 | Z = 0 | |
| 182 | } | |
| 183 | } | |
| 184 | function Run(Func) | |
| 185 | local Ok, Err = coroutine.resume(coroutine.create(Func)) | |
| 186 | if not Ok then | |
| 187 | print(Err) | |
| 188 | end | |
| 189 | end | |
| 190 | local Part = Instance.new("Part")
| |
| 191 | Part.BrickColor = BrickColor.new("Really black")
| |
| 192 | Part.FormFactor = "Custom" | |
| 193 | Part.Size = Vector3.new(1, 1, 1) | |
| 194 | Part.Archivable = true | |
| 195 | Part.CanCollide = false | |
| 196 | Part.Locked = true | |
| 197 | Part.Position = Head.Position | |
| 198 | Part.Anchored = true | |
| 199 | Part.Name = "Orb" | |
| 200 | Part.TopSurface = "Smooth" | |
| 201 | Part.BottomSurface = "Smooth" | |
| 202 | Part.Parent = char | |
| 203 | local Mesh = Instance.new("SpecialMesh", Part)
| |
| 204 | Mesh.MeshId = "rbxassetid://1185246" | |
| 205 | Mesh.TextureId = "rbxassetid://230806497" | |
| 206 | Mesh.Scale = Part.Size * 1.5 | |
| 207 | Mesh.VertexColor = Vector3.new(0, 0, 0) | |
| 208 | local Emitter = Instance.new("ParticleEmitter", Part)
| |
| 209 | local color1 = Color3.new(1, 0, 0) | |
| 210 | local color2 = Color3.new(0, 0, 0) | |
| 211 | Emitter.Color = ColorSequence.new(color1, color2) | |
| 212 | Emitter.Size = NumberSequence.new(0.8) | |
| 213 | Emitter.Texture = "rbxassetid://243098098" | |
| 214 | Emitter.Lifetime = NumberRange.new(1) | |
| 215 | Emitter.Rate = 200 | |
| 216 | Emitter.Rotation = NumberRange.new(720) | |
| 217 | Emitter.RotSpeed = NumberRange.new(140) | |
| 218 | Emitter.Speed = NumberRange.new(0) | |
| 219 | Run(function() | |
| 220 | local ColorNum = 2 | |
| 221 | local Iter = 2 | |
| 222 | local CurrentX = 0 | |
| 223 | local CurrentY = 0 | |
| 224 | local CurrentZ = 0 | |
| 225 | for i = 1, math.huge / 0.05 do | |
| 226 | if Part.Parent ~= nil then | |
| 227 | local PrevColTab = Colours[ColorNum - 1] or Colours[#Colours] | |
| 228 | local ColTab = Colours[ColorNum] | |
| 229 | if tostring(CurrentX) ~= tostring(ColTab.X) then | |
| 230 | CurrentX = 0 < ColTab.X - PrevColTab.X and CurrentX + 0.01 or Iter <= 1.01 and 0.2 or CurrentX - 0.01 | |
| 231 | end | |
| 232 | if tostring(CurrentY) ~= tostring(ColTab.Y) then | |
| 233 | CurrentY = 0 < ColTab.Y - PrevColTab.Y and CurrentY + 0.01 or Iter <= 1.01 and 0 or CurrentY - 0.01 | |
| 234 | end | |
| 235 | if tostring(CurrentZ) ~= tostring(ColTab.Z) then | |
| 236 | CurrentZ = 0 < ColTab.Z - PrevColTab.Z and CurrentZ + 0.01 or Iter <= 1.01 and 0 or CurrentZ - 0.01 | |
| 237 | end | |
| 238 | Mesh.VertexColor = Vector3.new(CurrentX, CurrentY, CurrentZ) | |
| 239 | if Iter < 1.01 or Iter > 2 then | |
| 240 | ColorNum = ColorNum == #Colours and 1 or ColorNum + 1 | |
| 241 | Iter = 2 | |
| 242 | else | |
| 243 | Iter = Iter - 0.01 | |
| 244 | end | |
| 245 | game:GetService("RunService").RenderStepped:wait()
| |
| 246 | else | |
| 247 | break | |
| 248 | end | |
| 249 | end | |
| 250 | end) | |
| 251 | Run(function() | |
| 252 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 253 | if char:findFirstChild("Torso") then
| |
| 254 | local TorCF = char.Torso.CFrame | |
| 255 | local currentPos = Part.CFrame.p | |
| 256 | local X = math.sin(math.rad(360) + time() / Speed) * DistanceAway | |
| 257 | local Z = math.cos(math.rad(360) + time() / Speed) * DistanceAway / 2 | |
| 258 | local Y = 0.002 | |
| 259 | if YNum > MaxY then | |
| 260 | Up = false | |
| 261 | elseif YNum < MinY then | |
| 262 | Up = true | |
| 263 | end | |
| 264 | if Up == false then | |
| 265 | Y = -Y | |
| 266 | end | |
| 267 | YNum = YNum + Y | |
| 268 | local endPos = (TorCF * CFrame.new(X, 0, Z)).p | |
| 269 | local movePos = (endPos - currentPos) * 0.25 | |
| 270 | currentPos = currentPos + movePos | |
| 271 | Part.CFrame = CFrame.new(currentPos + Vector3.new(0, YNum, 0), TorCF.p) | |
| 272 | end | |
| 273 | end) | |
| 274 | end) | |
| 275 | end | |
| 276 | Orb() | |
| 277 | function Singularity() | |
| 278 | pt = Instance.new("Part")
| |
| 279 | pt.Parent = char | |
| 280 | pt.Name = "Singularity" | |
| 281 | pt.BrickColor = BrickColor.new("Really black")
| |
| 282 | pt.Size = Vector3.new(1.8, 1, 1.8) | |
| 283 | ptmesh = Instance.new("CylinderMesh", pt)
| |
| 284 | ptmesh.Scale = Vector3.new(1.8, 0.1, 1.8) | |
| 285 | ptweld = Instance.new("Weld", pt)
| |
| 286 | ptweld.Part0 = larm | |
| 287 | ptweld.Part1 = pt | |
| 288 | ptweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 289 | ptweld.C1 = CFrame.new(0, 0, 0) | |
| 290 | local childList = {}
| |
| 291 | local childSize = {}
| |
| 292 | local massConstant = 1 | |
| 293 | mass = 24000 * massConstant | |
| 294 | function cross(v1, v2) | |
| 295 | return Vector3.new(v1.y * v2.z - v2.y * v1.z, v1.z * v2.x - v1.x * v2.z, v1.x * v2.y - v2.x * v1.y) | |
| 296 | end | |
| 297 | local min = 0 | |
| 298 | local max = 4 | |
| 299 | while true do | |
| 300 | repeat | |
| 301 | wait() | |
| 302 | local n = 0 | |
| 303 | while true do | |
| 304 | if n % 800 == 0 then | |
| 305 | wait() | |
| 306 | end | |
| 307 | n = n + 1 | |
| 308 | local child = childList[n] | |
| 309 | if child ~= pt and child.Parent ~= char and child.Parent ~= char.Wings and child.Parent ~= char.Scythe and child.className == "Part" and child.Anchored == false then | |
| 310 | local relPos = pt.Position - child.Position | |
| 311 | if relPos.magnitude * 240 * massConstant < mass then | |
| 312 | child.RotVelocity = cross(child.CFrame.lookVector, relPos) * 20 / relPos.magnitude | |
| 313 | local canContinue = true | |
| 314 | if relPos.magnitude * 320 * massConstant < mass then | |
| 315 | local length = mass / (320 * relPos.magnitude * massConstant) | |
| 316 | if childSize[n].z * length > relPos.magnitude * 2 then | |
| 317 | mass = mass + child:GetMass() | |
| 318 | child:Remove() | |
| 319 | table.remove(childList, n) | |
| 320 | table.remove(childSize, n) | |
| 321 | canContinue = true | |
| 322 | n = n - 1 | |
| 323 | else | |
| 324 | child.CanCollide = true | |
| 325 | end | |
| 326 | end | |
| 327 | motivator = child:FindFirstChild("Singularity")
| |
| 328 | motivator = Instance.new("BodyPosition")
| |
| 329 | motivator.Parent = child | |
| 330 | motivator.Name = "Singularity" | |
| 331 | motivator.position = pt.Position | |
| 332 | motivator.maxForce = Vector3.new(1, 1, 1) * mass * child:GetMass() / (relPos.magnitude * massConstant) | |
| 333 | end | |
| 334 | end | |
| 335 | end | |
| 336 | until n < #childList | |
| 337 | end | |
| 338 | end | |
| 339 | function Part(x, y, z, color, tr, cc, an, parent) | |
| 340 | local p = Instance.new("Part", parent or Weapon)
| |
| 341 | p.formFactor = "Custom" | |
| 342 | p.Size = Vector3.new(x, y, z) | |
| 343 | p.BrickColor = BrickColor.new(color) | |
| 344 | p.CanCollide = cc | |
| 345 | p.Transparency = tr | |
| 346 | p.Anchored = an | |
| 347 | p.TopSurface, p.BottomSurface = 0, 0 | |
| 348 | p.Locked = true | |
| 349 | p:BreakJoints() | |
| 350 | return p | |
| 351 | end | |
| 352 | function Mesh(par, num, x, y, z) | |
| 353 | local msh = _ | |
| 354 | if num == 1 then | |
| 355 | msh = Instance.new("CylinderMesh", par)
| |
| 356 | elseif num == 2 then | |
| 357 | msh = Instance.new("SpecialMesh", par)
| |
| 358 | msh.MeshType = 3 | |
| 359 | elseif num == 3 then | |
| 360 | msh = Instance.new("BlockMesh", par)
| |
| 361 | elseif num == 4 then | |
| 362 | msh = Instance.new("SpecialMesh", par)
| |
| 363 | msh.MeshType = "Torso" | |
| 364 | elseif type(num) == "string" then | |
| 365 | msh = Instance.new("SpecialMesh", par)
| |
| 366 | msh.MeshId = num | |
| 367 | end | |
| 368 | msh.Scale = Vector3.new(x, y, z) | |
| 369 | return msh | |
| 370 | end | |
| 371 | function explosion(col1, col2, cfr, sz, rng, dmg) | |
| 372 | local a = Part(1, 1, 1, col1, 0.5, false, true, char) | |
| 373 | local a2 = Part(1, 1, 1, col2, 0.5, false, true, char) | |
| 374 | local a3 = Part(1, 1, 1, col2, 0.5, false, true, char) | |
| 375 | v1, v2, v3 = sz.x, sz.y, sz.z | |
| 376 | local m = Mesh(a, "http://www.roblox.com/asset/?id=1185246", v1, v2, v3) | |
| 377 | local m2 = Mesh(a2, 3, v1 / 3, v2 / 3, v3 / 3) | |
| 378 | local m3 = Mesh(a3, 3, v1 / 3, v2 / 3, v3 / 3) | |
| 379 | a.CFrame = cfr | |
| 380 | a2.CFrame = cfr * CFrame.Angles(math.random(), math.random(), math.random()) | |
| 381 | a3.CFrame = cfr * CFrame.Angles(math.random(), math.random(), math.random()) | |
| 382 | for i, v in pairs(workspace:children()) do | |
| 383 | if v:IsA("Model") and v:findFirstChild("Humanoid") and v:FindFirstChild("Armed") ~= nil and v:findFirstChild("Head") and v:findFirstChild("Torso") and rng > (v:findFirstChild("Torso").Position - a.Position).magnitude and v.Name ~= char.Name then
| |
| 384 | local hit = v | |
| 385 | hit.Humanoid.Health = v.Humanoid.Health - dmg | |
| 386 | hit.Torso.Velocity = Vector3.new(math.random(-30, 30), 30, math.random(-30, 30)) | |
| 387 | wait(0.1) | |
| 388 | end | |
| 389 | end | |
| 390 | Spawn(function() | |
| 391 | while wait() do | |
| 392 | if a.Transparency >= 1 then | |
| 393 | a:Destroy() | |
| 394 | a2:Destroy() | |
| 395 | a3:Destroy() | |
| 396 | break | |
| 397 | end | |
| 398 | m.Scale = m.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 399 | m2.Scale = m2.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 400 | m3.Scale = m3.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 401 | a.Transparency = a.Transparency + 0.05 | |
| 402 | a2.Transparency = a2.Transparency + 0.05 | |
| 403 | a3.Transparency = a3.Transparency + 0.05 | |
| 404 | end | |
| 405 | end) | |
| 406 | end | |
| 407 | local keyVectors = {
| |
| 408 | w = Vector3.new(0, 0, 1), | |
| 409 | a = Vector3.new(1, 0, 0), | |
| 410 | s = Vector3.new(0, 0, -1), | |
| 411 | d = Vector3.new(-1, 0, 0) | |
| 412 | } | |
| 413 | local flySpeed = 30 | |
| 414 | local canFly = false | |
| 415 | char.Humanoid.WalkSpeed = 5 | |
| 416 | function lerp(a, b, t) | |
| 417 | return a + (b - a) * t | |
| 418 | end | |
| 419 | function slerp(a, b, t) | |
| 420 | dot = a:Dot(b) | |
| 421 | if dot > 0.99999 or dot < -0.99999 then | |
| 422 | return t <= 0.5 and a or b | |
| 423 | else | |
| 424 | r = math.acos(dot) | |
| 425 | return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r) | |
| 426 | end | |
| 427 | end | |
| 428 | function matrixInterpolate(a, b, t) | |
| 429 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 430 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 431 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t) | |
| 432 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) | |
| 433 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) | |
| 434 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) | |
| 435 | local t = v1:Dot(v2) | |
| 436 | if not (t < 0) and t ~= 0 and not (t > 0) then | |
| 437 | return CFrame.new() | |
| 438 | end | |
| 439 | return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z) | |
| 440 | end | |
| 441 | function genWeld(a, b) | |
| 442 | local w = Instance.new("Weld", a)
| |
| 443 | w.Part0 = a | |
| 444 | w.Part1 = b | |
| 445 | return w | |
| 446 | end | |
| 447 | function weld(a, b) | |
| 448 | local weld = Instance.new("Weld")
| |
| 449 | weld.Name = "W" | |
| 450 | weld.Part0 = a | |
| 451 | weld.Part1 = b | |
| 452 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 453 | weld.Parent = a | |
| 454 | return weld | |
| 455 | end | |
| 456 | function Lerp(c1, c2, al) | |
| 457 | local com1 = {
| |
| 458 | c1.X, | |
| 459 | c1.Y, | |
| 460 | c1.Z, | |
| 461 | c1:toEulerAnglesXYZ() | |
| 462 | } | |
| 463 | local com2 = {
| |
| 464 | c2.X, | |
| 465 | c2.Y, | |
| 466 | c2.Z, | |
| 467 | c2:toEulerAnglesXYZ() | |
| 468 | } | |
| 469 | for i, v in pairs(com1) do | |
| 470 | com1[i] = v + (com2[i] - v) * al | |
| 471 | end | |
| 472 | return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1))) | |
| 473 | end | |
| 474 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
| 475 | wld = Instance.new("Weld", wp1)
| |
| 476 | wld.Part0 = wp0 | |
| 477 | wld.Part1 = wp1 | |
| 478 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 479 | end | |
| 480 | function HasntTouched(plrname) | |
| 481 | local ret = true | |
| 482 | for _, v in pairs(Touche) do | |
| 483 | if v == plrname then | |
| 484 | ret = false | |
| 485 | end | |
| 486 | end | |
| 487 | return ret | |
| 488 | end | |
| 489 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 490 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 491 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 492 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 493 | newWeld(torso, hed, 0, 1.5, 0) | |
| 494 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 495 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 496 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 497 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 498 | newWeld(root, torso, 0, -1, 0) | |
| 499 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 500 | lite = Instance.new("PointLight")
| |
| 501 | lite.Parent = torso | |
| 502 | lite.Brightness = 10 | |
| 503 | lite.Range = 8 | |
| 504 | lite.Color = Color3.new(1, 0, 0) | |
| 505 | tex = {
| |
| 506 | "227614710", | |
| 507 | "227614744", | |
| 508 | "176349813" | |
| 509 | } | |
| 510 | ||
| 511 | hed.face:Destroy() | |
| 512 | for i, v in pairs(hed:children()) do | |
| 513 | if v:IsA("Sound") then
| |
| 514 | v:Destroy() | |
| 515 | end | |
| 516 | end | |
| 517 | local m = Instance.new("Model")
| |
| 518 | m.Name = "Wings" | |
| 519 | p1 = Instance.new("Part", m)
| |
| 520 | p1.Locked = true | |
| 521 | p1.BrickColor = BrickColor.new("Really black")
| |
| 522 | p1.Material = Enum.Material.Granite | |
| 523 | p1.CFrame = CFrame.new(4.00505066, 33.4928169, -4.82146454, 0.183114901, -0.683006704, -0.707055748, -0.0731125548, -0.726672411, 0.683047652, -0.98032999, -0.0733708739, -0.183036968) | |
| 524 | p1.CanCollide = false | |
| 525 | p1.Locked = true | |
| 526 | p1.FormFactor = Enum.FormFactor.Symmetric | |
| 527 | p1.Elasticity = 0 | |
| 528 | p1.Size = Vector3.new(1, 1, 1) | |
| 529 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 530 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 531 | b1 = Instance.new("BlockMesh", p1)
| |
| 532 | b1.Name = "Mesh" | |
| 533 | b1.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 534 | p2 = Instance.new("Part", m)
| |
| 535 | p2.Locked = true | |
| 536 | p2.BrickColor = BrickColor.new("Really black")
| |
| 537 | p2.Material = Enum.Material.Granite | |
| 538 | p2.CFrame = CFrame.new(4.74708462, 33.9485626, -4.68552876, 0.250160784, -0.932976127, -0.258712411, -0.0848884508, -0.287296951, 0.954047561, -0.96443516, -0.216712922, -0.15110597) | |
| 539 | p2.CanCollide = false | |
| 540 | p2.Locked = true | |
| 541 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 542 | p2.Elasticity = 0 | |
| 543 | p2.Size = Vector3.new(1, 1, 1) | |
| 544 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 545 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 546 | b2 = Instance.new("BlockMesh", p2)
| |
| 547 | b2.Name = "Mesh" | |
| 548 | b2.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 549 | p3 = Instance.new("Part", m)
| |
| 550 | p3.Locked = true | |
| 551 | p3.BrickColor = BrickColor.new("Really black")
| |
| 552 | p3.Material = Enum.Material.Granite | |
| 553 | p3.CFrame = CFrame.new(5.5990572, 33.9660759, -4.46874762, 0.250122428, -0.932927489, 0.258925021, -0.100628398, 0.240945876, 0.965283036, -0.962929666, -0.267520964, -0.0336397961) | |
| 554 | p3.CanCollide = false | |
| 555 | p3.Locked = true | |
| 556 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 557 | p3.Elasticity = 0 | |
| 558 | p3.Size = Vector3.new(1, 1, 1) | |
| 559 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 560 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 561 | b3 = Instance.new("BlockMesh", p3)
| |
| 562 | b3.Name = "Mesh" | |
| 563 | b3.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 564 | p4 = Instance.new("Part", m)
| |
| 565 | p4.Locked = true | |
| 566 | p4.BrickColor = BrickColor.new("Really black")
| |
| 567 | p4.Material = Enum.Material.Granite | |
| 568 | p4.CFrame = CFrame.new(4.69753027, 32.2661591, -5.10262108, 0.999978602, 3.89814377E-5, -1.2204051E-5, -5.93364239E-5, 0.965853453, -0.258997083, 1.88481063E-5, 0.258963734, 0.965852261) | |
| 569 | p4.CanCollide = false | |
| 570 | p4.Locked = true | |
| 571 | p4.FormFactor = Enum.FormFactor.Symmetric | |
| 572 | p4.Elasticity = 0 | |
| 573 | p4.Size = Vector3.new(1, 4, 1) | |
| 574 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 575 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 576 | b4 = Instance.new("BlockMesh", p4)
| |
| 577 | b4.Name = "Mesh" | |
| 578 | b4.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 579 | p5 = Instance.new("Part", m)
| |
| 580 | p5.Locked = true | |
| 581 | p5.BrickColor = BrickColor.new("Really black")
| |
| 582 | p5.Material = Enum.Material.Granite | |
| 583 | p5.CFrame = CFrame.new(3.19703007, 32.616993, -4.90421152, 0.18311964, -0.707020223, 0.683042347, -0.0731106997, 0.683084905, 0.726637542, -0.980329216, -0.183035403, 0.0733848959) | |
| 584 | p5.CanCollide = false | |
| 585 | p5.Locked = true | |
| 586 | p5.FormFactor = Enum.FormFactor.Symmetric | |
| 587 | p5.Elasticity = 0 | |
| 588 | p5.Size = Vector3.new(1, 1, 2) | |
| 589 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 590 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 591 | b5 = Instance.new("SpecialMesh", p5)
| |
| 592 | b5.MeshType = Enum.MeshType.Wedge | |
| 593 | b5.Name = "Mesh" | |
| 594 | b5.Scale = Vector3.new(0.319999993, 0.299999923, 0.699999928) | |
| 595 | p6 = Instance.new("Part", m)
| |
| 596 | p6.Locked = true | |
| 597 | p6.BrickColor = BrickColor.new("Really black")
| |
| 598 | p6.Material = Enum.Material.Granite | |
| 599 | p6.CFrame = CFrame.new(3.69605827, 31.8634911, -4.90406418, 0.994495451, 0.104575306, -1.62813812E-5, -0.103575408, 0.984787226, -0.13935037, -0.0145363435, 0.138556957, 0.990213752) | |
| 600 | p6.CanCollide = false | |
| 601 | p6.Locked = true | |
| 602 | p6.FormFactor = Enum.FormFactor.Symmetric | |
| 603 | p6.Elasticity = 0 | |
| 604 | p6.Size = Vector3.new(1, 3, 1) | |
| 605 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 606 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 607 | b6 = Instance.new("BlockMesh", p6)
| |
| 608 | b6.Name = "Mesh" | |
| 609 | b6.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 610 | p7 = Instance.new("Part", m)
| |
| 611 | p7.Locked = true | |
| 612 | p7.BrickColor = BrickColor.new("Really black")
| |
| 613 | p7.Material = Enum.Material.Granite | |
| 614 | p7.CFrame = CFrame.new(5.69514275, 32.2612495, -4.70427704, 0.994507253, -0.104462557, -3.46558663E-5, 0.103659078, 0.987076342, -0.122013614, 0.0127939917, 0.121307924, 0.992498517) | |
| 615 | p7.CanCollide = false | |
| 616 | p7.Locked = true | |
| 617 | p7.FormFactor = Enum.FormFactor.Symmetric | |
| 618 | p7.Elasticity = 0 | |
| 619 | p7.Size = Vector3.new(1, 4, 1) | |
| 620 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 621 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 622 | b7 = Instance.new("BlockMesh", p7)
| |
| 623 | b7.Name = "Mesh" | |
| 624 | b7.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 625 | p8 = Instance.new("Part", m)
| |
| 626 | p8.Locked = true | |
| 627 | p8.BrickColor = BrickColor.new("Really black")
| |
| 628 | p8.Material = Enum.Material.Granite | |
| 629 | p8.CFrame = CFrame.new(7.3525548, 32.5016174, -3.83479047, 0.183080241, -0.682897449, 0.707170248, -0.183076292, 0.683073223, 0.706997991, -0.965858579, -0.258940101, 2.44453549E-5) | |
| 630 | p8.CanCollide = false | |
| 631 | p8.Locked = true | |
| 632 | p8.FormFactor = Enum.FormFactor.Symmetric | |
| 633 | p8.Elasticity = 0 | |
| 634 | p8.Size = Vector3.new(1, 4, 1) | |
| 635 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 636 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 637 | b8 = Instance.new("BlockMesh", p8)
| |
| 638 | b8.Name = "Mesh" | |
| 639 | b8.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 640 | p9 = Instance.new("Part", m)
| |
| 641 | p9.Locked = true | |
| 642 | p9.BrickColor = BrickColor.new("Really black")
| |
| 643 | p9.Material = Enum.Material.Granite | |
| 644 | p9.CFrame = CFrame.new(6.69344425, 31.7584076, -4.00551939, 0.996166587, 0.0872306526, -3.4507364E-5, -0.0871950984, 0.995560527, 0.0347601473, 0.00308645656, -0.0346546173, 0.999360979) | |
| 645 | p9.CanCollide = false | |
| 646 | p9.Locked = true | |
| 647 | p9.FormFactor = Enum.FormFactor.Symmetric | |
| 648 | p9.Elasticity = 0 | |
| 649 | p9.Size = Vector3.new(1, 3, 1) | |
| 650 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 651 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 652 | b9 = Instance.new("BlockMesh", p9)
| |
| 653 | b9.Name = "Mesh" | |
| 654 | b9.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 655 | p10 = Instance.new("Part", m)
| |
| 656 | p10.Locked = true | |
| 657 | p10.BrickColor = BrickColor.new("Really black")
| |
| 658 | p10.Material = Enum.Material.Granite | |
| 659 | p10.CFrame = CFrame.new(11.0333385, 32.4983444, -3.83598185, -0.182976365, -0.683012605, -0.707085848, -0.183169425, -0.682933569, 0.707108617, -0.965865672, 0.258913875, -1.81082636E-4) | |
| 660 | p10.CanCollide = false | |
| 661 | p10.Locked = true | |
| 662 | p10.FormFactor = Enum.FormFactor.Symmetric | |
| 663 | p10.Elasticity = 0 | |
| 664 | p10.Size = Vector3.new(1, 4, 1) | |
| 665 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 666 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 667 | b10 = Instance.new("BlockMesh", p10)
| |
| 668 | b10.Name = "Mesh" | |
| 669 | b10.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 670 | p11 = Instance.new("Part", m)
| |
| 671 | p11.Locked = true | |
| 672 | p11.BrickColor = BrickColor.new("Really black")
| |
| 673 | p11.Material = Enum.Material.Granite | |
| 674 | p11.CFrame = CFrame.new(7.69124699, 31.2556458, -3.70668387, 0.965880513, 0.258904785, -3.89236957E-5, -0.258764327, 0.965280056, -0.0350343585, -0.00900821667, 0.0338230878, 0.999353766) | |
| 675 | p11.CanCollide = false | |
| 676 | p11.Locked = true | |
| 677 | p11.FormFactor = Enum.FormFactor.Symmetric | |
| 678 | p11.Elasticity = 0 | |
| 679 | p11.Size = Vector3.new(1, 2, 1) | |
| 680 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 681 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 682 | b11 = Instance.new("BlockMesh", p11)
| |
| 683 | b11.Name = "Mesh" | |
| 684 | b11.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 685 | p12 = Instance.new("Part", m)
| |
| 686 | p12.Locked = true | |
| 687 | p12.BrickColor = BrickColor.new("Really black")
| |
| 688 | p12.Material = Enum.Material.Granite | |
| 689 | p12.CFrame = CFrame.new(10.6899939, 31.2537575, -3.807019, 0.965932727, -0.258710295, -5.67453499E-5, 0.258531392, 0.965343654, -0.0350018553, 0.0091185784, 0.0337598696, 0.999354899) | |
| 690 | p12.CanCollide = false | |
| 691 | p12.Locked = true | |
| 692 | p12.FormFactor = Enum.FormFactor.Symmetric | |
| 693 | p12.Elasticity = 0 | |
| 694 | p12.Size = Vector3.new(1, 2, 1) | |
| 695 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 696 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 697 | b12 = Instance.new("BlockMesh", p12)
| |
| 698 | b12.Name = "Mesh" | |
| 699 | b12.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 700 | p13 = Instance.new("Part", m)
| |
| 701 | p13.Locked = true | |
| 702 | p13.BrickColor = BrickColor.new("Really black")
| |
| 703 | p13.Material = Enum.Material.Granite | |
| 704 | p13.CFrame = CFrame.new(11.6887894, 31.7515755, -4.00750923, 0.996184528, -0.0870245844, -6.56315169E-5, 0.0869554803, 0.995579183, 0.0348259509, -0.00295105297, -0.034732528, 0.999358773) | |
| 705 | p13.CanCollide = false | |
| 706 | p13.Locked = true | |
| 707 | p13.FormFactor = Enum.FormFactor.Symmetric | |
| 708 | p13.Elasticity = 0 | |
| 709 | p13.Size = Vector3.new(1, 3, 1) | |
| 710 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 711 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 712 | b13 = Instance.new("BlockMesh", p13)
| |
| 713 | b13.Name = "Mesh" | |
| 714 | b13.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 715 | p14 = Instance.new("Part", m)
| |
| 716 | p14.Locked = true | |
| 717 | p14.BrickColor = BrickColor.new("Really black")
| |
| 718 | p14.Material = Enum.Material.Granite | |
| 719 | p14.CFrame = CFrame.new(12.7923355, 33.9332466, -4.46212053, -0.249924123, 0.933040857, 0.258707672, -0.201046765, 0.211336777, -0.956487834, -0.947125912, -0.291055977, 0.13480334) | |
| 720 | p14.CanCollide = false | |
| 721 | p14.Locked = true | |
| 722 | p14.FormFactor = Enum.FormFactor.Symmetric | |
| 723 | p14.Elasticity = 0 | |
| 724 | p14.Size = Vector3.new(1, 1, 1) | |
| 725 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
| 726 | p14.TopSurface = Enum.SurfaceType.Smooth | |
| 727 | b14 = Instance.new("BlockMesh", p14)
| |
| 728 | b14.Name = "Mesh" | |
| 729 | b14.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 730 | p15 = Instance.new("Part", m)
| |
| 731 | p15.Locked = true | |
| 732 | p15.BrickColor = BrickColor.new("Really black")
| |
| 733 | p15.Material = Enum.Material.Granite | |
| 734 | p15.CFrame = CFrame.new(12.6862593, 32.2479095, -4.7085743, 0.994484186, 0.104681045, -9.06065106E-5, -0.103929043, 0.987058163, -0.121930704, -0.0126541853, 0.12123926, 0.992508888) | |
| 735 | p15.CanCollide = false | |
| 736 | p15.Locked = true | |
| 737 | p15.FormFactor = Enum.FormFactor.Symmetric | |
| 738 | p15.Elasticity = 0 | |
| 739 | p15.Size = Vector3.new(1, 4, 1) | |
| 740 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 741 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 742 | b15 = Instance.new("BlockMesh", p15)
| |
| 743 | b15.Name = "Mesh" | |
| 744 | b15.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 745 | p16 = Instance.new("Part", m)
| |
| 746 | p16.Locked = true | |
| 747 | p16.BrickColor = BrickColor.new("Really black")
| |
| 748 | p16.Material = Enum.Material.Granite | |
| 749 | p16.CFrame = CFrame.new(13.6850252, 32.1465797, -5.10911608, 0.999978483, 1.53689994E-4, -1.32530608E-4, -2.01218107E-4, 0.965894699, -0.258842885, 1.05372645E-4, 0.258809566, 0.965893686) | |
| 750 | p16.CanCollide = false | |
| 751 | p16.Locked = true | |
| 752 | p16.FormFactor = Enum.FormFactor.Symmetric | |
| 753 | p16.Elasticity = 0 | |
| 754 | p16.Size = Vector3.new(1, 4, 1) | |
| 755 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 756 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 757 | b16 = Instance.new("BlockMesh", p16)
| |
| 758 | b16.Name = "Mesh" | |
| 759 | b16.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 760 | p17 = Instance.new("Part", m)
| |
| 761 | p17.Locked = true | |
| 762 | p17.BrickColor = BrickColor.new("Really black")
| |
| 763 | p17.Material = Enum.Material.Granite | |
| 764 | p17.CFrame = CFrame.new(13.6215448, 33.8896255, -4.67470169, -0.249971449, 0.932958663, -0.25895822, -0.185647413, -0.308687627, -0.932844639, -0.950252473, -0.185085967, 0.250392795) | |
| 765 | p17.CanCollide = false | |
| 766 | p17.Locked = true | |
| 767 | p17.FormFactor = Enum.FormFactor.Symmetric | |
| 768 | p17.Elasticity = 0 | |
| 769 | p17.Size = Vector3.new(1, 1, 1) | |
| 770 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 771 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 772 | b17 = Instance.new("BlockMesh", p17)
| |
| 773 | b17.Name = "Mesh" | |
| 774 | b17.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 775 | p18 = Instance.new("Part", m)
| |
| 776 | p18.Locked = true | |
| 777 | p18.BrickColor = BrickColor.new("Really black")
| |
| 778 | p18.Material = Enum.Material.Granite | |
| 779 | p18.CFrame = CFrame.new(14.3830872, 33.3993073, -4.76018381, -0.20159933, 0.702869058, -0.682121515, -0.186127961, -0.711234272, -0.677830637, -0.961583436, -0.00965368003, 0.274221182) | |
| 780 | p18.CanCollide = false | |
| 781 | p18.Locked = true | |
| 782 | p18.FormFactor = Enum.FormFactor.Symmetric | |
| 783 | p18.Elasticity = 0 | |
| 784 | p18.Size = Vector3.new(1, 1, 1) | |
| 785 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
| 786 | p18.TopSurface = Enum.SurfaceType.Smooth | |
| 787 | b18 = Instance.new("BlockMesh", p18)
| |
| 788 | b18.Name = "Mesh" | |
| 789 | b18.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
| 790 | p19 = Instance.new("Part", m)
| |
| 791 | p19.Locked = true | |
| 792 | p19.BrickColor = BrickColor.new("Really black")
| |
| 793 | p19.Material = Enum.Material.Granite | |
| 794 | p19.CFrame = CFrame.new(14.680851, 31.7412434, -4.91061258, 0.994524717, -0.104295641, -1.06811523E-4, 0.10324651, 0.984840035, -0.139221251, 0.0146392882, 0.138416395, 0.99023217) | |
| 795 | p19.CanCollide = false | |
| 796 | p19.Locked = true | |
| 797 | p19.FormFactor = Enum.FormFactor.Symmetric | |
| 798 | p19.Elasticity = 0 | |
| 799 | p19.Size = Vector3.new(1, 3, 1) | |
| 800 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
| 801 | p19.TopSurface = Enum.SurfaceType.Smooth | |
| 802 | b19 = Instance.new("BlockMesh", p19)
| |
| 803 | b19.Name = "Mesh" | |
| 804 | b19.Scale = Vector3.new(0.099999927, 0.899999976, 0.099999927) | |
| 805 | p20 = Instance.new("Part", m)
| |
| 806 | p20.Locked = true | |
| 807 | p20.BrickColor = BrickColor.new("Really black")
| |
| 808 | p20.Material = Enum.Material.Granite | |
| 809 | p20.CFrame = CFrame.new(15.2249002, 32.5392723, -4.76552296, 0.201453701, 0.682167888, -0.702865899, 0.186143726, 0.677821279, 0.7112391, 0.961610973, -0.274129003, 0.00953372568) | |
| 810 | p20.CanCollide = false | |
| 811 | p20.Locked = true | |
| 812 | p20.FormFactor = Enum.FormFactor.Symmetric | |
| 813 | p20.Elasticity = 0 | |
| 814 | p20.Size = Vector3.new(1, 1, 2) | |
| 815 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
| 816 | p20.TopSurface = Enum.SurfaceType.Smooth | |
| 817 | b20 = Instance.new("SpecialMesh", p20)
| |
| 818 | b20.MeshType = Enum.MeshType.Wedge | |
| 819 | b20.Name = "Mesh" | |
| 820 | b20.Scale = Vector3.new(0.319999993, 0.299999923, 0.699999928) | |
| 821 | w1 = Instance.new("Weld", p1)
| |
| 822 | w1.Name = "Weld" | |
| 823 | w1.Part0 = p1 | |
| 824 | w1.C0 = CFrame.new(-3.01126528, 26.7200279, -20.9279003, 0.183114901, -0.0731125548, -0.98032999, -0.683006704, -0.726672411, -0.0733708739, -0.707055748, 0.683047652, -0.183036968) | |
| 825 | w1.Part1 = p2 | |
| 826 | w1.C1 = CFrame.new(-2.82322073, 13.1690922, -31.8693428, 0.250166863, -0.0849119872, -0.964431524, -0.932969987, -0.287320077, -0.216708973, -0.258728862, 0.95403856, -0.151135027) | |
| 827 | w2 = Instance.new("Weld", p2)
| |
| 828 | w2.Name = "Weld" | |
| 829 | w2.Part0 = p2 | |
| 830 | w2.C0 = CFrame.new(-2.8245821, 13.1668215, -31.8684235, 0.250160784, -0.0848884508, -0.96443516, -0.932976127, -0.287296951, -0.216712922, -0.258712411, 0.954047561, -0.15110597) | |
| 831 | w2.Part1 = p3 | |
| 832 | w2.C1 = CFrame.new(-2.28424144, -4.15451765, -34.3888512, 0.250128031, -0.100651339, -0.962925732, -0.932930112, 0.24092333, -0.267531633, 0.258909881, 0.965286374, -0.0336657539) | |
| 833 | w3 = Instance.new("Weld", p3)
| |
| 834 | w3.Name = "Weld" | |
| 835 | w3.Part0 = p3 | |
| 836 | w3.C0 = CFrame.new(-2.28558755, -4.15595484, -34.3869438, 0.250122428, -0.100628398, -0.962929666, -0.932927489, 0.240945876, -0.267520964, 0.258925021, 0.965283036, -0.0336397961) | |
| 837 | w3.Part1 = p4 | |
| 838 | w3.C1 = CFrame.new(-4.69691086, -29.8441048, 13.2859917, 0.999978542, -4.08291817E-5, 1.67358667E-6, 2.62409449E-5, 0.965845168, 0.258995235, 9.07480717E-6, -0.259028792, 0.965843678) | |
| 839 | w4 = Instance.new("Weld", p4)
| |
| 840 | w4.Name = "Weld" | |
| 841 | w4.Part0 = p4 | |
| 842 | w4.C0 = CFrame.new(-4.69541883, -29.8431702, 13.2852764, 0.999978602, -5.93364239E-5, 1.88481063E-5, 3.89814377E-5, 0.965853453, 0.258963734, -1.2204051E-5, -0.258997083, 0.965852261) | |
| 843 | w4.Part1 = p5 | |
| 844 | w4.C1 = CFrame.new(-3.00703287, -20.9178867, -25.5261555, 0.183128908, -0.0731364638, -0.98032546, -0.707014203, 0.683083951, -0.183059886, 0.683045924, 0.726636648, 0.0733732358) | |
| 845 | w5 = Instance.new("Weld", p5)
| |
| 846 | w5.Name = "Weld" | |
| 847 | w5.Part0 = p5 | |
| 848 | w5.C0 = CFrame.new(-3.00852942, -20.9174557, -25.5245419, 0.18311964, -0.0731106997, -0.980329216, -0.707020223, 0.683084905, -0.183035403, 0.683042347, 0.726637542, 0.0733848959) | |
| 849 | w5.Part1 = p6 | |
| 850 | w5.C1 = CFrame.new(-0.44799307, -31.0869961, 9.29689217, 0.994496524, -0.103558064, -0.0145571418, 0.104563534, 0.984785318, 0.13858816, 3.20933759E-6, -0.139384151, 0.990208864) | |
| 851 | w6 = Instance.new("Weld", p6)
| |
| 852 | w6.Name = "Weld" | |
| 853 | w6.Part0 = p6 | |
| 854 | w6.C0 = CFrame.new(-0.446726084, -31.085783, 9.29632187, 0.994495451, -0.103575408, -0.0145363435, 0.104575306, 0.984787226, 0.138556957, -1.62813812E-5, -0.13935037, 0.990213752) | |
| 855 | w6.Part1 = p7 | |
| 856 | w6.C1 = CFrame.new(-8.9495039, -30.6797161, 8.60602665, 0.994505703, 0.103678115, 0.0127804801, -0.104474045, 0.98707211, 0.121342868, -1.54954214E-5, -0.122048028, 0.992493927) | |
| 857 | w7 = Instance.new("Weld", p7)
| |
| 858 | w7.Name = "Weld" | |
| 859 | w7.Part0 = p7 | |
| 860 | w7.C0 = CFrame.new(-8.94784546, -30.6787224, 8.60549736, 0.994507253, 0.103659078, 0.0127939917, -0.104462557, 0.987076342, 0.121307924, -3.46558663E-5, -0.122013614, 0.992498517) | |
| 861 | w7.Part1 = p8 | |
| 862 | w7.C1 = CFrame.new(0.90177393, -18.1730423, -28.1796837, 0.183085978, -0.183097184, -0.965851784, -0.68289125, 0.683066607, -0.258961439, 0.707173645, 0.707004905, 1.36196613E-5) | |
| 863 | w8 = Instance.new("Weld", p8)
| |
| 864 | w8.Name = "Weld" | |
| 865 | w8.Part0 = p8 | |
| 866 | w8.C0 = CFrame.new(0.900302649, -18.172924, -28.1779938, 0.183080241, -0.183076292, -0.965858579, -0.682897449, 0.683073223, -0.258940101, 0.707170248, 0.706997991, 2.44453549E-5) | |
| 867 | w8.Part1 = p9 | |
| 868 | w8.C1 = CFrame.new(-3.88768721, -32.3414574, 2.89949036, 0.996168256, -0.0871771574, 0.00306662358, 0.0872120261, 0.995563269, -0.0346250534, -1.79689378E-5, 0.034728989, 0.999362051) | |
| 869 | w9 = Instance.new("Weld", p9)
| |
| 870 | w9.Name = "Weld" | |
| 871 | w9.Part0 = p9 | |
| 872 | w9.C0 = CFrame.new(-3.88624525, -32.3400993, 2.89926386, 0.996166587, -0.0871950984, 0.00308645656, 0.0872306526, 0.995560527, -0.0346546173, -3.4507364E-5, 0.0347601473, 0.999360979) | |
| 873 | w9.Part1 = p10 | |
| 874 | w9.C1 = CFrame.new(4.2683754, 30.7251549, -15.1793909, -0.182957828, -0.183199286, -0.965863526, -0.683015704, -0.68292743, 0.258921832, -0.707087696, 0.707106888, -2.15830281E-4) | |
| 875 | w10 = Instance.new("Weld", p10)
| |
| 876 | w10.Name = "Weld" | |
| 877 | w10.Part0 = p10 | |
| 878 | w10.C0 = CFrame.new(4.26650047, 30.7233086, -15.1790371, -0.182976365, -0.183169425, -0.965865672, -0.683012605, -0.682933569, 0.258913875, -0.707085848, 0.707108617, -1.81082636E-4) | |
| 879 | w10.Part1 = p11 | |
| 880 | w10.C1 = CFrame.new(0.62466073, -32.0378494, 4.79988861, 0.965884089, -0.25875017, -0.00903337821, 0.258891433, 0.965282679, 0.0338500105, -2.11130828E-5, -0.0350668617, 0.999352574) | |
| 881 | w11 = Instance.new("Weld", p11)
| |
| 882 | w11.Name = "Weld" | |
| 883 | w11.Part0 = p11 | |
| 884 | w11.C0 = CFrame.new(0.625629783, -32.0363846, 4.79960918, 0.965880513, -0.258764327, -0.00900821667, 0.258904785, 0.965280056, 0.0338230878, -3.89236957E-5, -0.0350343585, 0.999353766) | |
| 885 | w11.Part1 = p12 | |
| 886 | w11.C1 = CFrame.new(-18.3733082, -27.2772636, 4.89948606, 0.965928197, 0.258548319, 0.00911035948, -0.258726895, 0.965337932, 0.0337957405, -3.89107154E-5, -0.0350343771, 0.999353766) | |
| 887 | w12 = Instance.new("Weld", p12)
| |
| 888 | w12.Name = "Weld" | |
| 889 | w12.Part0 = p12 | |
| 890 | w12.C0 = CFrame.new(-18.3711777, -27.2764797, 4.89910936, 0.965932727, 0.258531392, 0.0091185784, -0.258710295, 0.965343654, 0.0337598696, -5.67453499E-5, -0.0350018553, 0.999354899) | |
| 891 | w12.Part1 = p13 | |
| 892 | w12.C1 = CFrame.new(-14.4189634, -30.7343349, 2.90014172, 0.996183038, 0.0869738981, -0.00296546891, -0.0870435014, 0.995578647, -0.0346999466, -4.90876228E-5, 0.0347947553, 0.999359846) | |
| 893 | w13 = Instance.new("Weld", p13)
| |
| 894 | w13.Name = "Weld" | |
| 895 | w13.Part0 = p13 | |
| 896 | w13.C0 = CFrame.new(-14.4169912, -30.7331867, 2.89992785, 0.996184528, 0.0869554803, -0.00295105297, -0.0870245844, 0.995579183, -0.034732528, -6.56315169E-5, 0.0348259509, 0.999358773) | |
| 897 | w13.Part1 = p14 | |
| 898 | w13.C1 = CFrame.new(5.79514027, -20.4076347, 29.7497234, -0.249904647, -0.201077104, -0.947124541, 0.933041394, 0.211347103, -0.291046262, 0.258724064, -0.956479192, 0.134833321) | |
| 899 | w14 = Instance.new("Weld", p14)
| |
| 900 | w14.Name = "Weld" | |
| 901 | w14.Part0 = p14 | |
| 902 | w14.C0 = CFrame.new(5.79309225, -20.4058418, 29.7487717, -0.249924123, -0.201046765, -0.947125912, 0.933040857, 0.211336777, -0.291055977, 0.258707672, -0.956487834, 0.13480334) | |
| 903 | w14.Part1 = p15 | |
| 904 | w14.C1 = CFrame.new(-9.32605648, -32.5890007, 8.60702801, 0.994485676, -0.103911966, -0.0126748905, 0.10466665, 0.987055898, 0.121270344, -7.13467598E-5, -0.121963806, 0.992504835) | |
| 905 | w15 = Instance.new("Weld", p15)
| |
| 906 | w15.Name = "Weld" | |
| 907 | w15.Part0 = p15 | |
| 908 | w15.C0 = CFrame.new(-9.32437229, -32.5877075, 8.60646152, 0.994484186, -0.103929043, -0.0126541853, 0.104681045, 0.987058163, 0.12123926, -9.06065106E-5, -0.121930704, 0.992508888) | |
| 909 | w15.Part1 = p16 | |
| 910 | w15.C1 = CFrame.new(-13.6797218, -29.7310848, 13.2582951, 0.999978483, -1.82760923E-4, 8.82308159E-5, 1.40290926E-4, 0.965886235, 0.258840919, -1.11197325E-4, -0.258874267, 0.965885282) | |
| 911 | w16 = Instance.new("Weld", p16)
| |
| 912 | w16.Name = "Weld" | |
| 913 | w16.Part0 = p16 | |
| 914 | w16.C0 = CFrame.new(-13.6777229, -29.7300262, 13.2575903, 0.999978483, -2.01218107E-4, 1.05372645E-4, 1.53689994E-4, 0.965894699, 0.258809566, -1.32530608E-4, -0.258842885, 0.965893686) | |
| 915 | w16.Part1 = p17 | |
| 916 | w16.C1 = CFrame.new(5.25641394, -3.11353135, 36.3133812, -0.249951899, -0.185678303, -0.95025146, 0.932969809, -0.308667481, -0.185063779, -0.25893718, -0.932845175, 0.250412643) | |
| 917 | w17 = Instance.new("Weld", p17)
| |
| 918 | w17.Name = "Weld" | |
| 919 | w17.Part0 = p17 | |
| 920 | w17.C0 = CFrame.new(5.25437212, -3.11225104, 36.3116798, -0.249971449, -0.185647413, -0.950252473, 0.932958663, -0.308687627, -0.185085967, -0.25895822, -0.932844639, 0.250392795) | |
| 921 | w17.Part1 = p18 | |
| 922 | w17.C1 = CFrame.new(4.54062843, 13.5992327, 33.757431, -0.201580539, -0.186157972, -0.961581469, 0.70288074, -0.711223066, -0.00962240249, -0.682114959, -0.677834094, 0.274228811) | |
| 923 | w18 = Instance.new("Weld", p18)
| |
| 924 | w18.Name = "Weld" | |
| 925 | w18.Part0 = p18 | |
| 926 | w18.C0 = CFrame.new(4.53885221, 13.5993519, 33.7554321, -0.20159933, -0.186127961, -0.961583436, 0.702869058, -0.711234272, -0.00965368003, -0.682121515, -0.677830637, 0.274221182) | |
| 927 | w18.Part1 = p19 | |
| 928 | w18.C1 = CFrame.new(-17.8078384, -29.0500088, 9.28386497, 0.994522929, 0.103265405, 0.0146258771, -0.10431245, 0.984833241, 0.13845095, -8.73506069E-5, -0.139254272, 0.99022752) | |
| 929 | w19 = Instance.new("Weld", p19)
| |
| 930 | w19.Name = "Weld" | |
| 931 | w19.Part0 = p19 | |
| 932 | w19.C0 = CFrame.new(-17.8057537, -29.0491905, 9.28326988, 0.994524717, 0.10324651, 0.0146392882, -0.104295641, 0.984840035, 0.138416395, -1.06811523E-4, -0.139221251, 0.99023217) | |
| 933 | w19.Part1 = p20 | |
| 934 | w19.C1 = CFrame.new(-4.54328012, -33.7499733, -12.3970623, 0.201434925, 0.186173707, 0.961609066, 0.682171226, 0.677814841, -0.274136811, -0.702868044, 0.71123749, 0.00949859619) | |
| 935 | w20 = Instance.new("Weld", p20)
| |
| 936 | w20.Name = "Head_Weld" | |
| 937 | w20.Part0 = p20 | |
| 938 | w20.C0 = CFrame.new(-4.56198359, -33.785675, -12.3958597, 0.201463863, 0.186141863, 0.961645186, 0.681998372, 0.678058743, -0.274119109, -0.703055739, 0.711058617, 0.00965214521) | |
| 939 | m.Parent = char | |
| 940 | m:MakeJoints() | |
| 941 | local cor = Instance.new("Part", char.Wings)
| |
| 942 | cor.Name = "Thingy" | |
| 943 | cor.Locked = true | |
| 944 | cor.BottomSurface = 0 | |
| 945 | cor.CanCollide = false | |
| 946 | cor.Size = Vector3.new(1, 6, 1) | |
| 947 | cor.Transparency = 1 | |
| 948 | cor.TopSurface = 0 | |
| 949 | corw = Instance.new("Weld", cor)
| |
| 950 | corw.Part0 = torso | |
| 951 | corw.Part1 = cor | |
| 952 | corw.C0 = CFrame.new(3.8, 5.2, 2.3) * CFrame.Angles(math.rad(290), math.rad(45), math.rad(-100)) | |
| 953 | corw.C1 = CFrame.new(0, 0, 0) | |
| 954 | weld1 = Instance.new("Weld", char.Wings)
| |
| 955 | weld1.Part0 = cor | |
| 956 | weld1.Part1 = p1 | |
| 957 | weld1.C0 = CFrame.new(0, 3, -1) | |
| 958 | local m1 = Instance.new("Model")
| |
| 959 | m1.Name = "Scythe" | |
| 960 | p1 = Instance.new("Part", m1)
| |
| 961 | p1.Locked = true | |
| 962 | p1.BrickColor = BrickColor.new("Really black")
| |
| 963 | p1.Material = "Granite" | |
| 964 | p1.Name = "Part5" | |
| 965 | p1.CFrame = CFrame.new(-15.4790545, 13.1252527, -1.25573051, -0.148844868, -0.181690469, -0.972028434, -0.139209464, 0.977047265, -0.161312819, 0.979018033, 0.111305036, -0.170718044) | |
| 966 | p1.CanCollide = false | |
| 967 | p1.FormFactor = Enum.FormFactor.Custom | |
| 968 | p1.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
| 969 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 970 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 971 | b1 = Instance.new("CylinderMesh", p1)
| |
| 972 | b1.Name = "Mesh" | |
| 973 | p2 = Instance.new("Part", m1)
| |
| 974 | p2.Locked = true | |
| 975 | p2.BrickColor = BrickColor.new("Really black")
| |
| 976 | p2.Material = "Granite" | |
| 977 | p2.Name = "Part6" | |
| 978 | p2.CFrame = CFrame.new(-15.3824081, 10.952775, -1.24440408, -0.128349721, 0.0941501483, -0.987252772, 0.129729301, 0.988533914, 0.0774054229, 0.983212769, -0.118139267, -0.139088899) | |
| 979 | p2.CanCollide = false | |
| 980 | p2.FormFactor = Enum.FormFactor.Custom | |
| 981 | p2.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
| 982 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 983 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 984 | b2 = Instance.new("CylinderMesh", p2)
| |
| 985 | b2.Name = "Mesh" | |
| 986 | p3 = Instance.new("Part", m1)
| |
| 987 | p3.Locked = true | |
| 988 | p3.BrickColor = BrickColor.new("Really black")
| |
| 989 | p3.Material = "Granite" | |
| 990 | p3.Name = "Part7" | |
| 991 | p3.CFrame = CFrame.new(-15.4747982, 13.69979, -1.75563574, -0.972027183, -0.129069194, 0.196240276, -0.161315769, 0.97412771, -0.158338636, -0.170723677, -0.185564086, -0.967692614) | |
| 992 | p3.CanCollide = false | |
| 993 | p3.FormFactor = Enum.FormFactor.Custom | |
| 994 | p3.Size = Vector3.new(0.200000003, 0.625, 1.18875003) | |
| 995 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 996 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 997 | b3 = Instance.new("BlockMesh", p3)
| |
| 998 | b3.Name = "Mesh" | |
| 999 | b3.Scale = Vector3.new(0.618750155, 1, 1) | |
| 1000 | p4 = Instance.new("Part", m1)
| |
| 1001 | p4.Locked = true | |
| 1002 | p4.BrickColor = BrickColor.new("Bright red")
| |
| 1003 | p4.Material = "Granite" | |
| 1004 | p4.Name = "Part8" | |
| 1005 | p4.CFrame = CFrame.new(-15.4781666, 13.7140617, -1.73542035, -0.972027183, -0.129069448, 0.196239948, -0.161315426, 0.974126935, -0.158338472, -0.170723975, -0.185564145, -0.967692196) | |
| 1006 | p4.CanCollide = false | |
| 1007 | p4.FormFactor = Enum.FormFactor.Custom | |
| 1008 | p4.Size = Vector3.new(0.200000003, 0.396249801, 1.14375019) | |
| 1009 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 1010 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 1011 | b4 = Instance.new("BlockMesh", p4)
| |
| 1012 | b4.Name = "Mesh" | |
| 1013 | b4.Scale = Vector3.new(0.656250358, 1, 1) | |
| 1014 | p5 = Instance.new("Part", m1)
| |
| 1015 | p5.Locked = true | |
| 1016 | p5.BrickColor = BrickColor.new("Really black")
| |
| 1017 | p5.Material = "Granite" | |
| 1018 | p5.Name = "Handle" | |
| 1019 | p5.CFrame = CFrame.new(-15.4833899, 8.75200272, -1.18519592, -0.130095989, -0.0039267987, -0.991496682, -0.0667580366, 0.997765779, 0.00480742007, 0.989255846, 0.0668155551, -0.130066052) | |
| 1020 | p5.CanCollide = false | |
| 1021 | p5.FormFactor = Enum.FormFactor.Custom | |
| 1022 | p5.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
| 1023 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 1024 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 1025 | b5 = Instance.new("CylinderMesh", p5)
| |
| 1026 | b5.Name = "Mesh" | |
| 1027 | p6 = Instance.new("Part", m1)
| |
| 1028 | p6.Locked = true | |
| 1029 | p6.BrickColor = BrickColor.new("Bright red")
| |
| 1030 | p6.Material = "Granite" | |
| 1031 | p6.Name = "Part10" | |
| 1032 | p6.CFrame = CFrame.new(-15.1728735, 13.1544628, -2.97264719, 0.972016573, -0.0361868851, -0.23210828, 0.161354825, 0.820950687, 0.547726691, 0.170728937, -0.569851279, 0.803816617) | |
| 1033 | p6.CanCollide = false | |
| 1034 | p6.Size = Vector3.new(1, 1.20000005, 2) | |
| 1035 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 1036 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 1037 | b6 = Instance.new("SpecialMesh", p6)
| |
| 1038 | b6.MeshType = Enum.MeshType.Wedge | |
| 1039 | b6.Name = "Mesh" | |
| 1040 | b6.Scale = Vector3.new(0.133749992, 0.308333486, 0.939375103) | |
| 1041 | p7 = Instance.new("Part", m1)
| |
| 1042 | p7.Locked = true | |
| 1043 | p7.BrickColor = BrickColor.new("Really black")
| |
| 1044 | p7.Material = "Granite" | |
| 1045 | p7.Name = "Part11" | |
| 1046 | p7.CFrame = CFrame.new(-15.0457783, 12.8671103, -3.41416025, 0.972016871, -0.0361844748, -0.232107431, 0.161352873, 0.820949197, 0.547729552, 0.170729101, -0.569853604, 8.03814948E-7) | |
| 1047 | p7.CanCollide = false | |
| 1048 | p7.Size = Vector3.new(1, 1.20000005, 3) | |
| 1049 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 1050 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 1051 | b7 = Instance.new("SpecialMesh", p7)
| |
| 1052 | b7.MeshType = Enum.MeshType.Wedge | |
| 1053 | b7.Name = "Mesh" | |
| 1054 | b7.Scale = Vector3.new(0.125, 0.459375113, 0.987083375) | |
| 1055 | p8 = Instance.new("Part", m1)
| |
| 1056 | p8.Locked = true | |
| 1057 | p8.BrickColor = BrickColor.new("Really black")
| |
| 1058 | p8.Material = "Granite" | |
| 1059 | p8.Name = "Part12" | |
| 1060 | p8.CFrame = CFrame.new(-15.3929434, 7.00775528, -1.23400617, -0.00524972379, -0.125177592, -0.992123604, 0.0415780842, 0.991256952, -0.125288621, 0.999125719, -0.0419077873, 1.41561031E-6) | |
| 1061 | p8.CanCollide = false | |
| 1062 | p8.FormFactor = Enum.FormFactor.Custom | |
| 1063 | p8.Size = Vector3.new(0.25, 1.35000002, 0.625) | |
| 1064 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 1065 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 1066 | b8 = Instance.new("CylinderMesh", p8)
| |
| 1067 | b8.Name = "Mesh" | |
| 1068 | p9 = Instance.new("Part", m1)
| |
| 1069 | p9.Locked = true | |
| 1070 | p9.BrickColor = BrickColor.new("Really black")
| |
| 1071 | p9.Material = "Granite" | |
| 1072 | p9.Name = "Part13" | |
| 1073 | p9.CFrame = CFrame.new(-15.312561, 6.035923, -1.20007133, 1.88336219E-6, -6.5267086E-6, -1.0000031, -8.07169636E-6, 1.00000823, -6.91413879E-6, 1.00000405, 8.23063147E-6, 2.50528046E-6) | |
| 1074 | p9.CanCollide = false | |
| 1075 | p9.FormFactor = Enum.FormFactor.Symmetric | |
| 1076 | p9.Size = Vector3.new(1, 1, 1) | |
| 1077 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 1078 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 1079 | b9 = Instance.new("CylinderMesh", p9)
| |
| 1080 | b9.Name = "Mesh" | |
| 1081 | b9.Scale = Vector3.new(0.25, 0.625, 0.625) | |
| 1082 | w1 = Instance.new("Weld", p1)
| |
| 1083 | w1.Part0 = p1 | |
| 1084 | w1.C0 = CFrame.new(7.02652264, -59.535614, -5.87252188, -0.148847401, -0.139196053, 0.979014158, -0.181681663, 0.977039695, 0.111292727, -0.972026587, -0.161303386, -0.170719117) | |
| 1085 | w1.Part1 = p2 | |
| 1086 | w1.C1 = CFrame.new(-8.01976395, -54.082592, -19.6964264, -0.128350034, 0.129739836, 0.983205914, 0.0941585898, 0.988522112, -0.118149437, -0.987248957, 0.0774128884, -0.139092848) | |
| 1087 | w2 = Instance.new("Weld", p2)
| |
| 1088 | w2.Part0 = p2 | |
| 1089 | w2.C0 = CFrame.new(-8.01976395, -54.082592, -19.6964264, -0.128350034, 0.129739836, 0.983205914, 0.0941585898, 0.988522112, -0.118149437, -0.987248957, 0.0774128884, -0.139092848) | |
| 1090 | w2.Part1 = p3 | |
| 1091 | w2.C1 = CFrame.new(-5.86081457, -59.57584, 10.6446886, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
| 1092 | w3 = Instance.new("Weld", p3)
| |
| 1093 | w3.Part0 = p3 | |
| 1094 | w3.C0 = CFrame.new(-5.86081457, -59.57584, 10.6446886, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
| 1095 | w3.Part1 = p4 | |
| 1096 | w3.C1 = CFrame.new(-5.85831547, -59.5864677, 10.6671867, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
| 1097 | w4 = Instance.new("Weld", p4)
| |
| 1098 | w4.Part0 = p4 | |
| 1099 | w4.C0 = CFrame.new(-5.85831547, -59.5864677, 10.6671867, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
| 1100 | w4.Part1 = p5 | |
| 1101 | w4.C1 = CFrame.new(2.75071049, -53.6872444, -15.7648773, -0.130098701, -0.0667455271, 0.989251852, -0.00391793298, 0.997758389, 0.0668041781, -0.991493225, 0.00481529534, -0.13006863) | |
| 1102 | w5 = Instance.new("Weld", p5)
| |
| 1103 | w5.Part0 = p5 | |
| 1104 | w5.C0 = CFrame.new(2.75071049, -53.6872444, -15.7648773, -0.130098701, -0.0667455271, 0.989251852, -0.00391793298, 0.997758389, 0.0668041781, -0.991493225, 0.00481529534, -0.13006863) | |
| 1105 | w5.Part1 = p6 | |
| 1106 | w5.C1 = CFrame.new(5.86050892, -50.0459213, -33.0266228, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
| 1107 | w6 = Instance.new("Weld", p6)
| |
| 1108 | w6.Part0 = p6 | |
| 1109 | w6.C0 = CFrame.new(5.86050892, -50.0459213, -33.0266228, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
| 1110 | w6.Part1 = p7 | |
| 1111 | w6.C1 = CFrame.new(5.85863304, -50.0578003, -32.4853668, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
| 1112 | w7 = Instance.new("Weld", p7)
| |
| 1113 | w7.Part0 = p7 | |
| 1114 | w7.C0 = CFrame.new(5.85863304, -50.0578003, -32.4853668, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
| 1115 | w7.Part1 = p8 | |
| 1116 | w7.C1 = CFrame.new(-1.01389384, -53.6058121, -8.7465868, -0.00525131589, 0.0415858366, 0.999120951, -0.125170633, 0.991249442, -0.0419160873, -0.992121339, -0.125280768, -3.77783991E-8) | |
| 1117 | w8 = Instance.new("Weld", p8)
| |
| 1118 | w8.Part0 = p8 | |
| 1119 | w8.C0 = CFrame.new(-1.01389384, -53.6058121, -8.7465868, -0.00525131589, 0.0415858366, 0.999120951, -0.125170633, 0.991249442, -0.0419160873, -0.992121339, -0.125280768, -3.77783991E-8) | |
| 1120 | w8.Part1 = p9 | |
| 1121 | w8.C1 = CFrame.new(1.20000041, -51.1112823, -15.3124981, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1122 | m1.Parent = char | |
| 1123 | m1:MakeJoints() | |
| 1124 | local cor2 = Instance.new("Part", char.Scythe)
| |
| 1125 | cor2.Name = "Thingy2" | |
| 1126 | cor2.Locked = true | |
| 1127 | cor2.BottomSurface = 0 | |
| 1128 | cor2.CanCollide = false | |
| 1129 | cor2.Size = Vector3.new(2, 8, 1) | |
| 1130 | cor2.Transparency = 1 | |
| 1131 | cor2.TopSurface = 0 | |
| 1132 | corw2 = Instance.new("Weld", cor2)
| |
| 1133 | corw2.Part0 = rarm | |
| 1134 | corw2.Part1 = cor2 | |
| 1135 | corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)) | |
| 1136 | corw2.C1 = CFrame.new(0.6, -0.4, -2) | |
| 1137 | weld2 = Instance.new("Weld", char.Scythe)
| |
| 1138 | weld2.Part0 = cor2 | |
| 1139 | weld2.Part1 = p5 | |
| 1140 | weld2.C0 = CFrame.new(0.6, -1, 0) | |
| 1141 | function Reap() | |
| 1142 | cor2.Touched:connect(function(ht1) | |
| 1143 | hit1 = ht1.Parent | |
| 1144 | if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1:FindFirstChild("Armed") ~= nil and hit1.Name ~= p.Name and Debounces.Reaping == true and Debounces.Reaped == false then
| |
| 1145 | Debounces.Reaped = true | |
| 1146 | h = hit1:FindFirstChild("Humanoid")
| |
| 1147 | if h ~= nil and h.Health < 20 then | |
| 1148 | e = Instance.new("Part")
| |
| 1149 | e.TopSurface = 0 | |
| 1150 | e.BottomSurface = 0 | |
| 1151 | e.Reflectance = 0.05 | |
| 1152 | e.formFactor = "Symmetric" | |
| 1153 | e.Size = Vector3.new(1, 1, 1) | |
| 1154 | e.Anchored = true | |
| 1155 | e.CanCollide = false | |
| 1156 | e.BrickColor = BrickColor.new("Really blue")
| |
| 1157 | e.CFrame = CFrame.new(ht1.Position) | |
| 1158 | e.Parent = hit1 | |
| 1159 | Instance.new("BlockMesh", e)
| |
| 1160 | coroutine.resume(coroutine.create(function(par) | |
| 1161 | for i = 1, 13 do | |
| 1162 | par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50) | |
| 1163 | par.Transparency = i / 13 | |
| 1164 | par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 1165 | wait() | |
| 1166 | end | |
| 1167 | par.Parent = nil | |
| 1168 | end), e) | |
| 1169 | for _, v in pairs(hit1:children()) do | |
| 1170 | if v.className == "Part" then | |
| 1171 | v.BrickColor = BrickColor.new("Really black")
| |
| 1172 | v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3 | |
| 1173 | v:BreakJoints() | |
| 1174 | f = Instance.new("BodyVelocity")
| |
| 1175 | f.P = 3000 | |
| 1176 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1177 | f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10) | |
| 1178 | f.Parent = v | |
| 1179 | v.CanCollide = false | |
| 1180 | coroutine.resume(coroutine.create(function(par) | |
| 1181 | for i = 1, 30 do | |
| 1182 | par.Transparency = i / 30 | |
| 1183 | wait() | |
| 1184 | end | |
| 1185 | par.Parent = nil | |
| 1186 | end), v) | |
| 1187 | elseif v.className == "Hat" then | |
| 1188 | v.Handle.BrickColor = BrickColor.new("Really black")
| |
| 1189 | v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3 | |
| 1190 | v.Handle:BreakJoints() | |
| 1191 | f = Instance.new("BodyVelocity")
| |
| 1192 | f.P = 3000 | |
| 1193 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1194 | f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10) | |
| 1195 | f.Parent = v.Handle | |
| 1196 | v.Handle.CanCollide = false | |
| 1197 | coroutine.resume(coroutine.create(function(par) | |
| 1198 | for i = 1, 30 do | |
| 1199 | par.Transparency = i / 30 | |
| 1200 | wait() | |
| 1201 | end | |
| 1202 | par.Parent = nil | |
| 1203 | end), v.Handle) | |
| 1204 | if h == nil then | |
| 1205 | wait() | |
| 1206 | end | |
| 1207 | end | |
| 1208 | end | |
| 1209 | end | |
| 1210 | end | |
| 1211 | end) | |
| 1212 | Debounces.Reaped = false | |
| 1213 | end | |
| 1214 | local animpose = "Idle" | |
| 1215 | local lastanimpose = "Idle" | |
| 1216 | local sine = 0 | |
| 1217 | local change = 1 | |
| 1218 | local val = 0 | |
| 1219 | local ffing = false | |
| 1220 | local player = p | |
| 1221 | local pchar = player.Character | |
| 1222 | local mouse = player:GetMouse() | |
| 1223 | local cam = workspace.CurrentCamera | |
| 1224 | local rad = math.rad | |
| 1225 | local keysDown = {}
| |
| 1226 | local flySpeed = 0 | |
| 1227 | local MAX_FLY_SPEED = 50 | |
| 1228 | local canFly = false | |
| 1229 | local flyToggled = false | |
| 1230 | local forward, side = 0, 0 | |
| 1231 | local lastForward, lastSide = 0, 0 | |
| 1232 | local floatBP = Instance.new("BodyPosition")
| |
| 1233 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1234 | local flyBV = Instance.new("BodyVelocity")
| |
| 1235 | flyBV.maxForce = Vector3.new(9000000000, 9000000000, 9000000000) | |
| 1236 | local turnBG = Instance.new("BodyGyro")
| |
| 1237 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1238 | mouse.KeyDown:connect(function(key) | |
| 1239 | keysDown[key] = true | |
| 1240 | if key == "f" then | |
| 1241 | flyToggled = not flyToggled | |
| 1242 | if not flyToggled then | |
| 1243 | floatBP.Parent = nil | |
| 1244 | flyBV.Parent = nil | |
| 1245 | turnBG.Parent = nil | |
| 1246 | root.Velocity = Vector3.new() | |
| 1247 | pchar.Humanoid.PlatformStand = false | |
| 1248 | end | |
| 1249 | end | |
| 1250 | end) | |
| 1251 | mouse.KeyUp:connect(function(key) | |
| 1252 | keysDown[key] = nil | |
| 1253 | end) | |
| 1254 | local function updateFly() | |
| 1255 | if not flyToggled then | |
| 1256 | return | |
| 1257 | end | |
| 1258 | lastForward = forward | |
| 1259 | lastSide = side | |
| 1260 | forward = 0 | |
| 1261 | side = 0 | |
| 1262 | if keysDown.w then | |
| 1263 | forward = forward + 1 | |
| 1264 | end | |
| 1265 | if keysDown.s then | |
| 1266 | forward = forward - 1 | |
| 1267 | end | |
| 1268 | if keysDown.a then | |
| 1269 | side = side - 1 | |
| 1270 | end | |
| 1271 | if keysDown.d then | |
| 1272 | side = side + 1 | |
| 1273 | end | |
| 1274 | canFly = forward ~= 0 or side ~= 0 | |
| 1275 | if canFly then | |
| 1276 | turnBG.Parent = root | |
| 1277 | floatBP.Parent = nil | |
| 1278 | flyBV.Parent = root | |
| 1279 | flySpeed = flySpeed + 1 + flySpeed / MAX_FLY_SPEED | |
| 1280 | if flySpeed > MAX_FLY_SPEED then | |
| 1281 | flySpeed = MAX_FLY_SPEED | |
| 1282 | end | |
| 1283 | else | |
| 1284 | floatBP.position = root.Position | |
| 1285 | floatBP.Parent = root | |
| 1286 | flySpeed = flySpeed - 1 | |
| 1287 | if flySpeed < 0 then | |
| 1288 | flySpeed = 0 | |
| 1289 | end | |
| 1290 | end | |
| 1291 | local camCF = cam.CoordinateFrame | |
| 1292 | local in_forward = canFly and forward or lastForward | |
| 1293 | local in_side = canFly and side or lastSide | |
| 1294 | flyBV.velocity = (camCF.lookVector * in_forward + camCF * CFrame.new(in_side, in_forward * 0.2, 0).p - camCF.p) * flySpeed | |
| 1295 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, 0) | |
| 1296 | end | |
| 1297 | game:service("RunService").RenderStepped:connect(function()
| |
| 1298 | if flyToggled then | |
| 1299 | pchar.Humanoid.PlatformStand = true | |
| 1300 | end | |
| 1301 | updateFly() | |
| 1302 | end) | |
| 1303 | Flash = false | |
| 1304 | mouse.KeyDown:connect(function(key) | |
| 1305 | if key == "uu" and Flash == false and (mouse.Hit.p - torso.Position).magnitude <= 500 then | |
| 1306 | Flash = true | |
| 1307 | local FlashDistance = mouse.Hit.p | |
| 1308 | local L = Instance.new("Part", char)
| |
| 1309 | game.Debris:AddItem(L, 2) | |
| 1310 | L.Anchored = true | |
| 1311 | L.CanCollide = false | |
| 1312 | L.FormFactor = "Custom" | |
| 1313 | L.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 1314 | L.Transparency = 1 | |
| 1315 | L.CFrame = torso.CFrame | |
| 1316 | torso.CFrame = torso.CFrame - torso.CFrame.p + FlashDistance + Vector3.new(0, rleg.Size.y + torso.Size.y / 2, 0) | |
| 1317 | torso.Velocity = Vector3.new(0, 5, 0) | |
| 1318 | local X = Instance.new("Part", L)
| |
| 1319 | X.Anchored = true | |
| 1320 | X.CanCollide = false | |
| 1321 | X.Transparency = 0 | |
| 1322 | X.Reflectance = 0 | |
| 1323 | X.TopSurface = 0 | |
| 1324 | X.BottomSurface = 0 | |
| 1325 | X.FormFactor = "Custom" | |
| 1326 | X.CFrame = L.CFrame | |
| 1327 | X.Size = Vector3.new(3, 4, 3) | |
| 1328 | local O = Instance.new("ObjectValue", X)
| |
| 1329 | O.Name = "Flash" | |
| 1330 | O.Value = p | |
| 1331 | local T = Instance.new("SpecialMesh", X)
| |
| 1332 | T.MeshType = "Sphere" | |
| 1333 | T.Scale = Vector3.new(1, 1, 1) | |
| 1334 | X.CFrame = CFrame.new(X.Position, mouse.Hit.p) | |
| 1335 | X.BrickColor = BrickColor.new("Institutional white")
| |
| 1336 | for i = 1, 10 do | |
| 1337 | X.Transparency = X.Transparency + 0.06 | |
| 1338 | X.CFrame = X.CFrame + X.CFrame.lookVector * 0.5 | |
| 1339 | T.Scale = T.Scale + Vector3.new(0.2, 0.2, 0.2) | |
| 1340 | wait(0.03) | |
| 1341 | end | |
| 1342 | L:Remove() | |
| 1343 | wait(0.01) | |
| 1344 | Flash = false | |
| 1345 | end | |
| 1346 | end) | |
| 1347 | mouse.KeyDown:connect(function(key) | |
| 1348 | if key == "m" then | |
| 1349 | hum.WalkSpeed = 0 | |
| 1350 | if Debounces.CanAttack == true then | |
| 1351 | Debounces.CanAttack = false | |
| 1352 | Debounces.on = true | |
| 1353 | Debounces.NoIdl = true | |
| 1354 | x = Instance.new("Sound", char)
| |
| 1355 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
| 1356 | x.Looped = false | |
| 1357 | x.Pitch = 1.1 | |
| 1358 | x.Volume = 0.1 | |
| 1359 | x.MaxDistance = 45 | |
| 1360 | x:Play() | |
| 1361 | x2 = Instance.new("Sound", char)
| |
| 1362 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
| 1363 | x2.Looped = false | |
| 1364 | x2.Pitch = 0.7 | |
| 1365 | x2.Volume = 0.1 | |
| 1366 | x2.MaxDistance = 45 | |
| 1367 | wait(0.1) | |
| 1368 | x:Play() | |
| 1369 | x2:Play() | |
| 1370 | for i = 1, 20 do | |
| 1371 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.3, -0.1) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(32)), 0.2) | |
| 1372 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2) | |
| 1373 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-8), math.rad(-40), math.rad(-8)), 0.2) | |
| 1374 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2) | |
| 1375 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, 0.2, -0.8) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2) | |
| 1376 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.8, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2) | |
| 1377 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, 1.2, 0) * CFrame.Angles(math.rad(-90), math.rad(180), math.rad(0)), 1) | |
| 1378 | if Debounces.on == false then | |
| 1379 | break | |
| 1380 | end | |
| 1381 | wait() | |
| 1382 | x:Destroy() | |
| 1383 | x2:Destroy() | |
| 1384 | end | |
| 1385 | wait(1) | |
| 1386 | do | |
| 1387 | local rng = Instance.new("Part", char)
| |
| 1388 | rng.Anchored = true | |
| 1389 | rng.BrickColor = BrickColor.new("Really black")
| |
| 1390 | rng.CanCollide = false | |
| 1391 | rng.FormFactor = 3 | |
| 1392 | rng.Name = "Ring" | |
| 1393 | rng.Size = Vector3.new(1, 1, 1) | |
| 1394 | rng.Transparency = 0.35 | |
| 1395 | rng.TopSurface = 0 | |
| 1396 | rng.BottomSurface = 0 | |
| 1397 | rng.Position = torso.Position - Vector3.new(0, 2, 0) | |
| 1398 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1399 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1400 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1401 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 1402 | x = Instance.new("Sound", char)
| |
| 1403 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 1404 | x.Looped = false | |
| 1405 | x.Pitch = 0.7 | |
| 1406 | x.Volume = 0.1 | |
| 1407 | x.MaxDistance = 45 | |
| 1408 | x:Play() | |
| 1409 | coroutine.wrap(function() | |
| 1410 | for i = 1, 60, 2 do | |
| 1411 | rngm.Scale = Vector3.new(2 + i * 2, 2 + i * 2, 1) | |
| 1412 | rng.Transparency = i / 60 | |
| 1413 | wait() | |
| 1414 | end | |
| 1415 | wait() | |
| 1416 | rng:Destroy() | |
| 1417 | end)() | |
| 1418 | hum.WalkSpeed = 50 | |
| 1419 | BV = Instance.new("BodyVelocity", torso)
| |
| 1420 | BV.maxForce = Vector3.new(0, 100000, 0) | |
| 1421 | BV.P = 10000 | |
| 1422 | BV.velocity = Vector3.new(0, 200, 0) | |
| 1423 | for i = 1, 20 do | |
| 1424 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.7) | |
| 1425 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
| 1426 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
| 1427 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
| 1428 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
| 1429 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, -1) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
| 1430 | if Debounces.on == false then | |
| 1431 | break | |
| 1432 | end | |
| 1433 | wait() | |
| 1434 | end | |
| 1435 | x:Destroy() | |
| 1436 | BV:Destroy() | |
| 1437 | if 2 < (torso.Velocity * Vector3.new(1, 1, 1)).magnitude then | |
| 1438 | for i = 1, 30 do | |
| 1439 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(0)), 0.3) | |
| 1440 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.3) | |
| 1441 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-120)), 0.3) | |
| 1442 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(120)), 0.3) | |
| 1443 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 1444 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.6) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
| 1445 | if Debounces.on == false then | |
| 1446 | break | |
| 1447 | end | |
| 1448 | wait() | |
| 1449 | end | |
| 1450 | end | |
| 1451 | Debounces.on = false | |
| 1452 | Debounces.NoIdl = false | |
| 1453 | hum.WalkSpeed = 8 | |
| 1454 | wait(0.1) | |
| 1455 | if Debounces.CanAttack == false then | |
| 1456 | Debounces.CanAttack = true | |
| 1457 | end | |
| 1458 | end | |
| 1459 | end | |
| 1460 | end | |
| 1461 | end) | |
| 1462 | mouse.KeyDown:connect(function(key) | |
| 1463 | if key == "e" and Debounces.CanAttack == true then | |
| 1464 | Debounces.CanAttack = false | |
| 1465 | Debounces.NoIdl = true | |
| 1466 | Debounces.on = true | |
| 1467 | for i = 1, 50 do | |
| 1468 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.05) | |
| 1469 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(20)), 0.05) | |
| 1470 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), math.rad(0)), 0.05) | |
| 1471 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(8), math.rad(-46), math.rad(0)), 0.05) | |
| 1472 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-4), math.rad(60), math.rad(0)), 0.05) | |
| 1473 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(70), math.rad(-60)), 0.05) | |
| 1474 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -0.5) * CFrame.Angles(math.rad(120), math.rad(-70), math.rad(60)), 0.05) | |
| 1475 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(2.4, -1.2, -2.2) * CFrame.Angles(math.rad(-68), math.rad(-120), math.rad(45)), 1) | |
| 1476 | if Debounces.on == false then | |
| 1477 | break | |
| 1478 | end | |
| 1479 | wait() | |
| 1480 | end | |
| 1481 | wait(1) | |
| 1482 | z = Instance.new("Sound")
| |
| 1483 | z.SoundId = "http://www.roblox.com/asset/? id=160773067" | |
| 1484 | z.Parent = char | |
| 1485 | z.Looped = false | |
| 1486 | z.Pitch = 0.4 | |
| 1487 | z.Volume = 0.1 | |
| 1488 | z.MaxDistance = 45 | |
| 1489 | wait() | |
| 1490 | z:Play() | |
| 1491 | Debounces.Reaping = true | |
| 1492 | Reap() | |
| 1493 | for i = 1, 20 do | |
| 1494 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(8), math.rad(66), math.rad(0)), 0.5) | |
| 1495 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(-66), math.rad(0)), 0.5) | |
| 1496 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(70), math.rad(-60)), 0.5) | |
| 1497 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -0.5) * CFrame.Angles(math.rad(120), math.rad(-70), math.rad(60)), 0.5) | |
| 1498 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(6), 0, math.rad(10)), 0.5) | |
| 1499 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(20)), 0.5) | |
| 1500 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(2.4, -1.2, -2.2) * CFrame.Angles(math.rad(-68), math.rad(-120), math.rad(45)), 1) | |
| 1501 | if Debounces.on == false then | |
| 1502 | break | |
| 1503 | end | |
| 1504 | wait() | |
| 1505 | end | |
| 1506 | if Debounces.CanAttack == false then | |
| 1507 | Debounces.Slashing = false | |
| 1508 | Debounces.CanAttack = true | |
| 1509 | Debounces.NoIdl = false | |
| 1510 | z:Destroy() | |
| 1511 | end | |
| 1512 | end | |
| 1513 | end) | |
| 1514 | icu = {
| |
| 1515 | "169448813", | |
| 1516 | "169448831", | |
| 1517 | "169448851", | |
| 1518 | "169448868" | |
| 1519 | } | |
| 1520 | pt = {
| |
| 1521 | 0.8, | |
| 1522 | 0.85, | |
| 1523 | 0.9, | |
| 1524 | 0.95, | |
| 1525 | 1 | |
| 1526 | } | |
| 1527 | mouse.KeyDown:connect(function(key) | |
| 1528 | if key == "tt" and Debounces.CanAttack == true then | |
| 1529 | Debounces.CanAttack = false | |
| 1530 | Debounces.NoIdl = true | |
| 1531 | Debounces.on = true | |
| 1532 | z = Instance.new("Sound", char)
| |
| 1533 | z.SoundId = "rbxassetid://" .. icu[math.random(1, #icu)] | |
| 1534 | z.Pitch = pt[math.random(1, #pt)] | |
| 1535 | z.Looped = false | |
| 1536 | z1 = Instance.new("Sound", char)
| |
| 1537 | z1.SoundId = z.SoundId | |
| 1538 | z1.Pitch = z.Pitch | |
| 1539 | z1.Looped = false | |
| 1540 | z:Play() | |
| 1541 | z1:Play() | |
| 1542 | for i = 1, 30 do | |
| 1543 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.1) | |
| 1544 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(-90)), 0.1) | |
| 1545 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-12), math.rad(60), math.rad(0)), 0.1) | |
| 1546 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)), 0.1) | |
| 1547 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-5)), 0.1) | |
| 1548 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.1) | |
| 1549 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.6, -1.4, -1.4) * CFrame.Angles(math.rad(-60), math.rad(-60), math.rad(0)), 0.1) | |
| 1550 | if Debounces.on == false then | |
| 1551 | break | |
| 1552 | end | |
| 1553 | wait() | |
| 1554 | end | |
| 1555 | wait(4) | |
| 1556 | if Debounces.CanAttack == false then | |
| 1557 | Debounces.CanAttack = true | |
| 1558 | Debounces.NoIdl = false | |
| 1559 | Debounces.on = false | |
| 1560 | z:Destroy() | |
| 1561 | z1:Destroy() | |
| 1562 | end | |
| 1563 | end | |
| 1564 | end) | |
| 1565 | mouse.KeyDown:connect(function(key) | |
| 1566 | if key == "gg" and Debounces.CanAttack == true then | |
| 1567 | Debounces.CanAttack = false | |
| 1568 | Debounces.NoIdl = true | |
| 1569 | Debounces.on = true | |
| 1570 | for i = 1, 30 do | |
| 1571 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.1) | |
| 1572 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(-90)), 0.1) | |
| 1573 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-12), math.rad(60), math.rad(0)), 0.1) | |
| 1574 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)), 0.1) | |
| 1575 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-5)), 0.1) | |
| 1576 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.1) | |
| 1577 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.6, -1.4, -1.4) * CFrame.Angles(math.rad(-60), math.rad(-60), math.rad(0)), 0.4) | |
| 1578 | if Debounces.on == false then | |
| 1579 | break | |
| 1580 | end | |
| 1581 | wait() | |
| 1582 | end | |
| 1583 | Singularity() | |
| 1584 | end | |
| 1585 | end) | |
| 1586 | mouse.KeyUp:connect(function(key) | |
| 1587 | if key == "gg" then | |
| 1588 | mass = 0 | |
| 1589 | motivator.maxForce = Vector3.new(0, 0, 0) | |
| 1590 | motivator:Remove() | |
| 1591 | pt:Remove() | |
| 1592 | Debounces.NoIdl = false | |
| 1593 | Debounces.on = false | |
| 1594 | wait() | |
| 1595 | if Debounces.CanAttack == false then | |
| 1596 | Debounces.CanAttack = true | |
| 1597 | end | |
| 1598 | end | |
| 1599 | end) | |
| 1600 | mouse.KeyDown:connect(function(key) | |
| 1601 | if key == "q" and Debounces.CanAttack == true then | |
| 1602 | Debounces.CanAttack = false | |
| 1603 | Debounces.NoIdl = true | |
| 1604 | Debounces.on = true | |
| 1605 | for i = 1, 20 do | |
| 1606 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(32), math.rad(-30)), 0.5) | |
| 1607 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(21), math.rad(50), math.rad(40)), 0.5) | |
| 1608 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.5) | |
| 1609 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, -1) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.5) | |
| 1610 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(18), math.rad(0)), 0.5) | |
| 1611 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(60), math.rad(10)), 0.5) | |
| 1612 | if Debounces.on == false then | |
| 1613 | break | |
| 1614 | end | |
| 1615 | rs:wait(0.001) | |
| 1616 | end | |
| 1617 | z = Instance.new("Sound")
| |
| 1618 | z.SoundId = "http://www.roblox.com/asset/?id=160069154" | |
| 1619 | z.Parent = char.Head | |
| 1620 | z.Looped = false | |
| 1621 | z.Pitch = 1 | |
| 1622 | z.Volume = 0.1 | |
| 1623 | z.MaxDistance = 45 | |
| 1624 | wait(0.01) | |
| 1625 | z:Play() | |
| 1626 | Debounces.Slashing = true | |
| 1627 | for i = 1, 20 do | |
| 1628 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4) | |
| 1629 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(21), math.rad(0), math.rad(80)), 0.4) | |
| 1630 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(6), 0, math.rad(-10)), 0.4) | |
| 1631 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-14), 0, math.rad(10)), 0.4) | |
| 1632 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-14), math.rad(-36), math.rad(0)), 0.4) | |
| 1633 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(0)), 0.4) | |
| 1634 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.8, -2, -0.4) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-180)), 0.4) | |
| 1635 | if Debounces.on == false then | |
| 1636 | break | |
| 1637 | end | |
| 1638 | rs:wait(0.001) | |
| 1639 | end | |
| 1640 | z1 = Instance.new("Sound")
| |
| 1641 | z1.SoundId = "http://www.roblox.com/asset/?id=160069154" | |
| 1642 | z1.Parent = char.Head | |
| 1643 | z1.Looped = false | |
| 1644 | z1.Pitch = 1 | |
| 1645 | z1.Volume = 0.1 | |
| 1646 | z1.MaxDistance = 45 | |
| 1647 | wait(0.01) | |
| 1648 | z1:Play() | |
| 1649 | for i = 1, 20 do | |
| 1650 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.6) | |
| 1651 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-21), math.rad(50), math.rad(80)), 0.6) | |
| 1652 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(6), 0, math.rad(-10)), 0.6) | |
| 1653 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-14), 0, math.rad(10)), 0.6) | |
| 1654 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-14), math.rad(20), math.rad(0)), 0.6) | |
| 1655 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.6) | |
| 1656 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(-2, -0.6, -2.2) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 1) | |
| 1657 | if Debounces.on == false then | |
| 1658 | break | |
| 1659 | end | |
| 1660 | rs:wait() | |
| 1661 | end | |
| 1662 | Debounces.Slashing = false | |
| 1663 | for i = 1, 20 do | |
| 1664 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(8), math.rad(36), math.rad(0)), 0.4) | |
| 1665 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(8), math.rad(-36), math.rad(0)), 0.4) | |
| 1666 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.5) * CFrame.Angles(math.rad(50), math.rad(-90), math.rad(-80)), 0.4) | |
| 1667 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
| 1668 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4) | |
| 1669 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(20)), 0.4) | |
| 1670 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.6, -1.4, -1.4) * CFrame.Angles(math.rad(-60), math.rad(-60), math.rad(0)), 1) | |
| 1671 | if Debounces.on == false then | |
| 1672 | break | |
| 1673 | end | |
| 1674 | rs:wait() | |
| 1675 | end | |
| 1676 | z2 = Instance.new("Sound")
| |
| 1677 | z2.SoundId = "http://www.roblox.com/asset/?id=160773067" | |
| 1678 | z2.Parent = char.Head | |
| 1679 | z2.Looped = false | |
| 1680 | z2.Pitch = 0.9 | |
| 1681 | z2.Volume = 0.1 | |
| 1682 | z2.MaxDistance = 45 | |
| 1683 | wait(0.01) | |
| 1684 | z2:Play() | |
| 1685 | Debounces.Slashing = true | |
| 1686 | for i = 1, 20 do | |
| 1687 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(8), math.rad(-46), math.rad(0)), 0.5) | |
| 1688 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(60), math.rad(0)), 0.5) | |
| 1689 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.5) * CFrame.Angles(math.rad(60), math.rad(-40), math.rad(0)), 0.5) | |
| 1690 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -0.5) * CFrame.Angles(math.rad(80), math.rad(0), math.rad(40)), 0.5) | |
| 1691 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(6), math.rad(10), math.rad(-15)), 0.5) | |
| 1692 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(20)), 0.5) | |
| 1693 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(2.4, -1.2, -2.2) * CFrame.Angles(math.rad(-68), math.rad(-120), math.rad(45)), 1) | |
| 1694 | if Debounces.on == false then | |
| 1695 | break | |
| 1696 | end | |
| 1697 | rs:wait() | |
| 1698 | end | |
| 1699 | Debounces.Slashing = false | |
| 1700 | Debounces.NoIdl = false | |
| 1701 | Debounces.on = false | |
| 1702 | z:Destroy() | |
| 1703 | z1:Destroy() | |
| 1704 | z2:Destroy() | |
| 1705 | wait() | |
| 1706 | if Debounces.CanAttack == false then | |
| 1707 | Debounces.CanAttack = true | |
| 1708 | end | |
| 1709 | end | |
| 1710 | end) | |
| 1711 | cor2.Touched:connect(function(ht) | |
| 1712 | hit = ht.Parent | |
| 1713 | if ht and hit:IsA("Model") then
| |
| 1714 | if hit:FindFirstChild("Humanoid") and hit:FindFirstChild("Armed") ~= nil and hit.Name ~= p.Name and Debounces.Slashing == true and Debounces.Slashed == false then
| |
| 1715 | Debounces.Slashed = true | |
| 1716 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(15, 25))
| |
| 1717 | wait(1) | |
| 1718 | Debounces.Slashed = false | |
| 1719 | end | |
| 1720 | elseif ht and hit:IsA("Hat") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") and hit:FindFirstChild("Armed") ~= nil and Debounces.Slashing == true and Debounces.Slashed == false then
| |
| 1721 | Debounces.Slashed = true | |
| 1722 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(15, 25))
| |
| 1723 | wait(1) | |
| 1724 | Debounces.Slashed = false | |
| 1725 | end | |
| 1726 | end) | |
| 1727 | mouse.KeyDown:connect(function(key) | |
| 1728 | if key == "y" and Debounces.CanAttack == true then | |
| 1729 | Debounces.CanAttack = false | |
| 1730 | Debounces.NoIdl = true | |
| 1731 | char.Humanoid.WalkSpeed = 0.01 | |
| 1732 | Debounces.on = true | |
| 1733 | for i = 1, 20 do | |
| 1734 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.3) | |
| 1735 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.3) | |
| 1736 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.3) | |
| 1737 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.3) | |
| 1738 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.3) | |
| 1739 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.3) | |
| 1740 | if Debounces.on == false then | |
| 1741 | break | |
| 1742 | end | |
| 1743 | wait() | |
| 1744 | end | |
| 1745 | for i = 1, 20 do | |
| 1746 | wait() | |
| 1747 | for i, v in pairs(char.Scythe:children()) do | |
| 1748 | if v:IsA("Part") then
| |
| 1749 | v.Transparency = v.Transparency + 0.05 | |
| 1750 | end | |
| 1751 | end | |
| 1752 | end | |
| 1753 | x = Instance.new("Sound")
| |
| 1754 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
| 1755 | x.Parent = char | |
| 1756 | x.Looped = false | |
| 1757 | x.Pitch = 0.7 | |
| 1758 | x.Volume = 0.1 | |
| 1759 | x.MaxDistance = 45 | |
| 1760 | wait(0.1) | |
| 1761 | x:Play() | |
| 1762 | Debounces.on = false | |
| 1763 | Debounces.Here = false | |
| 1764 | shot = shot + 1 | |
| 1765 | for i = 1, 6 do | |
| 1766 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4) | |
| 1767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.4) | |
| 1768 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
| 1769 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
| 1770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
| 1771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 3) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
| 1772 | wait() | |
| 1773 | end | |
| 1774 | do | |
| 1775 | local rng = Instance.new("Part", char)
| |
| 1776 | rng.Anchored = true | |
| 1777 | rng.BrickColor = BrickColor.new("Really black")
| |
| 1778 | rng.CanCollide = false | |
| 1779 | rng.FormFactor = 3 | |
| 1780 | rng.Name = "Ring" | |
| 1781 | rng.Size = Vector3.new(1, 1, 1) | |
| 1782 | rng.Transparency = 0.35 | |
| 1783 | rng.TopSurface = 0 | |
| 1784 | rng.BottomSurface = 0 | |
| 1785 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1786 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1787 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 1788 | local bem = Instance.new("Part", char)
| |
| 1789 | bem.Anchored = true | |
| 1790 | bem.BrickColor = BrickColor.new("Really black")
| |
| 1791 | bem.CanCollide = false | |
| 1792 | bem.FormFactor = 3 | |
| 1793 | bem.Name = "Beam" .. shot | |
| 1794 | bem.Size = Vector3.new(1, 1, 1) | |
| 1795 | bem.Transparency = 0.35 | |
| 1796 | bem.TopSurface = 0 | |
| 1797 | bem.BottomSurface = 0 | |
| 1798 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 1799 | bemm.MeshType = 4 | |
| 1800 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 1801 | local out = Instance.new("Part", char)
| |
| 1802 | out.Anchored = true | |
| 1803 | out.BrickColor = BrickColor.new("Really black")
| |
| 1804 | out.CanCollide = false | |
| 1805 | out.FormFactor = 3 | |
| 1806 | out.Name = "Out" | |
| 1807 | out.Size = Vector3.new(4, 4, 4) | |
| 1808 | out.Transparency = 0.35 | |
| 1809 | out.TopSurface = 0 | |
| 1810 | out.BottomSurface = 0 | |
| 1811 | local outm = Instance.new("SpecialMesh", out)
| |
| 1812 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 1813 | outm.Scale = Vector3.new(4, 4, 4) | |
| 1814 | local bnd = Instance.new("Part", char)
| |
| 1815 | bnd.Anchored = true | |
| 1816 | bnd.BrickColor = BrickColor.new("Really black")
| |
| 1817 | bnd.CanCollide = false | |
| 1818 | bnd.FormFactor = 3 | |
| 1819 | bnd.Name = "Bend" | |
| 1820 | bnd.Size = Vector3.new(1, 1, 1) | |
| 1821 | bnd.Transparency = 1 | |
| 1822 | bnd.TopSurface = 0 | |
| 1823 | bnd.BottomSurface = 0 | |
| 1824 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 1825 | bndm.MeshType = 3 | |
| 1826 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 1827 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
| 1828 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 1829 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 1830 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 1831 | Debounces.Shewt = true | |
| 1832 | coroutine.wrap(function() | |
| 1833 | for i = 1, 20, 0.2 do | |
| 1834 | rngm.Scale = Vector3.new(10 + i * 2, 10 + i * 2, 1) | |
| 1835 | rng.Transparency = i / 20 | |
| 1836 | wait() | |
| 1837 | end | |
| 1838 | wait() | |
| 1839 | rng:Destroy() | |
| 1840 | end)() | |
| 1841 | if Debounces.Shewt == true then | |
| 1842 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 1843 | hit = ht.Parent | |
| 1844 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") and hit:FindFirstChild("Armed") ~= nil then
| |
| 1845 | if HasntTouched(hit.Name) == true and deb == false then | |
| 1846 | deb = true | |
| 1847 | coroutine.wrap(function() | |
| 1848 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 1849 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24, 53))
| |
| 1850 | end)() | |
| 1851 | table.insert(Touche, hit.Name) | |
| 1852 | deb = false | |
| 1853 | end | |
| 1854 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") and hit:FindFirstChild("Armed") ~= nil and HasntTouched(hit.Parent.Name) == true and deb == false then
| |
| 1855 | deb = true | |
| 1856 | coroutine.wrap(function() | |
| 1857 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 1858 | wait(1) | |
| 1859 | end)() | |
| 1860 | table.insert(Touche, hit.Parent.Name) | |
| 1861 | deb = false | |
| 1862 | for i, v in pairs(Touche) do | |
| 1863 | print(v) | |
| 1864 | end | |
| 1865 | end | |
| 1866 | end) | |
| 1867 | end | |
| 1868 | for i = 0, 260, 8 do | |
| 1869 | bem.Size = Vector3.new(i, 2, 2) | |
| 1870 | bem.CFrame = rarm.CFrame * CFrame.new(0, -3.2 - i / 2, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 1871 | bnd.CFrame = bem.CFrame * CFrame.new(-i / 2, 0, 1.2) | |
| 1872 | bnd.Size = Vector3.new(1, 1, 1) | |
| 1873 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 1874 | wait() | |
| 1875 | end | |
| 1876 | wait() | |
| 1877 | Debounces.Shewt = false | |
| 1878 | bem:Destroy() | |
| 1879 | out:Destroy() | |
| 1880 | bnd:Destroy() | |
| 1881 | char.Humanoid.WalkSpeed = 10 | |
| 1882 | Debounces.Ready = false | |
| 1883 | for i, v in pairs(Touche) do | |
| 1884 | table.remove(Touche, i) | |
| 1885 | end | |
| 1886 | wait() | |
| 1887 | table.insert(Touche, char.Name) | |
| 1888 | Debounces.NoIdl = false | |
| 1889 | if Debounces.CanAttack == false then | |
| 1890 | Debounces.CanAttack = true | |
| 1891 | for i = 1, 20 do | |
| 1892 | wait() | |
| 1893 | for i, v in pairs(char.Scythe:children()) do | |
| 1894 | if v:IsA("Part") then
| |
| 1895 | v.Transparency = v.Transparency - 0.05 | |
| 1896 | end | |
| 1897 | end | |
| 1898 | hum.WalkSpeed = 5 | |
| 1899 | end | |
| 1900 | end | |
| 1901 | end | |
| 1902 | end | |
| 1903 | end) | |
| 1904 | mouse.KeyDown:connect(function(key) | |
| 1905 | if key == "b" then | |
| 1906 | hum.WalkSpeed = 0.01 | |
| 1907 | if Debounces.CanAttack == true then | |
| 1908 | Debounces.CanAttack = false | |
| 1909 | Debounces.NoIdl = true | |
| 1910 | Debounces.on = true | |
| 1911 | for i = 1, 20 do | |
| 1912 | for i, v in pairs(char.Scythe:children()) do | |
| 1913 | if v:IsA("Part") then
| |
| 1914 | v.Transparency = v.Transparency + 0.5 | |
| 1915 | end | |
| 1916 | end | |
| 1917 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
| 1918 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
| 1919 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
| 1920 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
| 1921 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-5)), 0.1) | |
| 1922 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(5)), 0.1) | |
| 1923 | if Debounces.on == false then | |
| 1924 | break | |
| 1925 | end | |
| 1926 | wait() | |
| 1927 | end | |
| 1928 | wait(1) | |
| 1929 | v = Instance.new("Sound")
| |
| 1930 | v.SoundId = "http://www.roblox.com/asset/?id=181384451" | |
| 1931 | v.Parent = char | |
| 1932 | v.Looped = false | |
| 1933 | v.Pitch = 0.94 | |
| 1934 | v.Volume = 0.1 | |
| 1935 | v.MaxDistance = 45 | |
| 1936 | wait(0.01) | |
| 1937 | v:Play() | |
| 1938 | if Daytime == true then | |
| 1939 | Daytime = false | |
| 1940 | else | |
| 1941 | Daytime = true | |
| 1942 | end | |
| 1943 | local function Shockwave() | |
| 1944 | local rng1 = Instance.new("Part", char)
| |
| 1945 | rng1.Anchored = true | |
| 1946 | rng1.BrickColor = BrickColor.new("Really black")
| |
| 1947 | rng1.CanCollide = false | |
| 1948 | rng1.FormFactor = 3 | |
| 1949 | rng1.Name = "Ring" | |
| 1950 | rng1.Size = Vector3.new(1, 1, 1) | |
| 1951 | rng1.Transparency = 0.35 | |
| 1952 | rng1.TopSurface = 0 | |
| 1953 | rng1.BottomSurface = 0 | |
| 1954 | local rngm1 = Instance.new("SpecialMesh", rng)
| |
| 1955 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1956 | rngm1.Scale = Vector3.new(10, 10, 1) | |
| 1957 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
| 1958 | local Wave = Instance.new("Part", char)
| |
| 1959 | Wave.Name = "Shockwave" | |
| 1960 | Wave.BrickColor = BrickColor.new("Really black")
| |
| 1961 | Wave.Size = Vector3.new(1, 1, 1) | |
| 1962 | Wave.Shape = "Ball" | |
| 1963 | Wave.CanCollide = false | |
| 1964 | Wave.Anchored = true | |
| 1965 | Wave.TopSurface = 0 | |
| 1966 | Wave.BottomSurface = 0 | |
| 1967 | Wave.Touched:connect(function(hit) | |
| 1968 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") and hit:FindFirstChild("Armed") ~= nil then
| |
| 1969 | local Occlude = true | |
| 1970 | local NotOccludes = {
| |
| 1971 | char.Name, | |
| 1972 | "Wings", | |
| 1973 | "Scythe", | |
| 1974 | "Thingy", | |
| 1975 | "Thingy2" | |
| 1976 | } | |
| 1977 | for i, v in pairs(NotOccludes) do | |
| 1978 | if hit.Parent.Name == v then | |
| 1979 | Occlude = false | |
| 1980 | end | |
| 1981 | end | |
| 1982 | if Occlude then | |
| 1983 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
| |
| 1984 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
| |
| 1985 | end | |
| 1986 | end | |
| 1987 | end) | |
| 1988 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
| |
| 1989 | coroutine.wrap(function() | |
| 1990 | for i = 1, 20, 0.2 do | |
| 1991 | rngm1.Scale = Vector3.new(10 + i * 2, 10 + i * 2, 1) | |
| 1992 | rng1.Transparency = i / 20 | |
| 1993 | wait() | |
| 1994 | end | |
| 1995 | wait() | |
| 1996 | rng1:Destroy() | |
| 1997 | end)() | |
| 1998 | Delay(0, function() | |
| 1999 | if Daytime == false then | |
| 2000 | for i = 1, 50 do | |
| 2001 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
| 2002 | Wave.CFrame = char.Torso.CFrame | |
| 2003 | local t = i / 50 | |
| 2004 | Wave.Transparency = t | |
| 2005 | wait() | |
| 2006 | end | |
| 2007 | else | |
| 2008 | for i = 1, 50 do | |
| 2009 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
| 2010 | Wave.CFrame = char.Torso.CFrame | |
| 2011 | local t = i / 50 | |
| 2012 | Wave.Transparency = t | |
| 2013 | wait() | |
| 2014 | end | |
| 2015 | end | |
| 2016 | Wave:Destroy() | |
| 2017 | end) | |
| 2018 | Delay(0, function() | |
| 2019 | while true do | |
| 2020 | if wait() and Wave ~= nil then | |
| 2021 | Wave.CFrame = char.Torso.CFrame | |
| 2022 | break | |
| 2023 | end | |
| 2024 | end | |
| 2025 | end) | |
| 2026 | end | |
| 2027 | Shockwave() | |
| 2028 | for i = 1, 15 do | |
| 2029 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 2030 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 2031 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2032 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 2033 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2034 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2035 | if Debounces.on == false then | |
| 2036 | break | |
| 2037 | end | |
| 2038 | wait() | |
| 2039 | end | |
| 2040 | for i = 1, 15 do | |
| 2041 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 2042 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 2043 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2044 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 2045 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2046 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2047 | if Debounces.on == false then | |
| 2048 | break | |
| 2049 | end | |
| 2050 | wait() | |
| 2051 | end | |
| 2052 | for i = 1, 15 do | |
| 2053 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 2054 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 2055 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2056 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 2057 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2058 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2059 | if Debounces.on == false then | |
| 2060 | break | |
| 2061 | end | |
| 2062 | wait() | |
| 2063 | end | |
| 2064 | for i = 1, 15 do | |
| 2065 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 2066 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 2067 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2068 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 2069 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2070 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2071 | if Debounces.on == false then | |
| 2072 | break | |
| 2073 | end | |
| 2074 | wait() | |
| 2075 | end | |
| 2076 | for i = 1, 15 do | |
| 2077 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 2078 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 2079 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2080 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 2081 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2082 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2083 | if Debounces.on == false then | |
| 2084 | break | |
| 2085 | end | |
| 2086 | wait() | |
| 2087 | end | |
| 2088 | for i = 1, 10 do | |
| 2089 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 2090 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 2091 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2092 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 2093 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2094 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2095 | if Debounces.on == false then | |
| 2096 | break | |
| 2097 | end | |
| 2098 | wait() | |
| 2099 | end | |
| 2100 | wait(1.4) | |
| 2101 | for i, v in pairs(char.Scythe:children()) do | |
| 2102 | if v:IsA("Part") then
| |
| 2103 | v.Transparency = 0 | |
| 2104 | if v.Name == "Thingy2" then | |
| 2105 | v.Transparency = 1 | |
| 2106 | end | |
| 2107 | end | |
| 2108 | end | |
| 2109 | Debounces.NoIdl = false | |
| 2110 | hum.WalkSpeed = 5 | |
| 2111 | Debounces.on = false | |
| 2112 | wait() | |
| 2113 | if Debounces.CanAttack == false then | |
| 2114 | Debounces.CanAttack = true | |
| 2115 | v:Destroy() | |
| 2116 | end | |
| 2117 | end | |
| 2118 | end | |
| 2119 | end) | |
| 2120 | mouse.KeyDown:connect(function(key) | |
| 2121 | if key == "r" and Debounces.CanAttack == true then | |
| 2122 | Debounces.CanAttack = false | |
| 2123 | x = Instance.new("Sound")
| |
| 2124 | x.SoundId = "http://www.roblox.com/asset?id=219338993" | |
| 2125 | x.Parent = char | |
| 2126 | x.Volume = 0.7 | |
| 2127 | x.MaxDistance = 45 | |
| 2128 | x.Pitch = 1 | |
| 2129 | x.Looped = true | |
| 2130 | x:Play() | |
| 2131 | explo = false | |
| 2132 | Debounces.NoIdl = true | |
| 2133 | Debounces.on = true | |
| 2134 | for i = 1, 30 do | |
| 2135 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
| 2136 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.1) | |
| 2137 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-40)), 0.1) | |
| 2138 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -0.5) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(40)), 0.1) | |
| 2139 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2140 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2141 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(2.4, -1.2, -2.2) * CFrame.Angles(math.rad(-68), math.rad(-120), math.rad(45)), 0.8) | |
| 2142 | if Debounces.on == false then | |
| 2143 | break | |
| 2144 | end | |
| 2145 | wait() | |
| 2146 | end | |
| 2147 | wait(1.2) | |
| 2148 | explosion("Royal purple", "Black", torso.CFrame, Vector3.new(50, 50, 50), 30, math.random(15, 30))
| |
| 2149 | x:Destroy() | |
| 2150 | b = Instance.new("Sound")
| |
| 2151 | b.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 2152 | b.Parent = char | |
| 2153 | b.Looped = false | |
| 2154 | b:Play() | |
| 2155 | n = Instance.new("Sound")
| |
| 2156 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
| 2157 | n.Parent = char | |
| 2158 | n.Pitch = 0.94 | |
| 2159 | n.Looped = false | |
| 2160 | n:Play() | |
| 2161 | for i = 1, 20 do | |
| 2162 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.8) | |
| 2163 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.8) | |
| 2164 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.5) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-40)), 0.8) | |
| 2165 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -0.5) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(40)), 0.8) | |
| 2166 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-20)), 0.8) | |
| 2167 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.8) | |
| 2168 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(2.4, -1.2, -2.2) * CFrame.Angles(math.rad(-68), math.rad(-120), math.rad(45)), 0.8) | |
| 2169 | if Debounces.on == false then | |
| 2170 | break | |
| 2171 | end | |
| 2172 | wait() | |
| 2173 | end | |
| 2174 | Debounces.NoIdl = false | |
| 2175 | Debounces.on = false | |
| 2176 | wait(1) | |
| 2177 | if Debounces.CanAttack == false then | |
| 2178 | Debounces.CanAttack = true | |
| 2179 | x:Destroy() | |
| 2180 | b:Destroy() | |
| 2181 | n:Destroy() | |
| 2182 | end | |
| 2183 | end | |
| 2184 | end) | |
| 2185 | mouse.KeyDown:connect(function(key) | |
| 2186 | if key == "hh" and Debounces.CanJoke == true then | |
| 2187 | Debounces.CanJoke = false | |
| 2188 | u = Instance.new("Sound")
| |
| 2189 | u.SoundId = "http://www.roblox.com/asset/?id=138199573" | |
| 2190 | u.Parent = char | |
| 2191 | u.Looped = false | |
| 2192 | u.Pitch = 0.8 | |
| 2193 | u.Volume = 0.1 | |
| 2194 | u.MaxDistance = 45 | |
| 2195 | u2 = Instance.new("Sound")
| |
| 2196 | u2.SoundId = "http://www.roblox.com/asset/?id=138199573" | |
| 2197 | u2.Parent = char | |
| 2198 | u2.Looped = false | |
| 2199 | u2.Pitch = 0.8 | |
| 2200 | u2.Volume = 0.1 | |
| 2201 | u2.MaxDistance = 45 | |
| 2202 | wait(0.01) | |
| 2203 | u:Play() | |
| 2204 | u2:Play() | |
| 2205 | wait(6) | |
| 2206 | u:Destroy() | |
| 2207 | u2:Destroy() | |
| 2208 | if Debounces.CanJoke == false then | |
| 2209 | Debounces.CanJoke = true | |
| 2210 | end | |
| 2211 | end | |
| 2212 | end) | |
| 2213 | mouse.KeyDown:connect(function(key) | |
| 2214 | if key == "jj" and Debounces.CanJoke == true then | |
| 2215 | Debounces.CanJoke = false | |
| 2216 | u = Instance.new("Sound")
| |
| 2217 | u.SoundId = "http://www.roblox.com/asset/?id=165564810" | |
| 2218 | u.Parent = char | |
| 2219 | u.Looped = false | |
| 2220 | u.Pitch = 0.98 | |
| 2221 | u.Volume = 0.1 | |
| 2222 | u.MaxDistance = 45 | |
| 2223 | u:Play() | |
| 2224 | wait(10) | |
| 2225 | u:Destroy() | |
| 2226 | if Debounces.CanJoke == false then | |
| 2227 | Debounces.CanJoke = true | |
| 2228 | end | |
| 2229 | end | |
| 2230 | end) | |
| 2231 | imh = {
| |
| 2232 | "169446896", | |
| 2233 | "169446924", | |
| 2234 | "169446950", | |
| 2235 | "169447220", | |
| 2236 | "169448775" | |
| 2237 | } | |
| 2238 | pt2 = {
| |
| 2239 | 0.8, | |
| 2240 | 0.85, | |
| 2241 | 0.9, | |
| 2242 | 0.95, | |
| 2243 | 1 | |
| 2244 | } | |
| 2245 | mouse.KeyDown:connect(function(key) | |
| 2246 | if key == "kk" and Debounces.CanJoke == true then | |
| 2247 | Debounces.CanJoke = false | |
| 2248 | u = Instance.new("Sound", char)
| |
| 2249 | u.SoundId = "rbxassetid://" .. imh[math.random(1, #imh)] | |
| 2250 | u.Looped = false | |
| 2251 | u.Pitch = pt2[math.random(1, #pt2)] | |
| 2252 | u.Volume = 0.1 | |
| 2253 | u.MaxDistance = 45 | |
| 2254 | u2 = Instance.new("Sound", char)
| |
| 2255 | u2.SoundId = u.SoundId | |
| 2256 | u2.Looped = false | |
| 2257 | u2.Pitch = u.Pitch | |
| 2258 | u2.Volume = 0.1 | |
| 2259 | u2.MaxDistance = 45 | |
| 2260 | wait(0.01) | |
| 2261 | u:Play() | |
| 2262 | u2:Play() | |
| 2263 | wait(4) | |
| 2264 | u:Destroy() | |
| 2265 | if Debounces.CanJoke == false then | |
| 2266 | Debounces.CanJoke = true | |
| 2267 | end | |
| 2268 | end | |
| 2269 | end) | |
| 2270 | bhu = {
| |
| 2271 | "130759160", | |
| 2272 | "130759077", | |
| 2273 | "169446709", | |
| 2274 | "169449117", | |
| 2275 | "169449143" | |
| 2276 | } | |
| 2277 | pt3 = {
| |
| 2278 | 0.7, | |
| 2279 | 0.75, | |
| 2280 | 0.8, | |
| 2281 | 0.85 | |
| 2282 | } | |
| 2283 | mouse.KeyDown:connect(function(key) | |
| 2284 | if key == "ll" and Debounces.CanJoke == true then | |
| 2285 | Debounces.CanJoke = false | |
| 2286 | u = Instance.new("Sound", char)
| |
| 2287 | u.SoundId = "rbxassetid://" .. bhu[math.random(1, #bhu)] | |
| 2288 | u.Looped = false | |
| 2289 | u.Pitch = pt3[math.random(1, #pt3)] | |
| 2290 | u.Volume = 0.1 | |
| 2291 | u.MaxDistance = 45 | |
| 2292 | u2 = Instance.new("Sound", char)
| |
| 2293 | u2.SoundId = u.SoundId | |
| 2294 | u2.Looped = false | |
| 2295 | u2.Pitch = u.Pitch | |
| 2296 | u2.Volume = 0.1 | |
| 2297 | u2.MaxDistance = 45 | |
| 2298 | wait(0.01) | |
| 2299 | u:Play() | |
| 2300 | u2:Play() | |
| 2301 | wait(1) | |
| 2302 | u:Destroy() | |
| 2303 | u2:Destroy() | |
| 2304 | if Debounces.CanJoke == false then | |
| 2305 | Debounces.CanJoke = true | |
| 2306 | end | |
| 2307 | end | |
| 2308 | end) | |
| 2309 | mouse.KeyDown:connect(function(key) | |
| 2310 | if key == "xx" and Debounces.Invisible == false then | |
| 2311 | Debounces.Invisible = true | |
| 2312 | lite.Brightness = 0 | |
| 2313 | char.Orb.ParticleEmitter.Transparency = NumberSequence.new(1) | |
| 2314 | game:GetService("SoundService").AmbientReverb = "Hangar"
| |
| 2315 | b = Instance.new("Sound")
| |
| 2316 | b.SoundId = "http://www.roblox.com/asset/?id=160867437" | |
| 2317 | b.Parent = hed | |
| 2318 | b.Looped = false | |
| 2319 | b.Pitch = 1.15 | |
| 2320 | b.Volume = 0.1 | |
| 2321 | b.MaxDistance = 45 | |
| 2322 | wait(0.1) | |
| 2323 | b:Play() | |
| 2324 | b1 = Instance.new("Sound")
| |
| 2325 | b1.SoundId = "http://www.roblox.com/asset/?id=176651233" | |
| 2326 | b1.Parent = hed | |
| 2327 | b1.Looped = true | |
| 2328 | b1.Pitch = 0.9 | |
| 2329 | b1.Volume = 0.1 | |
| 2330 | b1.MaxDistance = 45 | |
| 2331 | b2 = Instance.new("Sound")
| |
| 2332 | b2.SoundId = "http://www.roblox.com/asset/?id=176651233" | |
| 2333 | b2.Parent = hed | |
| 2334 | b2.Looped = true | |
| 2335 | b2.Pitch = 0.9 | |
| 2336 | b2.Volume = 0.1 | |
| 2337 | b2.MaxDistance = 45 | |
| 2338 | wait(0.1) | |
| 2339 | b1:Play() | |
| 2340 | b2:Play() | |
| 2341 | for i = 1, 20 do | |
| 2342 | wait() | |
| 2343 | for i, v in pairs(char:children()) do | |
| 2344 | if v:IsA("Part") then
| |
| 2345 | v.Transparency = v.Transparency + 0.05 | |
| 2346 | end | |
| 2347 | end | |
| 2348 | for i, v in pairs(char.Scythe:children()) do | |
| 2349 | if v:IsA("Part") then
| |
| 2350 | v.Transparency = v.Transparency + 0.05 | |
| 2351 | end | |
| 2352 | end | |
| 2353 | for i, v in pairs(char.Wings:children()) do | |
| 2354 | if v:IsA("Part") then
| |
| 2355 | v.Transparency = v.Transparency + 0.05 | |
| 2356 | end | |
| 2357 | end | |
| 2358 | end | |
| 2359 | char.Humanoid.WalkSpeed = 50 | |
| 2360 | b:Destroy() | |
| 2361 | end | |
| 2362 | end) | |
| 2363 | mouse.KeyUp:connect(function(key) | |
| 2364 | if key == "xx" then | |
| 2365 | b1:Destroy() | |
| 2366 | b2:Destroy() | |
| 2367 | game:GetService("SoundService").AmbientReverb = "NoReverb"
| |
| 2368 | if math.random(1, 4) == 1 then | |
| 2369 | b = Instance.new("Sound")
| |
| 2370 | b.SoundId = "http://www.roblox.com/asset/?id=155348816" | |
| 2371 | b.Parent = hed | |
| 2372 | b.Looped = false | |
| 2373 | b.Pitch = 0.93 | |
| 2374 | b.Volume = 0.1 | |
| 2375 | b.MaxDistance = 45 | |
| 2376 | wait(0.1) | |
| 2377 | b:Play() | |
| 2378 | else | |
| 2379 | end | |
| 2380 | char.Humanoid.WalkSpeed = 5 | |
| 2381 | for i = 1, 10 do | |
| 2382 | wait() | |
| 2383 | for i, v in pairs(char:children()) do | |
| 2384 | if v:IsA("Part") then
| |
| 2385 | v.Transparency = v.Transparency - 0.1 | |
| 2386 | end | |
| 2387 | end | |
| 2388 | for i, v in pairs(char.Scythe:children()) do | |
| 2389 | if v:IsA("Part") then
| |
| 2390 | v.Transparency = v.Transparency - 0.1 | |
| 2391 | end | |
| 2392 | end | |
| 2393 | for i, v in pairs(char.Wings:children()) do | |
| 2394 | if v:IsA("Part") then
| |
| 2395 | v.Transparency = v.Transparency - 0.1 | |
| 2396 | end | |
| 2397 | end | |
| 2398 | end | |
| 2399 | lite.Brightness = 10 | |
| 2400 | char.Orb.ParticleEmitter.Transparency = NumberSequence.new(0) | |
| 2401 | b:Destroy() | |
| 2402 | if Debounces.Invisible == true then | |
| 2403 | Debounces.Invisible = false | |
| 2404 | end | |
| 2405 | end | |
| 2406 | end) | |
| 2407 | local PressingMouse = false | |
| 2408 | mouse.Button1Up:connect(function() | |
| 2409 | PressingMouse = false | |
| 2410 | end) | |
| 2411 | local Mouse = mouse | |
| 2412 | local Char = char | |
| 2413 | local CurrentBP = -1 | |
| 2414 | local Dist = 10 | |
| 2415 | local DoBP = false | |
| 2416 | Mouse.Button1Down:connect(function() | |
| 2417 | if Mouse.Target then | |
| 2418 | DoBP = true | |
| 2419 | Dist = (Char.Torso.Position - Mouse.Target.Position).magnitude | |
| 2420 | CurrentBP = Instance.new("BodyPosition", Mouse.Target)
| |
| 2421 | CurrentBP.Name = "get rekt m9" | |
| 2422 | CurrentBP.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 2423 | CurrentBP.P = 100000 | |
| 2424 | end | |
| 2425 | end) | |
| 2426 | Mouse.Button1Up:connect(function() | |
| 2427 | if DoBP == true then | |
| 2428 | DoBP = false | |
| 2429 | if CurrentBP ~= -1 then | |
| 2430 | CurrentBP:Destroy() | |
| 2431 | CurrentBP = -1 | |
| 2432 | end | |
| 2433 | CurrentBP = -1 | |
| 2434 | end | |
| 2435 | end) | |
| 2436 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 2437 | if DoBP and CurrentBP ~= -1 then | |
| 2438 | local Unit = -(Char.Torso.Position - Mouse.Hit.p).unit * Dist | |
| 2439 | CurrentBP.position = Char.Torso.Position + Unit | |
| 2440 | end | |
| 2441 | end) | |
| 2442 | mouse.KeyDown:connect(function(key) | |
| 2443 | if key == "n" then | |
| 2444 | for i, v in pairs(game.Players:getPlayers()) do | |
| 2445 | if v.Name ~= char.Name then | |
| 2446 | for j, k in pairs(v.Character:GetChildren()) do | |
| 2447 | if k:IsA("BasePart") and k.Transparency <= 1 then
| |
| 2448 | bawx = Instance.new("SelectionBox", cam)
| |
| 2449 | bawx.Color = BrickColor.new("Bright red")
| |
| 2450 | bawx.Transparency = 0.5 | |
| 2451 | bawx.Adornee = k | |
| 2452 | end | |
| 2453 | end | |
| 2454 | end | |
| 2455 | end | |
| 2456 | end | |
| 2457 | end) | |
| 2458 | mouse.KeyUp:connect(function(key) | |
| 2459 | if key == "n" then | |
| 2460 | for i, v in pairs(cam:children()) do | |
| 2461 | if v:IsA("SelectionBox") then
| |
| 2462 | v:Destroy() | |
| 2463 | end | |
| 2464 | end | |
| 2465 | end | |
| 2466 | end) | |
| 2467 | mouse.KeyDown:connect(function(key) | |
| 2468 | if string.byte(key) == 52 then | |
| 2469 | char.Humanoid.WalkSpeed = 21 | |
| 2470 | end | |
| 2471 | end) | |
| 2472 | mouse.KeyUp:connect(function(key) | |
| 2473 | if string.byte(key) == 52 then | |
| 2474 | char.Humanoid.WalkSpeed = 5 | |
| 2475 | end | |
| 2476 | end) | |
| 2477 | mouse.KeyDown:connect(function(key) | |
| 2478 | if key == "z" then | |
| 2479 | stanceToggle = "Landed" | |
| 2480 | elseif key == "c" then | |
| 2481 | stanceToggle = "Floating" | |
| 2482 | elseif key == "v" then | |
| 2483 | stanceToggle = "Sitting" | |
| 2484 | end | |
| 2485 | end) | |
| 2486 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 2487 | if char.Humanoid.Health > 0 then | |
| 2488 | if char.Humanoid.Jump == true then | |
| 2489 | jumpn = true | |
| 2490 | else | |
| 2491 | jumpn = false | |
| 2492 | end | |
| 2493 | char.Humanoid.FreeFalling:connect(function(f) | |
| 2494 | if f then | |
| 2495 | ffing = true | |
| 2496 | else | |
| 2497 | ffing = false | |
| 2498 | end | |
| 2499 | end) | |
| 2500 | sine = sine + change | |
| 2501 | if jumpn == true then | |
| 2502 | animpose = "Jumping" | |
| 2503 | elseif ffing == true then | |
| 2504 | animpose = "Freefalling" | |
| 2505 | elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 2506 | animpose = "Idle" | |
| 2507 | elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 2508 | animpose = "Walking" | |
| 2509 | elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 2510 | animpose = "Running" | |
| 2511 | end | |
| 2512 | if animpose ~= lastanimpose then | |
| 2513 | sine = 0 | |
| 2514 | if Debounces.NoIdl == false then | |
| 2515 | if stanceToggle == "Floating" then | |
| 2516 | change = 1 | |
| 2517 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-10)), 0.6) | |
| 2518 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(30)), 0.2) | |
| 2519 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-8)), 0.6) | |
| 2520 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(8)), 0.6) | |
| 2521 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -2.2, -1.8) * CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)), 1) | |
| 2522 | end | |
| 2523 | elseif stanceToggle == "Landed" then | |
| 2524 | change = 1 | |
| 2525 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 2526 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 2527 | elseif stanceToggle == "Sitting" then | |
| 2528 | change = 1 | |
| 2529 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 2530 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
| 2531 | wait() | |
| 2532 | end | |
| 2533 | else | |
| 2534 | end | |
| 2535 | lastanimpose = animpose | |
| 2536 | if Debounces.NoIdl == false then | |
| 2537 | if animpose == "Idle" then | |
| 2538 | if stanceToggle == "Floating" then | |
| 2539 | change = 0.5 | |
| 2540 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0 - 0.16 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-20 - 1 * math.cos(sine / 14)), math.rad(0), 0), 0.05) | |
| 2541 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(30 + 1 * math.cos(sine / 14))), 0.2) | |
| 2542 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.65 + 0.05 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10 - 1.5 * math.cos(sine / 14))), 0.2) | |
| 2543 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-20 + 2 * math.cos(sine / 14)), math.rad(0), math.rad(0)), 0.2) | |
| 2544 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0 + 2 * math.cos(sine / 14)), math.rad(-8 - 1.5 * math.cos(sine / 14))), 0.2) | |
| 2545 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0 + 2 * math.cos(sine / 14)), math.rad(8 + 1.5 * math.cos(sine / 14))), 0.2) | |
| 2546 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -2.2, -1.8) * CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)), 0.4) | |
| 2547 | elseif stanceToggle == "Landed" then | |
| 2548 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65 + 0.05 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(22 + 2 * math.cos(sine / 14))), 0.2) | |
| 2549 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 14), -0.5) * CFrame.Angles(math.rad(70), math.rad(-10), math.rad(26 - 2 * math.cos(sine / 14))), 0.2) | |
| 2550 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10 + 2 * math.cos(sine / 14)), math.rad(36), math.rad(0)), 0.2) | |
| 2551 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10 + 1 * math.cos(sine / 14)), math.rad(-36), math.rad(0)), 0.2) | |
| 2552 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -1, 0) * CFrame.Angles(math.rad(30 - 1.5 * math.cos(sine / 14)), math.rad(30), math.rad(-30)), 0.2) | |
| 2553 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10 - 1.5 * math.cos(sine / 14)), math.rad(30), math.rad(20)), 0.2) | |
| 2554 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.8, -0.8, -1.4) * CFrame.Angles(math.rad(-40), math.rad(-70), math.rad(0)), 0.2) | |
| 2555 | elseif stanceToggle == "Sitting" then | |
| 2556 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.3, -0.1) * CFrame.Angles(math.rad(45 - 2 * math.cos(sine / 14)), math.rad(0), math.rad(32)), 0.2) | |
| 2557 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20 + 1 * math.cos(sine / 14))), 0.2) | |
| 2558 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(14 + 2 * math.cos(sine / 14)), math.rad(-40), math.rad(14)), 0.2) | |
| 2559 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50 + 1 * math.cos(sine / 14)), math.rad(40), math.rad(0)), 0.2) | |
| 2560 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, 0.2, -0.8) * CFrame.Angles(math.rad(30 - 1 * math.cos(sine / 14)), 0, math.rad(20)), 0.2) | |
| 2561 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.8, -1, 0) * CFrame.Angles(math.rad(-10 - 1 * math.cos(sine / 14)), math.rad(-40), math.rad(0)), 0.2) | |
| 2562 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, 1.2, 0) * CFrame.Angles(math.rad(-90), math.rad(180), math.rad(0)), 0.2) | |
| 2563 | end | |
| 2564 | elseif animpose == "Walking" then | |
| 2565 | if stanceToggle == "Landed" then | |
| 2566 | change = 0.5 | |
| 2567 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2) | |
| 2568 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2) | |
| 2569 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2) | |
| 2570 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
| 2571 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
| 2572 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2) | |
| 2573 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.6, -1.4, -1.4) * CFrame.Angles(math.rad(-60), math.rad(-60), math.rad(0)), 0.4) | |
| 2574 | elseif stanceToggle == "Sitting" then | |
| 2575 | stanceToggle = "Landed" | |
| 2576 | elseif stanceToggle == "Floating" then | |
| 2577 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0 - 0.1 * math.cos(sine / 16), 0) * CFrame.Angles(math.rad(-20), 0, 0), 0.6) | |
| 2578 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(30 + 2 * math.cos(sine / 16))), 0.3) | |
| 2579 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(15 + 10 * math.cos(sine / 16)), 0, 0), 0.3) | |
| 2580 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-18 + 2 * math.cos(sine / 16)), math.rad(0), math.rad(0)), 0.3) | |
| 2581 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(13 + 4 * math.cos(sine / 16)), 0, 0), 0.3) | |
| 2582 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15 + 10 * math.cos(sine / 16)), 0, 0), 0.3) | |
| 2583 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -2.2, -1.8) * CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)), 0.3) | |
| 2584 | end | |
| 2585 | elseif animpose == "Running" then | |
| 2586 | change = 1 | |
| 2587 | if stanceToggle == "Landed" then | |
| 2588 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4 - 0.1 * math.cos(sine / 6), 0.5, 0 + 0.8 * math.cos(sine / 6)) * CFrame.Angles(math.rad(20 - 90 * math.cos(sine / 6) / 1.2), math.rad(0), math.rad(20 - 40 * math.cos(sine / 6))), 0.2) | |
| 2589 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4 - 0.1 * math.cos(sine / 6), 0.5, 0 - 0.8 * math.cos(sine / 6)) * CFrame.Angles(math.rad(20 + 90 * math.cos(sine / 6) / 1.2), math.rad(0), math.rad(-20 - 40 * math.cos(sine / 6))), 0.2) | |
| 2590 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-8 + 12 * math.cos(sine / 3) / 1.8), math.rad(0 - 8 * math.cos(sine / 6)), math.rad(0)), 0.2) | |
| 2591 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 - 0.1 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-14 + 15 * math.cos(sine / 3) / 2), math.rad(0 + 12 * math.cos(sine / 6)), math.rad(0)), 0.2) | |
| 2592 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 + 0.1 * math.cos(sine / 6) / 3, -0.15 + -math.sin(sine / 6) / 3) * CFrame.Angles(math.rad(-12) + math.sin(sine / 6) / 1.7, math.rad(0 - 12 * math.cos(sine / 6)), 0), 0.8) | |
| 2593 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 - 0.1 * math.cos(sine / 6) / 3, -0.15 + math.sin(sine / 6) / 3) * CFrame.Angles(math.rad(-12) + -math.sin(sine / 6) / 1.7, math.rad(0 - 12 * math.cos(sine / 6)), 0), 0.8) | |
| 2594 | end | |
| 2595 | end | |
| 2596 | end | |
| 2597 | end | |
| 2598 | end) | |
| 2599 | Spawn(function() | |
| 2600 | while wait() do | |
| 2601 | updateFly() | |
| 2602 | end | |
| 2603 | end) | |
| 2604 | Spawn(function() | |
| 2605 | while wait(0.1) do | |
| 2606 | Magik() | |
| 2607 | end | |
| 2608 | end) |