SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[Script Made By Pxire]]-- | |
| 2 | --[[Dont Remove Credits You Faggot.]]-- | |
| 3 | --[[I Swear, if anyone else gets this except from elementman124]]-- | |
| 4 | --[[I wanna see dark eccentric get his hands on this.c:]]-- | |
| 5 | --[[Update Log: Current Date: 07/07/2017 13:30 UK Time.]]-- | |
| 6 | --[[Added 2 More Click Attacks Upper Cut And Punch (Cant Seem Too Add Damage :C)]]-- | |
| 7 | --[[Please Dont Look At The Coding Unless You Know What You're Doing]]-- | |
| 8 | --[[My Coding/Scripting Is Messy Although I Used A Template I Added A Few More Things]]-- | |
| 9 | --[[I Know You're Gonna Remove My Credits Lol]]-- | |
| 10 | warn'made by pxire aaa' | |
| 11 | wait(0.1) | |
| 12 | wait(1 / 60) | |
| 13 | Effects = { }
| |
| 14 | - | ree = Instance.new("Sound", game.Players.AgentVK.Character)
|
| 14 | + | ree = Instance.new("Sound", game.Players.djroese.Character)
|
| 15 | ree.Volume = 3 | |
| 16 | ree.SoundId = "rbxassetid://587088667" -- dont even fucking ask element | |
| 17 | ree.Looped = true -- this song just popped up and i picked it | |
| 18 | ree:Play() | |
| 19 | - | local Player = game.Players.localPlayer |
| 19 | + | local Player = game.Players.djroese |
| 20 | local Character = Player.Character | |
| 21 | local Humanoid = Character.Humanoid | |
| 22 | local Mouse = Player:GetMouse() | |
| 23 | local LeftArm = Character["Left Arm"] | |
| 24 | local RightArm = Character["Right Arm"] | |
| 25 | local LeftLeg = Character["Left Leg"] | |
| 26 | local RightLeg = Character["Right Leg"] | |
| 27 | local Head = Character.Head | |
| 28 | local Torso = Character.Torso | |
| 29 | local Camera = game.Workspace.CurrentCamera | |
| 30 | local RootPart = Character.HumanoidRootPart | |
| 31 | local RootJoint = RootPart.RootJoint | |
| 32 | local attack = false | |
| 33 | local Anim = 'Idle' | |
| 34 | local attacktype = 1 | |
| 35 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 36 | local velocity = RootPart.Velocity.y | |
| 37 | local sine = 0 | |
| 38 | local change = 1 | |
| 39 | local Create = LoadLibrary("RbxUtility").Create
| |
| 40 | ||
| 41 | local m = Create("Model"){
| |
| 42 | Parent = Character, | |
| 43 | Name = "WeaponModel", | |
| 44 | } | |
| 45 | ||
| 46 | Humanoid.Animator.Parent = nil | |
| 47 | Character.Animate.Parent = nil | |
| 48 | ||
| 49 | local newMotor = function(part0, part1, c0, c1) | |
| 50 | local w = Create('Motor'){
| |
| 51 | Parent = part0, | |
| 52 | Part0 = part0, | |
| 53 | Part1 = part1, | |
| 54 | C0 = c0, | |
| 55 | C1 = c1, | |
| 56 | } | |
| 57 | return w | |
| 58 | end | |
| 59 | ||
| 60 | function clerp(a, b, t) | |
| 61 | return a:lerp(b, t) | |
| 62 | end | |
| 63 | ||
| 64 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 65 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 66 | ||
| 67 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 68 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 69 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 70 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 71 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 72 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 73 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 74 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 75 | ||
| 76 | local rarmc1 = RW.C1 | |
| 77 | local larmc1 = LW.C1 | |
| 78 | local rlegc1 = RH.C1 | |
| 79 | local llegc1 = LH.C1 | |
| 80 | ||
| 81 | local resetc1 = false | |
| 82 | ||
| 83 | function PlayAnimationFromTable(table, speed, bool) | |
| 84 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 85 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 86 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 87 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 88 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 89 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 90 | if bool == true then | |
| 91 | if resetc1 == false then | |
| 92 | resetc1 = true | |
| 93 | RootJoint.C1 = RootJoint.C1 | |
| 94 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 95 | RW.C1 = rarmc1 | |
| 96 | LW.C1 = larmc1 | |
| 97 | RH.C1 = rlegc1 | |
| 98 | LH.C1 = llegc1 | |
| 99 | end | |
| 100 | end | |
| 101 | end | |
| 102 | ||
| 103 | ArtificialHB = Create("BindableEvent", script){
| |
| 104 | Parent = script, | |
| 105 | Name = "Heartbeat", | |
| 106 | } | |
| 107 | ||
| 108 | script:WaitForChild("Heartbeat")
| |
| 109 | ||
| 110 | frame = 1 / 30 | |
| 111 | tf = 0 | |
| 112 | allowframeloss = false | |
| 113 | tossremainder = false | |
| 114 | lastframe = tick() | |
| 115 | script.Heartbeat:Fire() | |
| 116 | ||
| 117 | warn'Loading...' | |
| 118 | wait(0.50) | |
| 119 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 120 | tf = tf + s | |
| 121 | if tf >= frame then | |
| 122 | if allowframeloss then | |
| 123 | script.Heartbeat:Fire() | |
| 124 | lastframe = tick() | |
| 125 | else | |
| 126 | for i = 1, math.floor(tf / frame) do | |
| 127 | script.Heartbeat:Fire() | |
| 128 | end | |
| 129 | lastframe = tick() | |
| 130 | end | |
| 131 | if tossremainder then | |
| 132 | tf = 0 | |
| 133 | else | |
| 134 | tf = tf - frame * math.floor(tf / frame) | |
| 135 | end | |
| 136 | end | |
| 137 | end) | |
| 138 | ||
| 139 | function swait(num) | |
| 140 | if num == 0 or num == nil then | |
| 141 | ArtificialHB.Event:wait() | |
| 142 | else | |
| 143 | for i = 0, num do | |
| 144 | ArtificialHB.Event:wait() | |
| 145 | end | |
| 146 | end | |
| 147 | end | |
| 148 | ||
| 149 | function RemoveOutlines(part) | |
| 150 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 151 | end | |
| 152 | ||
| 153 | CFuncs = {
| |
| 154 | Part = {
| |
| 155 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 156 | local Part = Create("Part"){
| |
| 157 | Parent = Parent, | |
| 158 | Reflectance = Reflectance, | |
| 159 | Transparency = Transparency, | |
| 160 | CanCollide = false, | |
| 161 | Locked = true, | |
| 162 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 163 | Name = Name, | |
| 164 | Size = Size, | |
| 165 | Material = Material, | |
| 166 | } | |
| 167 | RemoveOutlines(Part) | |
| 168 | return Part | |
| 169 | end; | |
| 170 | }; | |
| 171 | ||
| 172 | Mesh = {
| |
| 173 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 174 | local Msh = Create(Mesh){
| |
| 175 | Parent = Part, | |
| 176 | Offset = OffSet, | |
| 177 | Scale = Scale, | |
| 178 | } | |
| 179 | if Mesh == "SpecialMesh" then | |
| 180 | Msh.MeshType = MeshType | |
| 181 | Msh.MeshId = MeshId | |
| 182 | end | |
| 183 | return Msh | |
| 184 | end; | |
| 185 | }; | |
| 186 | ||
| 187 | Weld = {
| |
| 188 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 189 | local Weld = Create("Weld"){
| |
| 190 | Parent = Parent, | |
| 191 | Part0 = Part0, | |
| 192 | Part1 = Part1, | |
| 193 | C0 = C0, | |
| 194 | C1 = C1, | |
| 195 | } | |
| 196 | return Weld | |
| 197 | end; | |
| 198 | }; | |
| 199 | ||
| 200 | Sound = {
| |
| 201 | Create = function(id, par, vol, pit) | |
| 202 | coroutine.resume(coroutine.create(function() | |
| 203 | local Sound = Create("Sound"){
| |
| 204 | Volume = vol, | |
| 205 | Pitch = pit or 1, | |
| 206 | SoundId = "rbxassetid://" .. id, | |
| 207 | Parent = par or workspace, | |
| 208 | } | |
| 209 | Sound:play() | |
| 210 | game:GetService("Debris"):AddItem(Sound, 10)
| |
| 211 | end)) | |
| 212 | end; | |
| 213 | }; | |
| 214 | ||
| 215 | Decal = {
| |
| 216 | Create = function(Color, Texture, Transparency, Name, Parent) | |
| 217 | local Decal = Create("Decal"){
| |
| 218 | Color3 = Color, | |
| 219 | Texture = "rbxassetid://" .. Texture, | |
| 220 | Transparency = Transparency, | |
| 221 | Name = Name, | |
| 222 | Parent = Parent, | |
| 223 | } | |
| 224 | return Decal | |
| 225 | end; | |
| 226 | }; | |
| 227 | ||
| 228 | BillboardGui = {
| |
| 229 | Create = function(Parent, Image, Position, Size) | |
| 230 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
| |
| 231 | BillPar.CFrame = CFrame.new(Position) | |
| 232 | local Bill = Create("BillboardGui"){
| |
| 233 | Parent = BillPar, | |
| 234 | Adornee = BillPar, | |
| 235 | Size = UDim2.new(1, 0, 1, 0), | |
| 236 | SizeOffset = Vector2.new(Size, Size), | |
| 237 | } | |
| 238 | local d = Create("ImageLabel", Bill){
| |
| 239 | Parent = Bill, | |
| 240 | BackgroundTransparency = 1, | |
| 241 | Size = UDim2.new(1, 0, 1, 0), | |
| 242 | Image = "rbxassetid://" .. Image, | |
| 243 | } | |
| 244 | return BillPar | |
| 245 | end | |
| 246 | }; | |
| 247 | ||
| 248 | ParticleEmitter = {
| |
| 249 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 250 | local Particle = Create("ParticleEmitter"){
| |
| 251 | Parent = Parent, | |
| 252 | Color = ColorSequence.new(Color1, Color2), | |
| 253 | LightEmission = LightEmission, | |
| 254 | Size = Size, | |
| 255 | Texture = Texture, | |
| 256 | Transparency = Transparency, | |
| 257 | ZOffset = ZOffset, | |
| 258 | Acceleration = Accel, | |
| 259 | Drag = Drag, | |
| 260 | LockedToPart = LockedToPart, | |
| 261 | VelocityInheritance = VelocityInheritance, | |
| 262 | EmissionDirection = EmissionDirection, | |
| 263 | Enabled = Enabled, | |
| 264 | Lifetime = LifeTime, | |
| 265 | Rate = Rate, | |
| 266 | Rotation = Rotation, | |
| 267 | RotSpeed = RotSpeed, | |
| 268 | Speed = Speed, | |
| 269 | VelocitySpread = VelocitySpread, | |
| 270 | } | |
| 271 | return Particle | |
| 272 | end; | |
| 273 | }; | |
| 274 | ||
| 275 | CreateTemplate = {
| |
| 276 | ||
| 277 | }; | |
| 278 | } | |
| 279 | ||
| 280 | function rayCast(Position, Direction, Range, Ignore) | |
| 281 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 282 | end | |
| 283 | ||
| 284 | FindNearestTorso = function(pos) | |
| 285 | local list = (game.Workspace:children()) | |
| 286 | local torso = nil | |
| 287 | local dist = 1000 | |
| 288 | local temp, human, temp2 = nil, nil, nil | |
| 289 | for x = 1, #list do | |
| 290 | temp2 = list[x] | |
| 291 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 292 | temp = temp2:findFirstChild("Torso")
| |
| 293 | human = temp2:findFirstChild("Humanoid")
| |
| 294 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 295 | local dohit = true | |
| 296 | if dohit == true then | |
| 297 | torso = temp | |
| 298 | dist = (temp.Position - pos).magnitude | |
| 299 | end | |
| 300 | end | |
| 301 | end | |
| 302 | end | |
| 303 | return torso, dist | |
| 304 | end | |
| 305 | ||
| 306 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 307 | if hit.Parent == nil then | |
| 308 | return | |
| 309 | end | |
| 310 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 311 | for _, v in pairs(hit.Parent:children()) do | |
| 312 | if v:IsA("Humanoid") then
| |
| 313 | h = v | |
| 314 | end | |
| 315 | end | |
| 316 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 317 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 318 | if hit.Parent.DebounceHit.Value == true then | |
| 319 | return | |
| 320 | end | |
| 321 | end | |
| 322 | local c = Create("ObjectValue"){
| |
| 323 | Name = "creator", | |
| 324 | Value = game:service("Players").LocalPlayer,
| |
| 325 | Parent = h, | |
| 326 | } | |
| 327 | game:GetService("Debris"):AddItem(c, .5)
| |
| 328 | if HitSound ~= nil and HitPitch ~= nil then | |
| 329 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 330 | end | |
| 331 | local Damage = math.random(minim, maxim) | |
| 332 | local blocked = false | |
| 333 | local block = hit.Parent:findFirstChild("Block")
| |
| 334 | if block ~= nil then | |
| 335 | if block.className == "IntValue" then | |
| 336 | if block.Value > 0 then | |
| 337 | blocked = true | |
| 338 | block.Value = block.Value - 1 | |
| 339 | print(block.Value) | |
| 340 | end | |
| 341 | end | |
| 342 | end | |
| 343 | if blocked == false then | |
| 344 | h.Health = h.Health - Damage | |
| 345 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 346 | else | |
| 347 | h.Health = h.Health - (Damage / 2) | |
| 348 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 349 | end | |
| 350 | if Type == "Knockdown" then | |
| 351 | local hum = hit.Parent.Humanoid | |
| 352 | hum.PlatformStand = true | |
| 353 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 354 | swait(1) | |
| 355 | HHumanoid.PlatformStand = false | |
| 356 | end), hum) | |
| 357 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 358 | local bodvol = Create("BodyVelocity"){
| |
| 359 | velocity = angle * knockback, | |
| 360 | P = 5000, | |
| 361 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 362 | Parent = hit, | |
| 363 | } | |
| 364 | local rl = Create("BodyAngularVelocity"){
| |
| 365 | P = 3000, | |
| 366 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 367 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 368 | Parent = hit, | |
| 369 | } | |
| 370 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 371 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 372 | elseif Type == "Normal" then | |
| 373 | local vp = Create("BodyVelocity"){
| |
| 374 | P = 500, | |
| 375 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 376 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 377 | } | |
| 378 | if knockback > 0 then | |
| 379 | vp.Parent = hit.Parent.Torso | |
| 380 | end | |
| 381 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 382 | elseif Type == "Up" then | |
| 383 | local bodyVelocity = Create("BodyVelocity"){
| |
| 384 | velocity = Vector3.new(0, 20, 0), | |
| 385 | P = 5000, | |
| 386 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 387 | Parent = hit, | |
| 388 | } | |
| 389 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 390 | elseif Type == "DarkUp" then | |
| 391 | coroutine.resume(coroutine.create(function() | |
| 392 | for i = 0, 1, 0.1 do | |
| 393 | swait() | |
| 394 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 395 | end | |
| 396 | end)) | |
| 397 | local bodyVelocity = Create("BodyVelocity"){
| |
| 398 | velocity = Vector3.new(0, 20, 0), | |
| 399 | P = 5000, | |
| 400 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 401 | Parent = hit, | |
| 402 | } | |
| 403 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 404 | elseif Type == "Snare" then | |
| 405 | local bp = Create("BodyPosition"){
| |
| 406 | P = 2000, | |
| 407 | D = 100, | |
| 408 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 409 | position = hit.Parent.Torso.Position, | |
| 410 | Parent = hit.Parent.Torso, | |
| 411 | } | |
| 412 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 413 | elseif Type == "Freeze" then | |
| 414 | local BodPos = Create("BodyPosition"){
| |
| 415 | P = 50000, | |
| 416 | D = 1000, | |
| 417 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 418 | position = hit.Parent.Torso.Position, | |
| 419 | Parent = hit.Parent.Torso, | |
| 420 | } | |
| 421 | local BodGy = Create("BodyGyro") {
| |
| 422 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 423 | P = 20e+003, | |
| 424 | Parent = hit.Parent.Torso, | |
| 425 | cframe = hit.Parent.Torso.CFrame, | |
| 426 | } | |
| 427 | hit.Parent.Torso.Anchored = true | |
| 428 | coroutine.resume(coroutine.create(function(Part) | |
| 429 | swait(1.5) | |
| 430 | Part.Anchored = false | |
| 431 | end), hit.Parent.Torso) | |
| 432 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 433 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 434 | end | |
| 435 | local debounce = Create("BoolValue"){
| |
| 436 | Name = "DebounceHit", | |
| 437 | Parent = hit.Parent, | |
| 438 | Value = true, | |
| 439 | } | |
| 440 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 441 | c = Create("ObjectValue"){
| |
| 442 | Name = "creator", | |
| 443 | Value = Player, | |
| 444 | Parent = h, | |
| 445 | } | |
| 446 | game:GetService("Debris"):AddItem(c, .5)
| |
| 447 | end | |
| 448 | end | |
| 449 | ||
| 450 | function ShowDamage(Pos, Text, Time, Color) | |
| 451 | local Rate = (1 / 30) | |
| 452 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 453 | local Text = (Text or "") | |
| 454 | local Time = (Time or 2) | |
| 455 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 456 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 457 | EffectPart.Anchored = true | |
| 458 | local BillboardGui = Create("BillboardGui"){
| |
| 459 | Size = UDim2.new(3, 0, 3, 0), | |
| 460 | Adornee = EffectPart, | |
| 461 | Parent = EffectPart, | |
| 462 | } | |
| 463 | local TextLabel = Create("TextLabel"){
| |
| 464 | BackgroundTransparency = 1, | |
| 465 | Size = UDim2.new(1, 0, 1, 0), | |
| 466 | Text = Text, | |
| 467 | Font = "SciFi", | |
| 468 | TextColor3 = Color, | |
| 469 | TextScaled = true, | |
| 470 | Parent = BillboardGui, | |
| 471 | } | |
| 472 | game.Debris:AddItem(EffectPart, (Time)) | |
| 473 | EffectPart.Parent = game:GetService("Workspace")
| |
| 474 | delay(0, function() | |
| 475 | local Frames = (Time / Rate) | |
| 476 | for Frame = 1, Frames do | |
| 477 | wait(Rate) | |
| 478 | local Percent = (Frame / Frames) | |
| 479 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 480 | TextLabel.TextTransparency = Percent | |
| 481 | end | |
| 482 | if EffectPart and EffectPart.Parent then | |
| 483 | EffectPart:Destroy() | |
| 484 | end | |
| 485 | end) | |
| 486 | end | |
| 487 | ||
| 488 | function partt(parent, anchored, cancollide, size, cframe, col3, material, trans) | |
| 489 | local p = Instance.new("Part", parent)
| |
| 490 | p.Anchored = anchored | |
| 491 | p.CanCollide = cancollide | |
| 492 | p.Size = size | |
| 493 | p.CFrame = cframe | |
| 494 | p.Color = col3 | |
| 495 | p.Material = material | |
| 496 | p.Transparency = trans | |
| 497 | return p | |
| 498 | end | |
| 499 | ||
| 500 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 501 | for _, c in pairs(workspace:children()) do | |
| 502 | local hum = c:findFirstChild("Humanoid")
| |
| 503 | if hum ~= nil then | |
| 504 | local head = c:findFirstChild("Torso")
| |
| 505 | if head ~= nil then | |
| 506 | local targ = head.Position - Part.Position | |
| 507 | local mag = targ.magnitude | |
| 508 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 509 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 510 | end | |
| 511 | end | |
| 512 | end | |
| 513 | end | |
| 514 | end | |
| 515 | --thingy-- | |
| 516 | local plr=game.Players.LocalPlayer;ch=plr.Character; | |
| 517 | local p = game.Players.LocalPlayer | |
| 518 | local mouse = p:GetMouse() | |
| 519 | local char = p.Character | |
| 520 | local Head = char.Head | |
| 521 | local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg']; | |
| 522 | ||
| 523 | local souls=0 | |
| 524 | local soulPower=0 | |
| 525 | ||
| 526 | local soulGui=Instance.new("BillboardGui",head)
| |
| 527 | soulGui.Adornee=head | |
| 528 | soulGui.AlwaysOnTop=true | |
| 529 | soulGui.Size=UDim2.new(10,0,10,0) | |
| 530 | soulGui.ExtentsOffset=Vector3.new(0,1.5,0) | |
| 531 | local soulimg=Instance.new("ImageLabel",soulGui)
| |
| 532 | soulimg.BackgroundTransparency=1 | |
| 533 | soulimg.Position=UDim2.new(0.1,0,0,0) | |
| 534 | soulimg.Size=UDim2.new(0.8,0,0.8,0) | |
| 535 | local soulText=Instance.new("TextLabel",soulimg)
| |
| 536 | soulText.BackgroundTransparency=1 | |
| 537 | soulText.Position=UDim2.new(0,0,0.5,0) | |
| 538 | soulText.Size=UDim2.new(1,0,0.1,0) | |
| 539 | soulText.Font="SciFi" | |
| 540 | soulText.FontSize="Size14" | |
| 541 | soulText.Text="Eka" | |
| 542 | soulText.TextColor3=Color3.new(255,255,255) | |
| 543 | soulText.TextScaled=true | |
| 544 | soulText.TextStrokeColor3=Color3.new(255,255,255) | |
| 545 | soulText.TextStrokeTransparency=0 | |
| 546 | soulText.TextWrapped=true | |
| 547 | ||
| 548 | local soulGui=Instance.new("BillboardGui",head)
| |
| 549 | soulGui.Adornee=head | |
| 550 | soulGui.AlwaysOnTop=true | |
| 551 | soulGui.Size=UDim2.new(10,0,10,0) | |
| 552 | soulGui.ExtentsOffset=Vector3.new(0,1.5,0) | |
| 553 | local soulimg=Instance.new("ImageLabel",soulGui)
| |
| 554 | soulimg.BackgroundTransparency=1 | |
| 555 | soulimg.Position=UDim2.new(0.1,0,0,0) | |
| 556 | soulimg.Size=UDim2.new(0.8,0,0.8,0) | |
| 557 | local soulText=Instance.new("TextLabel",soulimg)
| |
| 558 | soulText.BackgroundTransparency=1 | |
| 559 | soulText.Position=UDim2.new(0,0,0.5,0) | |
| 560 | soulText.Size=UDim2.new(1,0,0.1,0) | |
| 561 | soulText.Font="SciFi" | |
| 562 | soulText.FontSize="Size14" | |
| 563 | soulText.Text=" nzi" | |
| 564 | soulText.TextColor3=Color3.new(0,0,0) | |
| 565 | soulText.TextScaled=true | |
| 566 | soulText.TextStrokeColor3=Color3.new(0,0,0) | |
| 567 | soulText.TextStrokeTransparency=0 | |
| 568 | soulText.TextWrapped=true | |
| 569 | --thingyend-- | |
| 570 | warn'Loaded Name...' | |
| 571 | wait(0.15) | |
| 572 | EffectModel = Create("Model"){
| |
| 573 | Parent = Character, | |
| 574 | Name = "Effects", | |
| 575 | } | |
| 576 | ||
| 577 | Effects = {
| |
| 578 | Block = {
| |
| 579 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 580 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 581 | prt.Anchored = true | |
| 582 | prt.CFrame = cframe | |
| 583 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 584 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 585 | if Type == 1 or Type == nil then | |
| 586 | table.insert(Effects, {
| |
| 587 | prt, | |
| 588 | "Block1", | |
| 589 | delay, | |
| 590 | x3, | |
| 591 | y3, | |
| 592 | z3, | |
| 593 | msh | |
| 594 | }) | |
| 595 | elseif Type == 2 then | |
| 596 | table.insert(Effects, {
| |
| 597 | prt, | |
| 598 | "Block2", | |
| 599 | delay, | |
| 600 | x3, | |
| 601 | y3, | |
| 602 | z3, | |
| 603 | msh | |
| 604 | }) | |
| 605 | end | |
| 606 | end; | |
| 607 | }; | |
| 608 | ||
| 609 | Cylinder = {
| |
| 610 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 611 | local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
| 612 | prt.Anchored = true | |
| 613 | prt.CFrame = cframe | |
| 614 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 615 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 616 | Effects[#Effects + 1] = {
| |
| 617 | prt, | |
| 618 | "Cylinder", | |
| 619 | delay, | |
| 620 | x3, | |
| 621 | y3, | |
| 622 | z3 | |
| 623 | } | |
| 624 | end; | |
| 625 | }; | |
| 626 | ||
| 627 | Head = {
| |
| 628 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 629 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 630 | prt.Anchored = true | |
| 631 | prt.CFrame = cframe | |
| 632 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 633 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 634 | table.insert(Effects, {
| |
| 635 | prt, | |
| 636 | "Cylinder", | |
| 637 | delay, | |
| 638 | x3, | |
| 639 | y3, | |
| 640 | z3, | |
| 641 | msh | |
| 642 | }) | |
| 643 | end; | |
| 644 | }; | |
| 645 | ||
| 646 | Sphere = {
| |
| 647 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 648 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 649 | prt.Anchored = true | |
| 650 | prt.CFrame = cframe | |
| 651 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 652 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 653 | table.insert(Effects, {
| |
| 654 | prt, | |
| 655 | "Cylinder", | |
| 656 | delay, | |
| 657 | x3, | |
| 658 | y3, | |
| 659 | z3, | |
| 660 | msh | |
| 661 | }) | |
| 662 | end; | |
| 663 | }; | |
| 664 | ||
| 665 | Elect = {
| |
| 666 | Create = function(cff, x, y, z) | |
| 667 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 668 | prt.Anchored = true | |
| 669 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 670 | prt.CFrame = CFrame.new(prt.Position) | |
| 671 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 672 | local xval = math.random() / 2 | |
| 673 | local yval = math.random() / 2 | |
| 674 | local zval = math.random() / 2 | |
| 675 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 676 | table.insert(Effects, {
| |
| 677 | prt, | |
| 678 | "Elec", | |
| 679 | 0.1, | |
| 680 | x, | |
| 681 | y, | |
| 682 | z, | |
| 683 | xval, | |
| 684 | yval, | |
| 685 | zval | |
| 686 | }) | |
| 687 | end; | |
| 688 | ||
| 689 | }; | |
| 690 | ||
| 691 | Ring = {
| |
| 692 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 693 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 694 | prt.Anchored = true | |
| 695 | prt.CFrame = cframe | |
| 696 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 697 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 698 | table.insert(Effects, {
| |
| 699 | prt, | |
| 700 | "Cylinder", | |
| 701 | delay, | |
| 702 | x3, | |
| 703 | y3, | |
| 704 | z3, | |
| 705 | msh | |
| 706 | }) | |
| 707 | end; | |
| 708 | }; | |
| 709 | ||
| 710 | ||
| 711 | Wave = {
| |
| 712 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 713 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 714 | prt.Anchored = true | |
| 715 | prt.CFrame = cframe | |
| 716 | local msh = CFuncs.Mesh.Create("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, {
| |
| 719 | prt, | |
| 720 | "Cylinder", | |
| 721 | delay, | |
| 722 | x3, | |
| 723 | y3, | |
| 724 | z3, | |
| 725 | msh | |
| 726 | }) | |
| 727 | end; | |
| 728 | }; | |
| 729 | ||
| 730 | Break = {
| |
| 731 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 732 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 733 | prt.Anchored = true | |
| 734 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 735 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 736 | local num = math.random(10, 50) / 1000 | |
| 737 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 738 | table.insert(Effects, {
| |
| 739 | prt, | |
| 740 | "Shatter", | |
| 741 | num, | |
| 742 | prt.CFrame, | |
| 743 | math.random() - math.random(), | |
| 744 | 0, | |
| 745 | math.random(50, 100) / 100 | |
| 746 | }) | |
| 747 | end; | |
| 748 | }; | |
| 749 | ||
| 750 | Fire = {
| |
| 751 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 752 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 753 | prt.Anchored = true | |
| 754 | prt.CFrame = cframe | |
| 755 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 756 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 757 | table.insert(Effects, {
| |
| 758 | prt, | |
| 759 | "Fire", | |
| 760 | delay, | |
| 761 | 1, | |
| 762 | 1, | |
| 763 | 1, | |
| 764 | msh | |
| 765 | }) | |
| 766 | end; | |
| 767 | }; | |
| 768 | ||
| 769 | FireWave = {
| |
| 770 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 771 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 772 | prt.Anchored = true | |
| 773 | prt.CFrame = cframe | |
| 774 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 775 | local d = Create("Decal"){
| |
| 776 | Parent = prt, | |
| 777 | Texture = "rbxassetid://26356434", | |
| 778 | Face = "Top", | |
| 779 | } | |
| 780 | local d = Create("Decal"){
| |
| 781 | Parent = prt, | |
| 782 | Texture = "rbxassetid://26356434", | |
| 783 | Face = "Bottom", | |
| 784 | } | |
| 785 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 786 | table.insert(Effects, {
| |
| 787 | prt, | |
| 788 | "FireWave", | |
| 789 | 1, | |
| 790 | 30, | |
| 791 | math.random(400, 600) / 100, | |
| 792 | msh | |
| 793 | }) | |
| 794 | end; | |
| 795 | }; | |
| 796 | ||
| 797 | Lightning = {
| |
| 798 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 799 | local magz = (p0 - p1).magnitude | |
| 800 | local curpos = p0 | |
| 801 | local trz = {
| |
| 802 | -ofs, | |
| 803 | ofs | |
| 804 | } | |
| 805 | for i = 1, tym do | |
| 806 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 807 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 808 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 809 | li.Material = "Neon" | |
| 810 | if tym == i then | |
| 811 | local magz2 = (curpos - p1).magnitude | |
| 812 | li.Size = Vector3.new(th, th, magz2) | |
| 813 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 814 | table.insert(Effects, {
| |
| 815 | li, | |
| 816 | "Disappear", | |
| 817 | last | |
| 818 | }) | |
| 819 | else | |
| 820 | do | |
| 821 | do | |
| 822 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 823 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 824 | game.Debris:AddItem(li, 10) | |
| 825 | table.insert(Effects, {
| |
| 826 | li, | |
| 827 | "Disappear", | |
| 828 | last | |
| 829 | }) | |
| 830 | end | |
| 831 | end | |
| 832 | end | |
| 833 | end | |
| 834 | end | |
| 835 | }; | |
| 836 | ||
| 837 | EffectTemplate = {
| |
| 838 | ||
| 839 | }; | |
| 840 | } | |
| 841 | ||
| 842 | New = function(Object, Parent, Name, Data) | |
| 843 | local Object = Instance.new(Object) | |
| 844 | for Index, Value in pairs(Data or {}) do
| |
| 845 | Object[Index] = Value | |
| 846 | end | |
| 847 | Object.Parent = Parent | |
| 848 | Object.Name = Name | |
| 849 | return Object | |
| 850 | end | |
| 851 | ||
| 852 | C11 = New("Part",LeftArm,"C1",{CanCollide = false,BrickColor = BrickColor.new("Pastel light blue"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000012, 0.800000012, 2),CFrame = CFrame.new(9.60000038, -1.60000706, 11.3599987, -1.43024124e-07, 1.0000093, -5.42291332e-07, -1.51331847e-07, -3.99267464e-07, -1.00000703, -1.00000548, -1.43023485e-07, 2.23470124e-07),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.686275, 0.866667, -1),})
| |
| 853 | Mesh11 = New("SpecialMesh",C11,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=1020197814",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,})
| |
| 854 | moter11 = New("Weld",C11,"mot",{Part0 = LeftArm,Part1 = C11,})--C0 = CFrame.new(0, 0, 0, -5.21534275e-07, 6.73523664e-06, 1, -1, -8.34451669e-07, -5.2153905e-07, -8.34455193e-07, -1, -6.73523618e-06),C1 = CFrame.new(1.1920929e-07, -1.70000935, -0.440010071, 1.00000238, -4.33996348e-07, 1.93715437e-07, 4.1536984e-07, 1.00000048, 6.82473183e-06, 3.53902919e-07, -6.88433647e-06, 1.00000775),})
| |
| 855 | C22 = New("Part",RightArm,"C2",{CanCollide = false,BrickColor = BrickColor.new("Pastel light blue"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000012, 0.800000012, 2),CFrame = CFrame.new(9.60000038, -1.60000706, 11.3599987, -1.43024124e-07, 1.0000093, -5.42291332e-07, -1.51331847e-07, -3.99267464e-07, -1.00000703, -1.00000548, -1.43023485e-07, 2.23470124e-07),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.686275, 0.866667, -1),})
| |
| 856 | Mesh22 = New("SpecialMesh",C22,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=1020197814",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,})
| |
| 857 | moter22 = New("Weld",C22,"mot",{Part0 = RightArm,Part1 = C22,})--C0 = CFrame.new(0, 0, 0, -5.21534275e-07, 6.73523664e-06, 1, -1, -8.34451669e-07, -5.2153905e-07, -8.34455193e-07, -1, -6.73523618e-06),C1 = CFrame.new(1.1920929e-07, -1.70000935, -0.440010071, 1.00000238, -4.33996348e-07, 1.93715437e-07, 4.1536984e-07, 1.00000048, 6.82473183e-06, 3.53902919e-07, -6.88433647e-06, 1.00000775),})
| |
| 858 | Hair = New("Part",Head,"Hair",{CanCollide = false,BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.99999928, 1.79999995, 2.00000024),CFrame = CFrame.new(-0.107289195, 1.59000361, 0.123101406, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.14441839e-16, 0, -4.14441839e-16, 1),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 859 | Mesh = New("SpecialMesh",Hair,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=76056263",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,})
| |
| 860 | mot = New("Weld",Hair,"mot",{Part0 = Hair,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1, 7.87137555e-09, -1.40367928e-22, -7.87137555e-09, 1, -4.14441839e-16, 1.37105691e-22, 4.14441839e-16, 1),C1 = CFrame.new(-0.107289195, 0.100000024, 0.123101406, 1, 3.34760534e-22, 2.85593913e-08, -3.34760534e-22, 1, 3.61317985e-22, -2.85593913e-08, -3.61317985e-22, 1),})
| |
| 861 | Hai = New("Part",Head,"Hai",{BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(34.0999985, 2.82998228, 4.67002439, 1, -2.36356074e-14, 5.68434189e-13, -1.52967916e-14, 1, -6.85453415e-07, -3.41060513e-13, 6.85453415e-07, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 862 | Mesh = New("SpecialMesh",Hai,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=0",MeshType = Enum.MeshType.FileMesh,})
| |
| 863 | mot = New("Motor",Hai,"mot",{Part0 = Hai,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1, 0, -4.69846384e-13, 0, 1, 6.85453415e-07, 4.69846384e-13, -6.85453415e-07, 1),C1 = CFrame.new(0, -0.670003653, 0.100008488, 1, -4.89879199e-07, 1.83657846e-06, 4.89866977e-07, 1, 6.64606296e-06, -1.83658165e-06, -6.64606205e-06, 1),})
| |
| 864 | stick = New("Model",Torso,"stick",{})
| |
| 865 | kiss = New("Part",m,"kiss",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-14.128828, 1.30003333, -44.8742905, 0.999999881, 0.000382690108, -1.93715096e-07, -0.000382690225, 1, 3.49245965e-09, 1.78813934e-07, -3.49245965e-09, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 866 | mot = New("Motor",kiss,"mot",{Part0 = kiss,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0.999999881, -0.000382690225, 1.78813934e-07, 0.000382690108, 1, -3.49245965e-09, -1.93715096e-07, 3.49245965e-09, 1),C1 = CFrame.new(-3.9100647e-05, -0.199961901, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 867 | - | local p = game.Players.AgentVK |
| 867 | + | local p = game.Players.djroese |
| 868 | local char = p.Character | |
| 869 | local hed = char.Head | |
| 870 | hed.face.Texture = "rbxassetid://904714893" | |
| 871 | local EyePart = partt(Character, false, false, Vector3.new(0.15, 0.3, 0.5), Torso.CFrame, Color3.new(0, 0, 0), "Neon", 0) | |
| 872 | EyePart.Name = "EyePart" | |
| 873 | EyePart.Shape = "Ball" | |
| 874 | local EyeWeld = Instance.new("Weld", Character)
| |
| 875 | EyeWeld.Part0 = EyePart | |
| 876 | EyeWeld.Part1 = Head | |
| 877 | EyeWeld.C0 = EyeWeld.C0 * CFrame.new(0.2, -0.25, 0.578) | |
| 878 | local EyeSizes = {
| |
| 879 | NumberSequenceKeypoint.new(0, 0.4, 0), | |
| 880 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 881 | } | |
| 882 | local EyeTrans = {
| |
| 883 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 884 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 885 | } | |
| 886 | local PE = Instance.new("ParticleEmitter", EyePart)
| |
| 887 | PE.LightEmission = 1 | |
| 888 | PE.LockedToPart = true | |
| 889 | PE.Size = NumberSequence.new(EyeSizes) | |
| 890 | PE.Transparency = NumberSequence.new(EyeTrans) | |
| 891 | PE.Acceleration = Vector3.new(2, 0, 0) | |
| 892 | PE.Lifetime = NumberRange.new(2, 2, 2) | |
| 893 | PE.Rate = 70 | |
| 894 | PE.Speed = NumberRange.new(4, 4, 4) | |
| 895 | PE.Texture = "rbxassetid://642160265" | |
| 896 | ||
| 897 | local EyePart2 = partt(Character, false, false, Vector3.new(0.1, 0.55, 0.1), Torso.CFrame, Color3.new(255, 255, 255), "Neon", 0) | |
| 898 | EyePart2.Name = "EyePart2" | |
| 899 | EyePart2.Shape = "Ball" | |
| 900 | local EyeWeld2 = Instance.new("Weld", Character)
| |
| 901 | EyeWeld2.Part0 = EyePart2 | |
| 902 | EyeWeld2.Part1 = Head | |
| 903 | EyeWeld2.C0 = EyeWeld2.C0 * CFrame.new(0.2, -0.25, 0.578) | |
| 904 | ||
| 905 | local Models = New("Model",Character,"Model",{})
| |
| 906 | local eyesz = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8319473, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = Color3.new(1, 0, 0),})
| |
| 907 | Meshs = New("SpecialMesh",eyesz,"Mesh",{MeshType = Enum.MeshType.Sphere,})
| |
| 908 | mots = New("Motor",eyesz,"mot",{Part0 = eyesz,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.54234314, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 909 | ||
| 910 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.791954, 0, 3.89999987e-005, 1, 0, -1, 3.89999987e-005, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 911 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Cylinder,})
| |
| 912 | mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 3.89999987e-005, -1, 0, 1, 3.89999987e-005, 0),C1 = CFrame.new(0.0999984741, 0.230003357, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 913 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1781769, 1.47783697, -44.791954, 0, 0.383733064, 0.923444092, 0, -0.923444092, 0.383733094, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 914 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 915 | mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0.383733064, -0.923444092, 0, 0.923444092, 0.383733094, 0),C1 = CFrame.new(0.249305725, 0.146293998, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 916 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1935196, 1.51477695, -44.791954, 0, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, -1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 917 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 918 | mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, 0),C1 = CFrame.new(0.264648438, 0.183233976, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 919 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8642044, 1.60829198, -44.791954, 0, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, -1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 920 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 921 | mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, 0),C1 = CFrame.new(-0.064666748, 0.276749015, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 922 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8795433, 1.64523494, -44.791954, 0, -0.383733064, -0.923444092, 0, 0.923444092, -0.383733094, 1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 923 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 924 | mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.383733064, 0.923444092, 0, -0.923444092, -0.383733094, 0),C1 = CFrame.new(-0.0493278503, 0.313691974, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 925 | local eye1 = New("Part",Models,"eye1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8119507, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 926 | Mesh = New("SpecialMesh",eye1,"Mesh",{Scale = Vector3.new(0.3, 0.8, 0.9),MeshType = Enum.MeshType.Sphere,})
| |
| 927 | mot = New("Motor",eye1,"mot",{Part0 = eye1,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.562339783, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 928 | ||
| 929 | for _,v in pairs(stick:children()) do | |
| 930 | if v:IsA("Part") then
| |
| 931 | v.CanCollide = false | |
| 932 | v.Transparency = 1 | |
| 933 | end | |
| 934 | for _,v in pairs(Knot:children()) do | |
| 935 | if v:IsA("Part") then
| |
| 936 | v.CanCollide = false | |
| 937 | v.Transparency = 1 | |
| 938 | end | |
| 939 | for _,v in pairs(Milk:children()) do | |
| 940 | if v:IsA("Part") then
| |
| 941 | v.CanCollide = false | |
| 942 | v.Transparency = 1 | |
| 943 | end | |
| 944 | for _,v in pairs(Biggi:children()) do | |
| 945 | if v:IsA("Part") then
| |
| 946 | v.CanCollide = false | |
| 947 | v.Transparency = 1 | |
| 948 | end | |
| 949 | end | |
| 950 | end | |
| 951 | end | |
| 952 | end | |
| 953 | for _,v in pairs(Character:children()) do | |
| 954 | if v:IsA("Shirt") then
| |
| 955 | v.ShirtTemplate = "rbxassetid://714014435" | |
| 956 | elseif v:IsA("Pants") then
| |
| 957 | v.PantsTemplate = "rbxassetid://785139576" | |
| 958 | elseif v:IsA("ShirtGraphic") then
| |
| 959 | v:Remove() | |
| 960 | wait(.1) | |
| 961 | Torso.roblox:Remove() | |
| 962 | elseif v:IsA("Accessory") then
| |
| 963 | v:Remove() | |
| 964 | end | |
| 965 | end | |
| 966 | ||
| 967 | Model = New("Model",Character,"Model",{})
| |
| 968 | ||
| 969 | ||
| 970 | ||
| 971 | ||
| 972 | ||
| 973 | ||
| 974 | W3d = New("Part",Model,"W3d",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-45.8999138, 3.90000486, -17.719944, -1, 0, 0, 0, 1, 0, 0, 0, -1),LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,Color = Color3.new(1, 0.8, 0.6),})
| |
| 975 | motr=Instance.new("Weld", W3d)
| |
| 976 | ||
| 977 | attackone = function() | |
| 978 | rest = 0 | |
| 979 | attack = true | |
| 980 | local con = RightLeg.Touched:connect(function(hit) | |
| 981 | Damage(RightLeg, hit, 15, 25, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://199149186", 1) | |
| 982 | end) | |
| 983 | for i = 0, 1, 0.1 do | |
| 984 | swait() | |
| 985 | PlayAnimationFromTable({
| |
| 986 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 987 | CFrame.new(0, 1.55453968, -0.0703605115, 1, 0, 0, 0, 0.98677212, 0.162114009, 0, -0.162114009, 0.98677212) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 988 | CFrame.new(1.5512929, 0.0850069597, 0, 0.99147135, -0.130325049, 0, 0.130325049, 0.99147135, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 989 | CFrame.new(-1.56969881, 0.0500169247, 0, 0.992582738, 0.121570967, 0, -0.121570967, 0.992582738, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 990 | CFrame.new(0.5, -1.82836175, 0.389226913, 1, 0, 0, 0, 0.914989769, 0.403476924, 0, -0.403476924, 0.914989769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 991 | CFrame.new(-0.565449357, -1.99361193, 0, 0.995276093, 0.097085014, 0, -0.097085014, 0.995276093, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 992 | }, .3, false) | |
| 993 | motr.C0 = clerp(motr.C0, CFrame.new(-0.377030611, 2.23529887, 3.38560438, 0.999624133, 0.0181941353, -0.0205119029, -0.017229002, 0.998779655, 0.0462857895, 0.0213290025, -0.0459149815, 0.998717666) * CFrame.new(0- 0.5 * math.cos((sine) / 60),0 + 0.5 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 994 | end | |
| 995 | Torso.Velocity = RootPart.CFrame.lookVector * 60 | |
| 996 | --Torso.Velocity = Vector3.new(0, 40, 0) | |
| 997 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RightLeg, 1, 0.8)
| |
| 998 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=159882477", RootPart, 2.2, 1)
| |
| 999 | for i = 0, 1, 0.1 do | |
| 1000 | swait() | |
| 1001 | PlayAnimationFromTable({
| |
| 1002 | CFrame.new(0, -0.00213143881, 0.049953457, 1, 0, -0, 0, 0.995428622, -0.0955089629, 0, 0.0955089629, 0.995428622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1003 | CFrame.new(0, 1.55725658, -0.0331232771, 1, 0, -0, 0, 0.99733007, 0.0730267763, -0, -0.0730267763, 0.99733007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1004 | CFrame.new(1.53314447, 0.223051548, 0.306677878, 0.991471469, -0.11866843, -0.0538730845, 0.130324632, 0.902787685, 0.409865797, -2.17370689e-006, -0.413391173, 0.910553634) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1005 | CFrame.new(-1.5310266, 0.365730882, 0.489296556, 0.992583096, 0.101924911, 0.0662593469, -0.121568866, 0.832199454, 0.540985525, -1.09057873e-006, -0.54502815, 0.838417828) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1006 | CFrame.new(0.559038937, -1.54237294, -0.907594442, 0.998593748, -0.0530143008, 4.13909582e-008, 0.0187391378, 0.352975488, -0.935444951, 0.0495919436, 0.934129536, 0.353472531) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1007 | CFrame.new(-0.565448523, -1.99360824, -2.19610229e-007, 0.995276213, 0.0970847905, -2.8573902e-007, -0.0970847979, 0.995276213, 1.88499689e-006, 4.67523932e-007, -1.84774399e-006, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1008 | }, .3, false) | |
| 1009 | motr.C0 = clerp(motr.C0, CFrame.new(-0.377030611, 2.23529887, 3.38560438, 0.999624133, 0.0181941353, -0.0205119029, -0.017229002, 0.998779655, 0.0462857895, 0.0213290025, -0.0459149815, 0.998717666) * CFrame.new(0- 0.5 * math.cos((sine) / 60),0 + 0.5 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1010 | end | |
| 1011 | attack = false | |
| 1012 | con:Disconnect() | |
| 1013 | end | |
| 1014 | ||
| 1015 | function attacktwo() | |
| 1016 | attack = true | |
| 1017 | local con = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
| 1018 | for i = 0, .7, 0.1 do | |
| 1019 | swait() | |
| 1020 | PlayAnimationFromTable({
| |
| 1021 | CFrame.new(0.0606015213, -8.59571264e-06, 0.047188092, 0.692369759, -4.71251354e-07, -0.721542954, 5.16467117e-06, 1, 4.30273849e-06, 0.721542954, -6.70561758e-06, 0.692369759) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1022 | CFrame.new(3.46451998e-06, 1.49999845, 1.31353736e-05, 0.716132462, 0.033826679, 0.697144389, 5.75320813e-09, 0.998825073, -0.048464749, -0.697964728, 0.0347071849, 0.715290844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1023 | CFrame.new(1.9813143, 0.945750177, -0.489478946, 0.407302022, -0.814350605, -0.413446903, -0.911511719, -0.334203005, -0.239697412, 0.0570225567, 0.474490941, -0.878411531) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1024 | CFrame.new(-1.60450649, 0.121351957, 0.0540003777, 0.97513783, 0.221227318, 0.0128459036, -0.221227109, 0.968498468, 0.114320949, 0.0128496885, -0.114320531, 0.993360817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1025 | CFrame.new(0.499993294, -1.99998808, -1.41225646e-05, 0.995873392, -0.0907549858, 2.05636024e-06, 0.0907549933, 0.995873272, -1.77829349e-06, -1.87754631e-06, 1.9595027e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1026 | CFrame.new(-0.579068184, -1.9913553, -1.26227069e-05, 0.994092047, 0.108541012, -7.30156898e-06, -0.108540997, 0.994092047, 5.65620041e-07, 7.27176666e-06, 2.30967999e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1027 | }, .3, false) | |
| 1028 | end | |
| 1029 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.2)
| |
| 1030 | for i = 0, .7, 0.1 do | |
| 1031 | swait() | |
| 1032 | PlayAnimationFromTable({
| |
| 1033 | CFrame.new(0.0330471657, -0.237029687, -0.0910832584, 0.859100997, -0.342716694, 0.380133271, 0.261056364, 0.932259798, 0.250510514, -0.440234423, -0.115976483, 0.890367031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1034 | CFrame.new(0.154894546, 1.53070056, 0.0517572761, 0.849730134, 0.316177666, -0.421889484, -0.244260654, 0.945248127, 0.216432795, 0.467221558, -0.0808584243, 0.880435169) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1035 | CFrame.new(0.440804392, 0.418828189, -0.673669577, 0.371680558, 0.885258377, -0.279591084, -0.895259976, 0.421490341, 0.144414783, 0.245689303, 0.196630582, 0.9491961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1036 | CFrame.new(-1.44148815, 0.308930486, 0.459791839, 0.726797223, 0.397434771, 0.560188711, -0.473253071, 0.880858779, -0.0109336004, -0.497792542, -0.257164478, 0.828292966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1037 | CFrame.new(0.359283566, -1.97145414, 0.220806152, 0.992013574, 0.123949811, 0.0233626962, -0.126132488, 0.974834919, 0.183814943, 8.97049904e-06, -0.185293719, 0.98268342) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1038 | CFrame.new(-0.973547101, -1.79018593, -0.317437261, 0.890470803, 0.424213171, -0.164635375, -0.455039889, 0.830158472, -0.322143197, 1.58846378e-05, 0.361774832, 0.932265878) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1039 | }, .3, false) | |
| 1040 | end | |
| 1041 | attack = false | |
| 1042 | con:Disconnect() | |
| 1043 | end | |
| 1044 | ||
| 1045 | function attackthree() | |
| 1046 | attack = true | |
| 1047 | for i = 0, .7, 0.1 do | |
| 1048 | CFuncs.Sound.Create("200632211", RightArm, 1, 0.9)
| |
| 1049 | swait() | |
| 1050 | PlayAnimationFromTable({
| |
| 1051 | CFrame.new(0, 0, -0, 0.806190252, -0.187311426, -0.561223507, 6.62613184e-06, 0.94856596, -0.31657964, 0.591656446, 0.255219638, 0.764725924) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1052 | CFrame.new(-0.0407527871, 1.50693643, -0.222932622, 0.978482485, 0.186281174, 0.0887908041, -0.19066751, 0.980685592, 0.0437201113, -0.0789308846, -0.0597088039, 0.99509275) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1053 | CFrame.new(1.78002524, 1.11400044, -0.457782924, 0.707048655, -0.498457879, 0.501619399, 0.350302994, -0.369315952, -0.860751748, 0.614304423, 0.784312248, -0.0865130872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1054 | CFrame.new(-1.43853712, 0.0750626996, 0.22486937, 0.572081506, 0.244721666, 0.782837331, -0.443345338, 0.895264447, 0.044120267, -0.690049291, -0.372307688, 0.620660365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1055 | CFrame.new(0.627915263, -1.89379621, 0.643143058, 0.951368988, 6.62613184e-06, 0.308059663, -0.0975313932, 0.94856596, 0.301182032, -0.292212963, -0.31657964, 0.902436912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1056 | CFrame.new(-0.840924203, -1.99235249, 0.347892702, 0.806190252, 0.150273055, 0.572257936, -0.187311426, 0.982287288, 0.00593562424, -0.561223507, -0.111978531, 0.820060134) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1057 | }, .35, false) | |
| 1058 | end | |
| 1059 | ||
| 1060 | for i = 0, 2, 0.3 do | |
| 1061 | swait() | |
| 1062 | PlayAnimationFromTable({
| |
| 1063 | CFrame.new(-0, 0, 0, 0.881656945, 0.0199221503, 0.471480906, -0.158535972, 0.953550041, 0.256167442, -0.444475293, -0.300592929, 0.843853176) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1064 | CFrame.new(-0.148410931, 1.53110158, 0.0643833578, 0.965264976, -0.0912804902, -0.244808733, 0.088367641, 0.995825887, -0.0228805244, 0.245875075, 0.000453487039, 0.969302654) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1065 | CFrame.new(1.10165071, 0.648932338, -1.12831473, 0.573108494, 0.369820178, 0.731284738, 0.612841427, 0.399010122, -0.682069421, -0.544033527, 0.839061975, 0.00203369558) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1066 | CFrame.new(-1.79198205, 0.0215666089, -0.21331051, 0.916679978, 0.372236937, -0.145427167, -0.394452631, 0.901182175, -0.179693967, 0.0641659647, 0.222088978, 0.972915471) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1067 | CFrame.new(0.753449559, -1.90016341, -0.268158644, 0.69710958, -0.0750149488, -0.713035822, -0.0756366402, 0.981274784, -0.177183479, 0.712969542, 0.177447319, 0.678380549) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1068 | CFrame.new(-0.559347212, -2.21165109, 0.0788616836, 0.881656945, -0.0484239236, -0.469411433, 0.0199221503, 0.997659326, -0.0654963702, 0.471480906, 0.0483982414, 0.88054961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1069 | }, .35, false) | |
| 1070 | end | |
| 1071 | attack = false | |
| 1072 | end | |
| 1073 | ||
| 1074 | function attackfour() | |
| 1075 | attack = true | |
| 1076 | local num = 0 | |
| 1077 | for i = 0, 1, 85 do | |
| 1078 | swait() | |
| 1079 | num = num + 1 | |
| 1080 | PlayAnimationFromTable({
| |
| 1081 | CFrame.new(0.120528281, -0.3674438, 0.575273573, 0.422617197, -2.01519555e-07, -0.906308293, 0.157379076, 0.984807789, 0.073386617, 0.892539442, -0.173648417, 0.416196704) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1082 | CFrame.new(1.06530706e-06, 1.49999368, -5.04337095e-07, 0.4226197, 1.86264515e-06, 0.906308174, -6.03729347e-07, 1.00000119, -1.59442425e-06, -0.906307101, 2.01165676e-07, 0.422620177) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1083 | CFrame.new(0.70849216, 0.0731495917, -0.938899159, 0.478839219, 0.797380328, -0.367284328, -0.877902687, 0.435119689, -0.199895144, 0.000420168042, 0.418157458, 0.908374488) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1084 | CFrame.new(-0.853200793, 0.697818339, -0.894996405, 0.703306079, -0.697911978, -0.13520211, -0.467338622, -0.310601294, -0.827720761, 0.535682321, 0.645326018, -0.544608891) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1085 | CFrame.new(0.598105133, -1.97398674, 0.098479867, 0.996195614, -0.08583197, -0.0151341856, 0.087156117, 0.981061995, 0.172987998, 3.27825546e-07, -0.17364879, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1086 | CFrame.new(-0.849928856, -1.54139125, -0.303964674, 0.902859867, 0.0127288699, 0.429747015, -0.0789928585, 0.987457275, 0.136708945, -0.422616571, -0.157375962, 0.892540693) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1087 | }, .35, false) | |
| 1088 | end | |
| 1089 | for i = 0, 1, 0.12 do | |
| 1090 | swait() | |
| 1091 | PlayAnimationFromTable({
| |
| 1092 | CFrame.new(-0.0335930884, -0.099999629, -0.734836936, 0.342019916, 0, 0.939692736, 0, 1, 0, -0.939692736, 0, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1093 | CFrame.new(4.24683094e-07, 1.49999082, -1.97440386e-07, 0.422614068, -0.0789903402, -0.902862251, -1.90776173e-10, 0.996194601, -0.0871560499, 0.906309783, 0.0368333533, 0.421006471) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1094 | CFrame.new(1.58847451, 1.23953068, -0.394803643, 0.885564029, -0.225449562, -0.406139076, -0.337463975, -0.913065434, -0.228975236, -0.319209129, 0.339829504, -0.884658992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1095 | CFrame.new(-1.64521885, 0.227790251, 0.109685451, 0.768370748, 0.581050038, -0.268304378, -0.639738023, 0.709406912, -0.29576534, 0.0184825659, 0.398902029, 0.916807294) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1096 | CFrame.new(0.70667249, -1.99128199, 0.134036034, 0.763120532, -0.0104867909, -0.646171272, 0.0871564746, 0.992403924, 0.0868248492, 0.640352428, -0.122575805, 0.758237541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1097 | CFrame.new(-0.831737041, -1.97395122, 0.143622071, 0.862182379, 0.121113144, -0.49190858, -0.0943915099, 0.992403567, 0.0788979307, 0.497726619, -0.0215925369, 0.867070317) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1098 | }, .4, false) | |
| 1099 | end | |
| 1100 | attack = false | |
| 1101 | end | |
| 1102 | ||
| 1103 | attackfive = function() | |
| 1104 | attack = true | |
| 1105 | local ref = New("Part",Model,"ref",{Transparency = 1,CanCollide = false, BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-50.8233452, -2.94440603, -41.9271126, -1, -0, 0, 0, -0.0611380227, 0.998129368, 0, 0.998129368, 0.0611380227),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1106 | local mot = New("Motor",ref,"mot",{Part0 = ref,Part1 = RootPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.0611380227, 0.998129368, 0, 0.998129368, 0.0611380227),C1 = CFrame.new(0.16015625, -2.91722918, -7.77282715, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 1107 | ||
| 1108 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145497", RootPart, 1, 1)
| |
| 1109 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=159882584", RootPart, 1, 1)
| |
| 1110 | Humanoid.Jump = true | |
| 1111 | Torso.Velocity = Vector3.new(0, 90, 0) | |
| 1112 | for i = 0, 1, 0.1 do | |
| 1113 | swait() | |
| 1114 | PlayAnimationFromTable({
| |
| 1115 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1116 | CFrame.new(0, 1.46795857, 0.132517934, 1, 0, -0, 0, 0.972055614, -0.234750897, 0, 0.234750912, 0.972055614) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1117 | CFrame.new(1.69050443, 0.337467134, 0.508190036, 0.790086865, -0.513706088, -0.334467947, 0.612994909, 0.662113965, 0.431094438, 0, -0.545629144, 0.838026762) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1118 | CFrame.new(-1.84881663, 0.417017847, 0.309735924, 0.76242888, 0.62015909, 0.184675008, -0.647071958, 0.730718195, 0.217597991, -0, -0.285401046, 0.958408237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1119 | CFrame.new(0.586394787, -1.3048085, -0.2875247, 0.991395891, -0.130897745, 1.22869665e-006, 0.120959982, 0.916132748, 0.382190466, -0.050028991, -0.378901899, 0.92408365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1120 | CFrame.new(-0.5, -1.91453815, 0.275938064, 1, 0, 0, 0, 0.955236971, 0.295841992, 0, -0.295841992, 0.955236971) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1121 | }, .3, false) | |
| 1122 | motr.C0 = clerp(motr.C0, CFrame.new(-0.377030611, 2.23529887, 3.38560438, 0.999624133, 0.0181941353, -0.0205119029, -0.017229002, 0.998779655, 0.0462857895, 0.0213290025, -0.0459149815, 0.998717666) * CFrame.new(0- 0.5 * math.cos((sine) / 60),0 + 0.5 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1123 | end | |
| 1124 | for i = 0, 1.5, 0.1 do | |
| 1125 | swait() | |
| 1126 | PlayAnimationFromTable({
| |
| 1127 | CFrame.new(0, 0.0446925536, -0.113902621, 1, 0, 0, 0, 0.959784448, 0.280738115, 0, -0.280738115, 0.959784448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1128 | CFrame.new(0, 1.4780724, -0.108031765, 1, 0, 0, 0, 0.980096817, 0.198520318, 0, -0.198520318, 0.980096817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1129 | CFrame.new(1.52336431, 1.37410688, 0.429173201, 0.961683333, -0.177957356, 0.208558023, -0.239297733, -0.916084111, 0.321755826, 0.133797854, -0.359334648, -0.923567533) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1130 | CFrame.new(-1.52519119, 1.33760417, 0.33274734, 0.972769022, 0.161078379, -0.166655868, 0.199760884, -0.947310805, 0.250395894, -0.117541522, -0.276868761, -0.953691661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1131 | CFrame.new(0.497251898, -1.93572879, 0.243175536, 0.999088347, -0.0412701331, -0.0109227467, 0.0426911041, 0.965871334, 0.25548023, 6.2668696e-006, -0.255713612, 0.966752648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1132 | CFrame.new(-0.613620698, -1.90004504, 0.308153152, 0.99603647, 0.0889458209, 5.18413913e-007, -0.0854247287, 0.956604838, 0.278585613, 0.0247785319, -0.277481496, 0.960411429) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1133 | }, .3, false) | |
| 1134 | motr.C0 = clerp(motr.C0, CFrame.new(0.16015625, 6.59590435, 0.365743309, 1, 0, -0, 0, 0.996492445, -0.0836840272, 0, 0.0836840346, 0.996492445) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1135 | end | |
| 1136 | coroutine.wrap(function() | |
| 1137 | wait(.1) | |
| 1138 | MagnitudeDamage(ref, 12, 15, 25, math.random(1, 5), "Normal", "http://www.roblox.com/asset/?id=199145477", 1) | |
| 1139 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145477", ref, 1, 1)
| |
| 1140 | Effects.Sphere.Create(BrickColor.new("Really black"), ref.CFrame, 1, 1, 1, 7.5, 7.5, 7.5, 0.07)
| |
| 1141 | Effects.Sphere.Create(BrickColor.new("Really red"), ref.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.07)
| |
| 1142 | Effects.Wave.Create(BrickColor.new("Really red"), ref.CFrame* CFrame.Angles(math.rad(90),0,0), 1, 1, 1, 1.2, .5, 1.2, 0.07)
| |
| 1143 | end)() | |
| 1144 | for i = 0, 1.2, 0.1 do | |
| 1145 | swait() | |
| 1146 | PlayAnimationFromTable({
| |
| 1147 | CFrame.new(0, -2.52295923, -0.584590793, 1, 0, 0, 0, -0.0135839973, 0.999907732, 0, -0.999907732, -0.0135839982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1148 | CFrame.new(0, 1.46205437, -0.000206507742, 1, 0, 0, 0, 0.997810066, 0.0661448836, 0, -0.0661448836, 0.997810066) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1149 | CFrame.new(1.58987796, 1.20756996, -0.0198090896, 0.962880969, -0.269926339, -1.14066779e-006, -0.26989004, -0.962751448, -0.0164019652, 0.00442622229, 0.0157934465, -0.999865532) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1150 | CFrame.new(-1.62800121, 1.23728025, -0.0652080923, 0.976427615, 0.215845466, -3.47263239e-007, 0.215546325, -0.97507441, -0.0526290238, -0.0113600753, 0.0513883606, -0.998614192) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1151 | CFrame.new(0.494747847, -1.93533611, -0.257378459, 0.996715009, -0.0784583315, 0.0200892054, 0.0809894279, 0.965555847, -0.247270226, 3.16055957e-006, 0.248084933, 0.968738317) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1152 | CFrame.new(-0.540820956, -1.81960273, -0.311453491, 0.995794892, 0.0869645029, -0.0288037509, -0.0916104838, 0.945302486, -0.313066721, 2.5635818e-006, 0.31438899, 0.949294269) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1153 | }, .8, false) | |
| 1154 | motr.C0 = clerp(motr.C0, CFrame.new(0.16015625, -2.91722918, -7.77282524, 1, 0, 0, 0, -0.0611380227, 0.998129368, 0, -0.998129368, -0.0611380227) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1155 | end | |
| 1156 | attack = false | |
| 1157 | wait(1) | |
| 1158 | ref:Remove() | |
| 1159 | end | |
| 1160 | spank = function() | |
| 1161 | attack = true | |
| 1162 | ||
| 1163 | attack = false | |
| 1164 | end | |
| 1165 | ||
| 1166 | Mouse.Button1Down:connect(function() | |
| 1167 | if attack == false and attacktype == 1 then | |
| 1168 | attacktype = 2 | |
| 1169 | attackone() | |
| 1170 | elseif attack == false and attacktype == 2 then | |
| 1171 | attacktype = 3 | |
| 1172 | attackthree() | |
| 1173 | elseif attack == false and attacktype == 3 then | |
| 1174 | attacktype = 4 | |
| 1175 | attackfour() | |
| 1176 | elseif attack == false and attacktype == 4 then | |
| 1177 | attacktype = 1 | |
| 1178 | attackfive() | |
| 1179 | end | |
| 1180 | end) | |
| 1181 | ||
| 1182 | Mouse.KeyDown:connect(function(k) | |
| 1183 | k = k:lower() | |
| 1184 | if attack == false and k == 'z' then | |
| 1185 | attacktwo() | |
| 1186 | ||
| 1187 | end | |
| 1188 | end) | |
| 1189 | ||
| 1190 | warn'Loaded Ekanzi By Pxire :D' | |
| 1191 | wait(0.1) | |
| 1192 | while true do | |
| 1193 | swait() | |
| 1194 | for i, v in pairs(Character:GetChildren()) do | |
| 1195 | if v:IsA("Part") then
| |
| 1196 | v.Material = "SmoothPlastic" | |
| 1197 | elseif v:IsA("Accessory") then
| |
| 1198 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1199 | end | |
| 1200 | end | |
| 1201 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1202 | velocity = RootPart.Velocity.y | |
| 1203 | sine = sine + change | |
| 1204 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1205 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1206 | Anim = "Jump" | |
| 1207 | if attack == false then | |
| 1208 | PlayAnimationFromTable({
| |
| 1209 | CFrame.new(-8.60420997e-008, 0.0903999731, 0.0717497543, 0.999999344, -7.68441396e-007, 9.95312632e-008, -9.23871994e-007, 0.866027236, -0.500000715, -3.7252903e-007, 0.499999225, 0.866028309) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1210 | CFrame.new(-1.90734863e-006, 1.61952782, -0.25634706, 1, 0, 0, 0, 0.866025984, 0.499998987, -0, -0.499998987, 0.866025984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1211 | CFrame.new(1.79112387, 0.991010547, -0.34551996, 0.857188284, -0.515007496, -4.09685754e-006, -0.466755271, -0.776878357, 0.422614634, -0.217652529, -0.362256378, -0.90631187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1212 | CFrame.new(-1.73517203, 1.09069431, 0.126366287, 0.908706844, 0.41093263, -0.0733932331, 0.399825603, -0.806285143, 0.435939968, 0.119966239, -0.425485879, -0.896978498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1213 | CFrame.new(0.500001311, -1.94823658, 0.19318518, 0.939692855, -1.10619897e-006, 0.342019498, -0.0885189474, 0.965926766, 0.243207395, -0.330366045, -0.258815497, 0.907674372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1214 | CFrame.new(-0.499992847, -1.10274684, -0.291438699, 0.984807611, 1.5922127e-006, -0.173649013, 0.133020341, 0.642797828, 0.754398108, 0.111622408, -0.766035795, 0.633032024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1215 | }, .3, false) | |
| 1216 | end | |
| 1217 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1218 | Anim = "Fall" | |
| 1219 | if attack == false then | |
| 1220 | PlayAnimationFromTable({
| |
| 1221 | CFrame.new(-8.60420997e-008, 0.0903999731, 0.0717497543, 0.999999344, -7.68441396e-007, 9.95312632e-008, -9.23871994e-007, 0.866027236, -0.500000715, -3.7252903e-007, 0.499999225, 0.866028309) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1222 | CFrame.new(-1.90734863e-006, 1.61952782, -0.25634706, 1, 0, 0, 0, 0.866025984, 0.499998987, -0, -0.499998987, 0.866025984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1223 | CFrame.new(1.79112387, 0.991010547, -0.34551996, 0.857188284, -0.515007496, -4.09685754e-006, -0.466755271, -0.776878357, 0.422614634, -0.217652529, -0.362256378, -0.90631187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1224 | CFrame.new(-1.73517203, 1.09069431, 0.126366287, 0.908706844, 0.41093263, -0.0733932331, 0.399825603, -0.806285143, 0.435939968, 0.119966239, -0.425485879, -0.896978498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1225 | CFrame.new(0.500001311, -1.94823658, 0.19318518, 0.939692855, -1.10619897e-006, 0.342019498, -0.0885189474, 0.965926766, 0.243207395, -0.330366045, -0.258815497, 0.907674372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1226 | CFrame.new(-0.499992847, -1.10274684, -0.291438699, 0.984807611, 1.5922127e-006, -0.173649013, 0.133020341, 0.642797828, 0.754398108, 0.111622408, -0.766035795, 0.633032024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1227 | }, .3, false) | |
| 1228 | end | |
| 1229 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1230 | Anim = "Idle" | |
| 1231 | if attack == false then | |
| 1232 | change = 1 | |
| 1233 | PlayAnimationFromTable({
| |
| 1234 | CFrame.new(-0, -0, 0, 0.592676342, 0, 0.80544132, 0, 1, 0, -0.80544132, 0, 0.592676342) * CFrame.new(0, -0.1 + .1 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0), | |
| 1235 | CFrame.new(0.000515222549, 1.49800241, 0.000700175762, 0.572945476, -0.151653409, -0.80544132, 0.255878955, 0.966708899, 0, 0.778627276, -0.206095487, 0.592676342)* CFrame.Angles(math.rad(0 + 1 * math.cos(sine / 20)), 0, 0), | |
| 1236 | CFrame.new(2.00358963, 0.537583113, -0.708621323, 0.558281481, -0.694990158, 0.453113019, 0.335705966, -0.31020695, -0.889422953, 0.758699059, 0.648661137, 0.060129568) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0), | |
| 1237 | CFrame.new(-1.64158261, 1.10026449e-05, 0.123765111, 0.838911951, 0.357287735, 0.410579622, -0.405504912, 0.913473845, 0.0336345509, -0.363037139, -0.194708437, 0.911204755)* CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0), | |
| 1238 | CFrame.new(0.753307343, -2.00001335, -0.0522760898, 0.592676342, -0.170470461, -0.787200212, 0, 0.977352679, -0.211648524, 0.80544132, 0.125439078, 0.579253793) * CFrame.new(0, 0, 0) * CFrame.new(0 - 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 + 0.02 * math.cos(sine / 20), 0, 0 - 0.01 * math.cos(sine / 20)), | |
| 1239 | CFrame.new(-0.826246858, -2.12304688, 0.429552615, 0.948810577, 0.313324243, -0.0398365855, -0.291086078, 0.916401923, 0.274733603, 0.122586936, -0.249074265, 0.960696101) * CFrame.new(0 + 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.02 * math.cos(sine / 20), 0, 0 + 0.01 * math.cos(sine / 20)), | |
| 1240 | }, .3, false) | |
| 1241 | end | |
| 1242 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1243 | Anim = "Walk" | |
| 1244 | if attack == false then | |
| 1245 | PlayAnimationFromTable({
| |
| 1246 | CFrame.new(0, -0.0193441566, -0.137761548, 1, 0, 0, 0, 0.961308897, 0.275472969, 0, -0.275472969, 0.961308897) * CFrame.new(0, 0- .1 * math.cos((sine) / 2), 0) * CFrame.Angles(0, 0, 0), | |
| 1247 | CFrame.new(0, 1.44159341, 0.0451771915, 1, 0, 0, 0, 0.98646307, -0.163984656, 0, 0.163984656, 0.98646307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1248 | CFrame.new(1.63363111, 0.0754526258, -2.72151652e-007, 0.985570133, -0.16926825, 1.56980732e-007, 0.16926825, 0.985570133, 2.38418579e-007, -1.86264515e-007, -1.49011612e-007, 1.00000024) * CFrame.new(0, 0, 0+ 0.5 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0- 20 * math.cos((sine) / 4)), 0, 0), | |
| 1249 | CFrame.new(-1.61827064, 0.111134544, 1.51569429e-006, 0.978242338, 0.207465827, 7.76345075e-007, -0.207465842, 0.978242397, -2.41398811e-006, -1.25542283e-006, 2.20537186e-006, 1.00000012) * CFrame.new(0, 0, 0- 0.5 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0+ 20 * math.cos((sine) / 4)), 0, 0), | |
| 1250 | CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
| 1251 | CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
| 1252 | }, .3, false) | |
| 1253 | end | |
| 1254 | end | |
| 1255 | if 0 < #Effects then | |
| 1256 | for e = 1, #Effects do | |
| 1257 | if Effects[e] ~= nil then | |
| 1258 | local Thing = Effects[e] | |
| 1259 | if Thing ~= nil then | |
| 1260 | local Part = Thing[1] | |
| 1261 | local Mode = Thing[2] | |
| 1262 | local Delay = Thing[3] | |
| 1263 | local IncX = Thing[4] | |
| 1264 | local IncY = Thing[5] | |
| 1265 | local IncZ = Thing[6] | |
| 1266 | if Thing[2] == "Shoot" then | |
| 1267 | local Look = Thing[1] | |
| 1268 | local move = 30 | |
| 1269 | if Thing[8] == 3 then | |
| 1270 | move = 10 | |
| 1271 | end | |
| 1272 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 1273 | if Thing[10] ~= nil then | |
| 1274 | da = pos | |
| 1275 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 1276 | cfa = CFrame.new(Thing[4], pos) | |
| 1277 | tehCF = cfa:lerp(cf2, 0.2) | |
| 1278 | Thing[1] = tehCF.lookVector | |
| 1279 | end | |
| 1280 | local mag = (Thing[4] - pos).magnitude | |
| 1281 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
| 1282 | if Thing[8] == 2 then | |
| 1283 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
| 1284 | end | |
| 1285 | Thing[4] = Thing[4] + Look * move | |
| 1286 | Thing[3] = Thing[3] - 1 | |
| 1287 | if 2 < Thing[5] then | |
| 1288 | Thing[5] = Thing[5] - 0.3 | |
| 1289 | Thing[6] = Thing[6] - 0.3 | |
| 1290 | end | |
| 1291 | if hit ~= nil then | |
| 1292 | Thing[3] = 0 | |
| 1293 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 1294 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1295 | else | |
| 1296 | if Thing[8] == 2 then | |
| 1297 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1298 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
| |
| 1299 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1300 | ref.Anchored = true | |
| 1301 | ref.CFrame = CFrame.new(pos) | |
| 1302 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 1303 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 1304 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
| 1305 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
| |
| 1306 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 1307 | end | |
| 1308 | end | |
| 1309 | end | |
| 1310 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1311 | ref.Anchored = true | |
| 1312 | ref.CFrame = CFrame.new(pos) | |
| 1313 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 1314 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 1315 | end | |
| 1316 | if Thing[3] <= 0 then | |
| 1317 | table.remove(Effects, e) | |
| 1318 | end | |
| 1319 | end | |
| 1320 | do | |
| 1321 | do | |
| 1322 | if Thing[2] == "FireWave" then | |
| 1323 | if Thing[3] <= Thing[4] then | |
| 1324 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 1325 | Thing[3] = Thing[3] + 1 | |
| 1326 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 1327 | else | |
| 1328 | Part.Parent = nil | |
| 1329 | table.remove(Effects, e) | |
| 1330 | end | |
| 1331 | end | |
| 1332 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 1333 | if Thing[1].Transparency <= 1 then | |
| 1334 | if Thing[2] == "Block1" then | |
| 1335 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1336 | Mesh = Thing[7] | |
| 1337 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1338 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1339 | else | |
| 1340 | if Thing[2] == "Block2" then | |
| 1341 | Thing[1].CFrame = Thing[1].CFrame | |
| 1342 | Mesh = Thing[7] | |
| 1343 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1344 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1345 | else | |
| 1346 | if Thing[2] == "Fire" then | |
| 1347 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1348 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1349 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1350 | else | |
| 1351 | if Thing[2] == "Cylinder" then | |
| 1352 | Mesh = Thing[7] | |
| 1353 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1354 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1355 | else | |
| 1356 | if Thing[2] == "Blood" then | |
| 1357 | Mesh = Thing[7] | |
| 1358 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 1359 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1360 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1361 | else | |
| 1362 | if Thing[2] == "Elec" then | |
| 1363 | Mesh = Thing[10] | |
| 1364 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1365 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1366 | else | |
| 1367 | if Thing[2] == "Disappear" then | |
| 1368 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1369 | end | |
| 1370 | end | |
| 1371 | end | |
| 1372 | end | |
| 1373 | end | |
| 1374 | end | |
| 1375 | end | |
| 1376 | else | |
| 1377 | Part.Parent = nil | |
| 1378 | table.remove(Effects, e) | |
| 1379 | end | |
| 1380 | end | |
| 1381 | end | |
| 1382 | end | |
| 1383 | end | |
| 1384 | end | |
| 1385 | end | |
| 1386 | end | |
| 1387 | end |