SHOW:
|
|
- or go back to the newest paste.
| 1 | Effects = {} --sound effects, for advanced players.
| |
| 2 | local Player = game.Players.localPlayer | |
| 3 | local Character = Player.Character | |
| 4 | local Humanoid = Character.Humanoid | |
| 5 | z = Instance.new("Sound", Character)
| |
| 6 | z.SoundId = "rbxassetid://387029183"-- | |
| 7 | z.Looped = true --False for a one-time song. | |
| 8 | z.Pitch = 1.0 | |
| 9 | z.Volume = 1.6 | |
| 10 | wait(.1) | |
| 11 | z:Play() | |
| 12 | ------------------------ | |
| 13 | wait(0.016666666666667) | |
| 14 | Effects = {}
| |
| 15 | local Player = game.Players.localPlayer | |
| 16 | local Character = Player.Character | |
| 17 | local Humanoid = Character.Humanoid | |
| 18 | local mouse = Player:GetMouse() | |
| 19 | local m = Instance.new("Model", Character)
| |
| 20 | m.Name = "Hades" | |
| 21 | local effect = Instance.new("Model", Character)
| |
| 22 | effect.Name = "Effects" | |
| 23 | Hammer = {}
| |
| 24 | HammerWelds = {}
| |
| 25 | local LeftArm = Character["Left Arm"] | |
| 26 | local RightArm = Character["Right Arm"] | |
| 27 | local LeftLeg = Character["Left Leg"] | |
| 28 | local RightLeg = Character["Right Leg"] | |
| 29 | local WStyle = "Hammer" | |
| 30 | local Head = Character.Head | |
| 31 | local Torso = Character.Torso | |
| 32 | local cam = game.Workspace.CurrentCamera | |
| 33 | local RootPart = Character.HumanoidRootPart | |
| 34 | local RootJoint = RootPart.RootJoint | |
| 35 | local equipped = false | |
| 36 | local attack = false | |
| 37 | local Anim = "Idle" | |
| 38 | local idle = 0 | |
| 39 | local mananum = 0 | |
| 40 | local attacktype = 1 | |
| 41 | local attacktype2 = 1 | |
| 42 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 43 | local velocity = RootPart.Velocity.y | |
| 44 | local sine = 0 | |
| 45 | local change = 1 | |
| 46 | local mana = 100 | |
| 47 | local it = Instance.new | |
| 48 | local vt = Vector3.new | |
| 49 | local grabbed = false | |
| 50 | local cf = CFrame.new | |
| 51 | local mr = math.rad | |
| 52 | local angles = CFrame.Angles | |
| 53 | local ud = UDim2.new | |
| 54 | local c3 = Color3.new | |
| 55 | Anim = Instance.new("StringValue")
| |
| 56 | Anim.Name = "Animation" | |
| 57 | Anim.Parent = Character | |
| 58 | Anim.Value = "Walking" | |
| 59 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 60 | xenabled = true | |
| 61 | cenabled = true | |
| 62 | venabled = true | |
| 63 | zenabled = true | |
| 64 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 65 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 66 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
| 67 | RSH = nil | |
| 68 | RW = Instance.new("Weld")
| |
| 69 | LW = Instance.new("Weld")
| |
| 70 | RH = Torso["Right Hip"] | |
| 71 | LH = Torso["Left Hip"] | |
| 72 | RSH = Torso["Right Shoulder"] | |
| 73 | LSH = Torso["Left Shoulder"] | |
| 74 | RSH.Parent = nil | |
| 75 | LSH.Parent = nil | |
| 76 | RW.Name = "RW" | |
| 77 | RW.Part0 = Torso | |
| 78 | RW.C0 = cf(1.5, 0.5, 0) | |
| 79 | RW.C1 = cf(0, 0.5, 0) | |
| 80 | RW.Part1 = RightArm | |
| 81 | RW.Parent = Torso | |
| 82 | LW.Name = "LW" | |
| 83 | LW.Part0 = Torso | |
| 84 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 85 | LW.C1 = cf(0, 0.5, 0) | |
| 86 | LW.Part1 = LeftArm | |
| 87 | LW.Parent = Torso | |
| 88 | clerp = function(a, b, t) | |
| 89 | return a:lerp(b, t) | |
| 90 | end | |
| 91 | ||
| 92 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 93 | local Create = RbxUtility.Create | |
| 94 | RemoveOutlines = function(part) | |
| 95 | part.TopSurface = 10 | |
| 96 | end | |
| 97 | ||
| 98 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 99 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 100 | RemoveOutlines(Part) | |
| 101 | return Part | |
| 102 | end | |
| 103 | ||
| 104 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 105 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 106 | if Mesh == "SpecialMesh" then | |
| 107 | Msh.MeshType = MeshType | |
| 108 | Msh.MeshId = MeshId | |
| 109 | end | |
| 110 | return Msh | |
| 111 | end | |
| 112 | ||
| 113 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 114 | ArtificialHB.Name = "Heartbeat" | |
| 115 | script:WaitForChild("Heartbeat")
| |
| 116 | frame = 0.016666666666667 | |
| 117 | tf = 0 | |
| 118 | allowframeloss = false | |
| 119 | tossremainder = false | |
| 120 | lastframe = tick() | |
| 121 | script.Heartbeat:Fire() | |
| 122 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 123 | tf = tf + s | |
| 124 | if frame <= tf then | |
| 125 | if allowframeloss then | |
| 126 | script.Heartbeat:Fire() | |
| 127 | lastframe = tick() | |
| 128 | else | |
| 129 | for i = 1, math.floor(tf / frame) do | |
| 130 | script.Heartbeat:Fire() | |
| 131 | end | |
| 132 | lastframe = tick() | |
| 133 | end | |
| 134 | if tossremainder then | |
| 135 | tf = 0 | |
| 136 | else | |
| 137 | tf = tf - frame * math.floor(tf / frame) | |
| 138 | end | |
| 139 | end | |
| 140 | end | |
| 141 | ) | |
| 142 | swait = function(num) | |
| 143 | if num == 0 or num == nil then | |
| 144 | ArtificialHB.Event:wait() | |
| 145 | else | |
| 146 | for i = 0, num do | |
| 147 | ArtificialHB.Event:wait() | |
| 148 | end | |
| 149 | end | |
| 150 | end | |
| 151 | ||
| 152 | local fengui = it("GuiMain")
| |
| 153 | fengui.Parent = Player.PlayerGui | |
| 154 | fengui.Name = "WeaponGUI" | |
| 155 | local fenframe = it("Frame")
| |
| 156 | fenframe.Parent = fengui | |
| 157 | fenframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 158 | fenframe.BackgroundTransparency = 1 | |
| 159 | fenframe.BorderColor3 = Color3.new(17, 17, 17) | |
| 160 | fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
| 161 | fenframe.Position = UDim2.new(0.4, 0, 0.1, 0) | |
| 162 | local fenbarmana1 = it("TextLabel")
| |
| 163 | fenbarmana1.Parent = fenframe | |
| 164 | fenbarmana1.Text = " " | |
| 165 | fenbarmana1.BackgroundTransparency = 0 | |
| 166 | fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 167 | fenbarmana1.SizeConstraint = "RelativeXY" | |
| 168 | fenbarmana1.TextXAlignment = "Center" | |
| 169 | fenbarmana1.TextYAlignment = "Center" | |
| 170 | fenbarmana1.Position = UDim2.new(0, 0, 0, 0) | |
| 171 | fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0) | |
| 172 | local fenbarmana2 = it("TextLabel")
| |
| 173 | fenbarmana2.Parent = fenframe | |
| 174 | fenbarmana2.Text = " " | |
| 175 | fenbarmana2.BackgroundTransparency = 0 | |
| 176 | fenbarmana2.BackgroundColor3 = Torso.Color | |
| 177 | fenbarmana2.SizeConstraint = "RelativeXY" | |
| 178 | fenbarmana2.TextXAlignment = "Center" | |
| 179 | fenbarmana2.TextYAlignment = "Center" | |
| 180 | fenbarmana2.Position = UDim2.new(0, 0, 0, 0) | |
| 181 | fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0) | |
| 182 | local fenbarmana3 = it("TextLabel")
| |
| 183 | fenbarmana3.Parent = fenframe | |
| 184 | fenbarmana3.Text = " " | |
| 185 | fenbarmana3.BackgroundTransparency = 0 | |
| 186 | fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3) | |
| 187 | fenbarmana3.SizeConstraint = "RelativeXY" | |
| 188 | fenbarmana3.TextXAlignment = "Center" | |
| 189 | fenbarmana3.TextYAlignment = "Center" | |
| 190 | fenbarmana3.Position = UDim2.new(0, 0, 0, 0) | |
| 191 | fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0) | |
| 192 | local fenbarmana4 = it("TextLabel")
| |
| 193 | fenbarmana4.Parent = fenframe | |
| 194 | fenbarmana4.Text = "Energy(" .. mana .. ")"
| |
| 195 | fenbarmana4.BackgroundTransparency = 1 | |
| 196 | fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 197 | fenbarmana4.SizeConstraint = "RelativeXY" | |
| 198 | fenbarmana4.TextXAlignment = "Center" | |
| 199 | fenbarmana4.TextYAlignment = "Center" | |
| 200 | fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0) | |
| 201 | fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0) | |
| 202 | fenbarmana4.FontSize = "Size9" | |
| 203 | fenbarmana4.TextStrokeTransparency = 0 | |
| 204 | fenbarmana4.TextColor = BrickColor.new("White")
| |
| 205 | local fengui = it("GuiMain")
| |
| 206 | fengui.Parent = Player.PlayerGui | |
| 207 | fengui.Name = "WeaponGUI" | |
| 208 | local fenframe1 = it("TextLabel")
| |
| 209 | fenframe1.Parent = fengui | |
| 210 | fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
| 211 | fenframe1.BackgroundTransparency = 0.3 | |
| 212 | fenframe1.BorderSizePixel = 5 | |
| 213 | fenframe1.BorderColor3 = Color3.new(1, 1, 1) | |
| 214 | fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 215 | fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0) | |
| 216 | fenframe1.Text = "Z" | |
| 217 | fenframe1.TextWrapped = true | |
| 218 | fenframe1.FontSize = 7 | |
| 219 | fenframe1.TextColor3 = Color3.new(1, 1, 1) | |
| 220 | local fenframe1a = it("TextLabel")
| |
| 221 | fenframe1a.Parent = fengui | |
| 222 | fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
| 223 | fenframe1a.BackgroundTransparency = 0.3 | |
| 224 | fenframe1a.BorderSizePixel = 5 | |
| 225 | fenframe1a.BorderColor3 = Color3.new(1, 1, 1) | |
| 226 | fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 227 | fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0) | |
| 228 | fenframe1a.Text = "" | |
| 229 | local fenframe2 = it("TextLabel")
| |
| 230 | fenframe2.Parent = fengui | |
| 231 | fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
| 232 | fenframe2.BackgroundTransparency = 0.3 | |
| 233 | fenframe2.BorderSizePixel = 5 | |
| 234 | fenframe2.BorderColor3 = Color3.new(1, 1, 1) | |
| 235 | fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 236 | fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0) | |
| 237 | fenframe2.Text = "X" | |
| 238 | fenframe2.TextWrapped = true | |
| 239 | fenframe2.FontSize = 7 | |
| 240 | fenframe2.TextColor3 = Color3.new(1, 1, 1) | |
| 241 | local fenframe2a = it("TextLabel")
| |
| 242 | fenframe2a.Parent = fengui | |
| 243 | fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
| 244 | fenframe2a.BackgroundTransparency = 0.3 | |
| 245 | fenframe2a.BorderSizePixel = 5 | |
| 246 | fenframe2a.BorderColor3 = Color3.new(1, 1, 1) | |
| 247 | fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 248 | fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0) | |
| 249 | fenframe2a.Text = "" | |
| 250 | local fenframe3 = it("TextLabel")
| |
| 251 | fenframe3.Parent = fengui | |
| 252 | fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
| 253 | fenframe3.BackgroundTransparency = 0.3 | |
| 254 | fenframe3.BorderSizePixel = 5 | |
| 255 | fenframe3.BorderColor3 = Color3.new(1, 1, 1) | |
| 256 | fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 257 | fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0) | |
| 258 | fenframe3.Text = "C" | |
| 259 | fenframe3.TextWrapped = true | |
| 260 | fenframe3.FontSize = 7 | |
| 261 | fenframe3.TextColor3 = Color3.new(1, 1, 1) | |
| 262 | local fenframe3a = it("TextLabel")
| |
| 263 | fenframe3a.Parent = fengui | |
| 264 | fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
| 265 | fenframe3a.BackgroundTransparency = 0.3 | |
| 266 | fenframe3a.BorderSizePixel = 5 | |
| 267 | fenframe3a.BorderColor3 = Color3.new(1, 1, 1) | |
| 268 | fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 269 | fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0) | |
| 270 | fenframe3a.Text = "" | |
| 271 | local fenframe4 = it("TextLabel")
| |
| 272 | fenframe4.Parent = fengui | |
| 273 | fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
| 274 | fenframe4.BackgroundTransparency = 0.3 | |
| 275 | fenframe4.BorderSizePixel = 5 | |
| 276 | fenframe4.BorderColor3 = Color3.new(1, 1, 1) | |
| 277 | fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 278 | fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0) | |
| 279 | fenframe4.Text = "V" | |
| 280 | fenframe4.TextWrapped = true | |
| 281 | fenframe4.FontSize = 7 | |
| 282 | fenframe4.TextColor3 = Color3.new(1, 1, 1) | |
| 283 | local fenframe4a = it("TextLabel")
| |
| 284 | fenframe4a.Parent = fengui | |
| 285 | fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
| 286 | fenframe4a.BackgroundTransparency = 0.3 | |
| 287 | fenframe4a.BorderSizePixel = 5 | |
| 288 | fenframe4a.BorderColor3 = Color3.new(1, 1, 1) | |
| 289 | fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
| 290 | fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0) | |
| 291 | fenframe4a.Text = "" | |
| 292 | fenframe1a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 293 | fenframe2a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 294 | fenframe3a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 295 | fenframe4a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 296 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 297 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 298 | return Weld | |
| 299 | end | |
| 300 | ||
| 301 | rayCast = function(Position, Direction, Range, Ignore) | |
| 302 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 303 | end | |
| 304 | ||
| 305 | CreateSound = function(id, par, vol, pit) | |
| 306 | coroutine.resume(coroutine.create(function() | |
| 307 | local sou = Instance.new("Sound", par or workspace)
| |
| 308 | sou.Volume = vol | |
| 309 | sou.Pitch = pit or 1 | |
| 310 | sou.SoundId = id | |
| 311 | swait() | |
| 312 | sou:play() | |
| 313 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 314 | end | |
| 315 | )) | |
| 316 | end | |
| 317 | ||
| 318 | local getclosest = function(obj, distance) | |
| 319 | local last, lastx = distance + 1, nil | |
| 320 | for i,v in pairs(workspace:GetChildren()) do | |
| 321 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 322 | local t = v.Torso | |
| 323 | local dist = t.Position - obj.Position.magnitude | |
| 324 | if dist <= distance and dist < last then | |
| 325 | last = dist | |
| 326 | lastx = v | |
| 327 | end | |
| 328 | end | |
| 329 | end | |
| 330 | return lastx | |
| 331 | end | |
| 332 | ||
| 333 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098)) | |
| 334 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.971689701, -0.108011246, 0.0337958336, 7.52883196e-008, -1, 5.96046377e-008, 1.49776653e-008, -5.96046377e-008, -1, 1, 7.52883196e-008, 1.497766e-008)) | |
| 335 | CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 336 | FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098)) | |
| 337 | FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1)) | |
| 338 | CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 339 | Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(3, 5.2300005, 2.70000005)) | |
| 340 | HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100002289, -0.0249986649, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
| 341 | CreateMesh("CylinderMesh", Hitbox, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 342 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
| 343 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500193, 0.0100011826, -2.64999771, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
| 344 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
| |
| 345 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
| 346 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500288, 0.0100007057, 2.60000563, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
| 347 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
| |
| 348 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
| 349 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499594, 0.0100002289, -1.46000004, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
| 350 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
| |
| 351 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005)) | |
| 352 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999927521, -2.06000137, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
| 353 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 354 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005)) | |
| 355 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100007057, 2.06999922, -5.90500736, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
| 356 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 357 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009)) | |
| 358 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0049996376, 1.21000218, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
| 359 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 360 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.15999997, 1.44999993, 0.399999976)) | |
| 361 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.91499901, -0.0250031948, 0.0100007057, -6.23954073e-015, 1, 4.37113883e-008, 1, 1.08930461e-014, -5.96046448e-008, -5.96046448e-008, 4.37113883e-008, -1)) | |
| 362 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 15))
| |
| 363 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009)) | |
| 364 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0400049686, -0.0049996376, -5.91499901, 1, 5.96046377e-008, 1.42108547e-014, 1.42108547e-014, -4.37113883e-008, -1, -5.96046377e-008, 1, -4.37113883e-008)) | |
| 365 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 366 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009)) | |
| 367 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00500011444, -1.22999811, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
| 368 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 369 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 9.44000053, 0.51000011)) | |
| 370 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.724998236, -0.0100002289, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1)) | |
| 371 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 372 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
| 373 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499784, 0.00999975204, 1.47000384, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
| 374 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
| |
| 375 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.360000014)) | |
| 376 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, -5.46746063, -2.75282335, -5.96046235e-008, -1.59872116e-014, -1, -0.499999762, 0.866025686, 2.98022833e-008, 0.866025686, 0.499999732, -5.16191392e-008)) | |
| 377 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 378 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
| 379 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00500011444, -0.0100033283, 4.05498981, -2.08616257e-007, 4.37113954e-008, 1, 1, 7.80494105e-015, 2.08616257e-007, 4.94211283e-015, 1, -4.37113954e-008)) | |
| 380 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 381 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.350000024)) | |
| 382 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0200004578, -5.48171663, 2.72313046, -5.96046235e-008, -1.59872116e-014, -1, 0.500000298, 0.866025209, -2.98023437e-008, 0.866025209, -0.500000298, -5.1619093e-008)) | |
| 383 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 384 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.650000036)) | |
| 385 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199995041, 0.0192580223, -5.73387241, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014)) | |
| 386 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 387 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.240000024)) | |
| 388 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, 0.0192596912, -6.29887009, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014)) | |
| 389 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 390 | for _,c in pairs(m:children()) do | |
| 391 | if c.className == "Part" then | |
| 392 | table.insert(Hammer, c) | |
| 393 | end | |
| 394 | end | |
| 395 | for _,c in pairs(m:children()) do | |
| 396 | if c.className == "Weld" then | |
| 397 | table.insert(HammerWelds, c) | |
| 398 | print(c) | |
| 399 | end | |
| 400 | end | |
| 401 | local model2 = (Instance.new("Model"))
| |
| 402 | model2.Parent = nil | |
| 403 | model2.Name = "Chakkran" | |
| 404 | DBlade = {}
| |
| 405 | DBladeWelds = {}
| |
| 406 | Handle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011)) | |
| 407 | Handle2Weld = CreateWeld(model2, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.949001789, 0.258885384, 0.0171251297, 0.000207733654, -0.99935025, 0.0360427685, -0.00575854396, -0.036043372, -0.999333739, 0.99998337, 4.13686969e-008, -0.00576228928)) | |
| 408 | FakeHandle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011)) | |
| 409 | FakeHandle2Weld = CreateWeld(model2, Handle2, FakeHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994)) | |
| 410 | Part = CreatePart(model2, Enum.Material.Plastic, 0.20000000298023, 0, "Black", "Part", Vector3.new(1, 1, 1)) | |
| 411 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.92499352, -0.0200054646, -0.0200014114, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994)) | |
| 412 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.20000005))
| |
| 413 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
| 414 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -8.08396149, 2.38490152, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007)) | |
| 415 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 416 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
| 417 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.08396339, 2.48509741, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007)) | |
| 418 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 419 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 4.19999981, 0.430000037)) | |
| 420 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.0473937988, 8.07886314, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
| 421 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 422 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.19999981, 0.430000037)) | |
| 423 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -5.36886501, -0.00739479065, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
| 424 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 425 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.0999999, 0.430000037)) | |
| 426 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.097391963, 9.86886406, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
| 427 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 428 | Part = CreatePart(model2, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1, 1, 1)) | |
| 429 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.77499247, -0.0200061798, -0.0100002289, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994)) | |
| 430 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 3))
| |
| 431 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
| 432 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.87396622, 3.47510171, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007)) | |
| 433 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 434 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
| 435 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.8739624, 3.23490095, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007)) | |
| 436 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 437 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037)) | |
| 438 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -1.59739149, 8.96886349, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
| 439 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 440 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
| 441 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0149993896, -0.0100066662, 1.40500164, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007)) | |
| 442 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 443 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
| 444 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.97396851, 3.07490206, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007)) | |
| 445 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 446 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 2.69000053, 0.51000011)) | |
| 447 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994)) | |
| 448 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 449 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
| 450 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.9739666, 3.09509993, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007)) | |
| 451 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 452 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
| 453 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -6.23282051, -6.55576801, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007)) | |
| 454 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
| |
| 455 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
| 456 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, 0.749990344, -1.77499676, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007)) | |
| 457 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 458 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033)) | |
| 459 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -1.96886635, -0.0223923922, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
| 460 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
| |
| 461 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033)) | |
| 462 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -9.13886261, -0.0223926306, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
| 463 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
| |
| 464 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
| 465 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 6.25878143, -6.52980947, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008)) | |
| 466 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
| |
| 467 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033)) | |
| 468 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -8.84886265, -0.0223910809, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
| 469 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
| |
| 470 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033)) | |
| 471 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.67886019, -0.0223929882, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
| 472 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
| |
| 473 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037)) | |
| 474 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, 1.59260416, 8.96886063, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
| 475 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 476 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
| 477 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, -0.780008078, -1.7750001, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007)) | |
| 478 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 479 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.309999585, 0.430000037)) | |
| 480 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -9.56385708, -0.00739264488, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
| 481 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 482 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
| 483 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 1.18883181, -1.45985472, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008)) | |
| 484 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
| |
| 485 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
| 486 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.16286898, -1.48581553, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007)) | |
| 487 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
| |
| 488 | Hitbox2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 1, "Black", "Hitbox2", Vector3.new(0.219999999, 7.46999931, 2.97999978)) | |
| 489 | Hitbox2Weld = CreateWeld(model2, FakeHandle2, Hitbox2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -6.36385679, -0.112392664, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
| 490 | CreateMesh("SpecialMesh", Hitbox2, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
| |
| 491 | for _,c in pairs(model2:children()) do | |
| 492 | if c.className == "Part" then | |
| 493 | table.insert(DBlade, c) | |
| 494 | end | |
| 495 | end | |
| 496 | for _,c in pairs(model2:children()) do | |
| 497 | if c.className == "Weld" then | |
| 498 | table.insert(DBladeWelds, c) | |
| 499 | print(c) | |
| 500 | end | |
| 501 | end | |
| 502 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 503 | if hit.Parent == nil then | |
| 504 | return | |
| 505 | end | |
| 506 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 507 | for _,v in pairs(hit.Parent:children()) do | |
| 508 | if v:IsA("Humanoid") then
| |
| 509 | h = v | |
| 510 | end | |
| 511 | end | |
| 512 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 513 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 514 | return | |
| 515 | end | |
| 516 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
| |
| 517 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 518 | if HitSound ~= nil and HitPitch ~= nil then | |
| 519 | CreateSound(HitSound, hit, 1, HitPitch) | |
| 520 | end | |
| 521 | local Damage = math.random(minim, maxim) | |
| 522 | local blocked = false | |
| 523 | local block = hit.Parent:findFirstChild("Block")
| |
| 524 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 525 | blocked = true | |
| 526 | block.Value = block.Value - 1 | |
| 527 | print(block.Value) | |
| 528 | end | |
| 529 | if blocked == false then | |
| 530 | h.Health = h.Health - Damage | |
| 531 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 532 | else | |
| 533 | h.Health = h.Health - Damage / 2 | |
| 534 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 535 | end | |
| 536 | if Type == "Knockdown" then | |
| 537 | local hum = hit.Parent.Humanoid | |
| 538 | hum.PlatformStand = true | |
| 539 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 540 | swait(1) | |
| 541 | HHumanoid.PlatformStand = false | |
| 542 | end | |
| 543 | ), hum) | |
| 544 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 545 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 546 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
| |
| 547 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 548 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 549 | else | |
| 550 | do | |
| 551 | if Type == "Normal" then | |
| 552 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
| |
| 553 | if knockback > 0 then | |
| 554 | vp.Parent = hit.Parent.Torso | |
| 555 | end | |
| 556 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 557 | else | |
| 558 | do | |
| 559 | if Type == "Up" then | |
| 560 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 561 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 562 | else | |
| 563 | do | |
| 564 | if Type == "DarkUp" then | |
| 565 | coroutine.resume(coroutine.create(function() | |
| 566 | for i = 0, 1, 0.1 do | |
| 567 | swait() | |
| 568 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
| |
| 569 | end | |
| 570 | end | |
| 571 | )) | |
| 572 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 573 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 574 | else | |
| 575 | do | |
| 576 | if Type == "Snare" then | |
| 577 | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 578 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 579 | else | |
| 580 | do | |
| 581 | if Type == "Freeze" then | |
| 582 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 583 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
| |
| 584 | hit.Parent.Torso.Anchored = true | |
| 585 | coroutine.resume(coroutine.create(function(Part) | |
| 586 | swait(1.5) | |
| 587 | Part.Anchored = false | |
| 588 | end | |
| 589 | ), hit.Parent.Torso) | |
| 590 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 591 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 592 | end | |
| 593 | do | |
| 594 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
| |
| 595 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 596 | c = Instance.new("ObjectValue")
| |
| 597 | c.Name = "creator" | |
| 598 | c.Value = Player | |
| 599 | c.Parent = h | |
| 600 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 601 | end | |
| 602 | end | |
| 603 | end | |
| 604 | end | |
| 605 | end | |
| 606 | end | |
| 607 | end | |
| 608 | end | |
| 609 | end | |
| 610 | end | |
| 611 | end | |
| 612 | end | |
| 613 | end | |
| 614 | ||
| 615 | ShowDamage = function(Pos, Text, Time, Color) | |
| 616 | local Rate = 0.033333333333333 | |
| 617 | if not Pos then | |
| 618 | local Pos = Vector3.new(0, 0, 0) | |
| 619 | end | |
| 620 | local Text = Text or "" | |
| 621 | local Time = Time or 2 | |
| 622 | if not Color then | |
| 623 | local Color = Color3.new(1, 0, 1) | |
| 624 | end | |
| 625 | local EffectPart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
| 626 | EffectPart.Anchored = true | |
| 627 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
| |
| 628 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
| |
| 629 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 630 | EffectPart.Parent = game:GetService("Workspace")
| |
| 631 | delay(0, function() | |
| 632 | local Frames = Time / Rate | |
| 633 | for Frame = 1, Frames do | |
| 634 | wait(Rate) | |
| 635 | local Percent = Frame / Frames | |
| 636 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 637 | TextLabel.TextTransparency = Percent | |
| 638 | end | |
| 639 | if EffectPart and EffectPart.Parent then | |
| 640 | EffectPart:Destroy() | |
| 641 | end | |
| 642 | end | |
| 643 | ) | |
| 644 | end | |
| 645 | ||
| 646 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 647 | for _,c in pairs(workspace:children()) do | |
| 648 | local hum = c:findFirstChild("Humanoid")
| |
| 649 | if hum ~= nil then | |
| 650 | local head = c:findFirstChild("Torso")
| |
| 651 | if head ~= nil then | |
| 652 | local targ = head.Position - Part.Position | |
| 653 | local mag = targ.magnitude | |
| 654 | if mag <= magni and c.Name ~= Player.Name then | |
| 655 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
| 656 | end | |
| 657 | end | |
| 658 | end | |
| 659 | end | |
| 660 | end | |
| 661 | ||
| 662 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 663 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 664 | prt.Anchored = true | |
| 665 | prt.CFrame = cframe | |
| 666 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 667 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 668 | if Type == 1 or Type == nil then | |
| 669 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 670 | else | |
| 671 | if Type == 2 then | |
| 672 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 673 | end | |
| 674 | end | |
| 675 | end | |
| 676 | ||
| 677 | SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 678 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 679 | prt.Anchored = true | |
| 680 | prt.CFrame = cframe | |
| 681 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 682 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 683 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 684 | end | |
| 685 | ||
| 686 | RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 687 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 688 | prt.Anchored = true | |
| 689 | prt.CFrame = cframe | |
| 690 | msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 691 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 692 | coroutine.resume(coroutine.create(function(Part, Mesh, num) | |
| 693 | for i = 0, 1, delay do | |
| 694 | swait() | |
| 695 | Part.Transparency = i | |
| 696 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 697 | end | |
| 698 | Part.Parent = nil | |
| 699 | end | |
| 700 | ), prt, msh, (math.random(0, 1) + math.random()) / 5) | |
| 701 | end | |
| 702 | ||
| 703 | CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 704 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 705 | prt.Anchored = true | |
| 706 | prt.CFrame = cframe | |
| 707 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 708 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 709 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 710 | end | |
| 711 | ||
| 712 | WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 713 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 714 | prt.Anchored = true | |
| 715 | prt.CFrame = cframe | |
| 716 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 717 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 718 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 719 | end | |
| 720 | ||
| 721 | SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 722 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 723 | prt.Anchored = true | |
| 724 | prt.CFrame = cframe | |
| 725 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 726 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 727 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 728 | end | |
| 729 | ||
| 730 | CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 731 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 732 | prt.Anchored = true | |
| 733 | prt.CFrame = cframe | |
| 734 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 735 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 736 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 737 | end | |
| 738 | ||
| 739 | BreakEffect = function(brickcolor, cframe, x1, y1, z1) | |
| 740 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 741 | prt.Anchored = true | |
| 742 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 743 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 744 | local num = math.random(10, 50) / 1000 | |
| 745 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 746 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
| |
| 747 | end | |
| 748 | ||
| 749 | battackone = function() | |
| 750 | attack = true | |
| 751 | local con = Hitbox2.Touched:connect(function(hit) | |
| 752 | Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 753 | end | |
| 754 | ) | |
| 755 | CreateSound("http://roblox.com/asset/?id=189505665", Hitbox2, 1, 0.85)
| |
| 756 | for i = 0, 1, 0.1 do | |
| 757 | swait() | |
| 758 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
| 759 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
| 760 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 761 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 762 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 763 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 764 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 765 | end | |
| 766 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1)
| |
| 767 | for i = 0, 1, 0.1 do | |
| 768 | swait() | |
| 769 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
| 770 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
| 771 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(70)), 0.3) | |
| 772 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3) | |
| 773 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 774 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 775 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3) | |
| 776 | end | |
| 777 | attack = false | |
| 778 | con:disconnect() | |
| 779 | end | |
| 780 | ||
| 781 | HadesKnife = function() | |
| 782 | attack = true | |
| 783 | local con = Hitbox2.Touched:connect(function(hit) | |
| 784 | Damagefunc(Hitbox2, hit, 5, 10, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 785 | end | |
| 786 | ) | |
| 787 | CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
| |
| 788 | for i = 0, 1, 0.1 do | |
| 789 | swait() | |
| 790 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
| 791 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) | |
| 792 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3) | |
| 793 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 794 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 795 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 796 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3) | |
| 797 | end | |
| 798 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
| |
| 799 | for i = 0, 1, 0.1 do | |
| 800 | swait() | |
| 801 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3) | |
| 802 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) | |
| 803 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 804 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
| 805 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 806 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 807 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 808 | end | |
| 809 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
| |
| 810 | for i = 0, 1, 0.1 do | |
| 811 | swait() | |
| 812 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3) | |
| 813 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(80)), 0.3) | |
| 814 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 815 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 816 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 817 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 818 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 819 | end | |
| 820 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
| |
| 821 | for i = 0, 1, 0.1 do | |
| 822 | swait() | |
| 823 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3) | |
| 824 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3) | |
| 825 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3) | |
| 826 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3) | |
| 827 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3) | |
| 828 | LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3) | |
| 829 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 830 | end | |
| 831 | con:disconnect() | |
| 832 | attack = false | |
| 833 | end | |
| 834 | ||
| 835 | HellFromAbove = function() | |
| 836 | attack = true | |
| 837 | for i = 0, 1, 0.1 do | |
| 838 | swait() | |
| 839 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3) | |
| 840 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3) | |
| 841 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3) | |
| 842 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3) | |
| 843 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3) | |
| 844 | LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3) | |
| 845 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 846 | end | |
| 847 | RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
| |
| 848 | RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
| |
| 849 | CreateSound("http://roblox.com/asset/?id=231917970", RootPart, 1, 1)
| |
| 850 | for i = 0, 1, 0.1 do | |
| 851 | swait() | |
| 852 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 100) * angles(math.rad(0), math.rad(0), math.rad(-55)), 0.37) | |
| 853 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.37) | |
| 854 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(15)), 0.37) | |
| 855 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.37) | |
| 856 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35) | |
| 857 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35) | |
| 858 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.37) | |
| 859 | end | |
| 860 | coroutine.resume(coroutine.create(function() | |
| 861 | invisle() | |
| 862 | end | |
| 863 | )) | |
| 864 | end | |
| 865 | ||
| 866 | spread = 0 | |
| 867 | range = 100 | |
| 868 | rangepower = 25 | |
| 869 | shoottrail3 = function(mouse, baseprt) | |
| 870 | coroutine.resume(coroutine.create(function(v) | |
| 871 | local spreadvector = Vector3.new(math.random(-spread, spread), math.random(-spread, spread), math.random(-spread, spread)) * baseprt.Position - mouse.Hit.p.magnitude / 100 | |
| 872 | local dir = CFrame.new((baseprt.Position + mouse.Hit.p) / 2, mouse.Hit.p + spreadvector) | |
| 873 | local hit, pos = rayCast(baseprt.Position, dir.lookVector, 10, Character) | |
| 874 | local rangepos = range * 50 | |
| 875 | local drawtrail = function(From, To) | |
| 876 | local effectsmsh = Instance.new("SpecialMesh")
| |
| 877 | effectsmsh.Scale = Vector3.new(1, 1, 1) | |
| 878 | effectsmsh.Name = "Mesh" | |
| 879 | effectsmsh.MeshType = "Sphere" | |
| 880 | effectsmsh.Scale = Vector3.new(5, 5, 5) | |
| 881 | local effectsg = Instance.new("Part")
| |
| 882 | effectsg.formFactor = 3 | |
| 883 | effectsg.CanCollide = false | |
| 884 | effectsg.Name = "Eff" | |
| 885 | effectsg.Locked = true | |
| 886 | effectsg.Anchored = true | |
| 887 | effectsg.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 888 | effectsg.Parent = effect | |
| 889 | effectsmsh.Parent = effectsg | |
| 890 | effectsg.BrickColor = BrickColor.new("Black")
| |
| 891 | effectsg.Reflectance = 0.25 | |
| 892 | local LP = From | |
| 893 | local point1 = To | |
| 894 | local mg = LP - point1.magnitude | |
| 895 | effectsmsh.Scale = Vector3.new(20, 20, 20) | |
| 896 | effectsg.CFrame = CFrame.new((LP + point1) / 2, point1) * CFrame.Angles(math.rad(90), 0, 0) | |
| 897 | coroutine.resume(coroutine.create(function() | |
| 898 | swait() | |
| 899 | effectsg.Parent = nil | |
| 900 | end | |
| 901 | )) | |
| 902 | end | |
| 903 | ||
| 904 | local newpos = baseprt.Position | |
| 905 | local inc = rangepower / 10 | |
| 906 | repeat | |
| 907 | swait() | |
| 908 | rangepos = rangepos - 10 | |
| 909 | hit = rayCast(newpos, dir.lookVector, inc, Character) | |
| 910 | drawtrail(newpos, pos) | |
| 911 | local list = (effect:children()) | |
| 912 | local torso = nil | |
| 913 | local dist = 10 | |
| 914 | local temp, human, temp2 = nil, nil, nil | |
| 915 | for x = 1, #list do | |
| 916 | temp2 = list[x] | |
| 917 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 918 | temp = temp2:findFirstChild("Torso")
| |
| 919 | human = temp2:findFirstChild("Humanoid")
| |
| 920 | if temp ~= nil and human ~= nil and human.Health > 0 and temp.Position - pos.magnitude < dist then | |
| 921 | torso = temp | |
| 922 | dist = temp.Position - pos.magnitude | |
| 923 | end | |
| 924 | end | |
| 925 | end | |
| 926 | if torso ~= nil then | |
| 927 | dir = CFrame.new(pos, torso.Position) | |
| 928 | end | |
| 929 | newpos = newpos + dir.lookVector * inc | |
| 930 | if hit ~= nil then | |
| 931 | rangepos = 0 | |
| 932 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 933 | hum = hit.Parent.Humanoid | |
| 934 | tTorso = hit.Parent.Torso | |
| 935 | MagniDamage(hit, 10, 10, 15, 0, "Knockdown") | |
| 936 | attackdebounce = false | |
| 937 | else | |
| 938 | if hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 939 | hum = hit.Parent.Parent.Humanoid | |
| 940 | tTorso = hit.Parent.Parent.Torso | |
| 941 | MagniDamage(hit.Parent.Parent.Torso, 10, 10, 15, 0, "Knockdown") | |
| 942 | attackdebounce = false | |
| 943 | end | |
| 944 | end | |
| 945 | for i = 1, math.random(3, 6) do | |
| 946 | BreakEffect(BrickColor.new("Black"), CFrame.new(newpos), 0.5, math.random(5, 20), 0.5)
| |
| 947 | end | |
| 948 | CreateSound("http://roblox.com/asset/?id=3264793", hit, 1, math.random() + math.random() + 1)
| |
| 949 | SphereEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 3, 3, 3, 0.07)
| |
| 950 | BlockEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 2, 2, 2, 0.07, 1)
| |
| 951 | end | |
| 952 | until rangepos <= 0 | |
| 953 | end | |
| 954 | )) | |
| 955 | end | |
| 956 | ||
| 957 | PlaySound = function(id, pitch, parent, volume) | |
| 958 | if volume == nil then | |
| 959 | volume = tonumber(1) | |
| 960 | end | |
| 961 | local epicsound = Instance.new("Sound")
| |
| 962 | epicsound.Name = "Epicosound" | |
| 963 | epicsound.SoundId = "rbxassetid://" .. id | |
| 964 | epicsound.Volume = volume | |
| 965 | epicsound.Pitch = pitch | |
| 966 | epicsound.Looped = false | |
| 967 | epicsound.Parent = parent | |
| 968 | wait() | |
| 969 | epicsound:Play() | |
| 970 | game:service("Debris"):AddItem(epicsound, 8)
| |
| 971 | end | |
| 972 | ||
| 973 | Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
| |
| 974 | Shot = function(part) | |
| 975 | local shot = math.random(1, #Shots) | |
| 976 | PlaySound(Shots[shot], 1, part) | |
| 977 | end | |
| 978 | ||
| 979 | invisle = function() | |
| 980 | invisy = true | |
| 981 | Humanoid.WalkSpeed = 30 | |
| 982 | coroutine.resume(coroutine.create(function() | |
| 983 | for i,v in pairs(Character:children()) do | |
| 984 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
| |
| 985 | v.Transparency = 1 | |
| 986 | end | |
| 987 | if v:IsA("Hat") then
| |
| 988 | v.Handle.Transparency = 1 | |
| 989 | end | |
| 990 | Head.face.Transparency = 1 | |
| 991 | end | |
| 992 | for i,v in pairs(model2:children()) do | |
| 993 | if v:IsA("BasePart") then
| |
| 994 | v.Transparency = 1 | |
| 995 | Handle2.TransParency = 1 | |
| 996 | FakeHandle2.TransParency = 1 | |
| 997 | end | |
| 998 | end | |
| 999 | end | |
| 1000 | )) | |
| 1001 | coroutine.resume(coroutine.create(function() | |
| 1002 | while invisy == true do | |
| 1003 | wait(0.5) | |
| 1004 | for i = 1, 3 do | |
| 1005 | local orb = CreatePart(Character, "SmoothPlastic", 0, 0.5, BrickColor.new("Black"), "Orb", vt())
| |
| 1006 | orb.Anchored = true | |
| 1007 | Shot(orb) | |
| 1008 | local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10))
| |
| 1009 | orb.CFrame = cf(RootPart.Position + vt(math.random(-10, 10), 1, math.random(-10, 10))) | |
| 1010 | SphereEffect(BrickColor.new("Black"), orb.CFrame, 10, 10, 10, 1, 1, 1, 0.1)
| |
| 1011 | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) | |
| 1012 | wait(1) | |
| 1013 | Part.Parent = nil | |
| 1014 | local spread = vt(0, 0, 0) * (Part.Position - (Part.Position + vt(0, -1, 0))).magnitude / 100 | |
| 1015 | local TheHit = Part.Position + vt(0, -1, 0) | |
| 1016 | local MouseLook = cf((Part.Position + TheHit) / 2, TheHit + spread) | |
| 1017 | local hit, pos = rayCast(Part.Position, MouseLook.lookVector, 999, Character) | |
| 1018 | local mag = Part.Position - pos.magnitude | |
| 1019 | CylinderEffect(BrickColor.new("Black"), CFrame.new((Part.Position + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 10, 1, 0.5, 100, 0.5, 0.05)
| |
| 1020 | RingEffect(BrickColor.new("Black"), cf(pos) * angles(1.57, math.random(-100, 100) / 100, math.random(-100, 100) / 100), 1, 1, 1, 2, 2, 2, 0.05)
| |
| 1021 | do | |
| 1022 | local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
| |
| 1023 | ref.CFrame = cf(pos) | |
| 1024 | CreateSound("http://roblox.com/asset/?id=231917788", ref, 1, 1.4)
| |
| 1025 | coroutine.resume(coroutine.create(function(Part) | |
| 1026 | wait(1) | |
| 1027 | Part.Parent = nil | |
| 1028 | end | |
| 1029 | ), ref) | |
| 1030 | MagniDamage(ref, 15, 5, 10, 0, "Normal") | |
| 1031 | if hit ~= nil then | |
| 1032 | end | |
| 1033 | end | |
| 1034 | end | |
| 1035 | ), orb, omsh) | |
| 1036 | end | |
| 1037 | wait(0.5) | |
| 1038 | local n = 2 | |
| 1039 | for i = 0, 1, 0.1 do | |
| 1040 | wait() | |
| 1041 | n = n - 0.1 | |
| 1042 | end | |
| 1043 | RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
| |
| 1044 | end | |
| 1045 | end | |
| 1046 | )) | |
| 1047 | coroutine.resume(coroutine.create(function() | |
| 1048 | while invisy == true do | |
| 1049 | wait(0.1) | |
| 1050 | Torso.Velocity = RootPart.CFrame.lookVector * 50 | |
| 1051 | WaveEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
| |
| 1052 | end | |
| 1053 | end | |
| 1054 | )) | |
| 1055 | for i = 1, 100 do | |
| 1056 | wait() | |
| 1057 | end | |
| 1058 | SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
| |
| 1059 | SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
| |
| 1060 | BlockEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 1, 1, 1, 1, 0.05, 1)
| |
| 1061 | CreateSound("http://roblox.com/asset/?id=231917806", Torso, 1, 1)
| |
| 1062 | MagniDamage(Hitbox, 10, 15, 25, 10, "Normal") | |
| 1063 | coroutine.resume(coroutine.create(function() | |
| 1064 | for i,v in pairs(Character:children()) do | |
| 1065 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
| |
| 1066 | v.Transparency = 0 | |
| 1067 | end | |
| 1068 | if v:IsA("Hat") then
| |
| 1069 | v.Handle.Transparency = 0 | |
| 1070 | end | |
| 1071 | Head.face.Transparency = 0 | |
| 1072 | end | |
| 1073 | for i,v in pairs(model2:children()) do | |
| 1074 | if v:IsA("BasePart") then
| |
| 1075 | v.Transparency = 0 | |
| 1076 | end | |
| 1077 | end | |
| 1078 | Hitbox2.Transparency = 1 | |
| 1079 | Handle2.Transparency = 1 | |
| 1080 | FakeHandle2.Transparency = 1 | |
| 1081 | end | |
| 1082 | )) | |
| 1083 | Humanoid.WalkSpeed = 16 | |
| 1084 | attack = false | |
| 1085 | invisy = false | |
| 1086 | end | |
| 1087 | ||
| 1088 | battacktwo = function() | |
| 1089 | attack = true | |
| 1090 | local con = Hitbox2.Touched:connect(function(hit) | |
| 1091 | Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1092 | end | |
| 1093 | ) | |
| 1094 | CreateSound("http://roblox.com/asset/?id=320557453", Handle2, 1, 1)
| |
| 1095 | for i = 0, 1, 0.1 do | |
| 1096 | swait() | |
| 1097 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
| 1098 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) | |
| 1099 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3) | |
| 1100 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 1101 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1102 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1103 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3) | |
| 1104 | end | |
| 1105 | CreateSound("http://roblox.com/asset/?id=189505639", Hitbox2, 1, 0.85)
| |
| 1106 | for i = 0, 1, 0.1 do | |
| 1107 | swait() | |
| 1108 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1109 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) | |
| 1110 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1111 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1112 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1113 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1114 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 1115 | end | |
| 1116 | attack = false | |
| 1117 | con:disconnect() | |
| 1118 | end | |
| 1119 | ||
| 1120 | HadesArrow = function() | |
| 1121 | attack = true | |
| 1122 | CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
| |
| 1123 | for i = 0, 1, 0.1 do | |
| 1124 | swait() | |
| 1125 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
| 1126 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
| 1127 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1128 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 1129 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1130 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1131 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 1132 | end | |
| 1133 | for i = 0, 1, 0.1 do | |
| 1134 | swait() | |
| 1135 | BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, 0, 0), 1, 1, 1, 1, 1, 1, 0.05)
| |
| 1136 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
| 1137 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
| 1138 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1139 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 1140 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1141 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1142 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 1143 | end | |
| 1144 | shoottrail3(mouse, LeftArm) | |
| 1145 | attack = false | |
| 1146 | end | |
| 1147 | ||
| 1148 | battackthree = function() | |
| 1149 | attack = true | |
| 1150 | CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
| |
| 1151 | for i = 0, 1, 0.1 do | |
| 1152 | swait() | |
| 1153 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
| 1154 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
| 1155 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1156 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 1157 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1158 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1159 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 1160 | end | |
| 1161 | coroutine.resume(coroutine.create(function() | |
| 1162 | for i = 1, 1 do | |
| 1163 | swait() | |
| 1164 | local ef = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
| |
| 1165 | CreateSound("http://www.roblox.com/asset/?id=192410089", ef, 1, 1)
| |
| 1166 | ef.Anchored = true | |
| 1167 | ef.CFrame = RootPart.CFrame * cf(0, 0, -7.5) | |
| 1168 | MagniDamage(ef, 7, 10, 15, 10, "Knockdown") | |
| 1169 | SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -7.5), 1, 1, 1, 5, 5, 5, 0.05)
| |
| 1170 | game:GetService("Debris"):AddItem(ef, 0.5)
| |
| 1171 | WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2, -7.5), 1, 1, 1, 1, 1, 1, 0.08)
| |
| 1172 | end | |
| 1173 | end | |
| 1174 | )) | |
| 1175 | for i = 0, 1, 0.1 do | |
| 1176 | swait() | |
| 1177 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1178 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
| 1179 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(90)), 0.3) | |
| 1180 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 1181 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1182 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1183 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
| 1184 | end | |
| 1185 | attack = false | |
| 1186 | end | |
| 1187 | ||
| 1188 | attackone = function() | |
| 1189 | attack = true | |
| 1190 | CreateSound("http://roblox.com/asset/?id=320557453", Handle, 1, 1)
| |
| 1191 | local con = Hitbox.Touched:connect(function(hit) | |
| 1192 | Damagefunc(Hitbox, hit, 5, 13, math.random(5, 10), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1193 | end | |
| 1194 | ) | |
| 1195 | for i = 0, 1, 0.1 do | |
| 1196 | swait() | |
| 1197 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3) | |
| 1198 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3) | |
| 1199 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3) | |
| 1200 | LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3) | |
| 1201 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1202 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1203 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3) | |
| 1204 | end | |
| 1205 | CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1)
| |
| 1206 | for i = 0, 1, 0.1 do | |
| 1207 | swait() | |
| 1208 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3) | |
| 1209 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
| 1210 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3) | |
| 1211 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
| 1212 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1213 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1214 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3) | |
| 1215 | end | |
| 1216 | con:disconnect() | |
| 1217 | attack = false | |
| 1218 | end | |
| 1219 | ||
| 1220 | attacktwo = function() | |
| 1221 | attack = true | |
| 1222 | local con = Hitbox.Touched:connect(function(hit) | |
| 1223 | Damagefunc(Hitbox, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1224 | end | |
| 1225 | ) | |
| 1226 | CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
| |
| 1227 | for i = 0, 1, 0.1 do | |
| 1228 | swait() | |
| 1229 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3) | |
| 1230 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
| 1231 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3) | |
| 1232 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
| 1233 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1234 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1235 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3) | |
| 1236 | end | |
| 1237 | CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1.1)
| |
| 1238 | for i = 0, 1, 0.1 do | |
| 1239 | swait() | |
| 1240 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3) | |
| 1241 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3) | |
| 1242 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3) | |
| 1243 | LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3) | |
| 1244 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1245 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1246 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3) | |
| 1247 | end | |
| 1248 | con:disconnect() | |
| 1249 | attack = false | |
| 1250 | end | |
| 1251 | ||
| 1252 | attackthree = function() | |
| 1253 | attack = true | |
| 1254 | local con = Hitbox.Touched:connect(function(hit) | |
| 1255 | Damagefunc(Hitbox, hit, 5, 13, math.random(1, 10), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1256 | end | |
| 1257 | ) | |
| 1258 | CreateSound("http://roblox.com/asset/?id=320557518", Handle, 1, 1)
| |
| 1259 | for i = 0, 1, 0.1 do | |
| 1260 | swait() | |
| 1261 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1262 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1263 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
| 1264 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3) | |
| 1265 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1266 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1267 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1268 | end | |
| 1269 | CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 0.9)
| |
| 1270 | for i = 0, 1, 0.5 do | |
| 1271 | swait() | |
| 1272 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1273 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1274 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3) | |
| 1275 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3) | |
| 1276 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1277 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1278 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1279 | end | |
| 1280 | for i = 0, 1, 0.1 do | |
| 1281 | swait() | |
| 1282 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1283 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1284 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
| 1285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
| 1286 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1287 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1288 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1289 | end | |
| 1290 | con:disconnect() | |
| 1291 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
| |
| 1292 | attack = false | |
| 1293 | end | |
| 1294 | ||
| 1295 | BlackDeath = function() | |
| 1296 | attack = true | |
| 1297 | CreateSound("http://www.roblox.com/asset/?id=169445046", Handle, 1, 1)
| |
| 1298 | for i = 0, 1, 0.1 do | |
| 1299 | swait() | |
| 1300 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1301 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
| 1302 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1303 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 1304 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1305 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1306 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1307 | end | |
| 1308 | for i = 0, 1, 0.1 do | |
| 1309 | swait() | |
| 1310 | BlockEffect(BrickColor.new("Black"), LeftArm.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
| |
| 1311 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1312 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1313 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1314 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-180)), 0.3) | |
| 1315 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1316 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1317 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1318 | end | |
| 1319 | n = 2 | |
| 1320 | local cf2 = RootPart.CFrame * cf(0, 500, -20) | |
| 1321 | local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
| |
| 1322 | ref.CFrame = cf2 | |
| 1323 | ref.Anchored = true | |
| 1324 | local TheHit = ref.Position + vt(0, -1, 0) | |
| 1325 | local MouseLook = cf((ref.Position + TheHit) / 2, TheHit) | |
| 1326 | local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character) | |
| 1327 | local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
| |
| 1328 | ref2.CFrame = cf(pos) | |
| 1329 | ref2.Anchored = true | |
| 1330 | local mag = (ref.Position - pos).magnitude | |
| 1331 | CylinderEffect(BrickColor.new("Black"), CFrame.new((ref.Position + pos) / 2, pos) * angles(1.57, 0, 0), 5, mag * 5, 5, 1, 0, 1, 0.05)
| |
| 1332 | SphereEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 3, 3, 3, 0.02)
| |
| 1333 | BlockEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 2, 2, 2, 0.02)
| |
| 1334 | WaveEffect(BrickColor.new("Black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
| |
| 1335 | RingEffect(BrickColor.new("Black"), cf(ref2.Position) * angles(1.57, 0, 0), 5, 5, 5, 1, 1, 1, 0.05)
| |
| 1336 | MagniDamage(ref2, 10, 10, 15, 30, "Knockdown") | |
| 1337 | CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.9)
| |
| 1338 | CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.8)
| |
| 1339 | game:GetService("Debris"):AddItem(ref, 2)
| |
| 1340 | game:GetService("Debris"):AddItem(ref2, 2)
| |
| 1341 | for i = 0, 1, 0.1 do | |
| 1342 | swait() | |
| 1343 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1344 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(70)), 0.3) | |
| 1345 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1346 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)), 0.3) | |
| 1347 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1348 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1349 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1350 | end | |
| 1351 | attack = false | |
| 1352 | end | |
| 1353 | ||
| 1354 | HadesHammer = function() | |
| 1355 | attack = true | |
| 1356 | local con = Hitbox.Touched:connect(function(hit) | |
| 1357 | Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1358 | end | |
| 1359 | ) | |
| 1360 | Humanoid.Jump = true | |
| 1361 | CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
| |
| 1362 | for i = 0, 1, 0.1 do | |
| 1363 | swait() | |
| 1364 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1365 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1366 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
| 1367 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3) | |
| 1368 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1369 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1370 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1371 | end | |
| 1372 | for i = 0, 1, 0.5 do | |
| 1373 | swait() | |
| 1374 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1375 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1376 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3) | |
| 1377 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3) | |
| 1378 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1379 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1380 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1381 | end | |
| 1382 | for i = 0, 1, 0.2 do | |
| 1383 | swait() | |
| 1384 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1385 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1386 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
| 1387 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
| 1388 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1389 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1390 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1391 | end | |
| 1392 | con:disconnect() | |
| 1393 | hit = nil | |
| 1394 | for i = 1, 1 do | |
| 1395 | if hit == nil then | |
| 1396 | swait() | |
| 1397 | end | |
| 1398 | hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character) | |
| 1399 | end | |
| 1400 | local hit = nil | |
| 1401 | while hit == nil do | |
| 1402 | swait() | |
| 1403 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
| 1404 | end | |
| 1405 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
| 1406 | do | |
| 1407 | if hit ~= nil then | |
| 1408 | local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
| |
| 1409 | ref.Anchored = true | |
| 1410 | ref.CFrame = cf(pos) | |
| 1411 | game:GetService("Debris"):AddItem(ref, 3)
| |
| 1412 | for i = 1, 10 do | |
| 1413 | Col = hit.BrickColor | |
| 1414 | local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100)) | |
| 1415 | groundpart.Anchored = true | |
| 1416 | groundpart.CanCollide = true | |
| 1417 | groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1418 | game:GetService("Debris"):AddItem(groundpart, 5)
| |
| 1419 | end | |
| 1420 | CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
| |
| 1421 | WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05) | |
| 1422 | MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown") | |
| 1423 | end | |
| 1424 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05)
| |
| 1425 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
| |
| 1426 | attack = false | |
| 1427 | end | |
| 1428 | end | |
| 1429 | ||
| 1430 | Beast = function() | |
| 1431 | attack = true | |
| 1432 | for i = 0, 1, 0.05 do | |
| 1433 | swait() | |
| 1434 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1435 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1436 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1437 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1438 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1439 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1440 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
| 1441 | end | |
| 1442 | CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
| |
| 1443 | num = 0 | |
| 1444 | for i = 0, 1, 0.01 do | |
| 1445 | swait() | |
| 1446 | if num >= 10 then | |
| 1447 | num = 0 | |
| 1448 | WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
| |
| 1449 | end | |
| 1450 | for i = 1, 2 do | |
| 1451 | if math.random(1, 5) == 1 then | |
| 1452 | BlockEffect(BrickColor.new("Black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
| |
| 1453 | else | |
| 1454 | BlockEffect(BrickColor.new("Really black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
| |
| 1455 | end | |
| 1456 | end | |
| 1457 | num = num + 1 | |
| 1458 | end | |
| 1459 | SphereEffect(BrickColor.new("Black"), Hitbox2.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
| |
| 1460 | for i = 0, 1, 0.1 do | |
| 1461 | swait() | |
| 1462 | end | |
| 1463 | model2.Parent = nil | |
| 1464 | for i = 0, 1, 0.05 do | |
| 1465 | swait() | |
| 1466 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1467 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1468 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3) | |
| 1469 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3) | |
| 1470 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1471 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1472 | end | |
| 1473 | CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
| |
| 1474 | SphereEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
| |
| 1475 | for i = 0, 1, 0.1 do | |
| 1476 | swait() | |
| 1477 | end | |
| 1478 | model2.Parent = nil | |
| 1479 | m.Parent = Character | |
| 1480 | for i = 1, #Hammer do | |
| 1481 | Hammer[i].Parent = m | |
| 1482 | HammerWelds[i].Parent = Hammer[1] | |
| 1483 | end | |
| 1484 | for i = 0, 1, 0.05 do | |
| 1485 | swait() | |
| 1486 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1487 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1488 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1489 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1490 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1491 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1492 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
| 1493 | end | |
| 1494 | WStyle = "Hammer" | |
| 1495 | attack = false | |
| 1496 | end | |
| 1497 | ||
| 1498 | Beauty = function() | |
| 1499 | attack = true | |
| 1500 | for i = 0, 1, 0.05 do | |
| 1501 | swait() | |
| 1502 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1503 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1504 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1505 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1506 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1507 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1508 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
| 1509 | end | |
| 1510 | num = 0 | |
| 1511 | CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
| |
| 1512 | for i = 0, 1, 0.01 do | |
| 1513 | swait() | |
| 1514 | if num >= 10 then | |
| 1515 | num = 0 | |
| 1516 | WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
| |
| 1517 | end | |
| 1518 | for i = 1, 2 do | |
| 1519 | if math.random(1, 5) == 1 then | |
| 1520 | BlockEffect(BrickColor.new("Black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
| |
| 1521 | else | |
| 1522 | BlockEffect(BrickColor.new("Really black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
| |
| 1523 | end | |
| 1524 | end | |
| 1525 | num = num + 1 | |
| 1526 | end | |
| 1527 | CreateSound("http://www.roblox.com/asset/?id=243711369", RootPart, 1, 1)
| |
| 1528 | SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
| |
| 1529 | for i = 0, 1, 0.1 do | |
| 1530 | swait() | |
| 1531 | end | |
| 1532 | m.Parent = nil | |
| 1533 | for i = 0, 1, 0.05 do | |
| 1534 | swait() | |
| 1535 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1536 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1537 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3) | |
| 1538 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3) | |
| 1539 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1540 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1541 | end | |
| 1542 | CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
| |
| 1543 | SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
| |
| 1544 | for i = 0, 1, 0.1 do | |
| 1545 | swait() | |
| 1546 | end | |
| 1547 | m.Parent = nil | |
| 1548 | model2.Parent = Character | |
| 1549 | for i = 1, #DBlade do | |
| 1550 | DBlade[i].Parent = model2 | |
| 1551 | DBladeWelds[i].Parent = DBlade[1] | |
| 1552 | end | |
| 1553 | m.Parent = nil | |
| 1554 | for i = 0, 1, 0.05 do | |
| 1555 | swait() | |
| 1556 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1557 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1558 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1559 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1560 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1561 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1562 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
| 1563 | end | |
| 1564 | WStyle = "Blade" | |
| 1565 | attack = false | |
| 1566 | end | |
| 1567 | ||
| 1568 | HadesStorm = function() | |
| 1569 | attack = true | |
| 1570 | CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
| |
| 1571 | for i = 0, 1, 0.05 do | |
| 1572 | swait() | |
| 1573 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 1574 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 1575 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * angles(math.rad(180), math.rad(0), math.rad(-50)), 0.3) | |
| 1576 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3) | |
| 1577 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3) | |
| 1578 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1579 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1580 | end | |
| 1581 | for i = 0, 1, 0.5 do | |
| 1582 | swait() | |
| 1583 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1584 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1585 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3) | |
| 1586 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3) | |
| 1587 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1588 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1589 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1590 | end | |
| 1591 | for i = 0, 1, 0.2 do | |
| 1592 | swait() | |
| 1593 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1594 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1595 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
| 1596 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
| 1597 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1598 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1599 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
| 1600 | end | |
| 1601 | hit = nil | |
| 1602 | for i = 1, 1 do | |
| 1603 | if hit == nil then | |
| 1604 | swait() | |
| 1605 | end | |
| 1606 | hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character) | |
| 1607 | end | |
| 1608 | local hit = nil | |
| 1609 | while hit == nil do | |
| 1610 | swait() | |
| 1611 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
| 1612 | end | |
| 1613 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
| 1614 | do | |
| 1615 | if hit ~= nil then | |
| 1616 | local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
| |
| 1617 | ref.Anchored = true | |
| 1618 | ref.CFrame = cf(pos) | |
| 1619 | game:GetService("Debris"):AddItem(ref, 3)
| |
| 1620 | for i = 1, 10 do | |
| 1621 | Col = hit.BrickColor | |
| 1622 | local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100)) | |
| 1623 | groundpart.Anchored = true | |
| 1624 | groundpart.CanCollide = true | |
| 1625 | groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1626 | game:GetService("Debris"):AddItem(groundpart, 5)
| |
| 1627 | end | |
| 1628 | CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
| |
| 1629 | WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05) | |
| 1630 | MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown") | |
| 1631 | end | |
| 1632 | local numb = -8 | |
| 1633 | local basecf = RootPart.CFrame | |
| 1634 | for i = 1, 4 do | |
| 1635 | swait() | |
| 1636 | local cf2 = basecf * cf(0, 0, numb) | |
| 1637 | local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
| |
| 1638 | ref.CFrame = cf2 | |
| 1639 | ref.Anchored = true | |
| 1640 | local TheHit = ref.Position + vt(0, -1, 0) | |
| 1641 | local MouseLook = cf((ref.Position + TheHit) / 2, TheHit) | |
| 1642 | local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character) | |
| 1643 | local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
| |
| 1644 | ref2.CFrame = cf(pos) | |
| 1645 | ref2.Anchored = true | |
| 1646 | SphereEffect(BrickColor.new("Really black"), ref2.CFrame, 15, 15, 15, 5, 5, 5, 0.02)
| |
| 1647 | WaveEffect(BrickColor.new("Really black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
| |
| 1648 | MagniDamage(ref2, 20, 10, 15, math.random(5, 20), "Normal", RootPart) | |
| 1649 | CreateSound("http://www.roblox.com/asset/?id=161006093", ref2, 1, 0.6)
| |
| 1650 | game:GetService("Debris"):AddItem(ref, 2)
| |
| 1651 | game:GetService("Debris"):AddItem(ref2, 2)
| |
| 1652 | numb = numb - 15 | |
| 1653 | wait(0.4) | |
| 1654 | end | |
| 1655 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 3, 1, 0.05)
| |
| 1656 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 2, 1, 2, 0.05)
| |
| 1657 | attack = false | |
| 1658 | end | |
| 1659 | end | |
| 1660 | ||
| 1661 | ob1u = function() | |
| 1662 | end | |
| 1663 | ||
| 1664 | ob1d = function() | |
| 1665 | if WStyle == "Hammer" then | |
| 1666 | if attack == false and attacktype == 1 then | |
| 1667 | attacktype = 2 | |
| 1668 | attackone() | |
| 1669 | else | |
| 1670 | if attack == false and attacktype == 2 then | |
| 1671 | attacktype = 3 | |
| 1672 | attacktwo() | |
| 1673 | else | |
| 1674 | if attack == false and attacktype == 3 then | |
| 1675 | attacktype = 1 | |
| 1676 | attackthree() | |
| 1677 | end | |
| 1678 | end | |
| 1679 | end | |
| 1680 | end | |
| 1681 | if WStyle == "Blade" then | |
| 1682 | if attack == false and attacktype2 == 1 then | |
| 1683 | attacktype2 = 2 | |
| 1684 | battackone() | |
| 1685 | else | |
| 1686 | if attack == false and attacktype2 == 2 then | |
| 1687 | attacktype2 = 3 | |
| 1688 | battacktwo() | |
| 1689 | else | |
| 1690 | if attack == false and attacktype2 == 3 then | |
| 1691 | attacktype2 = 1 | |
| 1692 | battackthree() | |
| 1693 | end | |
| 1694 | end | |
| 1695 | end | |
| 1696 | end | |
| 1697 | end | |
| 1698 | ||
| 1699 | key = function(k) | |
| 1700 | k = k:lower() | |
| 1701 | if attack == false and k == "z" and zenabled == true and mana >= 15 then | |
| 1702 | zenabled = false | |
| 1703 | mana = mana | |
| 1704 | coroutine.resume(coroutine.create(function() | |
| 1705 | for i = 1, 0, -0.02 do | |
| 1706 | swait() | |
| 1707 | fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
| 1708 | end | |
| 1709 | zenabled = true | |
| 1710 | fenframe1a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 1711 | end | |
| 1712 | )) | |
| 1713 | if WStyle == "Hammer" then | |
| 1714 | --HadesHammer() | |
| 1715 | else | |
| 1716 | if WStyle == "Blade" then | |
| 1717 | HadesKnife() | |
| 1718 | end | |
| 1719 | end | |
| 1720 | else | |
| 1721 | if attack == false and k == "x" and mana >= 25 and xenabled == true then | |
| 1722 | xenabled = false | |
| 1723 | mana = mana | |
| 1724 | coroutine.resume(coroutine.create(function() | |
| 1725 | for i = 1, 0, -0.0025 do | |
| 1726 | swait() | |
| 1727 | fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
| 1728 | end | |
| 1729 | xenabled = true | |
| 1730 | fenframe2a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 1731 | end | |
| 1732 | )) | |
| 1733 | if WStyle == "Hammer" then | |
| 1734 | BlackDeath() | |
| 1735 | else | |
| 1736 | if WStyle == "Blade" then | |
| 1737 | HellFromAbove() | |
| 1738 | end | |
| 1739 | end | |
| 1740 | else | |
| 1741 | if attack == false and k == "c" and mana >= 35 and cenabled == true then | |
| 1742 | cenabled = false | |
| 1743 | mana = mana | |
| 1744 | coroutine.resume(coroutine.create(function() | |
| 1745 | for i = 1, 0, -0.0025 do | |
| 1746 | swait() | |
| 1747 | fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
| 1748 | end | |
| 1749 | cenabled = true | |
| 1750 | fenframe3a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 1751 | end | |
| 1752 | )) | |
| 1753 | if WStyle == "Hammer" then | |
| 1754 | --HadesStorm() | |
| 1755 | else | |
| 1756 | if WStyle == "Blade" then | |
| 1757 | HadesArrow() | |
| 1758 | end | |
| 1759 | end | |
| 1760 | else | |
| 1761 | if attack == false and k == "v" and mana >= 25 and venabled == true then | |
| 1762 | venabled = false | |
| 1763 | mana = mana | |
| 1764 | coroutine.resume(coroutine.create(function() | |
| 1765 | for i = 1, 0, -0.025 do | |
| 1766 | swait() | |
| 1767 | fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
| 1768 | end | |
| 1769 | venabled = true | |
| 1770 | fenframe4a.Size = UDim2.new(0, 0, 0.1, 0) | |
| 1771 | end | |
| 1772 | )) | |
| 1773 | if WStyle == "Hammer" then | |
| 1774 | Beauty() | |
| 1775 | else | |
| 1776 | if WStyle == "Blade" then | |
| 1777 | Beast() | |
| 1778 | end | |
| 1779 | end | |
| 1780 | end | |
| 1781 | end | |
| 1782 | end | |
| 1783 | end | |
| 1784 | end | |
| 1785 | ||
| 1786 | Bin = Instance.new("HopperBin", Player.Backpack)
| |
| 1787 | ds = function(mouse) | |
| 1788 | end | |
| 1789 | ||
| 1790 | s = function(mouse) | |
| 1791 | print("Selected")
| |
| 1792 | mouse.Button1Down:connect(function() | |
| 1793 | ob1d(mouse) | |
| 1794 | end | |
| 1795 | ) | |
| 1796 | mouse.Button1Up:connect(function() | |
| 1797 | ob1u(mouse) | |
| 1798 | end | |
| 1799 | ) | |
| 1800 | mouse.KeyDown:connect(key) | |
| 1801 | end | |
| 1802 | ||
| 1803 | Bin.Selected:connect(s) | |
| 1804 | Bin.Deselected:connect(ds) | |
| 1805 | while 1 do | |
| 1806 | while 1 do | |
| 1807 | while 1 do | |
| 1808 | swait() | |
| 1809 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 1810 | torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1811 | velocity = RootPart.Velocity.y | |
| 1812 | sine = sine + change | |
| 1813 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 1814 | if equipped == true or equipped == false then | |
| 1815 | if 1 < RootPart.Velocity.y and hit == nil then | |
| 1816 | Anim = "Jump" | |
| 1817 | if attack == false then | |
| 1818 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1819 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1820 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1821 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1822 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1823 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1824 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1825 | end | |
| 1826 | else | |
| 1827 | if RootPart.Velocity.y < -1 and hit == nil then | |
| 1828 | Anim = "Fall" | |
| 1829 | if attack == false then | |
| 1830 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1831 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1832 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1833 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1834 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1835 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1836 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1837 | end | |
| 1838 | else | |
| 1839 | if torvel<1 and hit~=nil then | |
| 1840 | Anim = "Idle" | |
| 1841 | if attack == false then | |
| 1842 | if WStyle == "Hammer" then | |
| 1843 | change = 1 | |
| 1844 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 1845 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) | |
| 1846 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 1847 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1848 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1849 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1850 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1851 | else | |
| 1852 | if WStyle == "Blade" then | |
| 1853 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3) | |
| 1854 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3) | |
| 1855 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3) | |
| 1856 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1857 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1858 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1859 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3) | |
| 1860 | end | |
| 1861 | end | |
| 1862 | end | |
| 1863 | else | |
| 1864 | if torvel>2 and torvel<22 and hit~=nil then | |
| 1865 | Anim = "Walk" | |
| 1866 | if attack == false then | |
| 1867 | if WStyle == "Hammer" then | |
| 1868 | change = 1 | |
| 1869 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1870 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1871 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 1872 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
| 1873 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1874 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1875 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(70), math.rad(0), math.rad(180)), 0.3) | |
| 1876 | else | |
| 1877 | if WStyle == "Blade" then | |
| 1878 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1879 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1880 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3) | |
| 1881 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1882 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1883 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1884 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3) | |
| 1885 | end | |
| 1886 | end | |
| 1887 | end | |
| 1888 | end | |
| 1889 | end | |
| 1890 | end | |
| 1891 | end | |
| 1892 | end | |
| 1893 | if 0 < #Effects then | |
| 1894 | for e = 1, #Effects do | |
| 1895 | if Effects[e] ~= nil then | |
| 1896 | local Thing = Effects[e] | |
| 1897 | if Thing ~= nil then | |
| 1898 | local Part = Thing[1] | |
| 1899 | local Mode = Thing[2] | |
| 1900 | local Delay = Thing[3] | |
| 1901 | local IncX = Thing[4] | |
| 1902 | local IncY = Thing[5] | |
| 1903 | local IncZ = Thing[6] | |
| 1904 | if Thing[1].Transparency <= 1 then | |
| 1905 | if Thing[2] == "Block1" then | |
| 1906 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1907 | Mesh = Thing[1].Mesh | |
| 1908 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1909 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1910 | else | |
| 1911 | if Thing[2] == "Block2" then | |
| 1912 | Thing[1].CFrame = Thing[1].CFrame | |
| 1913 | Mesh = Thing[7] | |
| 1914 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1915 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1916 | else | |
| 1917 | if Thing[2] == "Cylinder" then | |
| 1918 | Mesh = Thing[1].Mesh | |
| 1919 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1920 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1921 | else | |
| 1922 | if Thing[2] == "Blood" then | |
| 1923 | Mesh = Thing[7] | |
| 1924 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1925 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1926 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1927 | else | |
| 1928 | if Thing[2] == "Elec" then | |
| 1929 | Mesh = Thing[1].Mesh | |
| 1930 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1931 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1932 | else | |
| 1933 | if Thing[2] == "Disappear" then | |
| 1934 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1935 | else | |
| 1936 | if Thing[2] == "Shatter" then | |
| 1937 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1938 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1939 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1940 | Thing[6] = Thing[6] + Thing[5] | |
| 1941 | end | |
| 1942 | end | |
| 1943 | end | |
| 1944 | end | |
| 1945 | end | |
| 1946 | end | |
| 1947 | end | |
| 1948 | else | |
| 1949 | Part.Parent = nil | |
| 1950 | table.remove(Effects, e) | |
| 1951 | end | |
| 1952 | end | |
| 1953 | end | |
| 1954 | end | |
| 1955 | end | |
| 1956 | do | |
| 1957 | fenbarmana2:TweenSize((UDim2.new(4 * mana / 100, 0, 0.2, 0)), nil, 1, 0.4, true) | |
| 1958 | fenbarmana4.Text = "[Hate] <{[ " .. mana .. " ]}> [Hate]"
| |
| 1959 | if 100 <= mana then | |
| 1960 | mana = 100 | |
| 1961 | end | |
| 1962 | end | |
| 1963 | end | |
| 1964 | if mananum <= 8 then | |
| 1965 | mananum = mananum + 1 | |
| 1966 | end | |
| 1967 | end | |
| 1968 | mananum = 0 | |
| 1969 | mana = mana + 1 | |
| 1970 | end |