SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | do | |
| 4 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 5 | script.Parent = Player.Character | |
| 6 | ||
| 7 | --RemoteEvent for communicating | |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | t.Function(...) | |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | - | local Player = game:service'Players'.localPlayer |
| 48 | + | for _,k in pairs(t.Keys) do |
| 49 | - | local chara = Player.Character |
| 49 | + | if k==io.KeyCode then |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | - | local Mouse = Player:GetMouse() |
| 51 | + | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | ||
| 84 | ||
| 85 | ------------------- | |
| 86 | --Brutal Overlord-- | |
| 87 | ---------------------------------------------------------------- | |
| 88 | --By CKbackup (Sugarie Saffron) -- | |
| 89 | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- | |
| 90 | --Discord: Sugarie Saffron#4705 -- | |
| 91 | ---------------------------------------------------------------- | |
| 92 | ||
| 93 | print([[ | |
| 94 | --Brutal Overlord-- | |
| 95 | By CKbackup (Sugarie Saffron) | |
| 96 | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw | |
| 97 | Discord: Sugarie Saffron#4705 | |
| 98 | -------------------------------- | |
| 99 | As I've been demoted from my SB | |
| 100 | Mod rank in VSB, I don't see the | |
| 101 | need to hold this back any longer. | |
| 102 | ||
| 103 | Also, if the anims look weird or | |
| 104 | the weapon looks out of place, | |
| 105 | it's because it's actually modeled | |
| 106 | off a scaled rig with a package. | |
| 107 | It looks better with the Boy | |
| 108 | package. | |
| 109 | -------------------------------- | |
| 110 | (Keys) | |
| 111 | M - Mute/Play Music | |
| 112 | ||
| 113 | Q - Get Over Here (Mouse Over Player) | |
| 114 | E - Dash | |
| 115 | ||
| 116 | (requires a player to be close to you) | |
| 117 | Z - Necksnap | |
| 118 | X - Grab and Throw | |
| 119 | C - Rip and Tear | |
| 120 | V - Curb Stomp | |
| 121 | B - Head Rip (Press again to throw head) | |
| 122 | N - Arm Rip (Slowly kills a player,) | |
| 123 | (Click to melee with arm) | |
| 124 | (Press key again to throw) | |
| 125 | ||
| 126 | R - Object Grab (Object must be close) | |
| 127 | (similar to arm grabbing) | |
| 128 | ]]) | |
| 129 | ||
| 130 | wait(1/60) | |
| 131 | Effects = { }
| |
| 132 | local Player = Owner | |
| 133 | local char = Owner | |
| 134 | local Humanoid = chara:FindFirstChildOfClass("Humanoid")
| |
| 135 | local LeftArm = chara["Left Arm"] | |
| 136 | local RightArm = chara["Right Arm"] | |
| 137 | local LeftLeg = chara["Left Leg"] | |
| 138 | local RightLeg = chara["Right Leg"] | |
| 139 | local Head = chara.Head | |
| 140 | local Torso = chara.Torso | |
| 141 | local RootPart = chara.HumanoidRootPart | |
| 142 | local RootJoint = RootPart.RootJoint | |
| 143 | local attack = false | |
| 144 | local Anim = 'Idle' | |
| 145 | local attacktype = 1 | |
| 146 | local delays = false | |
| 147 | local play = true | |
| 148 | local targetted = nil | |
| 149 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 150 | local velocity = RootPart.Velocity.y | |
| 151 | local sine = 0 | |
| 152 | local change = 1 | |
| 153 | local doe = 0 | |
| 154 | local heddo = nil | |
| 155 | local grabhead = false | |
| 156 | local armo = nil | |
| 157 | local grabhand = false | |
| 158 | local Create = LoadLibrary("RbxUtility").Create
| |
| 159 | Humanoid.WalkSpeed = 8 | |
| 160 | ||
| 161 | Humanoid.Animator.Parent = nil | |
| 162 | chara.Animate.Parent = nil | |
| 163 | ||
| 164 | local newMotor = function(part0, part1, c0, c1) | |
| 165 | local w = Create('Motor'){
| |
| 166 | Parent = part0, | |
| 167 | Part0 = part0, | |
| 168 | Part1 = part1, | |
| 169 | C0 = c0, | |
| 170 | C1 = c1, | |
| 171 | } | |
| 172 | return w | |
| 173 | end | |
| 174 | ||
| 175 | function clerp(a, b, t) | |
| 176 | return a:lerp(b, t) | |
| 177 | end | |
| 178 | ||
| 179 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 180 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 181 | ||
| 182 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 183 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 184 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 185 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 186 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 187 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 188 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 189 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 190 | ||
| 191 | local rarmc1 = RW.C1 | |
| 192 | local larmc1 = LW.C1 | |
| 193 | local rlegc1 = RH.C1 | |
| 194 | local llegc1 = LH.C1 | |
| 195 | ||
| 196 | local resetc1 = false | |
| 197 | ||
| 198 | function PlayAnimationFromTable(table, speed, bool) | |
| 199 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 200 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 201 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 202 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 203 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 204 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 205 | if bool == true then | |
| 206 | if resetc1 == false then | |
| 207 | resetc1 = true | |
| 208 | RootJoint.C1 = RootJoint.C1 | |
| 209 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 210 | RW.C1 = rarmc1 | |
| 211 | LW.C1 = larmc1 | |
| 212 | RH.C1 = rlegc1 | |
| 213 | LH.C1 = llegc1 | |
| 214 | end | |
| 215 | end | |
| 216 | end | |
| 217 | ||
| 218 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 219 | ArtificialHB.Name = "Heartbeat" | |
| 220 | script:WaitForChild("Heartbeat")
| |
| 221 | frame = 0.03333333333333 | |
| 222 | tf = 0 | |
| 223 | allowframeloss = false | |
| 224 | tossremainder = false | |
| 225 | lastframe = tick() | |
| 226 | script.Heartbeat:Fire() | |
| 227 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 228 | tf = tf + s | |
| 229 | if tf >= frame then | |
| 230 | if allowframeloss then | |
| 231 | script.Heartbeat:Fire() | |
| 232 | lastframe = tick() | |
| 233 | else | |
| 234 | for i = 1, math.floor(tf / frame) do | |
| 235 | script.Heartbeat:Fire() | |
| 236 | end | |
| 237 | lastframe = tick() | |
| 238 | end | |
| 239 | if tossremainder then | |
| 240 | tf = 0 | |
| 241 | else | |
| 242 | tf = tf - frame * math.floor(tf / frame) | |
| 243 | end | |
| 244 | end | |
| 245 | end) | |
| 246 | function swait(num) | |
| 247 | if num == 0 or num == nil then | |
| 248 | ArtificialHB.Event:wait() | |
| 249 | else | |
| 250 | for i = 0, num do | |
| 251 | ArtificialHB.Event:wait() | |
| 252 | end | |
| 253 | end | |
| 254 | end | |
| 255 | ||
| 256 | function RemoveOutlines(part) | |
| 257 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 258 | end | |
| 259 | ||
| 260 | CFuncs = {
| |
| 261 | ["Part"] = {
| |
| 262 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 263 | local Part = Create("Part"){
| |
| 264 | Parent = Parent, | |
| 265 | Reflectance = Reflectance, | |
| 266 | Transparency = Transparency, | |
| 267 | CanCollide = false, | |
| 268 | Locked = true, | |
| 269 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 270 | Name = Name, | |
| 271 | Size = Size, | |
| 272 | Material = Material, | |
| 273 | } | |
| 274 | RemoveOutlines(Part) | |
| 275 | return Part | |
| 276 | end; | |
| 277 | }; | |
| 278 | ||
| 279 | ["Mesh"] = {
| |
| 280 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 281 | local Msh = Create(Mesh){
| |
| 282 | Parent = Part, | |
| 283 | Offset = OffSet, | |
| 284 | Scale = Scale, | |
| 285 | } | |
| 286 | if Mesh == "SpecialMesh" then | |
| 287 | Msh.MeshType = MeshType | |
| 288 | Msh.MeshId = MeshId | |
| 289 | end | |
| 290 | return Msh | |
| 291 | end; | |
| 292 | }; | |
| 293 | ||
| 294 | ["Mesh"] = {
| |
| 295 | - | mus.SoundId = "rbxassetid://626819662"--421358540--1275432904 |
| 295 | + | |
| 296 | local Msh = Create(Mesh){
| |
| 297 | Parent = Part, | |
| 298 | Offset = OffSet, | |
| 299 | Scale = Scale, | |
| 300 | } | |
| 301 | if Mesh == "SpecialMesh" then | |
| 302 | Msh.MeshType = MeshType | |
| 303 | Msh.MeshId = MeshId | |
| 304 | end | |
| 305 | return Msh | |
| 306 | end; | |
| 307 | }; | |
| 308 | ||
| 309 | ["Weld"] = {
| |
| 310 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 311 | local Weld = Create("Weld"){
| |
| 312 | Parent = Parent, | |
| 313 | Part0 = Part0, | |
| 314 | Part1 = Part1, | |
| 315 | C0 = C0, | |
| 316 | C1 = C1, | |
| 317 | } | |
| 318 | return Weld | |
| 319 | end; | |
| 320 | }; | |
| 321 | ||
| 322 | ["ParticleEmitter"] = {
| |
| 323 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 324 | local fp = Create("ParticleEmitter"){
| |
| 325 | Parent = Parent, | |
| 326 | Color = ColorSequence.new(Color1, Color2), | |
| 327 | LightEmission = LightEmission, | |
| 328 | Size = Size, | |
| 329 | Texture = Texture, | |
| 330 | Transparency = Transparency, | |
| 331 | ZOffset = ZOffset, | |
| 332 | Acceleration = Accel, | |
| 333 | Drag = Drag, | |
| 334 | LockedToPart = LockedToPart, | |
| 335 | VelocityInheritance = VelocityInheritance, | |
| 336 | EmissionDirection = EmissionDirection, | |
| 337 | Enabled = Enabled, | |
| 338 | Lifetime = LifeTime, | |
| 339 | Rate = Rate, | |
| 340 | Rotation = Rotation, | |
| 341 | RotSpeed = RotSpeed, | |
| 342 | Speed = Speed, | |
| 343 | VelocitySpread = VelocitySpread, | |
| 344 | } | |
| 345 | return fp | |
| 346 | end; | |
| 347 | }; | |
| 348 | ||
| 349 | CreateTemplate = {
| |
| 350 | ||
| 351 | }; | |
| 352 | } | |
| 353 | ||
| 354 | function so(id,par,pit,vol) | |
| 355 | local sou = Instance.new("Sound", par or workspace)
| |
| 356 | if par == chara then | |
| 357 | sou.Parent = chara.Torso | |
| 358 | end | |
| 359 | sou.Volume = vol | |
| 360 | sou.Pitch = pit or 1 | |
| 361 | sou.SoundId = "rbxassetid://" .. id | |
| 362 | sou.PlayOnRemove = true | |
| 363 | sou:Destroy() | |
| 364 | end | |
| 365 | ||
| 366 | function CamShake(par,magni,env,dur) | |
| 367 | coroutine.wrap(function() | |
| 368 | for i=0,dur*60 do | |
| 369 | swait() | |
| 370 | Humanoid.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10) | |
| 371 | end | |
| 372 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 373 | end)() | |
| 374 | end | |
| 375 | ||
| 376 | local mus = Instance.new("Sound",chara)
| |
| 377 | mus.Name = "mus" | |
| 378 | mus.SoundId = "rbxassetid://3268684626"--421358540--1275432904 | |
| 379 | mus.Looped = true | |
| 380 | mus.Volume = 1 | |
| 381 | mus:Play() | |
| 382 | ||
| 383 | New = function(Object, Parent, Name, Data) | |
| 384 | local Object = Instance.new(Object) | |
| 385 | for Index, Value in pairs(Data or {}) do
| |
| 386 | Object[Index] = Value | |
| 387 | end | |
| 388 | Object.Parent = Parent | |
| 389 | Object.Name = Name | |
| 390 | return Object | |
| 391 | end | |
| 392 | ||
| 393 | function createrainbow(part,size,trans,life,face,speed,accel,velsp,lock,name) | |
| 394 | local fira = Instance.new("ParticleEmitter",part)
| |
| 395 | fira.Name = name | |
| 396 | fira.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 397 | fira.Size = size | |
| 398 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
| 399 | fira.Transparency = trans | |
| 400 | fira.Lifetime = life | |
| 401 | fira.EmissionDirection = face | |
| 402 | fira.Rate = 10000 | |
| 403 | fira.RotSpeed = NumberRange.new(100) | |
| 404 | fira.Rotation = NumberRange.new(0,360) | |
| 405 | fira.Speed = speed | |
| 406 | fira.VelocitySpread = velsp | |
| 407 | fira.Acceleration = accel | |
| 408 | fira.LockedToPart = lock | |
| 409 | return fira | |
| 410 | end | |
| 411 | ||
| 412 | Wings = New("Model",chara,"Wings",{})
| |
| 413 | MainPart = New("Part",Wings,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(67.400032, 1.00001299, -47.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 414 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = Torso,})
| |
| 415 | Wing1Part = New("Part",Wings,"Wing1Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.2041626, 2.02130413, -46.7787056, 0.866025448, 0.35355404, 0.35355413, -0.353553772, 0.933016062, -0.0669873655, -0.353553891, -0.0669873059, 0.933015943),})
| |
| 416 | createrainbow(Wing1Part,NumberSequence.new(.5,1),NumberSequence.new(0),NumberRange.new(1),"Back",NumberRange.new(5),Vector3.new(0,10,0),0,true,"Firea") | |
| 417 | Weld = New("ManualWeld",Wing1Part,"Weld",{Part0 = Wing1Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, -0.353553772, -0.353553891, 0.35355404, 0.933016062, -0.0669873059, 0.35355413, -0.0669873655, 0.933015943),C1 = CFrame.new(0.804130554, 1.02129114, 0.52129364, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 418 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.433013618, 0.250000477, 0.353553772, 0.176777452, -0.918561935, 0.353553891, 0.883886695, 0.306187093),})
| |
| 419 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
| 420 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.433013618, 0.176777452, 0.883886695, 0.250000477, -0.918561935, 0.306187093),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 421 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.482963979, 0.12940979, 0.353553772, 0.408495188, -0.841509461, 0.353553891, 0.774522126, 0.524520695),})
| |
| 422 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
| 423 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.482963979, 0.408495188, 0.774522126, 0.12940979, -0.841509461, 0.524520695),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 424 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.500001192, 3.06954462e-12, 0.353553772, 0.612374902, -0.707109571, 0.353553891, 0.61237514, 0.707109332),})
| |
| 425 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
| 426 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.500001192, 0.612374902, 0.61237514, 3.06954462e-12, -0.707109571, 0.707109332),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 427 | ||
| 428 | Halo = New("Model",chara,"Halo",{})
| |
| 429 | AHaloPart = New("Part",Halo,"AHaloPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999973, 5.50001764, -16.4999981, 1.00000644, 0, 1.25170106e-06, 0, 1, 0, 1.22189874e-06, 0, 1.00000715),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 430 | HaWeld = New("ManualWeld",AHaloPart,"HaWeld",{Part0 = AHaloPart,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),C1 = CFrame.new(-1.90734863e-06, 1.00000906, 1.33514404e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 431 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071625, 5.50001764, -16.0999889, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 432 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(0.692829132, 0, 0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),})
| |
| 433 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.285759, 5.50001764, -15.8871527, 0.76605016, 0, 0.642795265, 0, 1, 0, -0.642793238, 0, 0.766053021),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 434 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.766044378, 0, -0.642788231, 0, 1, 0, 0.642788351, 0, 0.766044497),C1 = CFrame.new(0.514234543, 0, 0.612840652, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),})
| |
| 435 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736217, 5.50001764, -17.2517643, 0.939700842, 0, 0.342024595, 0, 1, 0, -0.342021763, 0, 0.939702868),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 436 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.939693093, 0, -0.342019916, 0, 1, 0, 0.342020094, 0, 0.939693153),C1 = CFrame.new(-0.273622513, 0, -0.751760483, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),})
| |
| 437 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928379, 5.50001764, -16.9000072, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 438 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(-0.692834854, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),})
| |
| 439 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928265, 5.50001764, -16.0999737, -0.500008047, 0, 0.866034508, 0, 1, 0, -0.866037786, 0, -0.500004828),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 440 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000477, 0, -0.866025746, 0, 1, 0, 0.866025627, 0, -0.500000358),C1 = CFrame.new(-0.692825317, 0, 0.400022507, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),})
| |
| 441 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.5878544, 5.50001764, -16.6389122, 0.173646897, 0, 0.984815121, 0, 1, 0, -0.984815359, 0, 0.173649639),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 442 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808564, 0, 1, 0, 0.984808564, 0, 0.173647195),C1 = CFrame.new(-0.787851334, 0, -0.138912201, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 443 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.5263824, 5.50001764, -17.2517605, -0.939701259, 0, 0.342020363, 0, 1, 0, -0.342023492, 0, -0.93970114),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 444 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.93969363, 0, -0.34201926, 0, 1, 0, 0.342019081, 0, -0.93969363),C1 = CFrame.new(0.273614883, 0, -0.751756668, 1.00000119, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000131),})
| |
| 445 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121346, 5.50001764, -16.6389122, -0.173651725, 0, 0.984817922, 0, 1, 0, -0.984819889, 0, -0.173648074),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 446 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648179, 0, -0.984808624, 0, 1, 0, 0.984808445, 0, -0.17364794),C1 = CFrame.new(0.787857056, 0, -0.138914108, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),})
| |
| 447 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121384, 5.50001764, -16.3610725, 0.173646957, 0, 0.984817505, 0, 1, 0, -0.984817922, 0, 0.173650518),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 448 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808624, 0, 1, 0, 0.984808564, 0, 0.173647255),C1 = CFrame.new(0.787853241, 0, 0.138923645, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),})
| |
| 449 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.2857647, 5.50001764, -17.1128464, -0.766056955, 0, 0.642793596, 0, 1, 0, -0.642798543, 0, -0.766054869),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 450 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(0.514230728, 0, -0.612844467, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),})
| |
| 451 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071663, 5.50001764, -16.9000053, -0.500009298, 0, 0.866035819, 0, 1, 0, -0.866039753, 0, -0.500005484),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 452 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000715, 0, -0.866026103, 0, 1, 0, 0.866025865, 0, -0.500000477),C1 = CFrame.new(0.692827225, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),})
| |
| 453 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.3142319, 5.50001764, -15.8871336, -0.766055584, 0, 0.642793, 0, 1, 0, -0.642797172, 0, -0.766053736),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 454 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(-0.514232635, 0, 0.61286068, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),})
| |
| 455 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736103, 5.50001764, -15.7482185, -0.939703703, 0, 0.34202081, 0, 1, 0, -0.342024893, 0, -0.939703524),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 456 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.939693749, 0, -0.342019379, 0, 1, 0, 0.342019081, 0, -0.939693689),C1 = CFrame.new(-0.273612976, 0, 0.751774788, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),})
| |
| 457 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.587862, 5.50001764, -16.3610744, -0.173652977, 0, 0.984820604, 0, 1, 0, -0.984823227, 0, -0.17364794),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 458 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648298, 0, -0.984808683, 0, 1, 0, 0.984808445, 0, -0.17364791),C1 = CFrame.new(-0.787858963, 0, 0.138923645, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),})
| |
| 459 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999992, 5.50001764, -17.3000011, 1.00001216, 0, 2.29479861e-06, 0, 1, 0, 2.29479883e-06, 0, 1.00001347),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 460 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 1.00000072, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000083),C1 = CFrame.new(0, 0, -0.79999733, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),})
| |
| 461 | Horns = New("Part",Halo,"Horns",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(-18.7999992, 5.72899342, -16.4698296, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 462 | Mesh = New("SpecialMesh",Horns,"Mesh",{Scale = Vector3.new(1.08000004, 1, 1),VertexColor = Vector3.new(-1, -1, -1),MeshId = "http://www.roblox.com/asset/?id=71494804",TextureId = "http://www.roblox.com/asset/?id=71494779",MeshType = Enum.MeshType.FileMesh,})
| |
| 463 | Weld = New("ManualWeld",Horns,"Weld",{Part0 = Horns,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.22898483, -0.0301551819, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 464 | for i,v in pairs(Halo:children()) do | |
| 465 | if v:IsA("BasePart") then
| |
| 466 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 467 | end | |
| 468 | end | |
| 469 | coroutine.wrap(function() | |
| 470 | while true do | |
| 471 | swait() | |
| 472 | HaWeld.C0 = HaWeld.C0 * CFrame.Angles(0,math.rad(1),0) | |
| 473 | end | |
| 474 | end)() | |
| 475 | ||
| 476 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
| 477 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
| |
| 478 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
| |
| 479 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001,LightEmission = 1})
| |
| 480 | return TEff | |
| 481 | end | |
| 482 | ||
| 483 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
| 484 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
| 485 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
| 486 | RATR = CreateTrailObj(RightArm,"White","White",0,0) | |
| 487 | ||
| 488 | function rayCast(Position, Direction, Range, Ignore) | |
| 489 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 490 | end | |
| 491 | ||
| 492 | function noretaliation(dude) | |
| 493 | end | |
| 494 | ||
| 495 | function killmortal(dude,faws) | |
| 496 | local hah = dude:FindFirstChildOfClass("Humanoid")
| |
| 497 | if hah then | |
| 498 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
| |
| 499 | if torsy then | |
| 500 | torsy.Velocity = RootPart.CFrame.lookVector*faws | |
| 501 | coroutine.wrap(function() | |
| 502 | for nn=1,math.random(4,6) do | |
| 503 | local bl = Instance.new("Part",dude)
| |
| 504 | bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
| 505 | local randd = math.random(6,20)/10 | |
| 506 | bl.Size = Vector3.new(randd,.2,randd) | |
| 507 | bl.BrickColor = BrickColor.new("Maroon")
| |
| 508 | bl.Material = "Granite" | |
| 509 | local clm = Instance.new("CylinderMesh",bl)
| |
| 510 | coroutine.wrap(function() | |
| 511 | swait(120) | |
| 512 | for i=0,1,.01 do | |
| 513 | clm.Scale = Vector3.new(1-i,1-i,1-i) | |
| 514 | swait() | |
| 515 | end | |
| 516 | bl:Destroy() | |
| 517 | end)() | |
| 518 | end | |
| 519 | end)() | |
| 520 | end | |
| 521 | noretaliation(dude) | |
| 522 | dude:BreakJoints() | |
| 523 | end | |
| 524 | end | |
| 525 | ||
| 526 | function mdmg(Part, Magnitude, HitType) | |
| 527 | for _, c in pairs(workspace:GetDescendants()) do | |
| 528 | local hum = c:FindFirstChildOfClass("Humanoid")
| |
| 529 | if hum ~= nil then | |
| 530 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
| |
| 531 | if head ~= nil then | |
| 532 | local targ = head.Position - Part.Position | |
| 533 | local mag = targ.magnitude | |
| 534 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then
| |
| 535 | if c.Name ~= chara then | |
| 536 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
| 537 | local val = Instance.new("BoolValue",c)
| |
| 538 | val.Name = "MagDmgd" | |
| 539 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 540 | if HitType == "Blunt" then | |
| 541 | so(386946017,head,.95,3) | |
| 542 | elseif HitType == "Scream" then | |
| 543 | coroutine.wrap(function() | |
| 544 | local haed = c:FindFirstChild("Head")
| |
| 545 | swait(3) | |
| 546 | so(206082327,haed,1,5) | |
| 547 | local passa = haed.Position | |
| 548 | haed:Destroy() | |
| 549 | createSplatter(passa) | |
| 550 | for i=1,15 do | |
| 551 | local bl = Instance.new("Part",head)
| |
| 552 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
| 553 | local rand = math.random(2,7)/10 | |
| 554 | bl.Size = Vector3.new(rand,rand,rand) | |
| 555 | bl.BrickColor = BrickColor.new("Maroon")
| |
| 556 | bl.Material = "Granite" | |
| 557 | end | |
| 558 | end)() | |
| 559 | elseif HitType == "Arm" then | |
| 560 | grabhand = false | |
| 561 | so(386946017,head,.95,3) | |
| 562 | armo:BreakJoints() | |
| 563 | local ar = armo | |
| 564 | coroutine.wrap(function() | |
| 565 | ar.Velocity = RootPart.CFrame.lookVector*-5 + RootPart.CFrame.rightVector*-5 + Vector3.new(0,60,0) | |
| 566 | swait(2) | |
| 567 | ar.CanCollide = true | |
| 568 | swait(60) | |
| 569 | for i=0,1,.05 do | |
| 570 | swait() | |
| 571 | ar.Transparency = i | |
| 572 | end | |
| 573 | ar.Parent:Destroy() | |
| 574 | end)() | |
| 575 | armo = nil | |
| 576 | elseif HitType == "Shot" then | |
| 577 | so(144884872,head,.9,3) | |
| 578 | game:service'Debris':AddItem(val,.05) | |
| 579 | end | |
| 580 | noretaliation(c) | |
| 581 | killmortal(c,10) | |
| 582 | else | |
| 583 | end | |
| 584 | end | |
| 585 | end | |
| 586 | end | |
| 587 | end | |
| 588 | end | |
| 589 | end | |
| 590 | ||
| 591 | --[[FindNearestTorso = function(pos) | |
| 592 | local list = (game.workspace:GetDescendants()) | |
| 593 | local torso = nil | |
| 594 | local dist = 1000 | |
| 595 | local temp, human, temp2 = nil, nil, nil | |
| 596 | for x = 1, #list do | |
| 597 | temp2 = list[x] | |
| 598 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
| 599 | temp = temp2:findFirstChild("Torso")
| |
| 600 | human = temp2:FindFirstChildOfClass("Humanoid")
| |
| 601 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 602 | local dohit = true | |
| 603 | if dohit == true then | |
| 604 | torso = temp | |
| 605 | dist = (temp.Position - pos).magnitude | |
| 606 | end | |
| 607 | end | |
| 608 | end | |
| 609 | end | |
| 610 | return torso, dist | |
| 611 | end]] | |
| 612 | ||
| 613 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 614 | if SinglePlayer then | |
| 615 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
| 616 | end | |
| 617 | local List = {}
| |
| 618 | for i, v in pairs(workspace:GetDescendants()) do | |
| 619 | if v:IsA("Model") then
| |
| 620 | if v:findFirstChild("Head") then
| |
| 621 | if v ~= chara then | |
| 622 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 623 | table.insert(List, v) | |
| 624 | end | |
| 625 | end | |
| 626 | end | |
| 627 | end | |
| 628 | end | |
| 629 | return List | |
| 630 | end | |
| 631 | ||
| 632 | --Chat Function-- | |
| 633 | function chatfunc(text) | |
| 634 | coroutine.wrap(function() | |
| 635 | if chara:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 636 | chara:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 637 | end | |
| 638 | local naeeym2 = Instance.new("BillboardGui",chara)
| |
| 639 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 640 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 641 | naeeym2.Adornee = chara.Head | |
| 642 | naeeym2.Name = "TalkingBillBoard" | |
| 643 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 644 | tecks2.BackgroundTransparency = 1 | |
| 645 | tecks2.BorderSizePixel = 0 | |
| 646 | tecks2.Text = "" | |
| 647 | tecks2.Font = "Fantasy" | |
| 648 | tecks2.FontSize = "Size24" | |
| 649 | tecks2.TextStrokeTransparency = 0 | |
| 650 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
| 651 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 652 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 653 | local shk = coroutine.wrap(function() | |
| 654 | while tecks2 ~= nil do | |
| 655 | swait(.05) | |
| 656 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
| 657 | end | |
| 658 | end) | |
| 659 | shk() | |
| 660 | for i = 1,string.len(text),1 do | |
| 661 | tecks2.Text = string.sub(text,1,i) | |
| 662 | swait(0.01) | |
| 663 | end | |
| 664 | swait(30) | |
| 665 | for i = 1, 5 do | |
| 666 | swait() | |
| 667 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 668 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 669 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 670 | end | |
| 671 | naeeym2:Destroy() | |
| 672 | end)() | |
| 673 | end | |
| 674 | ||
| 675 | EffectModel = Create("Model"){
| |
| 676 | Parent = chara, | |
| 677 | Name = "Effects", | |
| 678 | } | |
| 679 | ||
| 680 | Effects = {
| |
| 681 | Block = {
| |
| 682 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 683 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 684 | prt.Anchored = true | |
| 685 | prt.CFrame = cframe | |
| 686 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 687 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 688 | if Type == 1 or Type == nil then | |
| 689 | table.insert(Effects, {
| |
| 690 | prt, | |
| 691 | "Block1", | |
| 692 | delay, | |
| 693 | x3, | |
| 694 | y3, | |
| 695 | z3, | |
| 696 | msh | |
| 697 | }) | |
| 698 | elseif Type == 2 then | |
| 699 | table.insert(Effects, {
| |
| 700 | prt, | |
| 701 | "Block2", | |
| 702 | delay, | |
| 703 | x3, | |
| 704 | y3, | |
| 705 | z3, | |
| 706 | msh | |
| 707 | }) | |
| 708 | end | |
| 709 | end; | |
| 710 | }; | |
| 711 | ||
| 712 | Cylinder = {
| |
| 713 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 714 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 715 | prt.Anchored = true | |
| 716 | prt.CFrame = cframe | |
| 717 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 718 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 719 | table.insert(Effects, {
| |
| 720 | prt, | |
| 721 | "Cylinder", | |
| 722 | delay, | |
| 723 | x3, | |
| 724 | y3, | |
| 725 | z3, | |
| 726 | msh | |
| 727 | }) | |
| 728 | end; | |
| 729 | }; | |
| 730 | Head = {
| |
| 731 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 732 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 733 | prt.Anchored = true | |
| 734 | prt.CFrame = cframe | |
| 735 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 736 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 737 | table.insert(Effects, {
| |
| 738 | prt, | |
| 739 | "Cylinder", | |
| 740 | delay, | |
| 741 | x3, | |
| 742 | y3, | |
| 743 | z3, | |
| 744 | msh | |
| 745 | }) | |
| 746 | end; | |
| 747 | }; | |
| 748 | ||
| 749 | Sphere = {
| |
| 750 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 751 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 752 | prt.Anchored = true | |
| 753 | prt.CFrame = cframe | |
| 754 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 755 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 756 | table.insert(Effects, {
| |
| 757 | prt, | |
| 758 | "Cylinder", | |
| 759 | delay, | |
| 760 | x3, | |
| 761 | y3, | |
| 762 | z3, | |
| 763 | msh | |
| 764 | }) | |
| 765 | end; | |
| 766 | }; | |
| 767 | ||
| 768 | Elect = {
| |
| 769 | Create = function(cff, x, y, z) | |
| 770 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 771 | prt.Anchored = true | |
| 772 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 773 | prt.CFrame = CFrame.new(prt.Position) | |
| 774 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 775 | local xval = math.random() / 2 | |
| 776 | local yval = math.random() / 2 | |
| 777 | local zval = math.random() / 2 | |
| 778 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 779 | table.insert(Effects, {
| |
| 780 | prt, | |
| 781 | "Elec", | |
| 782 | 0.1, | |
| 783 | x, | |
| 784 | y, | |
| 785 | z, | |
| 786 | xval, | |
| 787 | yval, | |
| 788 | zval | |
| 789 | }) | |
| 790 | end; | |
| 791 | ||
| 792 | }; | |
| 793 | ||
| 794 | Ring = {
| |
| 795 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 796 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 797 | prt.Anchored = true | |
| 798 | prt.CFrame = cframe | |
| 799 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 800 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 801 | table.insert(Effects, {
| |
| 802 | prt, | |
| 803 | "Cylinder", | |
| 804 | delay, | |
| 805 | x3, | |
| 806 | y3, | |
| 807 | z3, | |
| 808 | msh | |
| 809 | }) | |
| 810 | end; | |
| 811 | }; | |
| 812 | ||
| 813 | ||
| 814 | Wave = {
| |
| 815 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 816 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 817 | prt.Anchored = true | |
| 818 | prt.CFrame = cframe | |
| 819 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 820 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 821 | table.insert(Effects, {
| |
| 822 | prt, | |
| 823 | "Cylinder", | |
| 824 | delay, | |
| 825 | x3, | |
| 826 | y3, | |
| 827 | z3, | |
| 828 | msh | |
| 829 | }) | |
| 830 | end; | |
| 831 | }; | |
| 832 | ||
| 833 | Break = {
| |
| 834 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 835 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 836 | prt.Anchored = true | |
| 837 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 838 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 839 | local num = math.random(10, 50) / 1000 | |
| 840 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 841 | table.insert(Effects, {
| |
| 842 | prt, | |
| 843 | "Shatter", | |
| 844 | num, | |
| 845 | prt.CFrame, | |
| 846 | math.random() - math.random(), | |
| 847 | 0, | |
| 848 | math.random(50, 100) / 100 | |
| 849 | }) | |
| 850 | end; | |
| 851 | }; | |
| 852 | ||
| 853 | Fire = {
| |
| 854 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 855 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 856 | prt.Anchored = true | |
| 857 | prt.CFrame = cframe | |
| 858 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 859 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 860 | table.insert(Effects, {
| |
| 861 | prt, | |
| 862 | "Fire", | |
| 863 | delay, | |
| 864 | 1, | |
| 865 | 1, | |
| 866 | 1, | |
| 867 | msh | |
| 868 | }) | |
| 869 | end; | |
| 870 | }; | |
| 871 | ||
| 872 | FireWave = {
| |
| 873 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 874 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 875 | prt.Anchored = true | |
| 876 | prt.CFrame = cframe | |
| 877 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 878 | local d = Create("Decal"){
| |
| 879 | Parent = prt, | |
| 880 | Texture = "rbxassetid://26356434", | |
| 881 | Face = "Top", | |
| 882 | } | |
| 883 | local d = Create("Decal"){
| |
| 884 | Parent = prt, | |
| 885 | Texture = "rbxassetid://26356434", | |
| 886 | Face = "Bottom", | |
| 887 | } | |
| 888 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 889 | table.insert(Effects, {
| |
| 890 | prt, | |
| 891 | "FireWave", | |
| 892 | 1, | |
| 893 | 30, | |
| 894 | math.random(400, 600) / 100, | |
| 895 | msh | |
| 896 | }) | |
| 897 | end; | |
| 898 | }; | |
| 899 | ||
| 900 | Lightning = {
| |
| 901 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 902 | local magz = (p0 - p1).magnitude | |
| 903 | local curpos = p0 | |
| 904 | local trz = {
| |
| 905 | -ofs, | |
| 906 | ofs | |
| 907 | } | |
| 908 | for i = 1, tym do | |
| 909 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 910 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 911 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 912 | li.Material = "Neon" | |
| 913 | if tym == i then | |
| 914 | local magz2 = (curpos - p1).magnitude | |
| 915 | li.Size = Vector3.new(th, th, magz2) | |
| 916 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 917 | table.insert(Effects, {
| |
| 918 | li, | |
| 919 | "Disappear", | |
| 920 | last | |
| 921 | }) | |
| 922 | else | |
| 923 | do | |
| 924 | do | |
| 925 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 926 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 927 | game.Debris:AddItem(li, 10) | |
| 928 | table.insert(Effects, {
| |
| 929 | li, | |
| 930 | "Disappear", | |
| 931 | last | |
| 932 | }) | |
| 933 | end | |
| 934 | end | |
| 935 | end | |
| 936 | end | |
| 937 | end | |
| 938 | }; | |
| 939 | ||
| 940 | EffectTemplate = {
| |
| 941 | ||
| 942 | }; | |
| 943 | } | |
| 944 | ||
| 945 | coroutine.wrap(function() | |
| 946 | while true do | |
| 947 | swait() | |
| 948 | Humanoid.MaxHealth = math.huge | |
| 949 | Humanoid.Health = math.huge | |
| 950 | Humanoid.Name = "CHACHASHHHAHHAAAAAAAAAAAAAAAA" | |
| 951 | if chara:FindFirstChild("GodFF")==nil then
| |
| 952 | local ff = Instance.new("ForceField",chara)
| |
| 953 | ff.Name = "GodFF" | |
| 954 | ff.Visible = false | |
| 955 | end | |
| 956 | end | |
| 957 | end)() | |
| 958 | ||
| 959 | if chara:FindFirstChild("FakeHeadM") then
| |
| 960 | local CorruptFace = New("Decal",chara.FakeHeadM.FakeHead,"Corrupt",{Texture = "rbxassetid://1000657824",})
| |
| 961 | chara.FakeHeadM.FakeHead.Normal:Destroy() | |
| 962 | chara.FakeHeadM.FakeHead.Lood:Destroy() | |
| 963 | chara.FakeHeadM.FakeHead.Rooped:Destroy() | |
| 964 | chara.FaysG:Destroy() | |
| 965 | chara.FakeHeadM.Ahoge:Destroy() | |
| 966 | chara.Shirta.ShirtTemplate = "rbxassetid://1049388163" | |
| 967 | chara.Pantsa.PantsTemplate = "rbxassetid://1269870713" | |
| 968 | for i,v in pairs(chara:GetDescendants()) do | |
| 969 | if v:IsA("BasePart") and (v.BrickColor == BrickColor.new("Alder") or v.BrickColor == BrickColor.new("Royal purple")) then
| |
| 970 | v.BrickColor = BrickColor.new("Crimson")
| |
| 971 | elseif v:IsA("BasePart") and v.BrickColor == BrickColor.new("Institutional white") then
| |
| 972 | v.BrickColor = BrickColor.new("Really black")
| |
| 973 | elseif v.Name == "SpecPart" or v.Name == "Ears1Part" then | |
| 974 | v:Destroy() | |
| 975 | elseif v.Name == "Ears2Part" then | |
| 976 | v.Transparency = 0 | |
| 977 | end | |
| 978 | end | |
| 979 | end | |
| 980 | ||
| 981 | local blpemit = Instance.new("ParticleEmitter")
| |
| 982 | blpemit.Color = ColorSequence.new(Color3.new(.5,0,0)) | |
| 983 | blpemit.Texture = "rbxassetid://233069772" | |
| 984 | blpemit.Transparency = NumberSequence.new(0,1) | |
| 985 | blpemit.Lifetime = NumberRange.new(1,3) | |
| 986 | blpemit.Acceleration = Vector3.new(0,-10,0) | |
| 987 | blpemit.Enabled = true | |
| 988 | blpemit.EmissionDirection = "Front" | |
| 989 | blpemit.Speed = NumberRange.new(1,3) | |
| 990 | blpemit.Size = NumberSequence.new(.5) | |
| 991 | blpemit.Rate = 1000 | |
| 992 | blpemit.RotSpeed = NumberRange.new(50) | |
| 993 | blpemit.Rotation = NumberRange.new(0,360) | |
| 994 | ||
| 995 | function createSplatter(pos) | |
| 996 | local emit = Instance.new("Part",chara)
| |
| 997 | emit.Anchored = true | |
| 998 | emit.CanCollide = false | |
| 999 | emit.Size = Vector3.new() | |
| 1000 | emit.Transparency = 1 | |
| 1001 | emit.CFrame = CFrame.new(pos) | |
| 1002 | local blp = blpemit:Clone() | |
| 1003 | blp.Parent = emit | |
| 1004 | blp.Enabled = false | |
| 1005 | blp.EmissionDirection = "Top" | |
| 1006 | blp.VelocitySpread = 60 | |
| 1007 | blp.Size = NumberSequence.new(2,0) | |
| 1008 | blp.Lifetime = NumberRange.new(3) | |
| 1009 | blp.Speed = NumberRange.new(10) | |
| 1010 | blp.Acceleration = Vector3.new(0,-10,0) | |
| 1011 | blp:Emit(math.random(35,40)) | |
| 1012 | game:service'Debris':AddItem(emit,4) | |
| 1013 | end | |
| 1014 | ||
| 1015 | function thenatsuki() | |
| 1016 | attack = true | |
| 1017 | Humanoid.WalkSpeed = 2 | |
| 1018 | local grab = nil | |
| 1019 | local torsy = nil | |
| 1020 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1021 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
| |
| 1022 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1023 | grab = v | |
| 1024 | end | |
| 1025 | end | |
| 1026 | if grab ~= nil and torsy ~= nil then | |
| 1027 | Instance.new("BoolValue",grab).Name = "NATSUKID"
| |
| 1028 | noretaliation(grab) | |
| 1029 | so(200632136, RootPart, .8, 1) | |
| 1030 | for i = 0,2,0.1 do | |
| 1031 | swait() | |
| 1032 | PlayAnimationFromTable({
| |
| 1033 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
| 1034 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
| 1035 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
| 1036 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
| 1037 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
| 1038 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
| 1039 | }, .3, false) | |
| 1040 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1041 | torsy.Velocity = Vector3.new() | |
| 1042 | end | |
| 1043 | local wel = Instance.new("Weld",grab.Head)
| |
| 1044 | wel.Part0 = torsy | |
| 1045 | wel.Part1 = grab.Head | |
| 1046 | wel.C0 = CFrame.new(0,1.5,0) | |
| 1047 | local bledp = Instance.new("Part",grab)
| |
| 1048 | bledp.Size = Vector3.new(0,0,0) | |
| 1049 | bledp.Transparency = 1 | |
| 1050 | bledp.CanCollide = false | |
| 1051 | local blpe = blpemit:Clone() | |
| 1052 | blpe.Parent = bledp | |
| 1053 | blpe.EmissionDirection = "Top" | |
| 1054 | blpe.VelocitySpread = 5 | |
| 1055 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
| 1056 | local bledw = Instance.new("Weld",bledp)
| |
| 1057 | bledw.Part0 = grab.Head | |
| 1058 | bledw.Part1 = bledp | |
| 1059 | bledw.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(0,0,math.rad(45)) | |
| 1060 | so(314390675,torsy,.7,5) | |
| 1061 | for i = 0, 1, 0.25 do | |
| 1062 | swait() | |
| 1063 | PlayAnimationFromTable({
| |
| 1064 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
| 1065 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
| 1066 | CFrame.new(1.14925241, 0.936202288, -0.560600817, 0.834721982, 0.490812272, 0.249685481, 0.39564395, -0.219157442, -0.891872227, -0.383021295, 0.843251646, -0.377122372), | |
| 1067 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
| 1068 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
| 1069 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
| 1070 | }, .3, false) | |
| 1071 | wel.C0 = CFrame.new(.7*i,1.5,0) * CFrame.Angles(0,0,math.rad(-90*i)) | |
| 1072 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
| 1073 | torsy.Velocity = Vector3.new() | |
| 1074 | end | |
| 1075 | for i=1,30 do | |
| 1076 | swait() | |
| 1077 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
| 1078 | torsy.Velocity = Vector3.new() | |
| 1079 | end | |
| 1080 | killmortal(grab,20) | |
| 1081 | end | |
| 1082 | attack = false | |
| 1083 | Humanoid.WalkSpeed = 8 | |
| 1084 | end | |
| 1085 | ||
| 1086 | xhold = false | |
| 1087 | function thesurou() | |
| 1088 | attack = true | |
| 1089 | Humanoid.WalkSpeed = 2 | |
| 1090 | local grab = nil | |
| 1091 | local torsy = nil | |
| 1092 | local hum = nil | |
| 1093 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1094 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
| |
| 1095 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1096 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1097 | grab = v | |
| 1098 | end | |
| 1099 | end | |
| 1100 | if grab ~= nil and torsy ~= nil then | |
| 1101 | noretaliation(grab) | |
| 1102 | so(200632136, RootPart, .8, 1) | |
| 1103 | for i = 0,1.5,0.1 do | |
| 1104 | swait() | |
| 1105 | PlayAnimationFromTable({
| |
| 1106 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1107 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1108 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
| 1109 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1110 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1111 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1112 | }, .3, false) | |
| 1113 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1114 | torsy.Velocity = Vector3.new() | |
| 1115 | end | |
| 1116 | so(240429615, torsy, 1, 1) | |
| 1117 | for i = 0, 1.5, 0.1 do | |
| 1118 | swait() | |
| 1119 | PlayAnimationFromTable({
| |
| 1120 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1121 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
| 1122 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
| 1123 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1124 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1125 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1126 | }, .3, false) | |
| 1127 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1128 | torsy.Velocity = Vector3.new() | |
| 1129 | end | |
| 1130 | repeat | |
| 1131 | --for i = 0, 2, 0.1 do | |
| 1132 | swait() | |
| 1133 | PlayAnimationFromTable({
| |
| 1134 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1135 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1136 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
| 1137 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
| 1138 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
| 1139 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
| 1140 | }, .3, false) | |
| 1141 | torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 1142 | hum.PlatformStand = true | |
| 1143 | torsy.Velocity = Vector3.new() | |
| 1144 | --end | |
| 1145 | until xhold == false | |
| 1146 | so(200632136, RootPart, .9, 1) | |
| 1147 | local pato = Instance.new("Part",torsy)
| |
| 1148 | pato.CFrame = torsy.CFrame | |
| 1149 | pato.Size = Vector3.new(4.1,6.1,1.1) | |
| 1150 | pato.Transparency = 1 | |
| 1151 | pato.CanCollide = false | |
| 1152 | pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 1153 | local werudo = Instance.new("Weld",pato)
| |
| 1154 | werudo.Part0 = pato | |
| 1155 | werudo.Part1 = torsy | |
| 1156 | torsy.Velocity = (Mouse.Hit.p-torsy.Position).unit*100+Vector3.new(0,30,0) | |
| 1157 | torsy.RotVelocity = Vector3.new(10,10,10) | |
| 1158 | coroutine.wrap(function() | |
| 1159 | while true do | |
| 1160 | swait() | |
| 1161 | hum.PlatformStand = true | |
| 1162 | end | |
| 1163 | end) | |
| 1164 | pato.Touched:connect(function(hit) | |
| 1165 | if hit:IsDescendantOf(chara)==false then | |
| 1166 | pato:Destroy() | |
| 1167 | killmortal(grab,5) | |
| 1168 | so(260430079,torsy,1,5) | |
| 1169 | CamShake(torsy,100,1,.4) | |
| 1170 | createSplatter(torsy.Position) | |
| 1171 | mdmg(torsy,3,"Blunt") | |
| 1172 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(torsy.Position), 0, 0, 0, 1, .2, 1, 0.1)
| |
| 1173 | end | |
| 1174 | end) | |
| 1175 | end | |
| 1176 | for i = 0, 1, 0.1 do | |
| 1177 | swait() | |
| 1178 | PlayAnimationFromTable({
| |
| 1179 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1180 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
| 1181 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
| 1182 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1183 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1184 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1185 | }, .3, false) | |
| 1186 | end | |
| 1187 | attack = false | |
| 1188 | Humanoid.WalkSpeed = 8 | |
| 1189 | end | |
| 1190 | ||
| 1191 | function thehead() | |
| 1192 | attack = true | |
| 1193 | Humanoid.WalkSpeed = 2 | |
| 1194 | local grab = nil | |
| 1195 | local torsy = nil | |
| 1196 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1197 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
| |
| 1198 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1199 | grab = v | |
| 1200 | end | |
| 1201 | end | |
| 1202 | if grab ~= nil and torsy ~= nil then | |
| 1203 | noretaliation(grab) | |
| 1204 | so(200632136, RootPart, .8, 1) | |
| 1205 | for i = 0,2,0.1 do | |
| 1206 | swait() | |
| 1207 | PlayAnimationFromTable({
| |
| 1208 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
| 1209 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
| 1210 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
| 1211 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
| 1212 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
| 1213 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
| 1214 | }, .3, false) | |
| 1215 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1216 | torsy.Velocity = Vector3.new() | |
| 1217 | end | |
| 1218 | local armmod = Instance.new("Model",chara)
| |
| 1219 | armmod.Name = grab.Name | |
| 1220 | Instance.new("Humanoid",armmod).Health = 0
| |
| 1221 | for i, v in pairs(grab:GetChildren()) do | |
| 1222 | if v:IsA("Accoutrement") then
| |
| 1223 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
| |
| 1224 | v.Handle.AccessoryWeld.Part1 = nil | |
| 1225 | end | |
| 1226 | end | |
| 1227 | end | |
| 1228 | local armp = grab:FindFirstChild("Head")
| |
| 1229 | createSplatter(armp.Position) | |
| 1230 | killmortal(grab,5) | |
| 1231 | CamShake(armp,10,.5,.4) | |
| 1232 | armp.Parent = armmod | |
| 1233 | for i, v in pairs(grab:GetChildren()) do | |
| 1234 | if v:IsA("Accoutrement") then
| |
| 1235 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
| |
| 1236 | v.Handle.AccessoryWeld.Part1 = armp | |
| 1237 | v.Parent = armmod | |
| 1238 | end | |
| 1239 | end | |
| 1240 | end | |
| 1241 | so(206082327,armp,1,5) | |
| 1242 | local bledp = Instance.new("Part",grab)
| |
| 1243 | bledp.Size = Vector3.new(0,0,0) | |
| 1244 | bledp.Transparency = 1 | |
| 1245 | bledp.CanCollide = false | |
| 1246 | local blpe = blpemit:Clone() | |
| 1247 | blpe.Parent = bledp | |
| 1248 | blpe.EmissionDirection = "Top" | |
| 1249 | blpe.VelocitySpread = 20 | |
| 1250 | local wel = Instance.new("Weld",armp)
| |
| 1251 | wel.Part0 = RightArm | |
| 1252 | wel.Part1 = armp | |
| 1253 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-90),0,0) | |
| 1254 | local blape = bledp:Clone() | |
| 1255 | blape.Parent = armmod | |
| 1256 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1257 | local bledw = Instance.new("Weld",bledp)
| |
| 1258 | bledw.Part0 = torsy | |
| 1259 | bledw.Part1 = bledp | |
| 1260 | bledw.C0 = CFrame.new(0,1,0) | |
| 1261 | local bledw2 = Instance.new("Weld",blape)
| |
| 1262 | bledw2.Part0 = armp | |
| 1263 | bledw2.Part1 = blape | |
| 1264 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1265 | grabhead = true | |
| 1266 | heddo = armp | |
| 1267 | for i = 0, 1, 0.25 do | |
| 1268 | swait() | |
| 1269 | PlayAnimationFromTable({
| |
| 1270 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
| 1271 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
| 1272 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
| 1273 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
| 1274 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
| 1275 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
| 1276 | }, .3, false) | |
| 1277 | end | |
| 1278 | swait(30) | |
| 1279 | end | |
| 1280 | attack = false | |
| 1281 | Humanoid.WalkSpeed = 8 | |
| 1282 | end | |
| 1283 | ||
| 1284 | function headthrow() | |
| 1285 | attack = true | |
| 1286 | Humanoid.WalkSpeed = 2 | |
| 1287 | for i = 0, 2, 0.1 do | |
| 1288 | swait() | |
| 1289 | PlayAnimationFromTable({
| |
| 1290 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1291 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1292 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
| 1293 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
| 1294 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
| 1295 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
| 1296 | }, .3, false) | |
| 1297 | end | |
| 1298 | so(200632136, RootPart, .8, 1) | |
| 1299 | local haea = heddo | |
| 1300 | haea.Weld:Destroy() | |
| 1301 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
| 1302 | haea.RotVelocity = Vector3.new(10,10,10) | |
| 1303 | haea.Touched:connect(function(hit) | |
| 1304 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then
| |
| 1305 | print("BOOBIES")
| |
| 1306 | Instance.new("BoolValue",haea).Name = "HITA"
| |
| 1307 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1)
| |
| 1308 | killmortal(hit.Parent,50) | |
| 1309 | CamShake(haea,20,1,.4) | |
| 1310 | so(386946017,haea,.95,5) | |
| 1311 | swait(120) | |
| 1312 | for i=0,1,.05 do | |
| 1313 | haea.Transparency = i | |
| 1314 | swait() | |
| 1315 | end | |
| 1316 | haea.Parent:Destroy() | |
| 1317 | end | |
| 1318 | end) | |
| 1319 | heddo = nil | |
| 1320 | grabhead = false | |
| 1321 | for i = 0, 1, 0.1 do | |
| 1322 | swait() | |
| 1323 | PlayAnimationFromTable({
| |
| 1324 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1325 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
| 1326 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
| 1327 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1328 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1329 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1330 | }, .3, false) | |
| 1331 | end | |
| 1332 | attack = false | |
| 1333 | Humanoid.WalkSpeed = 8 | |
| 1334 | end | |
| 1335 | ||
| 1336 | function therip() | |
| 1337 | attack = true | |
| 1338 | Humanoid.WalkSpeed = 2 | |
| 1339 | local grab = nil | |
| 1340 | local torsy = nil | |
| 1341 | local hum = nil | |
| 1342 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1343 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
| |
| 1344 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1345 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1346 | grab = v | |
| 1347 | end | |
| 1348 | end | |
| 1349 | if grab ~= nil and torsy ~= nil then | |
| 1350 | noretaliation(grab) | |
| 1351 | so(200632136, RootPart, .8, 1) | |
| 1352 | for i = 0,1.5,0.1 do | |
| 1353 | swait() | |
| 1354 | PlayAnimationFromTable({
| |
| 1355 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1356 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1357 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
| 1358 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1359 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1360 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1361 | }, .3, false) | |
| 1362 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1363 | torsy.Velocity = Vector3.new() | |
| 1364 | end | |
| 1365 | so(240429615, torsy, 1, 1) | |
| 1366 | for i = 0, 1.5, 0.1 do | |
| 1367 | swait() | |
| 1368 | PlayAnimationFromTable({
| |
| 1369 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1370 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
| 1371 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
| 1372 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1373 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1374 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1375 | }, .3, false) | |
| 1376 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1377 | torsy.Velocity = Vector3.new() | |
| 1378 | end | |
| 1379 | for i = 0, 3, 0.1 do | |
| 1380 | swait() | |
| 1381 | PlayAnimationFromTable({
| |
| 1382 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1383 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 1384 | CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
| 1385 | CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
| 1386 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1387 | CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1388 | }, .3, false) | |
| 1389 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,math.rad(90)),.3) | |
| 1390 | hum.PlatformStand = true | |
| 1391 | torsy.Velocity = Vector3.new() | |
| 1392 | end | |
| 1393 | so(206082327,torsy,1,5) | |
| 1394 | createSplatter(torsy.Position) | |
| 1395 | CamShake(torsy,20,1,.3) | |
| 1396 | if hum.RigType == Enum.HumanoidRigType.R6 then | |
| 1397 | local lleg = grab:FindFirstChild("Left Leg")
| |
| 1398 | local rleg = grab:FindFirstChild("Right Leg")
| |
| 1399 | local mad = Instance.new("Model",workspace)
| |
| 1400 | Instance.new("Humanoid",mad).Health = 0
| |
| 1401 | mad.Humanoid.MaxHealth = 0 | |
| 1402 | if grab:FindFirstChildOfClass("Pants") then grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad end
| |
| 1403 | killmortal(grab,0) | |
| 1404 | coroutine.wrap(function() | |
| 1405 | swait(4) | |
| 1406 | torsy.Velocity = RootPart.CFrame.rightVector*-30 | |
| 1407 | lleg.Parent = mad | |
| 1408 | rleg.Parent = mad | |
| 1409 | lleg.CanCollide = true | |
| 1410 | rleg.CanCollide = true | |
| 1411 | lleg:BreakJoints() | |
| 1412 | rleg:BreakJoints() | |
| 1413 | lleg.Velocity = RootPart.CFrame.rightVector*30 | |
| 1414 | rleg.Velocity = RootPart.CFrame.rightVector*30 | |
| 1415 | local bledp = Instance.new("Part",mad)
| |
| 1416 | bledp.Size = Vector3.new(0,0,0) | |
| 1417 | bledp.Transparency = 1 | |
| 1418 | bledp.CanCollide = false | |
| 1419 | local blpe = blpemit:Clone() | |
| 1420 | blpe.Parent = bledp | |
| 1421 | blpe.EmissionDirection = "Top" | |
| 1422 | blpe.VelocitySpread = 20 | |
| 1423 | local bledp2 = bledp:Clone() | |
| 1424 | bledp2.Parent = mad | |
| 1425 | local blape = bledp:Clone() | |
| 1426 | blape.Parent = mad | |
| 1427 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1428 | blape.Size = Vector3.new(1.5,0,0) | |
| 1429 | local bledw = Instance.new("Weld",bledp)
| |
| 1430 | bledw.Part0 = lleg | |
| 1431 | bledw.Part1 = bledp | |
| 1432 | bledw.C0 = CFrame.new(0,1,0) | |
| 1433 | local bledw2 = Instance.new("Weld",blape)
| |
| 1434 | bledw2.Part0 = torsy | |
| 1435 | bledw2.Part1 = blape | |
| 1436 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1437 | local bledw3 = Instance.new("Weld",bledp2)
| |
| 1438 | bledw.Part0 = rleg | |
| 1439 | bledw.Part1 = bledp2 | |
| 1440 | bledw.C0 = CFrame.new(0,1,0) | |
| 1441 | game:service'Debris':AddItem(mad,15) | |
| 1442 | end)() | |
| 1443 | elseif hum.RigType == Enum.HumanoidRigType.R15 then | |
| 1444 | local hip = grab:FindFirstChild("LowerTorso")
| |
| 1445 | local lleg = grab:FindFirstChild("LeftUpperLeg")
| |
| 1446 | local rleg = grab:FindFirstChild("RightUpperLeg")
| |
| 1447 | --for i,v in pairs(grab:children()) do | |
| 1448 | --if v:IsA("BasePart") then blpemit:Clone().Parent = v end
| |
| 1449 | --end | |
| 1450 | killmortal(grab,0) | |
| 1451 | coroutine.wrap(function() | |
| 1452 | swait(2) | |
| 1453 | hip:Destroy() | |
| 1454 | torsy.Velocity = RootPart.CFrame.rightVector*-60 | |
| 1455 | lleg.Velocity = RootPart.CFrame.rightVector*60 | |
| 1456 | rleg.Velocity = RootPart.CFrame.rightVector*60 | |
| 1457 | local bledp = Instance.new("Part",torsy.Parent)
| |
| 1458 | bledp.Size = Vector3.new(0,0,0) | |
| 1459 | bledp.Transparency = 1 | |
| 1460 | bledp.CanCollide = false | |
| 1461 | local blpe = blpemit:Clone() | |
| 1462 | blpe.Parent = bledp | |
| 1463 | blpe.EmissionDirection = "Top" | |
| 1464 | blpe.VelocitySpread = 20 | |
| 1465 | local bledp2 = bledp:Clone() | |
| 1466 | bledp2.Parent = torsy.Parent | |
| 1467 | local blape = bledp:Clone() | |
| 1468 | blape.Parent = torsy.Parent | |
| 1469 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1470 | blape.Size = Vector3.new(1.5,0,0) | |
| 1471 | local bledw = Instance.new("Weld",bledp)
| |
| 1472 | bledw.Part0 = lleg | |
| 1473 | bledw.Part1 = bledp | |
| 1474 | bledw.C0 = CFrame.new(0,1,0) | |
| 1475 | local bledw2 = Instance.new("Weld",blape)
| |
| 1476 | bledw2.Part0 = torsy | |
| 1477 | bledw2.Part1 = blape | |
| 1478 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1479 | local bledw3 = Instance.new("Weld",bledp2)
| |
| 1480 | bledw.Part0 = rleg | |
| 1481 | bledw.Part1 = bledp2 | |
| 1482 | bledw.C0 = CFrame.new(0,1,0) | |
| 1483 | end)() | |
| 1484 | --hip:BreakJoints() | |
| 1485 | --hip.Velocity = RootPart.CFrame.rightVector*-30 | |
| 1486 | end | |
| 1487 | for i = 0, 2, 0.1 do | |
| 1488 | swait() | |
| 1489 | PlayAnimationFromTable({
| |
| 1490 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1491 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 1492 | CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
| 1493 | CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
| 1494 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1495 | CFrame.new(-0.499995321, -1.99999988, -2.78651714e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1496 | }, .3, false) | |
| 1497 | end | |
| 1498 | end | |
| 1499 | attack = false | |
| 1500 | Humanoid.WalkSpeed = 8 | |
| 1501 | end | |
| 1502 | ||
| 1503 | function thecrush() | |
| 1504 | attack = true | |
| 1505 | Humanoid.WalkSpeed = 0 | |
| 1506 | local grab = nil | |
| 1507 | local torsy = nil | |
| 1508 | local heddo = nil | |
| 1509 | local hum = nil | |
| 1510 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1511 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
| |
| 1512 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1513 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1514 | heddo = v:FindFirstChild("Head")
| |
| 1515 | grab = v | |
| 1516 | end | |
| 1517 | end | |
| 1518 | if grab ~= nil and torsy ~= nil then | |
| 1519 | noretaliation(grab) | |
| 1520 | so(200632136, RootPart, .8, 1) | |
| 1521 | for i = 0,1.5,0.1 do | |
| 1522 | swait() | |
| 1523 | PlayAnimationFromTable({
| |
| 1524 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1525 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1526 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
| 1527 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1528 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1529 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1530 | }, .3, false) | |
| 1531 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1532 | torsy.Velocity = Vector3.new() | |
| 1533 | end | |
| 1534 | so(240429615, torsy, 1, 1) | |
| 1535 | if torsy.Name == "UpperTorso" then | |
| 1536 | heddo.CFrame = RootPart.CFrame*CFrame.new(-2,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
| 1537 | else | |
| 1538 | heddo.CFrame = RootPart.CFrame*CFrame.new(-1,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
| 1539 | end | |
| 1540 | heddo.Anchored = true | |
| 1541 | for i = 0, 1.5, 0.1 do | |
| 1542 | swait() | |
| 1543 | PlayAnimationFromTable({
| |
| 1544 | CFrame.new(0, 0, 0, 0.866025567, 3.5521316e-07, 0.500010252, 4.93042535e-06, 1.00000048, -7.94596781e-06, -0.50000006, -9.23901825e-06, 0.866042376), | |
| 1545 | CFrame.new(0.021950826, 1.50780511, -0.243860856, 0.852867603, 0.029702425, -0.521282434, 0.173647955, 0.925416946, 0.336825043, 0.492411494, -0.377797663, 0.784104764), | |
| 1546 | CFrame.new(0.956388712, -0.0409758762, -0.674532533, 0.766045928, 0.604021251, 0.219847187, -0.219834015, 0.567593455, -0.793417811, -0.604028642, 0.559465349, 0.567598879), | |
| 1547 | CFrame.new(-1.50000024, -1.14488239e-05, 8.18094031e-06, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
| 1548 | CFrame.new(0.499976635, -1.99998999, 3.24696302e-05, 0.866025567, 4.93042535e-06, -0.50000006, 3.5521316e-07, 1.00000048, -9.23901825e-06, 0.500010252, -7.94596781e-06, 0.866042376), | |
| 1549 | CFrame.new(-0.500013709, -2.00000167, 3.48316753e-05, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
| 1550 | }, .3, false) | |
| 1551 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
| 1552 | --heddo.Velocity = Vector3.new() | |
| 1553 | --hum.PlatformStand = true | |
| 1554 | end | |
| 1555 | for i = 0, 3, 0.1 do | |
| 1556 | swait() | |
| 1557 | PlayAnimationFromTable({
| |
| 1558 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1559 | CFrame.new(0, 1.46578956, -0.0939694047, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1560 | CFrame.new(1.52320564, 0.359808445, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1561 | CFrame.new(-1.52320766, 0.359808564, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1562 | CFrame.new(0.5, -1.19999838, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1563 | CFrame.new(-0.5, -1.9999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1564 | }, .3, false) | |
| 1565 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
| 1566 | --heddo.Velocity = Vector3.new() | |
| 1567 | --hum.PlatformStand = true | |
| 1568 | end | |
| 1569 | so(206082327,torsy,1,5) | |
| 1570 | killmortal(grab,0) | |
| 1571 | createSplatter(heddo.Position) | |
| 1572 | CamShake(RootPart,20,1,.4) | |
| 1573 | coroutine.wrap(function() | |
| 1574 | swait(3) | |
| 1575 | local passa = heddo.Position | |
| 1576 | heddo:Destroy() | |
| 1577 | for i=1,15 do | |
| 1578 | local bl = Instance.new("Part",torsy)
| |
| 1579 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
| 1580 | local rand = math.random(2,7)/10 | |
| 1581 | bl.Size = Vector3.new(rand,rand,rand) | |
| 1582 | bl.BrickColor = BrickColor.new("Maroon")
| |
| 1583 | bl.Material = "Granite" | |
| 1584 | end | |
| 1585 | end)() | |
| 1586 | for i = 0, 3, 0.1 do | |
| 1587 | swait() | |
| 1588 | PlayAnimationFromTable({
| |
| 1589 | CFrame.new(0, -0.115425974, -0.607762575, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1590 | CFrame.new(0, 1.46579063, -0.0939693749, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438), | |
| 1591 | CFrame.new(1.52320361, 0.359808356, 2.34974073e-06, 0.86602509, -0.500000656, -3.33671437e-07, 0.500000715, 0.86602509, 2.08616257e-07, 1.78813934e-07, -3.87430191e-07, 1), | |
| 1592 | CFrame.new(-1.5232048, 0.359810114, 2.34974073e-06, 0.86602509, 0.500000656, 3.33671437e-07, -0.500000715, 0.86602509, 2.08616257e-07, -1.78813934e-07, -3.87430191e-07, 1), | |
| 1593 | CFrame.new(0.5, -1.6025629, -1.10711849, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1594 | CFrame.new(-0.5, -1.99999857, 3.87430191e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1595 | }, .4, false) | |
| 1596 | end | |
| 1597 | end | |
| 1598 | attack = false | |
| 1599 | Humanoid.WalkSpeed = 8 | |
| 1600 | end | |
| 1601 | ||
| 1602 | function thehand() | |
| 1603 | attack = true | |
| 1604 | Humanoid.WalkSpeed = 2 | |
| 1605 | local grab = nil | |
| 1606 | local torsy = nil | |
| 1607 | local totear = nil | |
| 1608 | local hum = nil | |
| 1609 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1610 | if v:FindFirstChild('Head') and (v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")) and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
| |
| 1611 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1612 | grab = v | |
| 1613 | totear = v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")
| |
| 1614 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1615 | end | |
| 1616 | end | |
| 1617 | if grab ~= nil and torsy ~= nil and totear ~= nil and hum ~= nil then | |
| 1618 | noretaliation(grab) | |
| 1619 | so(200632136, RootPart, .8, 1) | |
| 1620 | for i = 0,2,0.1 do | |
| 1621 | swait() | |
| 1622 | PlayAnimationFromTable({
| |
| 1623 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1624 | CFrame.new(0, 1.49999475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1625 | CFrame.new(1.0939827, 0.850001335, -0.515790701, 0, -0.342019916, 0.939692736, 1, 0, 0, 0, 0.939692736, 0.342019886), | |
| 1626 | CFrame.new(-0.900009155, 0.849995136, -0.549995422, 0, 0, -1, -1, 0, 0, 0, 1, 0), | |
| 1627 | CFrame.new(0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1628 | CFrame.new(-0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1629 | }, .3, false) | |
| 1630 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1631 | torsy.Velocity = Vector3.new() | |
| 1632 | end | |
| 1633 | so(206082327,totear,1,5) | |
| 1634 | local bledp = Instance.new("Part",grab)
| |
| 1635 | bledp.Size = Vector3.new(0,0,0) | |
| 1636 | bledp.Transparency = 1 | |
| 1637 | bledp.CanCollide = false | |
| 1638 | local blpe = blpemit:Clone() | |
| 1639 | blpe.Parent = bledp | |
| 1640 | blpe.EmissionDirection = "Left" | |
| 1641 | local armmod = Instance.new("Model",chara)
| |
| 1642 | armmod.Name = "TornArmdd" | |
| 1643 | Instance.new("Humanoid",armmod).MaxHealth = 0
| |
| 1644 | for _, v in pairs(grab:GetChildren()) do | |
| 1645 | if v:IsA("Shirt") or v:IsA("CharacterMesh") then
| |
| 1646 | v:Clone().Parent = armmod | |
| 1647 | end | |
| 1648 | end | |
| 1649 | local armp = totear | |
| 1650 | createSplatter(totear.Position) | |
| 1651 | CamShake(totear,20,1,.4) | |
| 1652 | armp:BreakJoints() | |
| 1653 | armp.Parent = armmod | |
| 1654 | so("206082327",armp,1,1)
| |
| 1655 | local wel = Instance.new("Weld",armp)
| |
| 1656 | wel.Part0 = RightArm | |
| 1657 | wel.Part1 = armp | |
| 1658 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
| 1659 | local blape = bledp:Clone() | |
| 1660 | blape.Parent = armmod | |
| 1661 | local bledw = Instance.new("Weld",bledp)
| |
| 1662 | bledw.Part0 = torsy | |
| 1663 | bledw.Part1 = bledp | |
| 1664 | local bledw2 = Instance.new("Weld",blape)
| |
| 1665 | bledw2.Part0 = armp | |
| 1666 | bledw2.Part1 = blape | |
| 1667 | bledw.C0 = CFrame.new(1,.5,0) | |
| 1668 | bledw2.C0 = CFrame.new(-.5,.5,0) | |
| 1669 | blpe.EmissionDirection = "Right" | |
| 1670 | grabhand = true | |
| 1671 | armo = armp | |
| 1672 | coroutine.wrap(function() | |
| 1673 | local currhp = hum.Health | |
| 1674 | for i=1,currhp do | |
| 1675 | if hum.Health > 0 then | |
| 1676 | hum.Health = currhp - (i-1) | |
| 1677 | swait(3) | |
| 1678 | end | |
| 1679 | end | |
| 1680 | if hum.Health > 0 then | |
| 1681 | killmortal(grab,0) | |
| 1682 | end | |
| 1683 | end)() | |
| 1684 | for i = 0, 1, 0.25 do | |
| 1685 | swait() | |
| 1686 | PlayAnimationFromTable({
| |
| 1687 | CFrame.new(0, 0, 0, 0.866021276, 0, -0.499997795, 0, 1, 0, 0.499997914, 0, 0.866021156), | |
| 1688 | CFrame.new(0, 1.49999189, 0, 0.866021276, 0, 0.499997914, 0, 1, 0, -0.499997795, 0, 0.866021156), | |
| 1689 | CFrame.new(1.50001729, 0.492406696, 0.0868175104, 0.642792583, -0.766034186, -7.97212124e-07, -0.133019835, -0.111618251, -0.984808207, 0.754396439, 0.633027494, -0.173645109), | |
| 1690 | CFrame.new(-1.38039482, 0.919607162, -0.300003946, 0, 0.500000179, -0.866022646, -1, 0, 0, 0, 0.866022587, 0.500000119), | |
| 1691 | CFrame.new(0.500005305, -1.99999964, -7.61445699e-06, 0.99999541, 0, 2.98023224e-08, 0, 1, 0, 2.98023224e-08, 0, 0.999995232), | |
| 1692 | CFrame.new(-0.499997407, -1.99999964, -5.43892384e-06, 0.766040862, 0, 0.642784715, 0, 1, 0, -0.642784536, 0, 0.766040802), | |
| 1693 | }, .3, false) | |
| 1694 | end | |
| 1695 | swait(30) | |
| 1696 | end | |
| 1697 | attack = false | |
| 1698 | Humanoid.WalkSpeed = 8 | |
| 1699 | end | |
| 1700 | ||
| 1701 | function armthrow() | |
| 1702 | attack = true | |
| 1703 | Humanoid.WalkSpeed = 2 | |
| 1704 | for i = 0, 2, 0.1 do | |
| 1705 | swait() | |
| 1706 | PlayAnimationFromTable({
| |
| 1707 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1708 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1709 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
| 1710 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
| 1711 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
| 1712 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
| 1713 | }, .3, false) | |
| 1714 | end | |
| 1715 | so(200632136, RootPart, .8, 1) | |
| 1716 | local haea = armo | |
| 1717 | haea.Weld:Destroy() | |
| 1718 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
| 1719 | haea.RotVelocity = Vector3.new(10,10,10) | |
| 1720 | haea.Touched:connect(function(hit) | |
| 1721 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then
| |
| 1722 | print("BOOBIES")
| |
| 1723 | Instance.new("BoolValue",haea).Name = "HITA"
| |
| 1724 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1)
| |
| 1725 | killmortal(hit.Parent,50) | |
| 1726 | CamShake(haea,20,1,.4) | |
| 1727 | so(386946017,haea,.95,5) | |
| 1728 | swait(120) | |
| 1729 | for i=0,1,.05 do | |
| 1730 | haea.Transparency = i | |
| 1731 | swait() | |
| 1732 | end | |
| 1733 | haea.Parent:Destroy() | |
| 1734 | end | |
| 1735 | end) | |
| 1736 | armo = nil | |
| 1737 | grabhand = false | |
| 1738 | for i = 0, 1, 0.1 do | |
| 1739 | swait() | |
| 1740 | PlayAnimationFromTable({
| |
| 1741 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1742 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
| 1743 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
| 1744 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1745 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1746 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1747 | }, .3, false) | |
| 1748 | end | |
| 1749 | attack = false | |
| 1750 | Humanoid.WalkSpeed = 8 | |
| 1751 | end | |
| 1752 | ||
| 1753 | function smek() | |
| 1754 | attack = true | |
| 1755 | for i=0,1,.2 do | |
| 1756 | swait() | |
| 1757 | PlayAnimationFromTable({
| |
| 1758 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
| 1759 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
| 1760 | CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1), | |
| 1761 | CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012), | |
| 1762 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
| 1763 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
| 1764 | }, .3, false) | |
| 1765 | end | |
| 1766 | Humanoid.WalkSpeed = 2 | |
| 1767 | so(536642316,armo,1,1) | |
| 1768 | for i=0,1,.1 do | |
| 1769 | swait() | |
| 1770 | PlayAnimationFromTable({
| |
| 1771 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1772 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1773 | CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854), | |
| 1774 | CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1), | |
| 1775 | CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438), | |
| 1776 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
| 1777 | }, .3, false) | |
| 1778 | if armo ~= nil then | |
| 1779 | mdmg(armo,3,"Arm") | |
| 1780 | CamShake(Torso,20,1,.3) | |
| 1781 | end | |
| 1782 | end | |
| 1783 | swait(5) | |
| 1784 | Humanoid.WalkSpeed = 8 | |
| 1785 | attack = false | |
| 1786 | end | |
| 1787 | ||
| 1788 | function dash() | |
| 1789 | attack = true | |
| 1790 | so("235097614",Torso,3,1)
| |
| 1791 | so("75356820",Torso,2,1)
| |
| 1792 | Effects.Ring.Create(BrickColor.new("Persimmon"),RootPart.CFrame, 1, 1, 0, 1, 1, .2, 0.05)
| |
| 1793 | PlayAnimationFromTable({
| |
| 1794 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999998331, 0, 0, 0, 0.999998331) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-35), 0, 0), | |
| 1795 | CFrame.new(0, 1.49999368, 8.34463322E-7, 1, 0, 0, 0, 0.999998033, -2.38418579E-7, 0, 2.38418579E-7, 0.999998033) * CFrame.Angles(math.rad(15), 0, 0), | |
| 1796 | CFrame.new(0.663555026, 0.49231568, -0.850663185, 0.015370708, 0.692666352, 0.721096218, 0.999231637, 0.0153704779, -0.036063727, -0.0360642895, 0.721095979, -0.691897511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--CFrame.new(1.52564752, 0.0095030535, 0.16884166, 0.786316156, -0.464979529, -0.406817913, 0.489593357, 0.87058723, -0.0487444215, 0.376835734, -0.160846859, 0.912207723) * CFrame.new(0, 0.05 * math.cos(sine / 16), 0) * CFrame.Angles(0, 0, math.rad(3.5 * math.cos(sine / 16))), | |
| 1797 | CFrame.new(-1.57927585, 0.317291111, 0.397556216, 0.809802711, 0.208654553, 0.548345804, -0.517000973, 0.695623755, 0.498816311, -0.277362049, -0.687437952, 0.671192646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1798 | CFrame.new(0.49999693, -1.99999774, -8.94069672E-8, 0.965925872, 3.7422879E-7, -0.258818924, 0.0449429974, 0.984807849, 0.167731062, 0.254886955, -0.173647881, 0.951251388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1799 | CFrame.new(-0.486001939, -1.31615341, 0.112926364, 1.00000167, 1.25169754E-6, -1.87754631E-6, 8.64267349E-7, 0.573579729, 0.819149494, -4.61935997E-7, -0.819151759, 0.573578417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
| 1800 | },1,false) | |
| 1801 | for i = 1, 5 do | |
| 1802 | for _, v in pairs(chara:children()) do | |
| 1803 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
| |
| 1804 | do | |
| 1805 | local p = v:clone() | |
| 1806 | p.Name = "trail" | |
| 1807 | p.Parent = EffectModel | |
| 1808 | p.Transparency = 0.5 | |
| 1809 | p.Anchored = true | |
| 1810 | p.BrickColor = BrickColor.new("Really red")
| |
| 1811 | p.Material = "Neon" | |
| 1812 | p:BreakJoints() | |
| 1813 | p.CanCollide = false | |
| 1814 | if v == Head then | |
| 1815 | for a, b in pairs(p:children()) do | |
| 1816 | if b:IsA("Sound") then
| |
| 1817 | b:Destroy() | |
| 1818 | end | |
| 1819 | end | |
| 1820 | end | |
| 1821 | coroutine.resume(coroutine.create(function() | |
| 1822 | for i = 1, 50 do | |
| 1823 | swait() | |
| 1824 | p.Transparency = i / 50 | |
| 1825 | end | |
| 1826 | p:Destroy() | |
| 1827 | end)) | |
| 1828 | end | |
| 1829 | end | |
| 1830 | if v.className == "Accessory" then | |
| 1831 | end | |
| 1832 | end | |
| 1833 | RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*10 | |
| 1834 | swait() | |
| 1835 | end | |
| 1836 | attack = false | |
| 1837 | end | |
| 1838 | ||
| 1839 | function scream() | |
| 1840 | attack = true | |
| 1841 | Humanoid.WalkSpeed = 0 | |
| 1842 | for i=0,1,.1 do | |
| 1843 | swait() | |
| 1844 | PlayAnimationFromTable({
| |
| 1845 | CFrame.new(0, 0.0885660946, 0.326515794, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
| 1846 | CFrame.new(0, 1.43158889, 0.18794021, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
| 1847 | CFrame.new(1.5, 0.099998951, 9.56654503e-07, 0, -1, 0, -1, 0, -2.98023224e-08, -2.98023224e-08, 0, -1), | |
| 1848 | CFrame.new(-1.5, 0.099998951, 9.56654503e-07, 0, 1, 0, 1, 0, -2.98023224e-08, 2.98023224e-08, 0, -1), | |
| 1849 | CFrame.new(0.696960211, -2.04165077, 0.395629227, 0.984807849, -0.173647985, 0, 0.163175747, 0.925416768, 0.342019916, -0.0593910627, -0.336823881, 0.939692736), | |
| 1850 | CFrame.new(-0.696963668, -2.04164839, 0.395628393, 0.984807849, 0.173647985, 0, -0.163175747, 0.925416768, 0.342019916, 0.0593910627, -0.336823881, 0.939692736), | |
| 1851 | }, .3, false) | |
| 1852 | end | |
| 1853 | so(51322486,Torso,.5,5) | |
| 1854 | so(90696602,Torso,.5,5) | |
| 1855 | for i=1,120 do | |
| 1856 | CamShake(Torso,40,1,.1) | |
| 1857 | mdmg(Torso,20,"Scream") | |
| 1858 | Effects.Ring.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 1, 1, 0, 2, 2, .2, 0.05)
| |
| 1859 | Effects.Wave.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.random(-50,50),0), 1, 0, 1, 2, .1, 2, 0.05)
| |
| 1860 | swait() | |
| 1861 | end | |
| 1862 | Humanoid.WalkSpeed = 8 | |
| 1863 | attack = false | |
| 1864 | end | |
| 1865 | ||
| 1866 | function handcrack() | |
| 1867 | attack = true | |
| 1868 | Humanoid.WalkSpeed = 0 | |
| 1869 | for i=0,1,.1 do | |
| 1870 | swait() | |
| 1871 | PlayAnimationFromTable({
| |
| 1872 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1873 | CFrame.new(0, 1.4657917, -0.0939691663, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1874 | CFrame.new(0.849929154, 0.669377863, -0.285191476, 0.133021966, 0.754403889, 0.642790735, 0.989228785, -0.0610861331, -0.133022368, -0.0610869862, 0.65356195, -0.754403949), | |
| 1875 | CFrame.new(-0.949649334, 0.569002092, -0.378571123, -0, -0.866025269, -0.500000298, -0.984807849, 0.0868240297, -0.150383547, 0.173647985, 0.492404163, -0.852868497), | |
| 1876 | CFrame.new(0.499994665, -1.99999988, -9.83476639e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1877 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1878 | }, .3, false) | |
| 1879 | end | |
| 1880 | so(240428955,Head,1,5) | |
| 1881 | swait(10) | |
| 1882 | Humanoid.WalkSpeed = 8 | |
| 1883 | attack = false | |
| 1884 | end | |
| 1885 | ||
| 1886 | function getoverhere() | |
| 1887 | attack = true | |
| 1888 | local dude = Mouse.Target.Parent | |
| 1889 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
| |
| 1890 | if dude~=nil and dude:FindFirstChildOfClass("Humanoid") and torsy~=nil then
| |
| 1891 | Humanoid.WalkSpeed = 0 | |
| 1892 | for i=0,1,.1 do | |
| 1893 | swait() | |
| 1894 | PlayAnimationFromTable({
| |
| 1895 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360*i),0), | |
| 1896 | CFrame.new(0, 1.5255599, -0.222141176, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1897 | CFrame.new(0.200967461, 0.899999142, -0.749996543, 0, 0.866025984, 0.499998987, 1, 0, 0, 0, 0.499998987, -0.866025984), | |
| 1898 | CFrame.new(-1.52556288, 0.222140282, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 1899 | CFrame.new(0.499997377, -2, -9.01520252e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
| 1900 | CFrame.new(-0.500002205, -2, 7.30156898e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1901 | }, .3, false) | |
| 1902 | end | |
| 1903 | so(743521497,RightArm,1,1) | |
| 1904 | coroutine.wrap(function() | |
| 1905 | for i=0,1,.1 do | |
| 1906 | swait() | |
| 1907 | PlayAnimationFromTable({
| |
| 1908 | CFrame.new(0.00389102311, 0, -0.0404044762, 2.68220901e-07, 0, 1.00000536, 0, 1, 0, -1.00000536, 0, 2.68220901e-07), | |
| 1909 | CFrame.new(1.78813934e-06, 1.52555692, -0.222144455, 0.342020005, -1.01929949e-08, -0.939692736, 0.321392, 0.939693451, 0.116977029, 0.883023024, -0.342018187, 0.321393877), | |
| 1910 | CFrame.new(1.50095332, 0.999999046, 0.0500030518, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
| 1911 | CFrame.new(-1.52557385, 0.222139984, 0, 0.939693272, 0.342018306, 0, -0.342018306, 0.939693332, 0, 0, 0, 1), | |
| 1912 | CFrame.new(0.500000775, -2, 1.69873238e-06, 0.984807789, 0, -0.173648104, 0, 1, 0, 0.173648089, 0, 0.984807789), | |
| 1913 | CFrame.new(-0.500008583, -2, 8.94069672e-08, 0.939692736, 0, 0.342020065, 0, 1, 0, -0.342020094, 0, 0.939692616), | |
| 1914 | }, .4, false) | |
| 1915 | end | |
| 1916 | end)() | |
| 1917 | so(138092011,Head,1,1) | |
| 1918 | local spikeh = Instance.new("Part",chara)
| |
| 1919 | spikeh.CFrame = Torso.CFrame | |
| 1920 | spikeh.Size = Vector3.new(.5,.5,1) | |
| 1921 | spikeh.Material = "Metal" | |
| 1922 | spikeh.CanCollide = false | |
| 1923 | spikeh.Anchored = true | |
| 1924 | spikeh.BrickColor = BrickColor.new("Crimson")
| |
| 1925 | local blast = Instance.new("Part",EffectModel)
| |
| 1926 | blast.Size = Vector3.new(0,1,1) | |
| 1927 | blast.Transparency = 1 | |
| 1928 | blast.Anchored = true | |
| 1929 | blast.CanCollide = false | |
| 1930 | blast.CFrame = Torso.CFrame | |
| 1931 | local meh = Instance.new("SpecialMesh",spikeh)
| |
| 1932 | meh.MeshType = "Wedge" | |
| 1933 | meh.Offset = Vector3.new(0,0,-1) | |
| 1934 | meh.Scale = Vector3.new(1,2,2) | |
| 1935 | local tex1 = Instance.new("Texture",blast)
| |
| 1936 | tex1.Face = "Right" | |
| 1937 | tex1.Texture = "rbxassetid://187946416" | |
| 1938 | tex1.Color3 = Color3.new(1,0,0) | |
| 1939 | local tex2 = tex1:Clone() | |
| 1940 | tex2.Parent = blast | |
| 1941 | tex2.Face = "Left" | |
| 1942 | local origpos = Vector3.new() | |
| 1943 | for i=0,1,.1 do | |
| 1944 | swait() | |
| 1945 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
| 1946 | spikeh.CFrame = clerp(spikeh.CFrame,torsy.CFrame,.4) | |
| 1947 | spikeh.CFrame = CFrame.new(spikeh.Position,spikeh.Position+(torsy.Position-spikeh.Position).unit) | |
| 1948 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
| 1949 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
| 1950 | end | |
| 1951 | local staypos = torsy.CFrame | |
| 1952 | so(154965973,spikeh,.7,2) | |
| 1953 | createSplatter(torsy.Position) | |
| 1954 | CamShake(torsy,20,1,.4) | |
| 1955 | for i=1,30 do | |
| 1956 | swait() | |
| 1957 | torsy.CFrame = staypos | |
| 1958 | end | |
| 1959 | coroutine.wrap(function() | |
| 1960 | for i=0,1,.1 do | |
| 1961 | swait() | |
| 1962 | PlayAnimationFromTable({
| |
| 1963 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1964 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
| 1965 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
| 1966 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1967 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1968 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1969 | }, .4, false) | |
| 1970 | end | |
| 1971 | end)() | |
| 1972 | so(28144425,RightArm,.265,2) | |
| 1973 | for i=0,3,.1 do | |
| 1974 | swait() | |
| 1975 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
| 1976 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,0,-2),.1) | |
| 1977 | torsy.Velocity = Vector3.new(0,0,0) | |
| 1978 | spikeh.CFrame = torsy.CFrame | |
| 1979 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
| 1980 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
| 1981 | end | |
| 1982 | spikeh:Destroy() | |
| 1983 | blast:Destroy() | |
| 1984 | Humanoid.WalkSpeed = 8 | |
| 1985 | end | |
| 1986 | attack = false | |
| 1987 | end | |
| 1988 | ||
| 1989 | local notallowed={
| |
| 1990 | "Right Arm", | |
| 1991 | "Left Arm", | |
| 1992 | "Right Leg", | |
| 1993 | "Left Leg", | |
| 1994 | "Head", | |
| 1995 | "HumanoidRootPart", | |
| 1996 | "Torso", | |
| 1997 | "LeftFoot", | |
| 1998 | "LeftHand", | |
| 1999 | "LeftLowerArm", | |
| 2000 | "LeftUpperArm", | |
| 2001 | "LeftUpperLeg", | |
| 2002 | "LeftLowerLeg", | |
| 2003 | "RightFoot", | |
| 2004 | "RightHand", | |
| 2005 | "RightLowerArm", | |
| 2006 | "RightUpperArm", | |
| 2007 | "RightUpperLeg", | |
| 2008 | "RightLowerLeg", | |
| 2009 | "LowerTorso", | |
| 2010 | "UpperTorso", | |
| 2011 | } | |
| 2012 | ||
| 2013 | function grabobj() | |
| 2014 | attack = true | |
| 2015 | Humanoid.WalkSpeed = 2 | |
| 2016 | local grab = nil | |
| 2017 | local torsy = nil | |
| 2018 | local totear = nil | |
| 2019 | local hum = nil | |
| 2020 | local targ = Mouse.Target | |
| 2021 | if targ ~= nil and targ:IsA("BasePart") and targ.Anchored == false and (targ.Position-RightArm.Position).magnitude<=5 then
| |
| 2022 | for i,v in pairs(notallowed) do | |
| 2023 | if targ.Name == v then | |
| 2024 | Humanoid.WalkSpeed = 8 | |
| 2025 | attack = false | |
| 2026 | return | |
| 2027 | end | |
| 2028 | end | |
| 2029 | totear = targ | |
| 2030 | end | |
| 2031 | --for i, v in pairs(FindNearestObject(Torso.Position, 5)) do | |
| 2032 | --if totear ~= nil then | |
| 2033 | --totear = v | |
| 2034 | --end | |
| 2035 | --end | |
| 2036 | if totear ~= nil then | |
| 2037 | so(200632136, RootPart, .8, 1) | |
| 2038 | for i = 0,1,.1 do | |
| 2039 | swait() | |
| 2040 | PlayAnimationFromTable({
| |
| 2041 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 2042 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 2043 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
| 2044 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 2045 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 2046 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 2047 | }, .3, false) | |
| 2048 | end | |
| 2049 | so(200632136, RootPart, .8, 1) | |
| 2050 | for i = 0,1,.1 do | |
| 2051 | swait() | |
| 2052 | PlayAnimationFromTable({
| |
| 2053 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 2054 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
| 2055 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
| 2056 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 2057 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 2058 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 2059 | }, .3, false) | |
| 2060 | end | |
| 2061 | so(200632136, RootPart, .8, 1) | |
| 2062 | local armmod = Instance.new("Model",chara)
| |
| 2063 | armmod.Name = "PickedUp" | |
| 2064 | local armp = totear | |
| 2065 | armp:BreakJoints() | |
| 2066 | armp.Parent = armmod | |
| 2067 | local wel = Instance.new("Weld",armp)
| |
| 2068 | wel.Part0 = RightArm | |
| 2069 | wel.Part1 = armp | |
| 2070 | wel.C0 = CFrame.new(0,-1.5,0) | |
| 2071 | grabhand = true | |
| 2072 | armo = armp | |
| 2073 | end | |
| 2074 | attack = false | |
| 2075 | Humanoid.WalkSpeed = 8 | |
| 2076 | end | |
| 2077 | ||
| 2078 | Mouse.Button1Down:connect(function() | |
| 2079 | if attack == false then | |
| 2080 | if grabhead == true then | |
| 2081 | headthrow() | |
| 2082 | elseif grabhand == true then | |
| 2083 | smek() | |
| 2084 | -- else | |
| 2085 | -- if Anim == "Jump" or Anim == "Fall" then | |
| 2086 | -- --asmek() | |
| 2087 | -- else | |
| 2088 | -- --smek() | |
| 2089 | -- end | |
| 2090 | end | |
| 2091 | end | |
| 2092 | end) | |
| 2093 | ||
| 2094 | local sprintt = 0 | |
| 2095 | ||
| 2096 | Mouse.KeyDown:connect(function(k) | |
| 2097 | k = k:lower() | |
| 2098 | if k=='m' then | |
| 2099 | if mus.IsPlaying == true then | |
| 2100 | mus:Stop() | |
| 2101 | elseif mus.IsPaused == true then | |
| 2102 | mus:Play() | |
| 2103 | end | |
| 2104 | end | |
| 2105 | if attack == false then | |
| 2106 | if k == 'z' and grabhead == false and grabhand == false then | |
| 2107 | thenatsuki() | |
| 2108 | elseif k == 'x' and grabhead == false and grabhand == false then | |
| 2109 | xhold = true | |
| 2110 | thesurou() | |
| 2111 | elseif k == 'c' and grabhead == false and grabhand == false then | |
| 2112 | therip() | |
| 2113 | elseif k == 'v' and grabhead == false and grabhand == false then | |
| 2114 | thecrush() | |
| 2115 | elseif k == 'b' then | |
| 2116 | if grabhead == true then | |
| 2117 | headthrow() | |
| 2118 | else | |
| 2119 | thehead() | |
| 2120 | end | |
| 2121 | elseif k == 'n' then | |
| 2122 | if grabhand == true then | |
| 2123 | armthrow() | |
| 2124 | else | |
| 2125 | thehand() | |
| 2126 | end | |
| 2127 | elseif k == 'e' then | |
| 2128 | dash() | |
| 2129 | elseif k == 'q' then | |
| 2130 | getoverhere() | |
| 2131 | elseif k == 'g' then | |
| 2132 | handcrack() | |
| 2133 | elseif k == 'h' then | |
| 2134 | scream() | |
| 2135 | elseif k == 'r' then | |
| 2136 | if grabhand == true then | |
| 2137 | armthrow() | |
| 2138 | else | |
| 2139 | grabobj() | |
| 2140 | end | |
| 2141 | end | |
| 2142 | end | |
| 2143 | end) | |
| 2144 | ||
| 2145 | Mouse.KeyUp:connect(function(k) | |
| 2146 | k = k:lower() | |
| 2147 | if k == 'x' then | |
| 2148 | xhold = false | |
| 2149 | end | |
| 2150 | end) | |
| 2151 | ||
| 2152 | coroutine.wrap(function() | |
| 2153 | while 1 do | |
| 2154 | swait() | |
| 2155 | if doe <= 360 then | |
| 2156 | doe = doe + 2 | |
| 2157 | else | |
| 2158 | doe = 0 | |
| 2159 | end | |
| 2160 | end | |
| 2161 | end)() | |
| 2162 | while true do | |
| 2163 | swait() | |
| 2164 | for i, v in pairs(chara:GetChildren()) do | |
| 2165 | if v:IsA("Part") then
| |
| 2166 | v.Material = "SmoothPlastic" | |
| 2167 | elseif v:IsA("Accessory") then
| |
| 2168 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 2169 | end | |
| 2170 | end | |
| 2171 | while true do | |
| 2172 | swait() | |
| 2173 | if sprintt >= 1 then | |
| 2174 | sprintt = sprintt - 1 | |
| 2175 | end | |
| 2176 | if chara:FindFirstChild("mus")==nil then
| |
| 2177 | mus = Instance.new("Sound",chara)
| |
| 2178 | mus.Name = "mus" | |
| 2179 | mus.SoundId = "rbxassetid://626819662"--421358540--1275432904 | |
| 2180 | mus.Looped = true | |
| 2181 | mus.Volume = 1 | |
| 2182 | mus:Play() | |
| 2183 | end | |
| 2184 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2185 | velocity = RootPart.Velocity.y | |
| 2186 | sine = sine + change | |
| 2187 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
| 2188 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 2189 | Anim = "Jump" | |
| 2190 | if attack == false then | |
| 2191 | PlayAnimationFromTable({
| |
| 2192 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 2193 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
| 2194 | CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012), | |
| 2195 | CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012), | |
| 2196 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 2197 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
| 2198 | }, .3, false) | |
| 2199 | end | |
| 2200 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 2201 | Anim = "Fall" | |
| 2202 | if attack == false then | |
| 2203 | PlayAnimationFromTable({
| |
| 2204 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
| 2205 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 2206 | CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012), | |
| 2207 | CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012), | |
| 2208 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 2209 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 2210 | }, .3, false) | |
| 2211 | end | |
| 2212 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 2213 | Anim = "Idle" | |
| 2214 | if attack == false then | |
| 2215 | change = 1 | |
| 2216 | PlayAnimationFromTable({
| |
| 2217 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
| 2218 | CFrame.new(0, 1.4657923, -0.0939692855, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 2219 | CFrame.new(1.20945823, -0.213502824, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 2220 | CFrame.new(-1.20945406, -0.213503301, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 2221 | CFrame.new(0.499998242, -1.99999988, 3.12924385e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
| 2222 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
| 2223 | }, .3, false) | |
| 2224 | end | |
| 2225 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 2226 | Anim = "Walk" | |
| 2227 | if attack == false then | |
| 2228 | PlayAnimationFromTable({
| |
| 2229 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
| 2230 | CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 2231 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, -.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
| 2232 | CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
| 2233 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
| 2234 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
| 2235 | }, .3, false) | |
| 2236 | end | |
| 2237 | end | |
| 2238 | if 0 < #Effects then | |
| 2239 | for e = 1, #Effects do | |
| 2240 | if Effects[e] ~= nil then | |
| 2241 | local Thing = Effects[e] | |
| 2242 | if Thing ~= nil then | |
| 2243 | local Part = Thing[1] | |
| 2244 | local Mode = Thing[2] | |
| 2245 | local Delay = Thing[3] | |
| 2246 | local IncX = Thing[4] | |
| 2247 | local IncY = Thing[5] | |
| 2248 | local IncZ = Thing[6] | |
| 2249 | if Thing[2] == "Shoot" then | |
| 2250 | local Look = Thing[1] | |
| 2251 | local move = 30 | |
| 2252 | if Thing[8] == 3 then | |
| 2253 | move = 10 | |
| 2254 | end | |
| 2255 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 2256 | if Thing[10] ~= nil then | |
| 2257 | da = pos | |
| 2258 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 2259 | cfa = CFrame.new(Thing[4], pos) | |
| 2260 | tehCF = cfa:lerp(cf2, 0.2) | |
| 2261 | Thing[1] = tehCF.lookVector | |
| 2262 | end | |
| 2263 | local mag = (Thing[4] - pos).magnitude | |
| 2264 | 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) | |
| 2265 | if Thing[8] == 2 then | |
| 2266 | 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) | |
| 2267 | end | |
| 2268 | Thing[4] = Thing[4] + Look * move | |
| 2269 | Thing[3] = Thing[3] - 1 | |
| 2270 | if 2 < Thing[5] then | |
| 2271 | Thing[5] = Thing[5] - 0.3 | |
| 2272 | Thing[6] = Thing[6] - 0.3 | |
| 2273 | end | |
| 2274 | if hit ~= nil then | |
| 2275 | Thing[3] = 0 | |
| 2276 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 2277 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 2278 | else | |
| 2279 | if Thing[8] == 2 then | |
| 2280 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 2281 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
| |
| 2282 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 2283 | ref.Anchored = true | |
| 2284 | ref.CFrame = CFrame.new(pos) | |
| 2285 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 2286 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 2287 | 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) | |
| 2288 | 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)
| |
| 2289 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 2290 | end | |
| 2291 | end | |
| 2292 | end | |
| 2293 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 2294 | ref.Anchored = true | |
| 2295 | ref.CFrame = CFrame.new(pos) | |
| 2296 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 2297 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 2298 | end | |
| 2299 | if Thing[3] <= 0 then | |
| 2300 | table.remove(Effects, e) | |
| 2301 | end | |
| 2302 | end | |
| 2303 | do | |
| 2304 | do | |
| 2305 | if Thing[2] == "FireWave" then | |
| 2306 | if Thing[3] <= Thing[4] then | |
| 2307 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 2308 | Thing[3] = Thing[3] + 1 | |
| 2309 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 2310 | else | |
| 2311 | Part.Parent = nil | |
| 2312 | table.remove(Effects, e) | |
| 2313 | end | |
| 2314 | end | |
| 2315 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 2316 | if Thing[1].Transparency <= 1 then | |
| 2317 | if Thing[2] == "Block1" then | |
| 2318 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2319 | Mesh = Thing[7] | |
| 2320 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2321 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2322 | else | |
| 2323 | if Thing[2] == "Block2" then | |
| 2324 | Thing[1].CFrame = Thing[1].CFrame | |
| 2325 | Mesh = Thing[7] | |
| 2326 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2327 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2328 | else | |
| 2329 | if Thing[2] == "Fire" then | |
| 2330 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 2331 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2332 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2333 | else | |
| 2334 | if Thing[2] == "Cylinder" then | |
| 2335 | Mesh = Thing[7] | |
| 2336 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2337 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2338 | else | |
| 2339 | if Thing[2] == "Blood" then | |
| 2340 | Mesh = Thing[7] | |
| 2341 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 2342 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2343 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2344 | else | |
| 2345 | if Thing[2] == "Elec" then | |
| 2346 | Mesh = Thing[10] | |
| 2347 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2348 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2349 | else | |
| 2350 | if Thing[2] == "Disappear" then | |
| 2351 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2352 | else | |
| 2353 | if Thing[2] == "Shatter" then | |
| 2354 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2355 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2356 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2357 | Thing[6] = Thing[6] + Thing[5] | |
| 2358 | end | |
| 2359 | end | |
| 2360 | end | |
| 2361 | end | |
| 2362 | end | |
| 2363 | end | |
| 2364 | end | |
| 2365 | end | |
| 2366 | else | |
| 2367 | Part.Parent = nil | |
| 2368 | table.remove(Effects, e) | |
| 2369 | end | |
| 2370 | end | |
| 2371 | end | |
| 2372 | end | |
| 2373 | end | |
| 2374 | end | |
| 2375 | end | |
| 2376 | end | |
| 2377 | end | |
| 2378 | end |