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("Fixed by kilcrafter (crift_games1)")
| |
| 5 | script.Parent = Player.Character | |
| 6 | ||
| 7 | --RemoteEvent for communicating | |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | - | local Player = game:service'Players'.localPlayer |
| 9 | + | Event.Name = "UserInput_Event" |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | - | local Mouse = Player:GetMouse() |
| 12 | + | local function fakeEvent() |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | t.Function(...) | |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | for _,k in pairs(t.Keys) do | |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | ||
| 84 | ------------------- | |
| 85 | --Brutal Overlord-- | |
| 86 | --------------------------------- | |
| 87 | --By CKbackup (Sugarie Saffron)-- | |
| 88 | --------------------------------- | |
| 89 | ||
| 90 | wait(1/60) | |
| 91 | Effects = { }
| |
| 92 | local Player = owner | |
| 93 | local chara = Player.Character | |
| 94 | local Humanoid = chara:FindFirstChildOfClass("Humanoid")
| |
| 95 | local LeftArm = chara["Left Arm"] | |
| 96 | local RightArm = chara["Right Arm"] | |
| 97 | local LeftLeg = chara["Left Leg"] | |
| 98 | local RightLeg = chara["Right Leg"] | |
| 99 | local Head = chara.Head | |
| 100 | local Torso = chara.Torso | |
| 101 | local RootPart = chara.HumanoidRootPart | |
| 102 | local RootJoint = RootPart.RootJoint | |
| 103 | local attack = false | |
| 104 | local Anim = 'Idle' | |
| 105 | local attacktype = 1 | |
| 106 | local delays = false | |
| 107 | local play = true | |
| 108 | local targetted = nil | |
| 109 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 110 | local velocity = RootPart.Velocity.y | |
| 111 | local sine = 0 | |
| 112 | local change = 1 | |
| 113 | local doe = 0 | |
| 114 | local heddo = nil | |
| 115 | local grabhead = false | |
| 116 | local armo = nil | |
| 117 | local grabhand = false | |
| 118 | local Create = LoadLibrary("RbxUtility").Create
| |
| 119 | Humanoid.WalkSpeed = 8 | |
| 120 | ||
| 121 | ||
| 122 | ||
| 123 | Humanoid.Animator.Parent = nil | |
| 124 | chara.Animate.Parent = nil | |
| 125 | ||
| 126 | local newMotor = function(part0, part1, c0, c1) | |
| 127 | local w = Create('Motor'){
| |
| 128 | Parent = part0, | |
| 129 | Part0 = part0, | |
| 130 | Part1 = part1, | |
| 131 | C0 = c0, | |
| 132 | C1 = c1, | |
| 133 | } | |
| 134 | return w | |
| 135 | end | |
| 136 | ||
| 137 | function clerp(a, b, t) | |
| 138 | return a:lerp(b, t) | |
| 139 | end | |
| 140 | ||
| 141 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 142 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 143 | ||
| 144 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 145 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 146 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 147 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 148 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 149 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 150 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 151 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 152 | ||
| 153 | ||
| 154 | local rarmc1 = RW.C1 | |
| 155 | local larmc1 = LW.C1 | |
| 156 | local rlegc1 = RH.C1 | |
| 157 | local llegc1 = LH.C1 | |
| 158 | ||
| 159 | local resetc1 = false | |
| 160 | ||
| 161 | function PlayAnimationFromTable(table, speed, bool) | |
| 162 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 163 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 164 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 165 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 166 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 167 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 168 | if bool == true then | |
| 169 | if resetc1 == false then | |
| 170 | resetc1 = true | |
| 171 | RootJoint.C1 = RootJoint.C1 | |
| 172 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 173 | RW.C1 = rarmc1 | |
| 174 | LW.C1 = larmc1 | |
| 175 | RH.C1 = rlegc1 | |
| 176 | LH.C1 = llegc1 | |
| 177 | end | |
| 178 | end | |
| 179 | end | |
| 180 | ||
| 181 | ||
| 182 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 183 | ArtificialHB.Name = "Heartbeat" | |
| 184 | script:WaitForChild("Heartbeat")
| |
| 185 | frame = 0.03333333333333 | |
| 186 | tf = 0 | |
| 187 | allowframeloss = false | |
| 188 | tossremainder = false | |
| 189 | lastframe = tick() | |
| 190 | script.Heartbeat:Fire() | |
| 191 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 192 | tf = tf + s | |
| 193 | if tf >= frame then | |
| 194 | if allowframeloss then | |
| 195 | script.Heartbeat:Fire() | |
| 196 | lastframe = tick() | |
| 197 | else | |
| 198 | for i = 1, math.floor(tf / frame) do | |
| 199 | script.Heartbeat:Fire() | |
| 200 | end | |
| 201 | lastframe = tick() | |
| 202 | end | |
| 203 | if tossremainder then | |
| 204 | tf = 0 | |
| 205 | else | |
| 206 | tf = tf - frame * math.floor(tf / frame) | |
| 207 | end | |
| 208 | end | |
| 209 | end) | |
| 210 | function swait(num) | |
| 211 | if num == 0 or num == nil then | |
| 212 | ArtificialHB.Event:wait() | |
| 213 | else | |
| 214 | for i = 0, num do | |
| 215 | ArtificialHB.Event:wait() | |
| 216 | end | |
| 217 | end | |
| 218 | end | |
| 219 | ||
| 220 | function RemoveOutlines(part) | |
| 221 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 222 | end | |
| 223 | ||
| 224 | ||
| 225 | CFuncs = {
| |
| 226 | ["Part"] = {
| |
| 227 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 228 | local Part = Create("Part"){
| |
| 229 | Parent = Parent, | |
| 230 | Reflectance = Reflectance, | |
| 231 | Transparency = Transparency, | |
| 232 | CanCollide = false, | |
| 233 | Locked = true, | |
| 234 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 235 | Name = Name, | |
| 236 | Size = Size, | |
| 237 | Material = Material, | |
| 238 | } | |
| 239 | RemoveOutlines(Part) | |
| 240 | return Part | |
| 241 | end; | |
| 242 | }; | |
| 243 | ||
| 244 | ["Mesh"] = {
| |
| 245 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 246 | local Msh = Create(Mesh){
| |
| 247 | Parent = Part, | |
| 248 | Offset = OffSet, | |
| 249 | Scale = Scale, | |
| 250 | } | |
| 251 | if Mesh == "SpecialMesh" then | |
| 252 | Msh.MeshType = MeshType | |
| 253 | Msh.MeshId = MeshId | |
| 254 | end | |
| 255 | return Msh | |
| 256 | end; | |
| 257 | }; | |
| 258 | ||
| 259 | ["Mesh"] = {
| |
| 260 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 261 | local Msh = Create(Mesh){
| |
| 262 | Parent = Part, | |
| 263 | Offset = OffSet, | |
| 264 | Scale = Scale, | |
| 265 | } | |
| 266 | if Mesh == "SpecialMesh" then | |
| 267 | Msh.MeshType = MeshType | |
| 268 | Msh.MeshId = MeshId | |
| 269 | end | |
| 270 | return Msh | |
| 271 | end; | |
| 272 | }; | |
| 273 | ||
| 274 | ["Weld"] = {
| |
| 275 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 276 | local Weld = Create("Weld"){
| |
| 277 | Parent = Parent, | |
| 278 | Part0 = Part0, | |
| 279 | Part1 = Part1, | |
| 280 | C0 = C0, | |
| 281 | C1 = C1, | |
| 282 | } | |
| 283 | return Weld | |
| 284 | end; | |
| 285 | }; | |
| 286 | ||
| 287 | ["ParticleEmitter"] = {
| |
| 288 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 289 | local fp = Create("ParticleEmitter"){
| |
| 290 | Parent = Parent, | |
| 291 | Color = ColorSequence.new(Color1, Color2), | |
| 292 | LightEmission = LightEmission, | |
| 293 | Size = Size, | |
| 294 | Texture = Texture, | |
| 295 | Transparency = Transparency, | |
| 296 | ZOffset = ZOffset, | |
| 297 | Acceleration = Accel, | |
| 298 | Drag = Drag, | |
| 299 | LockedToPart = LockedToPart, | |
| 300 | VelocityInheritance = VelocityInheritance, | |
| 301 | EmissionDirection = EmissionDirection, | |
| 302 | Enabled = Enabled, | |
| 303 | Lifetime = LifeTime, | |
| 304 | Rate = Rate, | |
| 305 | Rotation = Rotation, | |
| 306 | RotSpeed = RotSpeed, | |
| 307 | Speed = Speed, | |
| 308 | VelocitySpread = VelocitySpread, | |
| 309 | } | |
| 310 | return fp | |
| 311 | end; | |
| 312 | }; | |
| 313 | ||
| 314 | CreateTemplate = {
| |
| 315 | ||
| 316 | }; | |
| 317 | } | |
| 318 | ||
| 319 | ||
| 320 | function so(id,par,pit,vol) | |
| 321 | local sou = Instance.new("Sound", par or workspace)
| |
| 322 | if par == chara then | |
| 323 | sou.Parent = chara.Torso | |
| 324 | end | |
| 325 | sou.Volume = vol | |
| 326 | sou.Pitch = pit or 1 | |
| 327 | sou.SoundId = "rbxassetid://" .. id | |
| 328 | sou.PlayOnRemove = true | |
| 329 | sou:Destroy() | |
| 330 | end | |
| 331 | ||
| 332 | New = function(Object, Parent, Name, Data) | |
| 333 | local Object = Instance.new(Object) | |
| 334 | for Index, Value in pairs(Data or {}) do
| |
| 335 | Object[Index] = Value | |
| 336 | end | |
| 337 | Object.Parent = Parent | |
| 338 | Object.Name = Name | |
| 339 | return Object | |
| 340 | end | |
| 341 | ||
| 342 | function createrainbow(part,size,trans,life,face,speed,accel,velsp,lock,name) | |
| 343 | local fira = Instance.new("ParticleEmitter",part)
| |
| 344 | fira.Name = name | |
| 345 | fira.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 346 | fira.Size = size | |
| 347 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
| 348 | fira.Transparency = trans | |
| 349 | fira.Lifetime = life | |
| 350 | fira.EmissionDirection = face | |
| 351 | fira.Rate = 10000 | |
| 352 | fira.RotSpeed = NumberRange.new(100) | |
| 353 | fira.Rotation = NumberRange.new(0,360) | |
| 354 | fira.Speed = speed | |
| 355 | fira.VelocitySpread = velsp | |
| 356 | fira.Acceleration = accel | |
| 357 | fira.LockedToPart = lock | |
| 358 | return fira | |
| 359 | end | |
| 360 | ||
| 361 | Wings = New("Model",chara,"Wings",{})
| |
| 362 | 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),})
| |
| 363 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = Torso,})
| |
| 364 | 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),})
| |
| 365 | createrainbow(Wing1Part,NumberSequence.new(.5,1),NumberSequence.new(0),NumberRange.new(1),"Back",NumberRange.new(5),Vector3.new(0,10,0),0,true,"Firea") | |
| 366 | 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),})
| |
| 367 | 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),})
| |
| 368 | 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") | |
| 369 | 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),})
| |
| 370 | 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),})
| |
| 371 | 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") | |
| 372 | 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),})
| |
| 373 | 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),})
| |
| 374 | 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") | |
| 375 | 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),})
| |
| 376 | ||
| 377 | Halo = New("Model",chara,"Halo",{})
| |
| 378 | 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,})
| |
| 379 | 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),})
| |
| 380 | 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),})
| |
| 381 | 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),})
| |
| 382 | 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),})
| |
| 383 | 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),})
| |
| 384 | 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),})
| |
| 385 | 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),})
| |
| 386 | 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),})
| |
| 387 | 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),})
| |
| 388 | 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),})
| |
| 389 | 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),})
| |
| 390 | 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),})
| |
| 391 | 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),})
| |
| 392 | 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),})
| |
| 393 | 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),})
| |
| 394 | 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),})
| |
| 395 | 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),})
| |
| 396 | 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),})
| |
| 397 | 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),})
| |
| 398 | 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),})
| |
| 399 | 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),})
| |
| 400 | 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),})
| |
| 401 | 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),})
| |
| 402 | 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),})
| |
| 403 | 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),})
| |
| 404 | 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),})
| |
| 405 | 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),})
| |
| 406 | 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),})
| |
| 407 | 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),})
| |
| 408 | 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),})
| |
| 409 | 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),})
| |
| 410 | 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,})
| |
| 411 | 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,})
| |
| 412 | 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),})
| |
| 413 | for i,v in pairs(Halo:children()) do | |
| 414 | if v:IsA("BasePart") then
| |
| 415 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 416 | end | |
| 417 | end | |
| 418 | coroutine.wrap(function() | |
| 419 | while true do | |
| 420 | swait() | |
| 421 | HaWeld.C0 = HaWeld.C0 * CFrame.Angles(0,math.rad(1),0) | |
| 422 | end | |
| 423 | end)() | |
| 424 | ||
| 425 | ||
| 426 | ||
| 427 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
| 428 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
| |
| 429 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
| |
| 430 | 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})
| |
| 431 | return TEff | |
| 432 | end | |
| 433 | ||
| 434 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
| 435 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
| 436 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
| 437 | RATR = CreateTrailObj(RightArm,"White","White",0,0) | |
| 438 | ||
| 439 | function rayCast(Position, Direction, Range, Ignore) | |
| 440 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 441 | end | |
| 442 | ||
| 443 | function killmortal(dude,faws) | |
| 444 | local hah = dude:FindFirstChildOfClass("Humanoid")
| |
| 445 | if hah and dude:FindFirstChild("Debawns")==nil and dude.Name ~= "Salvo_Starly" and dude.Name ~= "NoobyGames12" and dude.Name ~= "CKbackup" and dude.Name ~= "Nebula_Zorua" then
| |
| 446 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
| |
| 447 | if torsy then | |
| 448 | local val = Instance.new("BoolValue",dude)
| |
| 449 | val.Name = "Debawns" | |
| 450 | game:service'Debris':AddItem(val,2) | |
| 451 | torsy.Velocity = RootPart.CFrame.lookVector*faws | |
| 452 | coroutine.wrap(function() | |
| 453 | for nn=1,math.random(4,6) do | |
| 454 | local bl = Instance.new("Part",dude)
| |
| 455 | bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
| 456 | local randd = math.random(6,20)/10 | |
| 457 | bl.Size = Vector3.new(randd,.2,randd) | |
| 458 | bl.BrickColor = BrickColor.new("Maroon")
| |
| 459 | bl.Material = "Granite" | |
| 460 | local clm = Instance.new("CylinderMesh",bl)
| |
| 461 | coroutine.wrap(function() | |
| 462 | swait(120) | |
| 463 | for i=0,1,.01 do | |
| 464 | clm.Scale = Vector3.new(1-i,1-i,1-i) | |
| 465 | swait() | |
| 466 | end | |
| 467 | bl:Destroy() | |
| 468 | end)() | |
| 469 | end | |
| 470 | end)() | |
| 471 | end | |
| 472 | hah:TakeDamage(math.random(30,35)) | |
| 473 | end | |
| 474 | end | |
| 475 | ||
| 476 | function mdmg(Part, Magnitude, HitType) | |
| 477 | for _, c in pairs(workspace:GetDescendants()) do | |
| 478 | local hum = c:FindFirstChildOfClass("Humanoid")
| |
| 479 | if hum ~= nil then | |
| 480 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso")
| |
| 481 | if head ~= nil then | |
| 482 | local targ = head.Position - Part.Position | |
| 483 | local mag = targ.magnitude | |
| 484 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then
| |
| 485 | if c.Name ~= chara then | |
| 486 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
| 487 | local val = Instance.new("BoolValue",c)
| |
| 488 | val.Name = "MagDmgd" | |
| 489 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 490 | if HitType == "Blunt" then | |
| 491 | so(386946017,head,.95,3) | |
| 492 | elseif HitType == "Scream" then | |
| 493 | coroutine.wrap(function() | |
| 494 | local haed = c:FindFirstChild("Head")
| |
| 495 | swait(3) | |
| 496 | so(206082327,haed,1,5) | |
| 497 | local passa = haed.Position | |
| 498 | haed:Destroy() | |
| 499 | createSplatter(passa) | |
| 500 | for i=1,15 do | |
| 501 | local bl = Instance.new("Part",head)
| |
| 502 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
| 503 | local rand = math.random(2,7)/10 | |
| 504 | bl.Size = Vector3.new(rand,rand,rand) | |
| 505 | bl.BrickColor = BrickColor.new("Maroon")
| |
| 506 | bl.Material = "Granite" | |
| 507 | end | |
| 508 | end)() | |
| 509 | elseif HitType == "Arm" then | |
| 510 | grabhand = false | |
| 511 | so(386946017,head,.95,3) | |
| 512 | armo:BreakJoints() | |
| 513 | local ar = armo | |
| 514 | coroutine.wrap(function() | |
| 515 | ar.Velocity = RootPart.CFrame.lookVector*-5 + RootPart.CFrame.rightVector*-5 + Vector3.new(0,60,0) | |
| 516 | swait(2) | |
| 517 | ar.CanCollide = true | |
| 518 | swait(60) | |
| 519 | for i=0,1,.05 do | |
| 520 | swait() | |
| 521 | ar.Transparency = i | |
| 522 | end | |
| 523 | ar.Parent:Destroy() | |
| 524 | end)() | |
| 525 | armo = nil | |
| 526 | elseif HitType == "Shot" then | |
| 527 | so(144884872,head,.9,3) | |
| 528 | game:service'Debris':AddItem(val,.05) | |
| 529 | end | |
| 530 | killmortal(c,10) | |
| 531 | else | |
| 532 | end | |
| 533 | end | |
| 534 | end | |
| 535 | end | |
| 536 | end | |
| 537 | end | |
| 538 | end | |
| 539 | ||
| 540 | --[[FindNearestTorso = function(pos) | |
| 541 | local list = (game.workspace:GetDescendants()) | |
| 542 | local torso = nil | |
| 543 | local dist = 1000 | |
| 544 | local temp, human, temp2 = nil, nil, nil | |
| 545 | for x = 1, #list do | |
| 546 | temp2 = list[x] | |
| 547 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
| 548 | temp = temp2:findFirstChild("Torso")
| |
| 549 | human = temp2:FindFirstChildOfClass("Humanoid")
| |
| 550 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 551 | local dohit = true | |
| 552 | if dohit == true then | |
| 553 | torso = temp | |
| 554 | dist = (temp.Position - pos).magnitude | |
| 555 | end | |
| 556 | end | |
| 557 | end | |
| 558 | end | |
| 559 | return torso, dist | |
| 560 | end]] | |
| 561 | ||
| 562 | ||
| 563 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 564 | if SinglePlayer then | |
| 565 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
| 566 | end | |
| 567 | local List = {}
| |
| 568 | for i, v in pairs(workspace:GetDescendants()) do | |
| 569 | if v:IsA("Model") then
| |
| 570 | if v:findFirstChild("Head") then
| |
| 571 | if v ~= chara then | |
| 572 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 573 | table.insert(List, v) | |
| 574 | end | |
| 575 | end | |
| 576 | end | |
| 577 | end | |
| 578 | end | |
| 579 | return List | |
| 580 | end | |
| 581 | ||
| 582 | ||
| 583 | --Chat Function-- | |
| 584 | function chatfunc(text) | |
| 585 | coroutine.wrap(function() | |
| 586 | if chara:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 587 | chara:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 588 | end | |
| 589 | local naeeym2 = Instance.new("BillboardGui",chara)
| |
| 590 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 591 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 592 | naeeym2.Adornee = chara.Head | |
| 593 | naeeym2.Name = "TalkingBillBoard" | |
| 594 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 595 | tecks2.BackgroundTransparency = 1 | |
| 596 | tecks2.BorderSizePixel = 0 | |
| 597 | tecks2.Text = "" | |
| 598 | tecks2.Font = "Fantasy" | |
| 599 | tecks2.FontSize = "Size24" | |
| 600 | tecks2.TextStrokeTransparency = 0 | |
| 601 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
| 602 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 603 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 604 | local shk = coroutine.wrap(function() | |
| 605 | while tecks2 ~= nil do | |
| 606 | swait(.05) | |
| 607 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
| 608 | end | |
| 609 | end) | |
| 610 | shk() | |
| 611 | for i = 1,string.len(text),1 do | |
| 612 | tecks2.Text = string.sub(text,1,i) | |
| 613 | swait(0.01) | |
| 614 | end | |
| 615 | swait(30) | |
| 616 | for i = 1, 5 do | |
| 617 | swait() | |
| 618 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 619 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 620 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 621 | end | |
| 622 | naeeym2:Destroy() | |
| 623 | end)() | |
| 624 | end | |
| 625 | ||
| 626 | ||
| 627 | ||
| 628 | ||
| 629 | EffectModel = Create("Model"){
| |
| 630 | Parent = chara, | |
| 631 | Name = "Effects", | |
| 632 | } | |
| 633 | ||
| 634 | ||
| 635 | Effects = {
| |
| 636 | Block = {
| |
| 637 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 638 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 639 | prt.Anchored = true | |
| 640 | prt.CFrame = cframe | |
| 641 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 642 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 643 | if Type == 1 or Type == nil then | |
| 644 | table.insert(Effects, {
| |
| 645 | prt, | |
| 646 | "Block1", | |
| 647 | delay, | |
| 648 | x3, | |
| 649 | y3, | |
| 650 | z3, | |
| 651 | msh | |
| 652 | }) | |
| 653 | elseif Type == 2 then | |
| 654 | table.insert(Effects, {
| |
| 655 | prt, | |
| 656 | "Block2", | |
| 657 | delay, | |
| 658 | x3, | |
| 659 | y3, | |
| 660 | z3, | |
| 661 | msh | |
| 662 | }) | |
| 663 | end | |
| 664 | end; | |
| 665 | }; | |
| 666 | ||
| 667 | Cylinder = {
| |
| 668 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 669 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 670 | prt.Anchored = true | |
| 671 | prt.CFrame = cframe | |
| 672 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 673 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 674 | table.insert(Effects, {
| |
| 675 | prt, | |
| 676 | "Cylinder", | |
| 677 | delay, | |
| 678 | x3, | |
| 679 | y3, | |
| 680 | z3, | |
| 681 | msh | |
| 682 | }) | |
| 683 | end; | |
| 684 | }; | |
| 685 | Head = {
| |
| 686 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 687 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 688 | prt.Anchored = true | |
| 689 | prt.CFrame = cframe | |
| 690 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 691 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 692 | table.insert(Effects, {
| |
| 693 | prt, | |
| 694 | "Cylinder", | |
| 695 | delay, | |
| 696 | x3, | |
| 697 | y3, | |
| 698 | z3, | |
| 699 | msh | |
| 700 | }) | |
| 701 | end; | |
| 702 | }; | |
| 703 | ||
| 704 | Sphere = {
| |
| 705 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 706 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 707 | prt.Anchored = true | |
| 708 | prt.CFrame = cframe | |
| 709 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 710 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 711 | table.insert(Effects, {
| |
| 712 | prt, | |
| 713 | "Cylinder", | |
| 714 | delay, | |
| 715 | x3, | |
| 716 | y3, | |
| 717 | z3, | |
| 718 | msh | |
| 719 | }) | |
| 720 | end; | |
| 721 | }; | |
| 722 | ||
| 723 | Elect = {
| |
| 724 | Create = function(cff, x, y, z) | |
| 725 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 726 | prt.Anchored = true | |
| 727 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 728 | prt.CFrame = CFrame.new(prt.Position) | |
| 729 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 730 | local xval = math.random() / 2 | |
| 731 | local yval = math.random() / 2 | |
| 732 | local zval = math.random() / 2 | |
| 733 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 734 | table.insert(Effects, {
| |
| 735 | prt, | |
| 736 | "Elec", | |
| 737 | 0.1, | |
| 738 | x, | |
| 739 | y, | |
| 740 | z, | |
| 741 | xval, | |
| 742 | yval, | |
| 743 | zval | |
| 744 | }) | |
| 745 | end; | |
| 746 | ||
| 747 | }; | |
| 748 | ||
| 749 | Ring = {
| |
| 750 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 751 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 752 | prt.Anchored = true | |
| 753 | prt.CFrame = cframe | |
| 754 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", 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 | ||
| 769 | Wave = {
| |
| 770 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 771 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 772 | prt.Anchored = true | |
| 773 | prt.CFrame = cframe | |
| 774 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 775 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 776 | table.insert(Effects, {
| |
| 777 | prt, | |
| 778 | "Cylinder", | |
| 779 | delay, | |
| 780 | x3, | |
| 781 | y3, | |
| 782 | z3, | |
| 783 | msh | |
| 784 | }) | |
| 785 | end; | |
| 786 | }; | |
| 787 | ||
| 788 | Break = {
| |
| 789 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 790 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 791 | prt.Anchored = true | |
| 792 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 793 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 794 | local num = math.random(10, 50) / 1000 | |
| 795 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 796 | table.insert(Effects, {
| |
| 797 | prt, | |
| 798 | "Shatter", | |
| 799 | num, | |
| 800 | prt.CFrame, | |
| 801 | math.random() - math.random(), | |
| 802 | 0, | |
| 803 | math.random(50, 100) / 100 | |
| 804 | }) | |
| 805 | end; | |
| 806 | }; | |
| 807 | ||
| 808 | Fire = {
| |
| 809 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 810 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 811 | prt.Anchored = true | |
| 812 | prt.CFrame = cframe | |
| 813 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 814 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 815 | table.insert(Effects, {
| |
| 816 | prt, | |
| 817 | "Fire", | |
| 818 | delay, | |
| 819 | 1, | |
| 820 | 1, | |
| 821 | 1, | |
| 822 | msh | |
| 823 | }) | |
| 824 | end; | |
| 825 | }; | |
| 826 | ||
| 827 | FireWave = {
| |
| 828 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 829 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 830 | prt.Anchored = true | |
| 831 | prt.CFrame = cframe | |
| 832 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 833 | local d = Create("Decal"){
| |
| 834 | Parent = prt, | |
| 835 | Texture = "rbxassetid://26356434", | |
| 836 | Face = "Top", | |
| 837 | } | |
| 838 | local d = Create("Decal"){
| |
| 839 | Parent = prt, | |
| 840 | Texture = "rbxassetid://26356434", | |
| 841 | Face = "Bottom", | |
| 842 | } | |
| 843 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 844 | table.insert(Effects, {
| |
| 845 | prt, | |
| 846 | "FireWave", | |
| 847 | 1, | |
| 848 | 30, | |
| 849 | math.random(400, 600) / 100, | |
| 850 | msh | |
| 851 | }) | |
| 852 | end; | |
| 853 | }; | |
| 854 | ||
| 855 | Lightning = {
| |
| 856 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 857 | local magz = (p0 - p1).magnitude | |
| 858 | local curpos = p0 | |
| 859 | local trz = {
| |
| 860 | -ofs, | |
| 861 | ofs | |
| 862 | } | |
| 863 | for i = 1, tym do | |
| 864 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 865 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 866 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 867 | li.Material = "Neon" | |
| 868 | if tym == i then | |
| 869 | local magz2 = (curpos - p1).magnitude | |
| 870 | li.Size = Vector3.new(th, th, magz2) | |
| 871 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 872 | table.insert(Effects, {
| |
| 873 | li, | |
| 874 | "Disappear", | |
| 875 | last | |
| 876 | }) | |
| 877 | else | |
| 878 | do | |
| 879 | do | |
| 880 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 881 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 882 | game.Debris:AddItem(li, 10) | |
| 883 | table.insert(Effects, {
| |
| 884 | li, | |
| 885 | "Disappear", | |
| 886 | last | |
| 887 | }) | |
| 888 | end | |
| 889 | end | |
| 890 | end | |
| 891 | end | |
| 892 | end | |
| 893 | }; | |
| 894 | ||
| 895 | EffectTemplate = {
| |
| 896 | ||
| 897 | }; | |
| 898 | } | |
| 899 | ||
| 900 | ||
| 901 | local blpemit = Instance.new("ParticleEmitter")
| |
| 902 | blpemit.Color = ColorSequence.new(Color3.new(.5,0,0)) | |
| 903 | blpemit.Texture = "rbxassetid://233069772" | |
| 904 | blpemit.Transparency = NumberSequence.new(0,1) | |
| 905 | blpemit.Lifetime = NumberRange.new(1,3) | |
| 906 | blpemit.Acceleration = Vector3.new(0,-10,0) | |
| 907 | blpemit.Enabled = true | |
| 908 | blpemit.EmissionDirection = "Front" | |
| 909 | blpemit.Speed = NumberRange.new(1,3) | |
| 910 | blpemit.Size = NumberSequence.new(.5) | |
| 911 | blpemit.Rate = 1000 | |
| 912 | blpemit.RotSpeed = NumberRange.new(50) | |
| 913 | blpemit.Rotation = NumberRange.new(0,360) | |
| 914 | ||
| 915 | function createSplatter(pos) | |
| 916 | local emit = Instance.new("Part",chara)
| |
| 917 | emit.Anchored = true | |
| 918 | emit.CanCollide = false | |
| 919 | emit.Size = Vector3.new() | |
| 920 | emit.Transparency = 1 | |
| 921 | emit.CFrame = CFrame.new(pos) | |
| 922 | local blp = blpemit:Clone() | |
| 923 | blp.Parent = emit | |
| 924 | blp.Enabled = false | |
| 925 | blp.EmissionDirection = "Top" | |
| 926 | blp.VelocitySpread = 60 | |
| 927 | blp.Size = NumberSequence.new(2,0) | |
| 928 | blp.Lifetime = NumberRange.new(3) | |
| 929 | blp.Speed = NumberRange.new(10) | |
| 930 | blp.Acceleration = Vector3.new(0,-10,0) | |
| 931 | blp:Emit(math.random(35,40)) | |
| 932 | game:service'Debris':AddItem(emit,4) | |
| 933 | end | |
| 934 | ||
| 935 | function thenatsuki() | |
| 936 | attack = true | |
| 937 | Humanoid.WalkSpeed = 2 | |
| 938 | local grab = nil | |
| 939 | local torsy = nil | |
| 940 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 941 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
| |
| 942 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 943 | grab = v | |
| 944 | end | |
| 945 | end | |
| 946 | if grab ~= nil and torsy ~= nil then | |
| 947 | Instance.new("BoolValue",grab).Name = "NATSUKID"
| |
| 948 | so(200632136, RootPart, .8, 1) | |
| 949 | for i = 0,2,0.1 do | |
| 950 | swait() | |
| 951 | PlayAnimationFromTable({
| |
| 952 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
| 953 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
| 954 | 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), | |
| 955 | 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), | |
| 956 | 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), | |
| 957 | 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), | |
| 958 | }, .3, false) | |
| 959 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 960 | torsy.Velocity = Vector3.new() | |
| 961 | end | |
| 962 | local wel = Instance.new("Weld",grab.Head)
| |
| 963 | wel.Part0 = torsy | |
| 964 | wel.Part1 = grab.Head | |
| 965 | wel.C0 = CFrame.new(0,1.5,0) | |
| 966 | local bledp = Instance.new("Part",grab)
| |
| 967 | bledp.Size = Vector3.new(0,0,0) | |
| 968 | bledp.Transparency = 1 | |
| 969 | bledp.CanCollide = false | |
| 970 | local blpe = blpemit:Clone() | |
| 971 | blpe.Parent = bledp | |
| 972 | blpe.EmissionDirection = "Top" | |
| 973 | blpe.VelocitySpread = 5 | |
| 974 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
| 975 | local bledw = Instance.new("Weld",bledp)
| |
| 976 | bledw.Part0 = grab.Head | |
| 977 | bledw.Part1 = bledp | |
| 978 | bledw.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(0,0,math.rad(45)) | |
| 979 | so(314390675,torsy,.7,5) | |
| 980 | for i = 0, 1, 0.25 do | |
| 981 | swait() | |
| 982 | PlayAnimationFromTable({
| |
| 983 | 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), | |
| 984 | 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), | |
| 985 | 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), | |
| 986 | 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), | |
| 987 | 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), | |
| 988 | 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), | |
| 989 | }, .3, false) | |
| 990 | wel.C0 = CFrame.new(.7*i,1.5,0) * CFrame.Angles(0,0,math.rad(-90*i)) | |
| 991 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
| 992 | torsy.Velocity = Vector3.new() | |
| 993 | end | |
| 994 | for i=1,30 do | |
| 995 | swait() | |
| 996 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
| 997 | torsy.Velocity = Vector3.new() | |
| 998 | end | |
| 999 | killmortal(grab,20) | |
| 1000 | end | |
| 1001 | attack = false | |
| 1002 | Humanoid.WalkSpeed = 8 | |
| 1003 | end | |
| 1004 | ||
| 1005 | xhold = false | |
| 1006 | function thesurou() | |
| 1007 | attack = true | |
| 1008 | Humanoid.WalkSpeed = 2 | |
| 1009 | local grab = nil | |
| 1010 | local torsy = nil | |
| 1011 | local hum = nil | |
| 1012 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1013 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
| |
| 1014 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1015 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1016 | grab = v | |
| 1017 | end | |
| 1018 | end | |
| 1019 | if grab ~= nil and torsy ~= nil then | |
| 1020 | so(200632136, RootPart, .8, 1) | |
| 1021 | for i = 0,1.5,0.1 do | |
| 1022 | swait() | |
| 1023 | PlayAnimationFromTable({
| |
| 1024 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1025 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1026 | 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), | |
| 1027 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1028 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1029 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1030 | }, .3, false) | |
| 1031 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1032 | torsy.Velocity = Vector3.new() | |
| 1033 | end | |
| 1034 | so(240429615, torsy, 1, 1) | |
| 1035 | for i = 0, 1.5, 0.1 do | |
| 1036 | swait() | |
| 1037 | PlayAnimationFromTable({
| |
| 1038 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1039 | 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), | |
| 1040 | 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), | |
| 1041 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1042 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1043 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1044 | }, .3, false) | |
| 1045 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1046 | torsy.Velocity = Vector3.new() | |
| 1047 | end | |
| 1048 | repeat | |
| 1049 | --for i = 0, 2, 0.1 do | |
| 1050 | swait() | |
| 1051 | PlayAnimationFromTable({
| |
| 1052 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1053 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1054 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
| 1055 | 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), | |
| 1056 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
| 1057 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
| 1058 | }, .3, false) | |
| 1059 | torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0) | |
| 1060 | hum.PlatformStand = true | |
| 1061 | torsy.Velocity = Vector3.new() | |
| 1062 | --end | |
| 1063 | until xhold == false | |
| 1064 | so(200632136, RootPart, .9, 1) | |
| 1065 | local pato = Instance.new("Part",torsy)
| |
| 1066 | pato.CFrame = torsy.CFrame | |
| 1067 | pato.Size = Vector3.new(4.1,6.1,1.1) | |
| 1068 | pato.Transparency = 1 | |
| 1069 | pato.CanCollide = false | |
| 1070 | pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 1071 | local werudo = Instance.new("Weld",pato)
| |
| 1072 | werudo.Part0 = pato | |
| 1073 | werudo.Part1 = torsy | |
| 1074 | torsy.Velocity = (Mouse.Hit.p-torsy.Position).unit*100+Vector3.new(0,30,0) | |
| 1075 | torsy.RotVelocity = Vector3.new(10,10,10) | |
| 1076 | coroutine.wrap(function() | |
| 1077 | while true do | |
| 1078 | swait() | |
| 1079 | hum.PlatformStand = true | |
| 1080 | end | |
| 1081 | end) | |
| 1082 | pato.Touched:connect(function(hit) | |
| 1083 | if hit:IsDescendantOf(chara)==false then | |
| 1084 | pato:Destroy() | |
| 1085 | killmortal(grab,5) | |
| 1086 | so(260430079,torsy,1,5) | |
| 1087 | createSplatter(torsy.Position) | |
| 1088 | mdmg(torsy,3,"Blunt") | |
| 1089 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(torsy.Position), 0, 0, 0, 1, .2, 1, 0.1)
| |
| 1090 | end | |
| 1091 | end) | |
| 1092 | end | |
| 1093 | for i = 0, 1, 0.1 do | |
| 1094 | swait() | |
| 1095 | PlayAnimationFromTable({
| |
| 1096 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1097 | 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), | |
| 1098 | 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), | |
| 1099 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1100 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1101 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1102 | }, .3, false) | |
| 1103 | end | |
| 1104 | attack = false | |
| 1105 | Humanoid.WalkSpeed = 8 | |
| 1106 | end | |
| 1107 | ||
| 1108 | function thehead() | |
| 1109 | attack = true | |
| 1110 | Humanoid.WalkSpeed = 2 | |
| 1111 | local grab = nil | |
| 1112 | local torsy = nil | |
| 1113 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1114 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
| |
| 1115 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1116 | grab = v | |
| 1117 | end | |
| 1118 | end | |
| 1119 | if grab ~= nil and torsy ~= nil then | |
| 1120 | so(200632136, RootPart, .8, 1) | |
| 1121 | for i = 0,2,0.1 do | |
| 1122 | swait() | |
| 1123 | PlayAnimationFromTable({
| |
| 1124 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
| 1125 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
| 1126 | 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), | |
| 1127 | 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), | |
| 1128 | 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), | |
| 1129 | 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), | |
| 1130 | }, .3, false) | |
| 1131 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1132 | torsy.Velocity = Vector3.new() | |
| 1133 | end | |
| 1134 | local armmod = Instance.new("Model",chara)
| |
| 1135 | armmod.Name = grab.Name | |
| 1136 | Instance.new("Humanoid",armmod).Health = 0
| |
| 1137 | for i, v in pairs(grab:GetChildren()) do | |
| 1138 | if v:IsA("Accoutrement") then
| |
| 1139 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
| |
| 1140 | v.Handle.AccessoryWeld.Part1 = nil | |
| 1141 | end | |
| 1142 | end | |
| 1143 | end | |
| 1144 | local armp = grab:FindFirstChild("Head")
| |
| 1145 | createSplatter(armp.Position) | |
| 1146 | killmortal(grab,5) | |
| 1147 | armp.Parent = armmod | |
| 1148 | for i, v in pairs(grab:GetChildren()) do | |
| 1149 | if v:IsA("Accoutrement") then
| |
| 1150 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then
| |
| 1151 | v.Handle.AccessoryWeld.Part1 = armp | |
| 1152 | v.Parent = armmod | |
| 1153 | end | |
| 1154 | end | |
| 1155 | end | |
| 1156 | so(206082327,armp,1,5) | |
| 1157 | local bledp = Instance.new("Part",grab)
| |
| 1158 | bledp.Size = Vector3.new(0,0,0) | |
| 1159 | bledp.Transparency = 1 | |
| 1160 | bledp.CanCollide = false | |
| 1161 | local blpe = blpemit:Clone() | |
| 1162 | blpe.Parent = bledp | |
| 1163 | blpe.EmissionDirection = "Top" | |
| 1164 | blpe.VelocitySpread = 20 | |
| 1165 | local wel = Instance.new("Weld",armp)
| |
| 1166 | wel.Part0 = RightArm | |
| 1167 | wel.Part1 = armp | |
| 1168 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-90),0,0) | |
| 1169 | local blape = bledp:Clone() | |
| 1170 | blape.Parent = armmod | |
| 1171 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1172 | local bledw = Instance.new("Weld",bledp)
| |
| 1173 | bledw.Part0 = torsy | |
| 1174 | bledw.Part1 = bledp | |
| 1175 | bledw.C0 = CFrame.new(0,1,0) | |
| 1176 | local bledw2 = Instance.new("Weld",blape)
| |
| 1177 | bledw2.Part0 = armp | |
| 1178 | bledw2.Part1 = blape | |
| 1179 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1180 | grabhead = true | |
| 1181 | heddo = armp | |
| 1182 | for i = 0, 1, 0.25 do | |
| 1183 | swait() | |
| 1184 | PlayAnimationFromTable({
| |
| 1185 | 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), | |
| 1186 | 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), | |
| 1187 | 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), | |
| 1188 | 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), | |
| 1189 | 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), | |
| 1190 | 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), | |
| 1191 | }, .3, false) | |
| 1192 | end | |
| 1193 | swait(30) | |
| 1194 | end | |
| 1195 | attack = false | |
| 1196 | Humanoid.WalkSpeed = 8 | |
| 1197 | end | |
| 1198 | ||
| 1199 | function headthrow() | |
| 1200 | attack = true | |
| 1201 | Humanoid.WalkSpeed = 2 | |
| 1202 | for i = 0, 2, 0.1 do | |
| 1203 | swait() | |
| 1204 | PlayAnimationFromTable({
| |
| 1205 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1206 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1207 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
| 1208 | 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), | |
| 1209 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
| 1210 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
| 1211 | }, .3, false) | |
| 1212 | end | |
| 1213 | so(200632136, RootPart, .8, 1) | |
| 1214 | local haea = heddo | |
| 1215 | haea.Weld:Destroy() | |
| 1216 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
| 1217 | haea.RotVelocity = Vector3.new(10,10,10) | |
| 1218 | haea.Touched:connect(function(hit) | |
| 1219 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then
| |
| 1220 | print("BOOBIES")
| |
| 1221 | Instance.new("BoolValue",haea).Name = "HITA"
| |
| 1222 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1)
| |
| 1223 | killmortal(hit.Parent,50) | |
| 1224 | so(386946017,haea,.95,5) | |
| 1225 | swait(120) | |
| 1226 | for i=0,1,.05 do | |
| 1227 | haea.Transparency = i | |
| 1228 | swait() | |
| 1229 | end | |
| 1230 | haea.Parent:Destroy() | |
| 1231 | end | |
| 1232 | end) | |
| 1233 | heddo = nil | |
| 1234 | grabhead = false | |
| 1235 | for i = 0, 1, 0.1 do | |
| 1236 | swait() | |
| 1237 | PlayAnimationFromTable({
| |
| 1238 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1239 | 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), | |
| 1240 | 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), | |
| 1241 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1242 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1243 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1244 | }, .3, false) | |
| 1245 | end | |
| 1246 | attack = false | |
| 1247 | Humanoid.WalkSpeed = 8 | |
| 1248 | end | |
| 1249 | ||
| 1250 | function therip() | |
| 1251 | attack = true | |
| 1252 | Humanoid.WalkSpeed = 2 | |
| 1253 | local grab = nil | |
| 1254 | local torsy = nil | |
| 1255 | local hum = nil | |
| 1256 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1257 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
| |
| 1258 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1259 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1260 | grab = v | |
| 1261 | end | |
| 1262 | end | |
| 1263 | if grab ~= nil and torsy ~= nil then | |
| 1264 | so(200632136, RootPart, .8, 1) | |
| 1265 | for i = 0,1.5,0.1 do | |
| 1266 | swait() | |
| 1267 | PlayAnimationFromTable({
| |
| 1268 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1269 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1270 | 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), | |
| 1271 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1272 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1273 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1274 | }, .3, false) | |
| 1275 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1276 | torsy.Velocity = Vector3.new() | |
| 1277 | end | |
| 1278 | so(240429615, torsy, 1, 1) | |
| 1279 | for i = 0, 1.5, 0.1 do | |
| 1280 | swait() | |
| 1281 | PlayAnimationFromTable({
| |
| 1282 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1283 | 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), | |
| 1284 | 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), | |
| 1285 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1286 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1287 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1288 | }, .3, false) | |
| 1289 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1290 | torsy.Velocity = Vector3.new() | |
| 1291 | end | |
| 1292 | for i = 0, 3, 0.1 do | |
| 1293 | swait() | |
| 1294 | PlayAnimationFromTable({
| |
| 1295 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1296 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 1297 | CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
| 1298 | CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
| 1299 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1300 | CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1301 | }, .3, false) | |
| 1302 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,math.rad(90)),.3) | |
| 1303 | hum.PlatformStand = true | |
| 1304 | torsy.Velocity = Vector3.new() | |
| 1305 | end | |
| 1306 | so(206082327,torsy,1,5) | |
| 1307 | createSplatter(torsy.Position) | |
| 1308 | if hum.RigType == Enum.HumanoidRigType.R6 then | |
| 1309 | local lleg = grab:FindFirstChild("Left Leg")
| |
| 1310 | local rleg = grab:FindFirstChild("Right Leg")
| |
| 1311 | local mad = Instance.new("Model",workspace)
| |
| 1312 | Instance.new("Humanoid",mad).Health = 0
| |
| 1313 | mad.Humanoid.MaxHealth = 0 | |
| 1314 | if grab:FindFirstChildOfClass("Pants") then grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad end
| |
| 1315 | killmortal(grab,0) | |
| 1316 | coroutine.wrap(function() | |
| 1317 | swait(4) | |
| 1318 | torsy.Velocity = RootPart.CFrame.rightVector*-30 | |
| 1319 | lleg.Parent = mad | |
| 1320 | rleg.Parent = mad | |
| 1321 | lleg.CanCollide = true | |
| 1322 | rleg.CanCollide = true | |
| 1323 | lleg:BreakJoints() | |
| 1324 | rleg:BreakJoints() | |
| 1325 | lleg.Velocity = RootPart.CFrame.rightVector*30 | |
| 1326 | rleg.Velocity = RootPart.CFrame.rightVector*30 | |
| 1327 | local bledp = Instance.new("Part",mad)
| |
| 1328 | bledp.Size = Vector3.new(0,0,0) | |
| 1329 | bledp.Transparency = 1 | |
| 1330 | bledp.CanCollide = false | |
| 1331 | local blpe = blpemit:Clone() | |
| 1332 | blpe.Parent = bledp | |
| 1333 | blpe.EmissionDirection = "Top" | |
| 1334 | blpe.VelocitySpread = 20 | |
| 1335 | local bledp2 = bledp:Clone() | |
| 1336 | bledp2.Parent = mad | |
| 1337 | local blape = bledp:Clone() | |
| 1338 | blape.Parent = mad | |
| 1339 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1340 | blape.Size = Vector3.new(1.5,0,0) | |
| 1341 | local bledw = Instance.new("Weld",bledp)
| |
| 1342 | bledw.Part0 = lleg | |
| 1343 | bledw.Part1 = bledp | |
| 1344 | bledw.C0 = CFrame.new(0,1,0) | |
| 1345 | local bledw2 = Instance.new("Weld",blape)
| |
| 1346 | bledw2.Part0 = torsy | |
| 1347 | bledw2.Part1 = blape | |
| 1348 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1349 | local bledw3 = Instance.new("Weld",bledp2)
| |
| 1350 | bledw.Part0 = rleg | |
| 1351 | bledw.Part1 = bledp2 | |
| 1352 | bledw.C0 = CFrame.new(0,1,0) | |
| 1353 | game:service'Debris':AddItem(mad,15) | |
| 1354 | end)() | |
| 1355 | elseif hum.RigType == Enum.HumanoidRigType.R15 then | |
| 1356 | local hip = grab:FindFirstChild("LowerTorso")
| |
| 1357 | local lleg = grab:FindFirstChild("LeftUpperLeg")
| |
| 1358 | local rleg = grab:FindFirstChild("RightUpperLeg")
| |
| 1359 | --for i,v in pairs(grab:children()) do | |
| 1360 | --if v:IsA("BasePart") then blpemit:Clone().Parent = v end
| |
| 1361 | --end | |
| 1362 | killmortal(grab,0) | |
| 1363 | coroutine.wrap(function() | |
| 1364 | swait(2) | |
| 1365 | hip:Destroy() | |
| 1366 | torsy.Velocity = RootPart.CFrame.rightVector*-60 | |
| 1367 | lleg.Velocity = RootPart.CFrame.rightVector*60 | |
| 1368 | rleg.Velocity = RootPart.CFrame.rightVector*60 | |
| 1369 | local bledp = Instance.new("Part",torsy.Parent)
| |
| 1370 | bledp.Size = Vector3.new(0,0,0) | |
| 1371 | bledp.Transparency = 1 | |
| 1372 | bledp.CanCollide = false | |
| 1373 | local blpe = blpemit:Clone() | |
| 1374 | blpe.Parent = bledp | |
| 1375 | blpe.EmissionDirection = "Top" | |
| 1376 | blpe.VelocitySpread = 20 | |
| 1377 | local bledp2 = bledp:Clone() | |
| 1378 | bledp2.Parent = torsy.Parent | |
| 1379 | local blape = bledp:Clone() | |
| 1380 | blape.Parent = torsy.Parent | |
| 1381 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
| 1382 | blape.Size = Vector3.new(1.5,0,0) | |
| 1383 | local bledw = Instance.new("Weld",bledp)
| |
| 1384 | bledw.Part0 = lleg | |
| 1385 | bledw.Part1 = bledp | |
| 1386 | bledw.C0 = CFrame.new(0,1,0) | |
| 1387 | local bledw2 = Instance.new("Weld",blape)
| |
| 1388 | bledw2.Part0 = torsy | |
| 1389 | bledw2.Part1 = blape | |
| 1390 | bledw2.C0 = CFrame.new(0,-.5,0) | |
| 1391 | local bledw3 = Instance.new("Weld",bledp2)
| |
| 1392 | bledw.Part0 = rleg | |
| 1393 | bledw.Part1 = bledp2 | |
| 1394 | bledw.C0 = CFrame.new(0,1,0) | |
| 1395 | end)() | |
| 1396 | --hip:BreakJoints() | |
| 1397 | --hip.Velocity = RootPart.CFrame.rightVector*-30 | |
| 1398 | end | |
| 1399 | for i = 0, 2, 0.1 do | |
| 1400 | swait() | |
| 1401 | PlayAnimationFromTable({
| |
| 1402 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1403 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 1404 | CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
| 1405 | CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
| 1406 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1407 | CFrame.new(-0.499995321, -1.99999988, -2.78651714e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1408 | }, .3, false) | |
| 1409 | end | |
| 1410 | end | |
| 1411 | attack = false | |
| 1412 | Humanoid.WalkSpeed = 8 | |
| 1413 | end | |
| 1414 | ||
| 1415 | function thecrush() | |
| 1416 | attack = true | |
| 1417 | Humanoid.WalkSpeed = 0 | |
| 1418 | local grab = nil | |
| 1419 | local torsy = nil | |
| 1420 | local heddo = nil | |
| 1421 | local hum = nil | |
| 1422 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1423 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
| |
| 1424 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1425 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1426 | heddo = v:FindFirstChild("Head")
| |
| 1427 | grab = v | |
| 1428 | end | |
| 1429 | end | |
| 1430 | if grab ~= nil and torsy ~= nil then | |
| 1431 | so(200632136, RootPart, .8, 1) | |
| 1432 | for i = 0,1.5,0.1 do | |
| 1433 | swait() | |
| 1434 | PlayAnimationFromTable({
| |
| 1435 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1436 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1437 | 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), | |
| 1438 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1439 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1440 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1441 | }, .3, false) | |
| 1442 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1443 | torsy.Velocity = Vector3.new() | |
| 1444 | end | |
| 1445 | so(240429615, torsy, 1, 1) | |
| 1446 | if torsy.Name == "UpperTorso" then | |
| 1447 | heddo.CFrame = RootPart.CFrame*CFrame.new(-2,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
| 1448 | else | |
| 1449 | heddo.CFrame = RootPart.CFrame*CFrame.new(-1,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
| 1450 | end | |
| 1451 | heddo.Anchored = true | |
| 1452 | for i = 0, 1.5, 0.1 do | |
| 1453 | swait() | |
| 1454 | PlayAnimationFromTable({
| |
| 1455 | 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), | |
| 1456 | 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), | |
| 1457 | 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), | |
| 1458 | 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), | |
| 1459 | 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), | |
| 1460 | 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), | |
| 1461 | }, .3, false) | |
| 1462 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
| 1463 | --heddo.Velocity = Vector3.new() | |
| 1464 | --hum.PlatformStand = true | |
| 1465 | end | |
| 1466 | for i = 0, 3, 0.1 do | |
| 1467 | swait() | |
| 1468 | PlayAnimationFromTable({
| |
| 1469 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1470 | CFrame.new(0, 1.46578956, -0.0939694047, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1471 | CFrame.new(1.52320564, 0.359808445, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1472 | CFrame.new(-1.52320766, 0.359808564, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1473 | CFrame.new(0.5, -1.19999838, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1474 | CFrame.new(-0.5, -1.9999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1475 | }, .3, false) | |
| 1476 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
| 1477 | --heddo.Velocity = Vector3.new() | |
| 1478 | --hum.PlatformStand = true | |
| 1479 | end | |
| 1480 | so(206082327,torsy,1,5) | |
| 1481 | killmortal(grab,0) | |
| 1482 | createSplatter(heddo.Position) | |
| 1483 | coroutine.wrap(function() | |
| 1484 | swait(3) | |
| 1485 | local passa = heddo.Position | |
| 1486 | heddo:Destroy() | |
| 1487 | for i=1,15 do | |
| 1488 | local bl = Instance.new("Part",torsy)
| |
| 1489 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
| 1490 | local rand = math.random(2,7)/10 | |
| 1491 | bl.Size = Vector3.new(rand,rand,rand) | |
| 1492 | bl.BrickColor = BrickColor.new("Maroon")
| |
| 1493 | bl.Material = "Granite" | |
| 1494 | end | |
| 1495 | end)() | |
| 1496 | for i = 0, 3, 0.1 do | |
| 1497 | swait() | |
| 1498 | PlayAnimationFromTable({
| |
| 1499 | CFrame.new(0, -0.115425974, -0.607762575, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1500 | CFrame.new(0, 1.46579063, -0.0939693749, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438), | |
| 1501 | 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), | |
| 1502 | 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), | |
| 1503 | CFrame.new(0.5, -1.6025629, -1.10711849, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1504 | CFrame.new(-0.5, -1.99999857, 3.87430191e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
| 1505 | }, .4, false) | |
| 1506 | end | |
| 1507 | end | |
| 1508 | attack = false | |
| 1509 | Humanoid.WalkSpeed = 8 | |
| 1510 | end | |
| 1511 | ||
| 1512 | function thehand() | |
| 1513 | attack = true | |
| 1514 | Humanoid.WalkSpeed = 2 | |
| 1515 | local grab = nil | |
| 1516 | local torsy = nil | |
| 1517 | local totear = nil | |
| 1518 | local hum = nil | |
| 1519 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
| 1520 | if v:FindFirstChild('Head') and (v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")) and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then
| |
| 1521 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso")
| |
| 1522 | grab = v | |
| 1523 | totear = v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")
| |
| 1524 | hum = v:FindFirstChildOfClass("Humanoid")
| |
| 1525 | end | |
| 1526 | end | |
| 1527 | if grab ~= nil and torsy ~= nil and totear ~= nil and hum ~= nil then | |
| 1528 | so(200632136, RootPart, .8, 1) | |
| 1529 | for i = 0,2,0.1 do | |
| 1530 | swait() | |
| 1531 | PlayAnimationFromTable({
| |
| 1532 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1533 | CFrame.new(0, 1.49999475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1534 | CFrame.new(1.0939827, 0.850001335, -0.515790701, 0, -0.342019916, 0.939692736, 1, 0, 0, 0, 0.939692736, 0.342019886), | |
| 1535 | CFrame.new(-0.900009155, 0.849995136, -0.549995422, 0, 0, -1, -1, 0, 0, 0, 1, 0), | |
| 1536 | CFrame.new(0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1537 | CFrame.new(-0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1538 | }, .3, false) | |
| 1539 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
| 1540 | torsy.Velocity = Vector3.new() | |
| 1541 | end | |
| 1542 | so(206082327,totear,1,5) | |
| 1543 | local bledp = Instance.new("Part",grab)
| |
| 1544 | bledp.Size = Vector3.new(0,0,0) | |
| 1545 | bledp.Transparency = 1 | |
| 1546 | bledp.CanCollide = false | |
| 1547 | local blpe = blpemit:Clone() | |
| 1548 | blpe.Parent = bledp | |
| 1549 | blpe.EmissionDirection = "Left" | |
| 1550 | local armmod = Instance.new("Model",chara)
| |
| 1551 | armmod.Name = "TornArmdd" | |
| 1552 | Instance.new("Humanoid",armmod).MaxHealth = 0
| |
| 1553 | for _, v in pairs(grab:GetChildren()) do | |
| 1554 | if v:IsA("Shirt") or v:IsA("CharacterMesh") then
| |
| 1555 | v:Clone().Parent = armmod | |
| 1556 | end | |
| 1557 | end | |
| 1558 | local armp = totear | |
| 1559 | createSplatter(totear.Position) | |
| 1560 | armp:BreakJoints() | |
| 1561 | armp.Parent = armmod | |
| 1562 | so("206082327",armp,1,1)
| |
| 1563 | local wel = Instance.new("Weld",armp)
| |
| 1564 | wel.Part0 = RightArm | |
| 1565 | wel.Part1 = armp | |
| 1566 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
| 1567 | local blape = bledp:Clone() | |
| 1568 | blape.Parent = armmod | |
| 1569 | local bledw = Instance.new("Weld",bledp)
| |
| 1570 | bledw.Part0 = torsy | |
| 1571 | bledw.Part1 = bledp | |
| 1572 | local bledw2 = Instance.new("Weld",blape)
| |
| 1573 | bledw2.Part0 = armp | |
| 1574 | bledw2.Part1 = blape | |
| 1575 | bledw.C0 = CFrame.new(1,.5,0) | |
| 1576 | bledw2.C0 = CFrame.new(-.5,.5,0) | |
| 1577 | blpe.EmissionDirection = "Right" | |
| 1578 | grabhand = true | |
| 1579 | armo = armp | |
| 1580 | coroutine.wrap(function() | |
| 1581 | local currhp = hum.Health | |
| 1582 | for i=1,currhp do | |
| 1583 | if hum.Health > 0 then | |
| 1584 | hum.Health = currhp - (i-1) | |
| 1585 | swait(3) | |
| 1586 | end | |
| 1587 | end | |
| 1588 | if hum.Health > 0 then | |
| 1589 | killmortal(grab,0) | |
| 1590 | end | |
| 1591 | end)() | |
| 1592 | for i = 0, 1, 0.25 do | |
| 1593 | swait() | |
| 1594 | PlayAnimationFromTable({
| |
| 1595 | CFrame.new(0, 0, 0, 0.866021276, 0, -0.499997795, 0, 1, 0, 0.499997914, 0, 0.866021156), | |
| 1596 | CFrame.new(0, 1.49999189, 0, 0.866021276, 0, 0.499997914, 0, 1, 0, -0.499997795, 0, 0.866021156), | |
| 1597 | 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), | |
| 1598 | CFrame.new(-1.38039482, 0.919607162, -0.300003946, 0, 0.500000179, -0.866022646, -1, 0, 0, 0, 0.866022587, 0.500000119), | |
| 1599 | CFrame.new(0.500005305, -1.99999964, -7.61445699e-06, 0.99999541, 0, 2.98023224e-08, 0, 1, 0, 2.98023224e-08, 0, 0.999995232), | |
| 1600 | CFrame.new(-0.499997407, -1.99999964, -5.43892384e-06, 0.766040862, 0, 0.642784715, 0, 1, 0, -0.642784536, 0, 0.766040802), | |
| 1601 | }, .3, false) | |
| 1602 | end | |
| 1603 | swait(30) | |
| 1604 | end | |
| 1605 | attack = false | |
| 1606 | Humanoid.WalkSpeed = 8 | |
| 1607 | end | |
| 1608 | ||
| 1609 | function armthrow() | |
| 1610 | attack = true | |
| 1611 | Humanoid.WalkSpeed = 2 | |
| 1612 | for i = 0, 2, 0.1 do | |
| 1613 | swait() | |
| 1614 | PlayAnimationFromTable({
| |
| 1615 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1616 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1617 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
| 1618 | 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), | |
| 1619 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
| 1620 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
| 1621 | }, .3, false) | |
| 1622 | end | |
| 1623 | so(200632136, RootPart, .8, 1) | |
| 1624 | local haea = armo | |
| 1625 | haea.Weld:Destroy() | |
| 1626 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
| 1627 | haea.RotVelocity = Vector3.new(10,10,10) | |
| 1628 | haea.Touched:connect(function(hit) | |
| 1629 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then
| |
| 1630 | print("BOOBIES")
| |
| 1631 | Instance.new("BoolValue",haea).Name = "HITA"
| |
| 1632 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1)
| |
| 1633 | killmortal(hit.Parent,50) | |
| 1634 | so(386946017,haea,.95,5) | |
| 1635 | swait(120) | |
| 1636 | for i=0,1,.05 do | |
| 1637 | haea.Transparency = i | |
| 1638 | swait() | |
| 1639 | end | |
| 1640 | haea.Parent:Destroy() | |
| 1641 | end | |
| 1642 | end) | |
| 1643 | armo = nil | |
| 1644 | grabhand = false | |
| 1645 | for i = 0, 1, 0.1 do | |
| 1646 | swait() | |
| 1647 | PlayAnimationFromTable({
| |
| 1648 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1649 | 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), | |
| 1650 | 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), | |
| 1651 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1652 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1653 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1654 | }, .3, false) | |
| 1655 | end | |
| 1656 | attack = false | |
| 1657 | Humanoid.WalkSpeed = 8 | |
| 1658 | end | |
| 1659 | ||
| 1660 | function smek() | |
| 1661 | attack = true | |
| 1662 | for i=0,1,.2 do | |
| 1663 | swait() | |
| 1664 | PlayAnimationFromTable({
| |
| 1665 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
| 1666 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
| 1667 | 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), | |
| 1668 | 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), | |
| 1669 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
| 1670 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
| 1671 | }, .3, false) | |
| 1672 | end | |
| 1673 | Humanoid.WalkSpeed = 2 | |
| 1674 | so(536642316,armo,1,1) | |
| 1675 | for i=0,1,.1 do | |
| 1676 | swait() | |
| 1677 | PlayAnimationFromTable({
| |
| 1678 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 1679 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 1680 | 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), | |
| 1681 | 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), | |
| 1682 | 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), | |
| 1683 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
| 1684 | }, .3, false) | |
| 1685 | if armo ~= nil then | |
| 1686 | mdmg(armo,3,"Arm") | |
| 1687 | end | |
| 1688 | end | |
| 1689 | swait(5) | |
| 1690 | Humanoid.WalkSpeed = 8 | |
| 1691 | attack = false | |
| 1692 | end | |
| 1693 | ||
| 1694 | function dash() | |
| 1695 | attack = true | |
| 1696 | so("235097614",Torso,3,1)
| |
| 1697 | so("75356820",Torso,2,1)
| |
| 1698 | Effects.Ring.Create(BrickColor.new("Persimmon"),RootPart.CFrame, 1, 1, 0, 1, 1, .2, 0.05)
| |
| 1699 | PlayAnimationFromTable({
| |
| 1700 | 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), | |
| 1701 | 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), | |
| 1702 | 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))), | |
| 1703 | 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), | |
| 1704 | 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), | |
| 1705 | 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) | |
| 1706 | },1,false) | |
| 1707 | for i = 1, 5 do | |
| 1708 | for _, v in pairs(chara:children()) do | |
| 1709 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
| |
| 1710 | do | |
| 1711 | local p = v:clone() | |
| 1712 | p.Name = "trail" | |
| 1713 | p.Parent = EffectModel | |
| 1714 | p.Transparency = 0.5 | |
| 1715 | p.Anchored = true | |
| 1716 | p.BrickColor = BrickColor.new("Really red")
| |
| 1717 | p.Material = "Neon" | |
| 1718 | p:BreakJoints() | |
| 1719 | p.CanCollide = false | |
| 1720 | if v == Head then | |
| 1721 | for a, b in pairs(p:children()) do | |
| 1722 | if b:IsA("Sound") then
| |
| 1723 | b:Destroy() | |
| 1724 | end | |
| 1725 | end | |
| 1726 | end | |
| 1727 | coroutine.resume(coroutine.create(function() | |
| 1728 | for i = 1, 50 do | |
| 1729 | swait() | |
| 1730 | p.Transparency = i / 50 | |
| 1731 | end | |
| 1732 | p:Destroy() | |
| 1733 | end)) | |
| 1734 | end | |
| 1735 | end | |
| 1736 | if v.className == "Accessory" then | |
| 1737 | end | |
| 1738 | end | |
| 1739 | RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*10 | |
| 1740 | swait() | |
| 1741 | end | |
| 1742 | attack = false | |
| 1743 | end | |
| 1744 | ||
| 1745 | function scream() | |
| 1746 | attack = true | |
| 1747 | Humanoid.WalkSpeed = 0 | |
| 1748 | for i=0,1,.1 do | |
| 1749 | swait() | |
| 1750 | PlayAnimationFromTable({
| |
| 1751 | CFrame.new(0, 0.0885660946, 0.326515794, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
| 1752 | CFrame.new(0, 1.43158889, 0.18794021, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
| 1753 | CFrame.new(1.5, 0.099998951, 9.56654503e-07, 0, -1, 0, -1, 0, -2.98023224e-08, -2.98023224e-08, 0, -1), | |
| 1754 | CFrame.new(-1.5, 0.099998951, 9.56654503e-07, 0, 1, 0, 1, 0, -2.98023224e-08, 2.98023224e-08, 0, -1), | |
| 1755 | 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), | |
| 1756 | 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), | |
| 1757 | }, .3, false) | |
| 1758 | end | |
| 1759 | so(51322486,Torso,.5,5) | |
| 1760 | so(90696602,Torso,.5,5) | |
| 1761 | for i=1,120 do | |
| 1762 | mdmg(Torso,20,"Scream") | |
| 1763 | 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)
| |
| 1764 | 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)
| |
| 1765 | swait() | |
| 1766 | end | |
| 1767 | Humanoid.WalkSpeed = 8 | |
| 1768 | attack = false | |
| 1769 | end | |
| 1770 | ||
| 1771 | function handcrack() | |
| 1772 | attack = true | |
| 1773 | Humanoid.WalkSpeed = 0 | |
| 1774 | for i=0,1,.1 do | |
| 1775 | swait() | |
| 1776 | PlayAnimationFromTable({
| |
| 1777 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1778 | CFrame.new(0, 1.4657917, -0.0939691663, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1779 | 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), | |
| 1780 | 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), | |
| 1781 | CFrame.new(0.499994665, -1.99999988, -9.83476639e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
| 1782 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1783 | }, .3, false) | |
| 1784 | end | |
| 1785 | so(240428955,Head,1,5) | |
| 1786 | swait(10) | |
| 1787 | Humanoid.WalkSpeed = 8 | |
| 1788 | attack = false | |
| 1789 | end | |
| 1790 | ||
| 1791 | function getoverhere() | |
| 1792 | attack = true | |
| 1793 | local dude = Mouse.Target.Parent | |
| 1794 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
| |
| 1795 | if dude~=nil and dude:FindFirstChildOfClass("Humanoid") and torsy~=nil then
| |
| 1796 | Humanoid.WalkSpeed = 0 | |
| 1797 | for i=0,1,.1 do | |
| 1798 | swait() | |
| 1799 | PlayAnimationFromTable({
| |
| 1800 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360*i),0), | |
| 1801 | CFrame.new(0, 1.5255599, -0.222141176, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1802 | CFrame.new(0.200967461, 0.899999142, -0.749996543, 0, 0.866025984, 0.499998987, 1, 0, 0, 0, 0.499998987, -0.866025984), | |
| 1803 | CFrame.new(-1.52556288, 0.222140282, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 1804 | CFrame.new(0.499997377, -2, -9.01520252e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
| 1805 | CFrame.new(-0.500002205, -2, 7.30156898e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 1806 | }, .3, false) | |
| 1807 | end | |
| 1808 | so(743521497,RightArm,1,1) | |
| 1809 | coroutine.wrap(function() | |
| 1810 | for i=0,1,.1 do | |
| 1811 | swait() | |
| 1812 | PlayAnimationFromTable({
| |
| 1813 | CFrame.new(0.00389102311, 0, -0.0404044762, 2.68220901e-07, 0, 1.00000536, 0, 1, 0, -1.00000536, 0, 2.68220901e-07), | |
| 1814 | 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), | |
| 1815 | CFrame.new(1.50095332, 0.999999046, 0.0500030518, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
| 1816 | CFrame.new(-1.52557385, 0.222139984, 0, 0.939693272, 0.342018306, 0, -0.342018306, 0.939693332, 0, 0, 0, 1), | |
| 1817 | CFrame.new(0.500000775, -2, 1.69873238e-06, 0.984807789, 0, -0.173648104, 0, 1, 0, 0.173648089, 0, 0.984807789), | |
| 1818 | CFrame.new(-0.500008583, -2, 8.94069672e-08, 0.939692736, 0, 0.342020065, 0, 1, 0, -0.342020094, 0, 0.939692616), | |
| 1819 | }, .4, false) | |
| 1820 | end | |
| 1821 | end)() | |
| 1822 | so(138092011,Head,1,1) | |
| 1823 | local spikeh = Instance.new("Part",chara)
| |
| 1824 | spikeh.CFrame = Torso.CFrame | |
| 1825 | spikeh.Size = Vector3.new(.5,.5,1) | |
| 1826 | spikeh.Material = "Metal" | |
| 1827 | spikeh.CanCollide = false | |
| 1828 | spikeh.Anchored = true | |
| 1829 | spikeh.BrickColor = BrickColor.new("Crimson")
| |
| 1830 | local blast = Instance.new("Part",EffectModel)
| |
| 1831 | blast.Size = Vector3.new(0,1,1) | |
| 1832 | blast.Transparency = 1 | |
| 1833 | blast.Anchored = true | |
| 1834 | blast.CanCollide = false | |
| 1835 | blast.CFrame = Torso.CFrame | |
| 1836 | local meh = Instance.new("SpecialMesh",spikeh)
| |
| 1837 | meh.MeshType = "Wedge" | |
| 1838 | meh.Offset = Vector3.new(0,0,-1) | |
| 1839 | meh.Scale = Vector3.new(1,2,2) | |
| 1840 | local tex1 = Instance.new("Texture",blast)
| |
| 1841 | tex1.Face = "Right" | |
| 1842 | tex1.Texture = "rbxassetid://187946416" | |
| 1843 | tex1.Color3 = Color3.new(1,0,0) | |
| 1844 | local tex2 = tex1:Clone() | |
| 1845 | tex2.Parent = blast | |
| 1846 | tex2.Face = "Left" | |
| 1847 | local origpos = Vector3.new() | |
| 1848 | for i=0,1,.1 do | |
| 1849 | swait() | |
| 1850 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
| 1851 | spikeh.CFrame = clerp(spikeh.CFrame,torsy.CFrame,.4) | |
| 1852 | spikeh.CFrame = CFrame.new(spikeh.Position,spikeh.Position+(torsy.Position-spikeh.Position).unit) | |
| 1853 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
| 1854 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
| 1855 | end | |
| 1856 | local staypos = torsy.CFrame | |
| 1857 | so(154965973,spikeh,.7,2) | |
| 1858 | createSplatter(torsy.Position) | |
| 1859 | for i=1,30 do | |
| 1860 | swait() | |
| 1861 | torsy.CFrame = staypos | |
| 1862 | end | |
| 1863 | coroutine.wrap(function() | |
| 1864 | for i=0,1,.1 do | |
| 1865 | swait() | |
| 1866 | PlayAnimationFromTable({
| |
| 1867 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 1868 | 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), | |
| 1869 | 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), | |
| 1870 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
| 1871 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1872 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
| 1873 | }, .4, false) | |
| 1874 | end | |
| 1875 | end)() | |
| 1876 | so(28144425,RightArm,.265,2) | |
| 1877 | for i=0,3,.1 do | |
| 1878 | swait() | |
| 1879 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
| 1880 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,0,-2),.1) | |
| 1881 | torsy.Velocity = Vector3.new(0,0,0) | |
| 1882 | spikeh.CFrame = torsy.CFrame | |
| 1883 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
| 1884 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
| 1885 | end | |
| 1886 | spikeh:Destroy() | |
| 1887 | blast:Destroy() | |
| 1888 | Humanoid.WalkSpeed = 8 | |
| 1889 | end | |
| 1890 | attack = false | |
| 1891 | end | |
| 1892 | ||
| 1893 | local notallowed={
| |
| 1894 | "Right Arm", | |
| 1895 | "Left Arm", | |
| 1896 | "Right Leg", | |
| 1897 | "Left Leg", | |
| 1898 | "Head", | |
| 1899 | "HumanoidRootPart", | |
| 1900 | "Torso", | |
| 1901 | "LeftFoot", | |
| 1902 | "LeftHand", | |
| 1903 | "LeftLowerArm", | |
| 1904 | "LeftUpperArm", | |
| 1905 | "LeftUpperLeg", | |
| 1906 | "LeftLowerLeg", | |
| 1907 | "RightFoot", | |
| 1908 | "RightHand", | |
| 1909 | "RightLowerArm", | |
| 1910 | "RightUpperArm", | |
| 1911 | "RightUpperLeg", | |
| 1912 | "RightLowerLeg", | |
| 1913 | "LowerTorso", | |
| 1914 | "UpperTorso", | |
| 1915 | } | |
| 1916 | ||
| 1917 | function grabobj() | |
| 1918 | attack = true | |
| 1919 | Humanoid.WalkSpeed = 2 | |
| 1920 | local grab = nil | |
| 1921 | local torsy = nil | |
| 1922 | local totear = nil | |
| 1923 | local hum = nil | |
| 1924 | local targ = Mouse.Target | |
| 1925 | if targ ~= nil and targ:IsA("BasePart") and targ.Anchored == false and (targ.Position-RightArm.Position).magnitude<=5 then
| |
| 1926 | for i,v in pairs(notallowed) do | |
| 1927 | if targ.Name == v then | |
| 1928 | Humanoid.WalkSpeed = 8 | |
| 1929 | attack = false | |
| 1930 | return | |
| 1931 | end | |
| 1932 | end | |
| 1933 | totear = targ | |
| 1934 | end | |
| 1935 | --for i, v in pairs(FindNearestObject(Torso.Position, 5)) do | |
| 1936 | --if totear ~= nil then | |
| 1937 | --totear = v | |
| 1938 | --end | |
| 1939 | --end | |
| 1940 | if totear ~= nil then | |
| 1941 | so(200632136, RootPart, .8, 1) | |
| 1942 | for i = 0,1,.1 do | |
| 1943 | swait() | |
| 1944 | PlayAnimationFromTable({
| |
| 1945 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1946 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1947 | 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), | |
| 1948 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1949 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1950 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
| 1951 | }, .3, false) | |
| 1952 | end | |
| 1953 | so(200632136, RootPart, .8, 1) | |
| 1954 | for i = 0,1,.1 do | |
| 1955 | swait() | |
| 1956 | PlayAnimationFromTable({
| |
| 1957 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
| 1958 | 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), | |
| 1959 | 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), | |
| 1960 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1961 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1962 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
| 1963 | }, .3, false) | |
| 1964 | end | |
| 1965 | so(200632136, RootPart, .8, 1) | |
| 1966 | local armmod = Instance.new("Model",chara)
| |
| 1967 | armmod.Name = "PickedUp" | |
| 1968 | local armp = totear | |
| 1969 | armp:BreakJoints() | |
| 1970 | armp.Parent = armmod | |
| 1971 | local wel = Instance.new("Weld",armp)
| |
| 1972 | wel.Part0 = RightArm | |
| 1973 | wel.Part1 = armp | |
| 1974 | wel.C0 = CFrame.new(0,-1.5,0) | |
| 1975 | grabhand = true | |
| 1976 | armo = armp | |
| 1977 | end | |
| 1978 | attack = false | |
| 1979 | Humanoid.WalkSpeed = 8 | |
| 1980 | end | |
| 1981 | ||
| 1982 | ||
| 1983 | ||
| 1984 | Mouse.Button1Down:connect(function() | |
| 1985 | if attack == false then | |
| 1986 | if grabhead == true then | |
| 1987 | headthrow() | |
| 1988 | elseif grabhand == true then | |
| 1989 | smek() | |
| 1990 | -- else | |
| 1991 | -- if Anim == "Jump" or Anim == "Fall" then | |
| 1992 | -- --asmek() | |
| 1993 | -- else | |
| 1994 | -- --smek() | |
| 1995 | -- end | |
| 1996 | end | |
| 1997 | end | |
| 1998 | end) | |
| 1999 | ||
| 2000 | local sprintt = 0 | |
| 2001 | ||
| 2002 | ||
| 2003 | Mouse.KeyDown:connect(function(k) | |
| 2004 | k = k:lower() | |
| 2005 | if attack == false then | |
| 2006 | if k == 'z' and grabhead == false and grabhand == false then | |
| 2007 | thenatsuki() | |
| 2008 | elseif k == 'x' and grabhead == false and grabhand == false then | |
| 2009 | xhold = true | |
| 2010 | thesurou() | |
| 2011 | elseif k == 'c' and grabhead == false and grabhand == false then | |
| 2012 | therip() | |
| 2013 | elseif k == 'v' and grabhead == false and grabhand == false then | |
| 2014 | thecrush() | |
| 2015 | elseif k == 'b' then | |
| 2016 | if grabhead == true then | |
| 2017 | headthrow() | |
| 2018 | else | |
| 2019 | thehead() | |
| 2020 | end | |
| 2021 | elseif k == 'n' then | |
| 2022 | if grabhand == true then | |
| 2023 | armthrow() | |
| 2024 | else | |
| 2025 | thehand() | |
| 2026 | end | |
| 2027 | elseif k == 'e' then | |
| 2028 | dash() | |
| 2029 | elseif k == 'q' then | |
| 2030 | getoverhere() | |
| 2031 | elseif k == 'g' then | |
| 2032 | handcrack() | |
| 2033 | elseif k == 'h' then | |
| 2034 | scream() | |
| 2035 | elseif k == 'r' then | |
| 2036 | if grabhand == true then | |
| 2037 | armthrow() | |
| 2038 | else | |
| 2039 | grabobj() | |
| 2040 | end | |
| 2041 | end | |
| 2042 | end | |
| 2043 | end) | |
| 2044 | ||
| 2045 | Mouse.KeyUp:connect(function(k) | |
| 2046 | k = k:lower() | |
| 2047 | if k == 'x' then | |
| 2048 | xhold = false | |
| 2049 | end | |
| 2050 | end) | |
| 2051 | ||
| 2052 | ||
| 2053 | coroutine.wrap(function() | |
| 2054 | while 1 do | |
| 2055 | swait() | |
| 2056 | if doe <= 360 then | |
| 2057 | doe = doe + 2 | |
| 2058 | else | |
| 2059 | doe = 0 | |
| 2060 | end | |
| 2061 | end | |
| 2062 | end)() | |
| 2063 | while true do | |
| 2064 | swait() | |
| 2065 | for i, v in pairs(chara:GetChildren()) do | |
| 2066 | if v:IsA("Part") then
| |
| 2067 | v.Material = "SmoothPlastic" | |
| 2068 | elseif v:IsA("Accessory") then
| |
| 2069 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 2070 | end | |
| 2071 | end | |
| 2072 | while true do | |
| 2073 | swait() | |
| 2074 | if sprintt >= 1 then | |
| 2075 | sprintt = sprintt - 1 | |
| 2076 | end | |
| 2077 | ||
| 2078 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2079 | velocity = RootPart.Velocity.y | |
| 2080 | sine = sine + change | |
| 2081 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
| 2082 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 2083 | Anim = "Jump" | |
| 2084 | if attack == false then | |
| 2085 | PlayAnimationFromTable({
| |
| 2086 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 2087 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
| 2088 | 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), | |
| 2089 | 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), | |
| 2090 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 2091 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
| 2092 | }, .3, false) | |
| 2093 | end | |
| 2094 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 2095 | Anim = "Fall" | |
| 2096 | if attack == false then | |
| 2097 | PlayAnimationFromTable({
| |
| 2098 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
| 2099 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 2100 | 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), | |
| 2101 | 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), | |
| 2102 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 2103 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 2104 | }, .3, false) | |
| 2105 | end | |
| 2106 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 2107 | Anim = "Idle" | |
| 2108 | if attack == false then | |
| 2109 | change = 1 | |
| 2110 | PlayAnimationFromTable({
| |
| 2111 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
| 2112 | CFrame.new(0, 1.4657923, -0.0939692855, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 2113 | CFrame.new(1.20945823, -0.213502824, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 2114 | CFrame.new(-1.20945406, -0.213503301, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 2115 | 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), | |
| 2116 | 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), | |
| 2117 | }, .3, false) | |
| 2118 | end | |
| 2119 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 2120 | Anim = "Walk" | |
| 2121 | if attack == false then | |
| 2122 | PlayAnimationFromTable({
| |
| 2123 | 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), | |
| 2124 | CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 2125 | 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), | |
| 2126 | 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), | |
| 2127 | 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), | |
| 2128 | 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), | |
| 2129 | }, .3, false) | |
| 2130 | end | |
| 2131 | end | |
| 2132 | if 0 < #Effects then | |
| 2133 | for e = 1, #Effects do | |
| 2134 | if Effects[e] ~= nil then | |
| 2135 | local Thing = Effects[e] | |
| 2136 | if Thing ~= nil then | |
| 2137 | local Part = Thing[1] | |
| 2138 | local Mode = Thing[2] | |
| 2139 | local Delay = Thing[3] | |
| 2140 | local IncX = Thing[4] | |
| 2141 | local IncY = Thing[5] | |
| 2142 | local IncZ = Thing[6] | |
| 2143 | if Thing[2] == "Shoot" then | |
| 2144 | local Look = Thing[1] | |
| 2145 | local move = 30 | |
| 2146 | if Thing[8] == 3 then | |
| 2147 | move = 10 | |
| 2148 | end | |
| 2149 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 2150 | if Thing[10] ~= nil then | |
| 2151 | da = pos | |
| 2152 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 2153 | cfa = CFrame.new(Thing[4], pos) | |
| 2154 | tehCF = cfa:lerp(cf2, 0.2) | |
| 2155 | Thing[1] = tehCF.lookVector | |
| 2156 | end | |
| 2157 | local mag = (Thing[4] - pos).magnitude | |
| 2158 | 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) | |
| 2159 | if Thing[8] == 2 then | |
| 2160 | 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) | |
| 2161 | end | |
| 2162 | Thing[4] = Thing[4] + Look * move | |
| 2163 | Thing[3] = Thing[3] - 1 | |
| 2164 | if 2 < Thing[5] then | |
| 2165 | Thing[5] = Thing[5] - 0.3 | |
| 2166 | Thing[6] = Thing[6] - 0.3 | |
| 2167 | end | |
| 2168 | if hit ~= nil then | |
| 2169 | Thing[3] = 0 | |
| 2170 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 2171 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 2172 | else | |
| 2173 | if Thing[8] == 2 then | |
| 2174 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 2175 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
| |
| 2176 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 2177 | ref.Anchored = true | |
| 2178 | ref.CFrame = CFrame.new(pos) | |
| 2179 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 2180 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 2181 | 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) | |
| 2182 | 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)
| |
| 2183 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 2184 | end | |
| 2185 | end | |
| 2186 | end | |
| 2187 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 2188 | ref.Anchored = true | |
| 2189 | ref.CFrame = CFrame.new(pos) | |
| 2190 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 2191 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 2192 | end | |
| 2193 | if Thing[3] <= 0 then | |
| 2194 | table.remove(Effects, e) | |
| 2195 | end | |
| 2196 | end | |
| 2197 | do | |
| 2198 | do | |
| 2199 | if Thing[2] == "FireWave" then | |
| 2200 | if Thing[3] <= Thing[4] then | |
| 2201 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 2202 | Thing[3] = Thing[3] + 1 | |
| 2203 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 2204 | else | |
| 2205 | Part.Parent = nil | |
| 2206 | table.remove(Effects, e) | |
| 2207 | end | |
| 2208 | end | |
| 2209 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 2210 | if Thing[1].Transparency <= 1 then | |
| 2211 | if Thing[2] == "Block1" then | |
| 2212 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2213 | Mesh = Thing[7] | |
| 2214 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2215 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2216 | else | |
| 2217 | if Thing[2] == "Block2" then | |
| 2218 | Thing[1].CFrame = Thing[1].CFrame | |
| 2219 | Mesh = Thing[7] | |
| 2220 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2221 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2222 | else | |
| 2223 | if Thing[2] == "Fire" then | |
| 2224 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 2225 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2226 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2227 | else | |
| 2228 | if Thing[2] == "Cylinder" then | |
| 2229 | Mesh = Thing[7] | |
| 2230 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2231 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2232 | else | |
| 2233 | if Thing[2] == "Blood" then | |
| 2234 | Mesh = Thing[7] | |
| 2235 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 2236 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2237 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2238 | else | |
| 2239 | if Thing[2] == "Elec" then | |
| 2240 | Mesh = Thing[10] | |
| 2241 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2242 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2243 | else | |
| 2244 | if Thing[2] == "Disappear" then | |
| 2245 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2246 | else | |
| 2247 | if Thing[2] == "Shatter" then | |
| 2248 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2249 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2250 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2251 | Thing[6] = Thing[6] + Thing[5] | |
| 2252 | end | |
| 2253 | end | |
| 2254 | end | |
| 2255 | end | |
| 2256 | end | |
| 2257 | end | |
| 2258 | end | |
| 2259 | end | |
| 2260 | else | |
| 2261 | Part.Parent = nil | |
| 2262 | table.remove(Effects, e) | |
| 2263 | end | |
| 2264 | end | |
| 2265 | end | |
| 2266 | end | |
| 2267 | end | |
| 2268 | end | |
| 2269 | end | |
| 2270 | end | |
| 2271 | end | |
| 2272 | end |