SHOW:
|
|
- or go back to the newest paste.
| 1 | ---------------------------------------------------------------- | |
| 2 | --------------------------Jevil (v2)-------------------------- | |
| 3 | ---------------------------------------------------------------- | |
| 4 | print([[ | |
| 5 | --made by Makhail07 | |
| 6 | --FE code by Mokiros | |
| 7 | --Jevil edit called Micheal The Souless jester by micheal2358 -- | |
| 8 | --YT: NightFall TheEditor-- | |
| 9 | --Discord:NightFall#3941 | |
| 10 | -------------------------------- | |
| 11 | hello good sir | |
| 12 | Just enjoy -_- | |
| 13 | Dont forgot you can leak this! | |
| 14 | -------------------------------- | |
| 15 | ]]) | |
| 16 | ||
| 17 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 18 | local Player,game,owner = owner,game | |
| 19 | local RealPlayer = Player | |
| 20 | do | |
| 21 | local rp = RealPlayer | |
| 22 | script.Parent = rp.Character | |
| 23 | ||
| 24 | --RemoteEvent for communicating | |
| 25 | local Event = Instance.new("RemoteEvent")
| |
| 26 | Event.Name = "UserInput_Event" | |
| 27 | ||
| 28 | --Fake event to make stuff like Mouse.KeyDown work | |
| 29 | local function fakeEvent() | |
| 30 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 31 | t.connect = t.Connect | |
| 32 | return t | |
| 33 | end | |
| 34 | ||
| 35 | --Creating fake input objects with fake variables | |
| 36 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 37 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 38 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 39 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 40 | end} | |
| 41 | --Merged 2 functions into one by checking amount of arguments | |
| 42 | CAS.UnbindAction = CAS.BindAction | |
| 43 | ||
| 44 | --This function will trigger the events that have been :Connect()'ed | |
| 45 | local function te(self,ev,...) | |
| 46 | local t = m[ev] | |
| 47 | if t and t._fakeEvent then | |
| 48 | for _,f in pairs(t.Functions) do | |
| 49 | f(...) | |
| 50 | end | |
| 51 | end | |
| 52 | end | |
| 53 | m.TrigEvent = te | |
| 54 | UIS.TrigEvent = te | |
| 55 | ||
| 56 | Event.OnServerEvent:Connect(function(plr,io) | |
| 57 | if plr~=rp then return end | |
| 58 | m.Target = io.Target | |
| 59 | m.Hit = io.Hit | |
| 60 | if not io.isMouse then | |
| 61 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 63 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 64 | end | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | for _,k in pairs(t.Keys) do | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 74 | end | |
| 75 | end) | |
| 76 | Event.Parent = NLS([==[ | |
| 77 | local Player = game:GetService("Players").LocalPlayer
| |
| 78 | local Event = script:WaitForChild("UserInput_Event")
| |
| 79 | ||
| 80 | local Mouse = Player:GetMouse() | |
| 81 | local UIS = game:GetService("UserInputService")
| |
| 82 | local input = function(io,a) | |
| 83 | if a then return end | |
| 84 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 85 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 86 | end | |
| 87 | UIS.InputBegan:Connect(input) | |
| 88 | UIS.InputEnded:Connect(input) | |
| 89 | ||
| 90 | local h,t | |
| 91 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 92 | --If player is not moving their mouse, client won't fire events | |
| 93 | while wait(1/30) do | |
| 94 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 95 | h,t=Mouse.Hit,Mouse.Target | |
| 96 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 97 | end | |
| 98 | end]==],Player.Character) | |
| 99 | ||
| 100 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 101 | --Real game object | |
| 102 | local _rg = game | |
| 103 | ||
| 104 | --Metatable for fake service | |
| 105 | local fsmt = {
| |
| 106 | __index = function(self,k) | |
| 107 | local s = rawget(self,"_RealService") | |
| 108 | if s then return s[k] end | |
| 109 | end, | |
| 110 | __newindex = function(self,k,v) | |
| 111 | local s = rawget(self,"_RealService") | |
| 112 | if s then s[k]=v end | |
| 113 | end, | |
| 114 | __call = function(self,...) | |
| 115 | local s = rawget(self,"_RealService") | |
| 116 | if s then return s(...) end | |
| 117 | end | |
| 118 | } | |
| 119 | local function FakeService(t,RealService) | |
| 120 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 121 | return setmetatable(t,fsmt) | |
| 122 | end | |
| 123 | ||
| 124 | --Fake game object | |
| 125 | local g = {
| |
| 126 | GetService = function(self,s) | |
| 127 | return self[s] | |
| 128 | end, | |
| 129 | Players = FakeService({
| |
| 130 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 131 | },"Players"), | |
| 132 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 134 | } | |
| 135 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 136 | g.service = g.GetService | |
| 137 | ||
| 138 | g.RunService = FakeService({
| |
| 139 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 140 | BindToRenderStep = function(self,name,_,fun) | |
| 141 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 142 | end, | |
| 143 | UnbindFromRenderStep = function(self,name) | |
| 144 | self._btrs[name]:Disconnect() | |
| 145 | end, | |
| 146 | },"RunService") | |
| 147 | ||
| 148 | setmetatable(g,{
| |
| 149 | __index=function(self,s) | |
| 150 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 151 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 152 | end, | |
| 153 | __newindex = fsmt.__newindex, | |
| 154 | __call = fsmt.__call | |
| 155 | }) | |
| 156 | --Changing owner to fake player object to support owner:GetMouse() | |
| 157 | game,owner = g,g.Players.LocalPlayer | |
| 158 | end | |
| 159 | ||
| 160 | Player = owner | |
| 161 | PlayerGui = Player.PlayerGui | |
| 162 | Cam = workspace.CurrentCamera | |
| 163 | Backpack = Player.Backpack | |
| 164 | Character = Player.Character | |
| 165 | Humanoid = Character.Humanoid | |
| 166 | Mouse = Player:GetMouse() | |
| 167 | RootPart = Character["HumanoidRootPart"] | |
| 168 | Torso = Character["Torso"] | |
| 169 | Head = Character["Head"] | |
| 170 | RightArm = Character["Right Arm"] | |
| 171 | LeftArm = Character["Left Arm"] | |
| 172 | RightLeg = Character["Right Leg"] | |
| 173 | LeftLeg = Character["Left Leg"] | |
| 174 | RootJoint = RootPart["RootJoint"] | |
| 175 | Neck = Torso["Neck"] | |
| 176 | RightShoulder = Torso["Right Shoulder"] | |
| 177 | LeftShoulder = Torso["Left Shoulder"] | |
| 178 | RightHip = Torso["Right Hip"] | |
| 179 | LeftHip = Torso["Left Hip"] | |
| 180 | ||
| 181 | Character = Player.Character | |
| 182 | Humanoid = Character.Humanoid | |
| 183 | --------- | |
| 184 | plr = game.Players.LocalPlayer | |
| 185 | chara = plr.Character | |
| 186 | mouse = plr:GetMouse() | |
| 187 | Create = Instance.new | |
| 188 | Huge = math.huge | |
| 189 | ||
| 190 | ||
| 191 | local shadowhead = Create("Part",chara.Head)
| |
| 192 | shadowhead.BrickColor = BrickColor.new("Really black")
| |
| 193 | shadowhead.Size = Vector3.new(1.2, 0.6, 1) | |
| 194 | shadowhead.CanCollide = false | |
| 195 | local shadowheadmesh = Create("SpecialMesh",shadowhead)
| |
| 196 | shadowheadmesh.MeshType = "Head" | |
| 197 | shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26) | |
| 198 | local weld2 = Create("Weld",shadowhead)
| |
| 199 | weld2.Part0 = shadowhead | |
| 200 | weld2.Part1 = chara.Head | |
| 201 | weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 202 | ||
| 203 | Player = game:GetService("Players").LocalPlayer
| |
| 204 | PlayerGui = Player.PlayerGui | |
| 205 | Cam = workspace.CurrentCamera | |
| 206 | Backpack = Player.Backpack | |
| 207 | Character = Player.Character | |
| 208 | char = Player.Character | |
| 209 | Humanoid = Character.Humanoid | |
| 210 | Mouse = Player:GetMouse() | |
| 211 | RootPart = Character["HumanoidRootPart"] | |
| 212 | Torso = Character["Torso"] | |
| 213 | Head = Character["Head"] | |
| 214 | RightArm = Character["Right Arm"] | |
| 215 | LeftArm = Character["Left Arm"] | |
| 216 | RightLeg = Character["Right Leg"] | |
| 217 | LeftLeg = Character["Left Leg"] | |
| 218 | RootJoint = RootPart["RootJoint"] | |
| 219 | Neck = Torso["Neck"] | |
| 220 | RightShoulder = Torso["Right Shoulder"] | |
| 221 | LeftShoulder = Torso["Left Shoulder"] | |
| 222 | RightHip = Torso["Right Hip"] | |
| 223 | LeftHip = Torso["Left Hip"] | |
| 224 | ||
| 225 | local Orin = "http://www.roblox.com/asset/?id=7074786" | |
| 226 | Head.face.Texture = Orin | |
| 227 | function weld(a, b, acf) | |
| 228 | local w = Instance.new("Weld", a)
| |
| 229 | w.Part0 = a | |
| 230 | w.Part1 = b | |
| 231 | w.C0 = acf | |
| 232 | end | |
| 233 | -------------------------------- | |
| 234 | char.Head.face.Texture = "rbxassetid://155195214" | |
| 235 | -------------------------------- | |
| 236 | ||
| 237 | ------------------------------------------------------- | |
| 238 | ||
| 239 | local FavIDs = {
| |
| 240 | 340106355, --Nefl Crystals | |
| 241 | 927529620, --Dimension | |
| 242 | 876981900, --Fantasy | |
| 243 | 398987889, --Ordinary Days | |
| 244 | 1117396305, --Oh wait, it's you. | |
| 245 | 885996042, --Action Winter Journey | |
| 246 | 919231299, --Sprawling Idiot Effigy | |
| 247 | 743466274, --Good Day Sunshine | |
| 248 | 727411183, --Knife Fight | |
| 249 | 1402748531, --The Earth Is Counting On You! | |
| 250 | 595230126 --Robot Language | |
| 251 | } | |
| 252 | ||
| 253 | ||
| 254 | ||
| 255 | --The reality of my life isn't real but a Universe -makhail07 | |
| 256 | wait(0.2) | |
| 257 | local plr = game:service'Players'.LocalPlayer | |
| 258 | print('Local User is '..plr.Name)
| |
| 259 | print('SCRIPTNAME Loaded')
| |
| 260 | print('SCRIPT DESCRIPTION')
| |
| 261 | local char = plr.Character | |
| 262 | local hum = char.Humanoid | |
| 263 | local hed = char.Head | |
| 264 | local root = char.HumanoidRootPart | |
| 265 | local rootj = root.RootJoint | |
| 266 | local tors = char.Torso | |
| 267 | local ra = char["Right Arm"] | |
| 268 | local la = char["Left Arm"] | |
| 269 | local rl = char["Right Leg"] | |
| 270 | local ll = char["Left Leg"] | |
| 271 | local neck = tors["Neck"] | |
| 272 | local mouse = plr:GetMouse() | |
| 273 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 274 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 275 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 276 | local maincolor = BrickColor.new("Really black")
| |
| 277 | ||
| 278 | ------------------------------------------------------- | |
| 279 | --Start Good Stuff-- | |
| 280 | ------------------------------------------------------- | |
| 281 | cam = game.Workspace.CurrentCamera | |
| 282 | CF = CFrame.new | |
| 283 | angles = CFrame.Angles | |
| 284 | attack = false | |
| 285 | Euler = CFrame.fromEulerAnglesXYZ | |
| 286 | Rad = math.rad | |
| 287 | IT = Instance.new | |
| 288 | BrickC = BrickColor.new | |
| 289 | Cos = math.cos | |
| 290 | Acos = math.acos | |
| 291 | Sin = math.sin | |
| 292 | Asin = math.asin | |
| 293 | Abs = math.abs | |
| 294 | Mrandom = math.random | |
| 295 | Floor = math.floor | |
| 296 | ------------------------------------------------------- | |
| 297 | --End Good Stuff-- | |
| 298 | ------------------------------------------------------- | |
| 299 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 300 | RSH, LSH = nil, nil | |
| 301 | RW = Instance.new("Weld")
| |
| 302 | LW = Instance.new("Weld")
| |
| 303 | RH = tors["Right Hip"] | |
| 304 | LH = tors["Left Hip"] | |
| 305 | RSH = tors["Right Shoulder"] | |
| 306 | LSH = tors["Left Shoulder"] | |
| 307 | RSH.Parent = nil | |
| 308 | LSH.Parent = nil | |
| 309 | RW.Name = "RW" | |
| 310 | RW.Part0 = tors | |
| 311 | RW.C0 = CF(1.5, 0.5, 0) | |
| 312 | RW.C1 = CF(0, 0.5, 0) | |
| 313 | RW.Part1 = ra | |
| 314 | RW.Parent = tors | |
| 315 | LW.Name = "LW" | |
| 316 | LW.Part0 = tors | |
| 317 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 318 | LW.C1 = CF(0, 0.5, 0) | |
| 319 | LW.Part1 = la | |
| 320 | LW.Parent = tors | |
| 321 | Effects = {}
| |
| 322 | ------------------------------------------------------- | |
| 323 | --Start HeartBeat-- | |
| 324 | ------------------------------------------------------- | |
| 325 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 326 | ArtificialHB.Name = "Heartbeat" | |
| 327 | script:WaitForChild("Heartbeat")
| |
| 328 | ||
| 329 | frame = 1 / 60 | |
| 330 | tf = 0 | |
| 331 | allowframeloss = false | |
| 332 | tossremainder = false | |
| 333 | ||
| 334 | ||
| 335 | lastframe = tick() | |
| 336 | script.Heartbeat:Fire() | |
| 337 | ||
| 338 | ||
| 339 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 340 | tf = tf + s | |
| 341 | if tf >= frame then | |
| 342 | if allowframeloss then | |
| 343 | script.Heartbeat:Fire() | |
| 344 | lastframe = tick() | |
| 345 | else | |
| 346 | for i = 1, math.floor(tf / frame) do | |
| 347 | script.Heartbeat:Fire() | |
| 348 | end | |
| 349 | lastframe = tick() | |
| 350 | end | |
| 351 | if tossremainder then | |
| 352 | tf = 0 | |
| 353 | else | |
| 354 | tf = tf - frame * math.floor(tf / frame) | |
| 355 | end | |
| 356 | end | |
| 357 | end) | |
| 358 | ------------------------------------------------------- | |
| 359 | --End HeartBeat-- | |
| 360 | ------------------------------------------------------- | |
| 361 | ||
| 362 | ------------------------------------------------------- | |
| 363 | --Start Important Functions-- | |
| 364 | ------------------------------------------------------- | |
| 365 | function swait(num) | |
| 366 | if num == 0 or num == nil then | |
| 367 | game:service("RunService").Stepped:wait(0)
| |
| 368 | else | |
| 369 | for i = 0, num do | |
| 370 | game:service("RunService").Stepped:wait(0)
| |
| 371 | end | |
| 372 | end | |
| 373 | end | |
| 374 | function thread(f) | |
| 375 | coroutine.resume(coroutine.create(f)) | |
| 376 | end | |
| 377 | function clerp(a, b, t) | |
| 378 | local qa = {
| |
| 379 | QuaternionFromCFrame(a) | |
| 380 | } | |
| 381 | local qb = {
| |
| 382 | QuaternionFromCFrame(b) | |
| 383 | } | |
| 384 | local ax, ay, az = a.x, a.y, a.z | |
| 385 | local bx, by, bz = b.x, b.y, b.z | |
| 386 | local _t = 1 - t | |
| 387 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 388 | end | |
| 389 | function QuaternionFromCFrame(cf) | |
| 390 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 391 | local trace = m00 + m11 + m22 | |
| 392 | if trace > 0 then | |
| 393 | local s = math.sqrt(1 + trace) | |
| 394 | local recip = 0.5 / s | |
| 395 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 396 | else | |
| 397 | local i = 0 | |
| 398 | if m00 < m11 then | |
| 399 | i = 1 | |
| 400 | end | |
| 401 | if m22 > (i == 0 and m00 or m11) then | |
| 402 | i = 2 | |
| 403 | end | |
| 404 | if i == 0 then | |
| 405 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 406 | local recip = 0.5 / s | |
| 407 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 408 | elseif i == 1 then | |
| 409 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 410 | local recip = 0.5 / s | |
| 411 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 412 | elseif i == 2 then | |
| 413 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 414 | local recip = 0.5 / s | |
| 415 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 416 | end | |
| 417 | end | |
| 418 | end | |
| 419 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 420 | local xs, ys, zs = x + x, y + y, z + z | |
| 421 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 422 | local xx = x * xs | |
| 423 | local xy = x * ys | |
| 424 | local xz = x * zs | |
| 425 | local yy = y * ys | |
| 426 | local yz = y * zs | |
| 427 | local zz = z * zs | |
| 428 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 429 | end | |
| 430 | function QuaternionSlerp(a, b, t) | |
| 431 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 432 | local startInterp, finishInterp | |
| 433 | if cosTheta >= 1.0E-4 then | |
| 434 | if 1 - cosTheta > 1.0E-4 then | |
| 435 | local theta = math.acos(cosTheta) | |
| 436 | local invSinTheta = 1 / Sin(theta) | |
| 437 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 438 | finishInterp = Sin(t * theta) * invSinTheta | |
| 439 | else | |
| 440 | startInterp = 1 - t | |
| 441 | finishInterp = t | |
| 442 | end | |
| 443 | elseif 1 + cosTheta > 1.0E-4 then | |
| 444 | local theta = math.acos(-cosTheta) | |
| 445 | local invSinTheta = 1 / Sin(theta) | |
| 446 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 447 | finishInterp = Sin(t * theta) * invSinTheta | |
| 448 | else | |
| 449 | startInterp = t - 1 | |
| 450 | finishInterp = t | |
| 451 | end | |
| 452 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 453 | end | |
| 454 | function rayCast(Position, Direction, Range, Ignore) | |
| 455 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 456 | end | |
| 457 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 458 | local Create = RbxUtility.Create | |
| 459 | ||
| 460 | function getRegion(point,range,ignore) | |
| 461 | return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) | |
| 462 | end | |
| 463 | ||
| 464 | function GetTorso(char) | |
| 465 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
| 466 | end | |
| 467 | ||
| 468 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
| |
| 469 | ------------------------------------------------------- | |
| 470 | --Start Damage Function-- | |
| 471 | ------------------------------------------------------- | |
| 472 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 473 | if hit.Parent == nil then | |
| 474 | return | |
| 475 | end | |
| 476 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 477 | for _, v in pairs(hit.Parent:children()) do | |
| 478 | if v:IsA("Humanoid") then
| |
| 479 | h = v | |
| 480 | end | |
| 481 | end | |
| 482 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 483 | ||
| 484 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 485 | end | |
| 486 | ||
| 487 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 488 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 489 | if hit.Parent.DebounceHit.Value == true then | |
| 490 | return | |
| 491 | end | |
| 492 | end | |
| 493 | if insta == true then | |
| 494 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 495 | end | |
| 496 | local c = Create("ObjectValue"){
| |
| 497 | Name = "creator", | |
| 498 | Value = game:service("Players").LocalPlayer,
| |
| 499 | Parent = h, | |
| 500 | } | |
| 501 | game:GetService("Debris"):AddItem(c, .5)
| |
| 502 | if HitSound ~= nil and HitPitch ~= nil then | |
| 503 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 504 | end | |
| 505 | local Damage = math.random(minim, maxim) | |
| 506 | local blocked = false | |
| 507 | local block = hit.Parent:findFirstChild("Block")
| |
| 508 | if block ~= nil then | |
| 509 | if block.className == "IntValue" then | |
| 510 | if block.Value > 0 then | |
| 511 | blocked = true | |
| 512 | block.Value = block.Value - 1 | |
| 513 | print(block.Value) | |
| 514 | end | |
| 515 | end | |
| 516 | end | |
| 517 | if blocked == false then | |
| 518 | h.Health = h.Health - Damage | |
| 519 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 520 | else | |
| 521 | h.Health = h.Health - (Damage / 2) | |
| 522 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 523 | end | |
| 524 | if Type == "Knockdown" then | |
| 525 | local hum = hit.Parent.Humanoid | |
| 526 | hum.PlatformStand = true | |
| 527 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 528 | swait(1) | |
| 529 | HHumanoid.PlatformStand = false | |
| 530 | end), hum) | |
| 531 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 532 | local bodvol = Create("BodyVelocity"){
| |
| 533 | velocity = angle * knockback, | |
| 534 | P = 5000, | |
| 535 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 536 | Parent = hit, | |
| 537 | } | |
| 538 | local rl = Create("BodyAngularVelocity"){
| |
| 539 | P = 3000, | |
| 540 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 541 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 542 | Parent = hit, | |
| 543 | } | |
| 544 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 545 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 546 | elseif Type == "Normal" then | |
| 547 | local vp = Create("BodyVelocity"){
| |
| 548 | P = 500, | |
| 549 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 550 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 551 | } | |
| 552 | if knockback > 0 then | |
| 553 | vp.Parent = hit.Parent.Torso | |
| 554 | end | |
| 555 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 556 | elseif Type == "Up" then | |
| 557 | local bodyVelocity = Create("BodyVelocity"){
| |
| 558 | velocity = Vector3.new(0, 20, 0), | |
| 559 | P = 5000, | |
| 560 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 561 | Parent = hit, | |
| 562 | } | |
| 563 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 564 | elseif Type == "DarkUp" then | |
| 565 | coroutine.resume(coroutine.create(function() | |
| 566 | for i = 0, 1, 0.1 do | |
| 567 | swait() | |
| 568 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 569 | end | |
| 570 | end)) | |
| 571 | local bodyVelocity = Create("BodyVelocity"){
| |
| 572 | velocity = Vector3.new(0, 20, 0), | |
| 573 | P = 5000, | |
| 574 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 575 | Parent = hit, | |
| 576 | } | |
| 577 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 578 | elseif Type == "Snare" then | |
| 579 | local bp = Create("BodyPosition"){
| |
| 580 | P = 2000, | |
| 581 | D = 100, | |
| 582 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 583 | position = hit.Parent.Torso.Position, | |
| 584 | Parent = hit.Parent.Torso, | |
| 585 | } | |
| 586 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 587 | elseif Type == "Freeze" then | |
| 588 | local BodPos = Create("BodyPosition"){
| |
| 589 | P = 50000, | |
| 590 | D = 1000, | |
| 591 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 592 | position = hit.Parent.Torso.Position, | |
| 593 | Parent = hit.Parent.Torso, | |
| 594 | } | |
| 595 | local BodGy = Create("BodyGyro") {
| |
| 596 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 597 | P = 20e+003, | |
| 598 | Parent = hit.Parent.Torso, | |
| 599 | cframe = hit.Parent.Torso.CFrame, | |
| 600 | } | |
| 601 | hit.Parent.Torso.Anchored = true | |
| 602 | coroutine.resume(coroutine.create(function(Part) | |
| 603 | swait(1.5) | |
| 604 | Part.Anchored = false | |
| 605 | end), hit.Parent.Torso) | |
| 606 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 607 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 608 | end | |
| 609 | local debounce = Create("BoolValue"){
| |
| 610 | Name = "DebounceHit", | |
| 611 | Parent = hit.Parent, | |
| 612 | Value = true, | |
| 613 | } | |
| 614 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 615 | c = Create("ObjectValue"){
| |
| 616 | Name = "creator", | |
| 617 | Value = Player, | |
| 618 | Parent = h, | |
| 619 | } | |
| 620 | game:GetService("Debris"):AddItem(c, .5)
| |
| 621 | end | |
| 622 | end | |
| 623 | ------------------------------------------------------- | |
| 624 | --End Damage Function-- | |
| 625 | ------------------------------------------------------- | |
| 626 | --Switcher------------------------------------- | |
| 627 | ||
| 628 | ||
| 629 | local effectTorso = Instance.new("Sparkles", char.Torso)
| |
| 630 | effectTorso.SparkleColor = Color3.new(0, 85, 255) | |
| 631 | effectTorso.Enabled = false | |
| 632 | ||
| 633 | local animation = Instance.new("NumberValue", char)
| |
| 634 | animation.Value = 1 | |
| 635 | animation.Name = "Animation" | |
| 636 | ||
| 637 | local animation2 = Instance.new("NumberValue", char)
| |
| 638 | animation2.Value = 1 | |
| 639 | animation2.Name = "mode" | |
| 640 | ||
| 641 | ||
| 642 | ||
| 643 | ||
| 644 | --------------------------- | |
| 645 | ------------------------------------------------------- | |
| 646 | --Start Damage Function Customization-- | |
| 647 | ------------------------------------------------------- | |
| 648 | function ShowDamage(Pos, Text, Time, Color) | |
| 649 | local Rate = (1 / 30) | |
| 650 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 651 | local Text = (Text or "") | |
| 652 | local Time = (Time or 2) | |
| 653 | local Color = (Color or Color3.new(255, 255, 1)) | |
| 654 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 655 | EffectPart.Anchored = true | |
| 656 | local BillboardGui = Create("BillboardGui"){
| |
| 657 | Size = UDim2.new(3, 0, 3, 0), | |
| 658 | Adornee = EffectPart, | |
| 659 | Parent = EffectPart, | |
| 660 | } | |
| 661 | local TextLabel = Create("TextLabel"){
| |
| 662 | BackgroundTransparency = 1, | |
| 663 | Size = UDim2.new(1, 0, 1, 0), | |
| 664 | Text = Text, | |
| 665 | Font = "Bodoni", | |
| 666 | TextColor3 = Color, | |
| 667 | TextScaled = true, | |
| 668 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 669 | Parent = BillboardGui, | |
| 670 | } | |
| 671 | game.Debris:AddItem(EffectPart, (Time)) | |
| 672 | EffectPart.Parent = game:GetService("Workspace")
| |
| 673 | delay(0, function() | |
| 674 | local Frames = (Time / Rate) | |
| 675 | for Frame = 1, Frames do | |
| 676 | wait(Rate) | |
| 677 | local Percent = (Frame / Frames) | |
| 678 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 679 | TextLabel.TextTransparency = Percent | |
| 680 | end | |
| 681 | if EffectPart and EffectPart.Parent then | |
| 682 | EffectPart:Destroy() | |
| 683 | end | |
| 684 | end) | |
| 685 | end | |
| 686 | ------------------------------------------------------- | |
| 687 | --End Damage Function Customization-- | |
| 688 | ------------------------------------------------------- | |
| 689 | ||
| 690 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 691 | for _, c in pairs(workspace:children()) do | |
| 692 | local hum = c:findFirstChild("Humanoid")
| |
| 693 | if hum ~= nil then | |
| 694 | local head = c:findFirstChild("Head")
| |
| 695 | if head ~= nil then | |
| 696 | local targ = head.Position - Part.Position | |
| 697 | local mag = targ.magnitude | |
| 698 | if magni >= mag and c.Name ~= Player.Name then | |
| 699 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 700 | end | |
| 701 | end | |
| 702 | end | |
| 703 | end | |
| 704 | end | |
| 705 | ||
| 706 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 707 | for _, c in pairs(workspace:children()) do | |
| 708 | local hum = c:findFirstChild("Humanoid")
| |
| 709 | if hum ~= nil then | |
| 710 | local head = c:findFirstChild("Head")
| |
| 711 | if head ~= nil then | |
| 712 | local targ = head.Position - Part.Position | |
| 713 | local mag = targ.magnitude | |
| 714 | if magni >= mag and c.Name ~= plr.Name then | |
| 715 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 716 | end | |
| 717 | end | |
| 718 | end | |
| 719 | end | |
| 720 | end | |
| 721 | ||
| 722 | ||
| 723 | CFuncs = {
| |
| 724 | Part = {
| |
| 725 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 726 | local Part = Create("Part")({
| |
| 727 | Parent = Parent, | |
| 728 | Reflectance = Reflectance, | |
| 729 | Transparency = Transparency, | |
| 730 | CanCollide = false, | |
| 731 | Locked = true, | |
| 732 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 733 | Name = Name, | |
| 734 | Size = Size, | |
| 735 | Material = Material | |
| 736 | }) | |
| 737 | RemoveOutlines(Part) | |
| 738 | return Part | |
| 739 | end | |
| 740 | }, | |
| 741 | Mesh = {
| |
| 742 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 743 | local Msh = Create(Mesh)({
| |
| 744 | Parent = Part, | |
| 745 | Offset = OffSet, | |
| 746 | Scale = Scale | |
| 747 | }) | |
| 748 | if Mesh == "SpecialMesh" then | |
| 749 | Msh.MeshType = MeshType | |
| 750 | Msh.MeshId = MeshId | |
| 751 | end | |
| 752 | return Msh | |
| 753 | end | |
| 754 | }, | |
| 755 | Mesh = {
| |
| 756 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 757 | local Msh = Create(Mesh)({
| |
| 758 | Parent = Part, | |
| 759 | Offset = OffSet, | |
| 760 | Scale = Scale | |
| 761 | }) | |
| 762 | if Mesh == "SpecialMesh" then | |
| 763 | Msh.MeshType = MeshType | |
| 764 | Msh.MeshId = MeshId | |
| 765 | end | |
| 766 | return Msh | |
| 767 | end | |
| 768 | }, | |
| 769 | Weld = {
| |
| 770 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 771 | local Weld = Create("Weld")({
| |
| 772 | Parent = Parent, | |
| 773 | Part0 = Part0, | |
| 774 | Part1 = Part1, | |
| 775 | C0 = C0, | |
| 776 | C1 = C1 | |
| 777 | }) | |
| 778 | return Weld | |
| 779 | end | |
| 780 | }, | |
| 781 | Sound = {
| |
| 782 | Create = function(id, par, vol, pit) | |
| 783 | coroutine.resume(coroutine.create(function() | |
| 784 | local S = Create("Sound")({
| |
| 785 | Volume = vol, | |
| 786 | Pitch = pit or 1, | |
| 787 | SoundId = id, | |
| 788 | Parent = par or workspace | |
| 789 | }) | |
| 790 | wait() | |
| 791 | S:play() | |
| 792 | game:GetService("Debris"):AddItem(S, 6)
| |
| 793 | end)) | |
| 794 | end | |
| 795 | }, | |
| 796 | ParticleEmitter = {
| |
| 797 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 798 | local fp = Create("ParticleEmitter")({
| |
| 799 | Parent = Parent, | |
| 800 | Color = ColorSequence.new(Color1, Color2), | |
| 801 | LightEmission = LightEmission, | |
| 802 | Size = Size, | |
| 803 | Texture = Texture, | |
| 804 | Transparency = Transparency, | |
| 805 | ZOffset = ZOffset, | |
| 806 | Acceleration = Accel, | |
| 807 | Drag = Drag, | |
| 808 | LockedToPart = LockedToPart, | |
| 809 | VelocityInheritance = VelocityInheritance, | |
| 810 | EmissionDirection = EmissionDirection, | |
| 811 | Enabled = Enabled, | |
| 812 | Lifetime = LifeTime, | |
| 813 | Rate = Rate, | |
| 814 | Rotation = Rotation, | |
| 815 | RotSpeed = RotSpeed, | |
| 816 | Speed = Speed, | |
| 817 | VelocitySpread = VelocitySpread | |
| 818 | }) | |
| 819 | return fp | |
| 820 | end | |
| 821 | } | |
| 822 | } | |
| 823 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 824 | local Part = Create("Part"){
| |
| 825 | Parent = Parent, | |
| 826 | Reflectance = Reflectance, | |
| 827 | Transparency = Transparency, | |
| 828 | CanCollide = false, | |
| 829 | Locked = true, | |
| 830 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 831 | Name = Name, | |
| 832 | Size = Size, | |
| 833 | Material = Material, | |
| 834 | } | |
| 835 | RemoveOutlines(Part) | |
| 836 | return Part | |
| 837 | end | |
| 838 | function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 839 | local Part = Create("Part")({
| |
| 840 | formFactor = FormFactor, | |
| 841 | Parent = Parent, | |
| 842 | Reflectance = Reflectance, | |
| 843 | Transparency = Transparency, | |
| 844 | CanCollide = false, | |
| 845 | Locked = true, | |
| 846 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 847 | Name = Name, | |
| 848 | Size = Size, | |
| 849 | Material = Material | |
| 850 | }) | |
| 851 | RemoveOutlines(Part) | |
| 852 | return Part | |
| 853 | end | |
| 854 | function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 855 | local Msh = Create(Mesh)({
| |
| 856 | Parent = Part, | |
| 857 | Offset = OffSet, | |
| 858 | Scale = Scale | |
| 859 | }) | |
| 860 | if Mesh == "SpecialMesh" then | |
| 861 | Msh.MeshType = MeshType | |
| 862 | Msh.MeshId = MeshId | |
| 863 | end | |
| 864 | return Msh | |
| 865 | end | |
| 866 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
| 867 | local Hitboxpart = Instance.new("Part", EffectModel)
| |
| 868 | RemoveOutlines(Hitboxpart) | |
| 869 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
| 870 | Hitboxpart.CanCollide = false | |
| 871 | Hitboxpart.Transparency = 1 | |
| 872 | Hitboxpart.Anchored = true | |
| 873 | Hitboxpart.CFrame = Pose | |
| 874 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
| |
| 875 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
| 876 | end | |
| 877 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 878 | local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 879 | prt.Anchored = true | |
| 880 | prt.CFrame = cframe | |
| 881 | local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 882 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 883 | if Type == 1 or Type == nil then | |
| 884 | table.insert(Effects, {
| |
| 885 | prt, | |
| 886 | "Block1", | |
| 887 | delay, | |
| 888 | x3, | |
| 889 | y3, | |
| 890 | z3, | |
| 891 | msh | |
| 892 | }) | |
| 893 | elseif Type == 2 then | |
| 894 | table.insert(Effects, {
| |
| 895 | prt, | |
| 896 | "Block2", | |
| 897 | delay, | |
| 898 | x3, | |
| 899 | y3, | |
| 900 | z3, | |
| 901 | msh | |
| 902 | }) | |
| 903 | elseif Type == 3 then | |
| 904 | table.insert(Effects, {
| |
| 905 | prt, | |
| 906 | "Block3", | |
| 907 | delay, | |
| 908 | x3, | |
| 909 | y3, | |
| 910 | z3, | |
| 911 | msh | |
| 912 | }) | |
| 913 | end | |
| 914 | end | |
| 915 | function RemoveOutlines(part) | |
| 916 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 917 | end | |
| 918 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 919 | local Part = Create("Part")({
| |
| 920 | formFactor = FormFactor, | |
| 921 | Parent = Parent, | |
| 922 | Reflectance = Reflectance, | |
| 923 | Transparency = Transparency, | |
| 924 | CanCollide = false, | |
| 925 | Locked = true, | |
| 926 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 927 | Name = Name, | |
| 928 | Size = Size, | |
| 929 | Material = Material | |
| 930 | }) | |
| 931 | RemoveOutlines(Part) | |
| 932 | return Part | |
| 933 | end | |
| 934 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 935 | local Msh = Create(Mesh)({
| |
| 936 | Parent = Part, | |
| 937 | Offset = OffSet, | |
| 938 | Scale = Scale | |
| 939 | }) | |
| 940 | if Mesh == "SpecialMesh" then | |
| 941 | Msh.MeshType = MeshType | |
| 942 | Msh.MeshId = MeshId | |
| 943 | end | |
| 944 | return Msh | |
| 945 | end | |
| 946 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 947 | local Weld = Create("Weld")({
| |
| 948 | Parent = Parent, | |
| 949 | Part0 = Part0, | |
| 950 | Part1 = Part1, | |
| 951 | C0 = C0, | |
| 952 | C1 = C1 | |
| 953 | }) | |
| 954 | return Weld | |
| 955 | end | |
| 956 | ||
| 957 | ||
| 958 | ------------------------------------------------------- | |
| 959 | --Start Effect Function-- | |
| 960 | ------------------------------------------------------- | |
| 961 | EffectModel = Instance.new("Model", char)
| |
| 962 | Effects = {
| |
| 963 | Block = {
| |
| 964 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 965 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 966 | prt.Anchored = true | |
| 967 | prt.CFrame = cframe | |
| 968 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 969 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 970 | if Type == 1 or Type == nil then | |
| 971 | table.insert(Effects, {
| |
| 972 | prt, | |
| 973 | "Block1", | |
| 974 | delay, | |
| 975 | x3, | |
| 976 | y3, | |
| 977 | z3, | |
| 978 | msh | |
| 979 | }) | |
| 980 | elseif Type == 2 then | |
| 981 | table.insert(Effects, {
| |
| 982 | prt, | |
| 983 | "Block2", | |
| 984 | delay, | |
| 985 | x3, | |
| 986 | y3, | |
| 987 | z3, | |
| 988 | msh | |
| 989 | }) | |
| 990 | else | |
| 991 | table.insert(Effects, {
| |
| 992 | prt, | |
| 993 | "Block3", | |
| 994 | delay, | |
| 995 | x3, | |
| 996 | y3, | |
| 997 | z3, | |
| 998 | msh | |
| 999 | }) | |
| 1000 | end | |
| 1001 | end | |
| 1002 | }, | |
| 1003 | Sphere = {
| |
| 1004 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1005 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1006 | prt.Anchored = true | |
| 1007 | prt.CFrame = cframe | |
| 1008 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1009 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1010 | table.insert(Effects, {
| |
| 1011 | prt, | |
| 1012 | "Cylinder", | |
| 1013 | delay, | |
| 1014 | x3, | |
| 1015 | y3, | |
| 1016 | z3, | |
| 1017 | msh | |
| 1018 | }) | |
| 1019 | end | |
| 1020 | }, | |
| 1021 | Cylinder = {
| |
| 1022 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1023 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1024 | prt.Anchored = true | |
| 1025 | prt.CFrame = cframe | |
| 1026 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1027 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1028 | table.insert(Effects, {
| |
| 1029 | prt, | |
| 1030 | "Cylinder", | |
| 1031 | delay, | |
| 1032 | x3, | |
| 1033 | y3, | |
| 1034 | z3, | |
| 1035 | msh | |
| 1036 | }) | |
| 1037 | end | |
| 1038 | }, | |
| 1039 | Wave = {
| |
| 1040 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1041 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1042 | prt.Anchored = true | |
| 1043 | prt.CFrame = cframe | |
| 1044 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 1045 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1046 | table.insert(Effects, {
| |
| 1047 | prt, | |
| 1048 | "Cylinder", | |
| 1049 | delay, | |
| 1050 | x3 / 60, | |
| 1051 | y3 / 60, | |
| 1052 | z3 / 60, | |
| 1053 | msh | |
| 1054 | }) | |
| 1055 | end | |
| 1056 | }, | |
| 1057 | Ring = {
| |
| 1058 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1059 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1060 | prt.Anchored = true | |
| 1061 | prt.CFrame = cframe | |
| 1062 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1063 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1064 | table.insert(Effects, {
| |
| 1065 | prt, | |
| 1066 | "Cylinder", | |
| 1067 | delay, | |
| 1068 | x3, | |
| 1069 | y3, | |
| 1070 | z3, | |
| 1071 | msh | |
| 1072 | }) | |
| 1073 | end | |
| 1074 | }, | |
| 1075 | Break = {
| |
| 1076 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1077 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1078 | prt.Anchored = true | |
| 1079 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1080 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1081 | local num = math.random(10, 50) / 1000 | |
| 1082 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1083 | table.insert(Effects, {
| |
| 1084 | prt, | |
| 1085 | "Shatter", | |
| 1086 | num, | |
| 1087 | prt.CFrame, | |
| 1088 | math.random() - math.random(), | |
| 1089 | 0, | |
| 1090 | math.random(50, 100) / 100 | |
| 1091 | }) | |
| 1092 | end | |
| 1093 | }, | |
| 1094 | Spiral = {
| |
| 1095 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1096 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1097 | prt.Anchored = true | |
| 1098 | prt.CFrame = cframe | |
| 1099 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1100 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1101 | table.insert(Effects, {
| |
| 1102 | prt, | |
| 1103 | "Cylinder", | |
| 1104 | delay, | |
| 1105 | x3, | |
| 1106 | y3, | |
| 1107 | z3, | |
| 1108 | msh | |
| 1109 | }) | |
| 1110 | end | |
| 1111 | }, | |
| 1112 | Push = {
| |
| 1113 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1114 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1115 | prt.Anchored = true | |
| 1116 | prt.CFrame = cframe | |
| 1117 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1118 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1119 | table.insert(Effects, {
| |
| 1120 | prt, | |
| 1121 | "Cylinder", | |
| 1122 | delay, | |
| 1123 | x3, | |
| 1124 | y3, | |
| 1125 | z3, | |
| 1126 | msh | |
| 1127 | }) | |
| 1128 | end | |
| 1129 | } | |
| 1130 | } | |
| 1131 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 1132 | local fp = IT("Part")
| |
| 1133 | fp.formFactor = formfactor | |
| 1134 | fp.Parent = parent | |
| 1135 | fp.Reflectance = reflectance | |
| 1136 | fp.Transparency = transparency | |
| 1137 | fp.CanCollide = false | |
| 1138 | fp.Locked = true | |
| 1139 | fp.BrickColor = brickcolor | |
| 1140 | fp.Name = name | |
| 1141 | fp.Size = size | |
| 1142 | fp.Position = tors.Position | |
| 1143 | RemoveOutlines(fp) | |
| 1144 | fp.Material = "SmoothPlastic" | |
| 1145 | fp:BreakJoints() | |
| 1146 | return fp | |
| 1147 | end | |
| 1148 | ||
| 1149 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1150 | local mesh = IT(Mesh) | |
| 1151 | mesh.Parent = part | |
| 1152 | if Mesh == "SpecialMesh" then | |
| 1153 | mesh.MeshType = meshtype | |
| 1154 | if meshid ~= "nil" then | |
| 1155 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 1156 | end | |
| 1157 | end | |
| 1158 | mesh.Offset = offset | |
| 1159 | mesh.Scale = scale | |
| 1160 | return mesh | |
| 1161 | end | |
| 1162 | ||
| 1163 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 1164 | local type = type | |
| 1165 | local rng = Instance.new("Part", char)
| |
| 1166 | rng.Anchored = true | |
| 1167 | rng.BrickColor = color | |
| 1168 | rng.CanCollide = false | |
| 1169 | rng.FormFactor = 3 | |
| 1170 | rng.Name = "Ring" | |
| 1171 | rng.Material = "Neon" | |
| 1172 | rng.Size = Vector3.new(1, 1, 1) | |
| 1173 | rng.Transparency = 0 | |
| 1174 | rng.TopSurface = 0 | |
| 1175 | rng.BottomSurface = 0 | |
| 1176 | rng.CFrame = pos | |
| 1177 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1178 | rngm.MeshType = MType | |
| 1179 | rngm.Scale = scale | |
| 1180 | local scaler2 = 1 | |
| 1181 | if type == "Add" then | |
| 1182 | scaler2 = 1 * value | |
| 1183 | elseif type == "Divide" then | |
| 1184 | scaler2 = 1 / value | |
| 1185 | end | |
| 1186 | coroutine.resume(coroutine.create(function() | |
| 1187 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1188 | swait() | |
| 1189 | if type == "Add" then | |
| 1190 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1191 | elseif type == "Divide" then | |
| 1192 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1193 | end | |
| 1194 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1195 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 1196 | end | |
| 1197 | rng:Destroy() | |
| 1198 | end)) | |
| 1199 | end | |
| 1200 | ||
| 1201 | function Eviscerate(dude) | |
| 1202 | if dude.Name ~= char then | |
| 1203 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1204 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1205 | local val = IT("BoolValue", dude)
| |
| 1206 | val.Name = "IsHit" | |
| 1207 | local ds = coroutine.wrap(function() | |
| 1208 | dude:WaitForChild("Head"):BreakJoints()
| |
| 1209 | wait(0.5) | |
| 1210 | target = nil | |
| 1211 | coroutine.resume(coroutine.create(function() | |
| 1212 | for i, v in pairs(dude:GetChildren()) do | |
| 1213 | if v:IsA("Accessory") then
| |
| 1214 | v:Destroy() | |
| 1215 | end | |
| 1216 | if v:IsA("Humanoid") then
| |
| 1217 | v:Destroy() | |
| 1218 | end | |
| 1219 | if v:IsA("CharacterMesh") then
| |
| 1220 | v:Destroy() | |
| 1221 | end | |
| 1222 | if v:IsA("Model") then
| |
| 1223 | v:Destroy() | |
| 1224 | end | |
| 1225 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1226 | for x, o in pairs(v:GetChildren()) do | |
| 1227 | if o:IsA("Decal") then
| |
| 1228 | o:Destroy() | |
| 1229 | end | |
| 1230 | end | |
| 1231 | coroutine.resume(coroutine.create(function() | |
| 1232 | v.Material = "Neon" | |
| 1233 | v.CanCollide = false | |
| 1234 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 1235 | PartEmmit1.LightEmission = 1 | |
| 1236 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 1237 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1238 | PartEmmit1.Rate = 150 | |
| 1239 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 1240 | PartEmmit1.Size = NumberSequence.new({
| |
| 1241 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 1242 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1243 | }) | |
| 1244 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1245 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1246 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1247 | }) | |
| 1248 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1249 | PartEmmit1.VelocitySpread = 30000 | |
| 1250 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 1251 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1252 | local BodPoss = IT("BodyPosition", v)
| |
| 1253 | BodPoss.P = 3000 | |
| 1254 | BodPoss.D = 1000 | |
| 1255 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1256 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1257 | v.Color = maincolor.Color | |
| 1258 | coroutine.resume(coroutine.create(function() | |
| 1259 | for i = 0, 49 do | |
| 1260 | swait(1) | |
| 1261 | v.Transparency = v.Transparency + 0.08 | |
| 1262 | end | |
| 1263 | wait(0.5) | |
| 1264 | PartEmmit1.Enabled = false | |
| 1265 | wait(3) | |
| 1266 | v:Destroy() | |
| 1267 | dude:Destroy() | |
| 1268 | end)) | |
| 1269 | end)) | |
| 1270 | end | |
| 1271 | end | |
| 1272 | end)) | |
| 1273 | end) | |
| 1274 | ds() | |
| 1275 | end | |
| 1276 | end | |
| 1277 | ||
| 1278 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1279 | if SinglePlayer then | |
| 1280 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1281 | end | |
| 1282 | local List = {}
| |
| 1283 | for i, v in pairs(workspace:GetChildren()) do | |
| 1284 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1285 | table.insert(List, v) | |
| 1286 | end | |
| 1287 | end | |
| 1288 | return List | |
| 1289 | end | |
| 1290 | ||
| 1291 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 1292 | local type = type | |
| 1293 | local rng = Instance.new("Part", char)
| |
| 1294 | rng.Anchored = true | |
| 1295 | rng.BrickColor = color | |
| 1296 | rng.CanCollide = false | |
| 1297 | rng.FormFactor = 3 | |
| 1298 | rng.Name = "Ring" | |
| 1299 | rng.Material = "Neon" | |
| 1300 | rng.Size = Vector3.new(1, 1, 1) | |
| 1301 | rng.Transparency = 0 | |
| 1302 | rng.TopSurface = 0 | |
| 1303 | rng.BottomSurface = 0 | |
| 1304 | rng.CFrame = pos | |
| 1305 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1306 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1307 | rngm.MeshType = MType | |
| 1308 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1309 | local scaler2 = 1 | |
| 1310 | local speeder = FastSpeed | |
| 1311 | if type == "Add" then | |
| 1312 | scaler2 = 1 * value | |
| 1313 | elseif type == "Divide" then | |
| 1314 | scaler2 = 1 / value | |
| 1315 | end | |
| 1316 | coroutine.resume(coroutine.create(function() | |
| 1317 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1318 | swait() | |
| 1319 | if type == "Add" then | |
| 1320 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1321 | elseif type == "Divide" then | |
| 1322 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1323 | end | |
| 1324 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1325 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1326 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1327 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1328 | end | |
| 1329 | rng:Destroy() | |
| 1330 | end)) | |
| 1331 | end | |
| 1332 | ||
| 1333 | function SoulSteal(dude) | |
| 1334 | if dude.Name ~= char then | |
| 1335 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1336 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1337 | local val = IT("BoolValue", dude)
| |
| 1338 | val.Name = "IsHit" | |
| 1339 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 1340 | local soulst = coroutine.wrap(function() | |
| 1341 | local soul = Instance.new("Part",dude)
| |
| 1342 | soul.Size = Vector3.new(1,1,1) | |
| 1343 | soul.CanCollide = false | |
| 1344 | soul.Anchored = false | |
| 1345 | soul.Position = torso.Position | |
| 1346 | soul.Transparency = 1 | |
| 1347 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 1348 | PartEmmit1.LightEmission = 1 | |
| 1349 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1350 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1351 | PartEmmit1.Rate = 250 | |
| 1352 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1353 | PartEmmit1.Size = NumberSequence.new({
| |
| 1354 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1355 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1356 | }) | |
| 1357 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1358 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1359 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1360 | }) | |
| 1361 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1362 | PartEmmit1.VelocitySpread = 30000 | |
| 1363 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1364 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1365 | local BodPoss = IT("BodyPosition", soul)
| |
| 1366 | BodPoss.P = 3000 | |
| 1367 | BodPoss.D = 1000 | |
| 1368 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1369 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1370 | wait(1.6) | |
| 1371 | soul.Touched:connect(function(hit) | |
| 1372 | if hit.Parent == char then | |
| 1373 | soul:Destroy() | |
| 1374 | end | |
| 1375 | end) | |
| 1376 | wait(1.2) | |
| 1377 | while soul do | |
| 1378 | swait() | |
| 1379 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1380 | BodPoss.Position = tors.Position | |
| 1381 | end | |
| 1382 | end) | |
| 1383 | soulst() | |
| 1384 | end | |
| 1385 | end | |
| 1386 | function FaceMouse() | |
| 1387 | local Cam = workspace.CurrentCamera | |
| 1388 | return {
| |
| 1389 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1390 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1391 | } | |
| 1392 | end | |
| 1393 | ||
| 1394 | BTAUNT = Instance.new("Sound", tors)
| |
| 1395 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=846663146" | |
| 1396 | BTAUNT.Volume = 10 | |
| 1397 | BTAUNT.Pitch = 1 | |
| 1398 | BTAUNT.Looped = true | |
| 1399 | BTAUNT.TimePosition = 0 | |
| 1400 | ||
| 1401 | BTAUNT2 = Instance.new("Sound", tors)
| |
| 1402 | BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=157016540" | |
| 1403 | BTAUNT2.Volume = 10 | |
| 1404 | BTAUNT2.Pitch = 1 | |
| 1405 | BTAUNT2.Looped = false | |
| 1406 | BTAUNT2.TimePosition = 0 | |
| 1407 | ||
| 1408 | BTAUNT1 = Instance.new("Sound", tors)
| |
| 1409 | BTAUNT1.SoundId = "http://www.roblox.com/asset/?id=0" | |
| 1410 | BTAUNT1.Volume = 10 | |
| 1411 | BTAUNT1.Pitch = 1 | |
| 1412 | BTAUNT1.Looped = true | |
| 1413 | BTAUNT1.TimePosition = 0.2 | |
| 1414 | ||
| 1415 | BTAUNT3 = Instance.new("Sound", tors)
| |
| 1416 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=1138145518" | |
| 1417 | BTAUNT3.Volume = 10 | |
| 1418 | BTAUNT3.Pitch = 1 | |
| 1419 | BTAUNT3.Looped = true | |
| 1420 | BTAUNT3.TimePosition = 0 | |
| 1421 | ||
| 1422 | TEST = Instance.new("Sound", tors)
| |
| 1423 | TEST.SoundId = "http://www.roblox.com/asset/?id=723652641" | |
| 1424 | TEST.Volume = 25 | |
| 1425 | TEST.Pitch = 1 | |
| 1426 | TEST.Looped = false | |
| 1427 | TEST.TimePosition = 0 | |
| 1428 | ------------------------------------------------------- | |
| 1429 | --End Effect Function-- | |
| 1430 | ------------------------------------------------------- | |
| 1431 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1432 | local NSound = nil | |
| 1433 | coroutine.resume(coroutine.create(function() | |
| 1434 | NSound = IT("Sound", PARENT)
| |
| 1435 | NSound.Volume = VOLUME | |
| 1436 | NSound.Pitch = PITCH | |
| 1437 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1438 | swait() | |
| 1439 | NSound:play() | |
| 1440 | game:GetService("Debris"):AddItem(NSound, 50)
| |
| 1441 | end)) | |
| 1442 | return NSound | |
| 1443 | end | |
| 1444 | function CameraEnshaking(Length, Intensity) | |
| 1445 | coroutine.resume(coroutine.create(function() | |
| 1446 | local intensity = 1 * Intensity | |
| 1447 | local rotM = 0.01 * Intensity | |
| 1448 | for i = 0, Length, 0.1 do | |
| 1449 | swait() | |
| 1450 | intensity = intensity - 0.05 * Intensity / Length | |
| 1451 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1452 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1453 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
| 1454 | end | |
| 1455 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1456 | end)) | |
| 1457 | end | |
| 1458 | ------------------------------------------------------- | |
| 1459 | --End Important Functions-- | |
| 1460 | ------------------------------------------------------- | |
| 1461 | ||
| 1462 | ||
| 1463 | ------------------------------------------------------- | |
| 1464 | --Start Customization-- | |
| 1465 | ------------------------------------------------------- | |
| 1466 | local Player_Size = 1 | |
| 1467 | if Player_Size ~= 1 then | |
| 1468 | root.Size = root.Size * Player_Size | |
| 1469 | tors.Size = tors.Size * Player_Size | |
| 1470 | hed.Size = hed.Size * Player_Size | |
| 1471 | ra.Size = ra.Size * Player_Size | |
| 1472 | la.Size = la.Size * Player_Size | |
| 1473 | rl.Size = rl.Size * Player_Size | |
| 1474 | ll.Size = ll.Size * Player_Size | |
| 1475 | ---------------------------------------------------------------------------------- | |
| 1476 | rootj.Parent = root | |
| 1477 | neck.Parent = tors | |
| 1478 | RW.Parent = tors | |
| 1479 | LW.Parent = tors | |
| 1480 | RH.Parent = tors | |
| 1481 | LH.Parent = tors | |
| 1482 | ---------------------------------------------------------------------------------- | |
| 1483 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1484 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1485 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1486 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1487 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1488 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1489 | ---------------------------------------------------------------------------------- | |
| 1490 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1491 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1492 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1493 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1494 | --hat.Parent = Character | |
| 1495 | end | |
| 1496 | ---------------------------------------------------------------------------------- | |
| 1497 | ---------------------------------------------------------------------------------- | |
| 1498 | local equipped = false | |
| 1499 | local idle = 0 | |
| 1500 | local change = 1 | |
| 1501 | local val = 0 | |
| 1502 | local toim = 0 | |
| 1503 | local idleanim = 0.4 | |
| 1504 | local sine = 0 | |
| 1505 | local Sit = 1 | |
| 1506 | ---------------------------------------------------------------------------------- | |
| 1507 | hum.WalkSpeed = 8 | |
| 1508 | hum.JumpPower = 57 | |
| 1509 | hum.Animator.Parent = nil | |
| 1510 | ---------------------------------------------------------------------------------- | |
| 1511 | function chatfunc(text, color) | |
| 1512 | local chat = coroutine.wrap(function() | |
| 1513 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1514 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1515 | end | |
| 1516 | local naeeym2 = Instance.new("BillboardGui", char)
| |
| 1517 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 1518 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
| 1519 | naeeym2.Adornee = hed | |
| 1520 | naeeym2.Name = "TalkingBillBoard" | |
| 1521 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 1522 | tecks2.BackgroundTransparency = 1 | |
| 1523 | tecks2.BorderSizePixel = 0 | |
| 1524 | tecks2.Text = "" | |
| 1525 | tecks2.Font = "SciFi" | |
| 1526 | tecks2.TextSize = 30 | |
| 1527 | tecks2.TextStrokeTransparency = 0 | |
| 1528 | tecks2.TextColor3 = color | |
| 1529 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1530 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1531 | local tecks3 = Instance.new("TextLabel", naeeym2)
| |
| 1532 | tecks3.BackgroundTransparency = 1 | |
| 1533 | tecks3.BorderSizePixel = 0 | |
| 1534 | tecks3.Text = "" | |
| 1535 | tecks3.Font = "SciFi" | |
| 1536 | tecks3.TextSize = 30 | |
| 1537 | tecks3.TextStrokeTransparency = 0 | |
| 1538 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
| 1539 | tecks3.TextStrokeColor3 = color | |
| 1540 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1541 | coroutine.resume(coroutine.create(function() | |
| 1542 | while true do | |
| 1543 | swait(1) | |
| 1544 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 1545 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 1546 | tecks2.Rotation = math.random(-5, 5) | |
| 1547 | tecks3.Rotation = math.random(-5, 5) | |
| 1548 | end | |
| 1549 | end)) | |
| 1550 | for i = 1, string.len(text) do | |
| 1551 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
| |
| 1552 | tecks2.Text = string.sub(text, 1, i) | |
| 1553 | tecks3.Text = string.sub(text, 1, i) | |
| 1554 | swait(1) | |
| 1555 | end | |
| 1556 | wait(1) | |
| 1557 | local randomrot = math.random(1, 2) | |
| 1558 | if randomrot == 1 then | |
| 1559 | for i = 1, 50 do | |
| 1560 | swait() | |
| 1561 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
| 1562 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1563 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1564 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
| 1565 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1566 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1567 | end | |
| 1568 | elseif randomrot == 2 then | |
| 1569 | for i = 1, 50 do | |
| 1570 | swait() | |
| 1571 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
| 1572 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1573 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1574 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
| 1575 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1576 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1577 | end | |
| 1578 | end | |
| 1579 | naeeym2:Destroy() | |
| 1580 | end) | |
| 1581 | chat() | |
| 1582 | end | |
| 1583 | ||
| 1584 | ------------------------------------------------------- | |
| 1585 | --End Customization-- | |
| 1586 | ------------------------------------------------------- | |
| 1587 | local Blobby = Instance.new("Part", char)
| |
| 1588 | Blobby.Name = "Blob" | |
| 1589 | Blobby.CanCollide = false | |
| 1590 | Blobby.BrickColor = BrickColor.new("Really black")
| |
| 1591 | Blobby.Transparency = 0 | |
| 1592 | Blobby.Material = "Plastic" | |
| 1593 | Blobby.Size = Vector3.new(1, 1, 2) | |
| 1594 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
| 1595 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
| 1596 | ||
| 1597 | local Weld = Instance.new("Weld", Blobby)
| |
| 1598 | Weld.Part0 = ra | |
| 1599 | Weld.Part1 = Blobby | |
| 1600 | Weld.C1 = CFrame.new(0, 0.8, 0) | |
| 1601 | Weld.C0 = CFrame.Angles(Rad(-180),0,135) | |
| 1602 | ||
| 1603 | local M2 = Instance.new("SpecialMesh")
| |
| 1604 | M2.Parent = Blobby | |
| 1605 | M2.MeshId = "rbxassetid://0" | |
| 1606 | M2.TextureId = "rbxassetid://0" | |
| 1607 | M2.Scale = Vector3.new(1, 0.8, 1) | |
| 1608 | ||
| 1609 | --[[local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1610 | naeeym2.AlwaysOnTop = true | |
| 1611 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1612 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
| 1613 | naeeym2.Adornee = hed | |
| 1614 | naeeym2.Name = "Name" | |
| 1615 | --naeeym2.PlayerToHideFrom = Player | |
| 1616 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1617 | tecks2.BackgroundTransparency = 1 | |
| 1618 | tecks2.TextScaled = true | |
| 1619 | tecks2.BorderSizePixel = 0 | |
| 1620 | tecks2.Text = "Fight Me" | |
| 1621 | tecks2.Font = Enum.Font.Bodoni | |
| 1622 | tecks2.TextSize = 30 | |
| 1623 | tecks2.TextStrokeTransparency = 0 | |
| 1624 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 1625 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
| 1626 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1627 | tecks2.Parent = naeeym2]] | |
| 1628 | local Particle = IT("ParticleEmitter",nil)
| |
| 1629 | Particle.Enabled = false | |
| 1630 | Particle.LightEmission = 0.2 | |
| 1631 | Particle.Rate = 150 | |
| 1632 | Particle.ZOffset = 1 | |
| 1633 | Particle.Rotation = NumberRange.new(-180, 180) | |
| 1634 | ||
| 1635 | function ParticleEmitter(Table) | |
| 1636 | local PRTCL = Particle:Clone() | |
| 1637 | local Color1 = Table.Color1 or Color3.new(1,1,1) | |
| 1638 | local Color2 = Table.Color2 or Color3.new(1,1,1) | |
| 1639 | local Speed = Table.Speed or 5 | |
| 1640 | local Drag = Table.Drag or 0 | |
| 1641 | local Size1 = Table.Size1 or 1 | |
| 1642 | local Size2 = Table.Size2 or 5 | |
| 1643 | local Lifetime1 = Table.Lifetime1 or 1 | |
| 1644 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
| 1645 | local Parent = Table.Parent or tors | |
| 1646 | local Emit = Table.Emit or 100 | |
| 1647 | local Offset = Table.Offset or 360 | |
| 1648 | local Acel = Table.Acel or Vector3.new(0,0,0) | |
| 1649 | local Enabled = Table.Enabled or false | |
| 1650 | local Texture = Table.Texture or "281983280" | |
| 1651 | local RotS = Table.RotSpeed or NumberRange.new(-15, 15) | |
| 1652 | local Trans1 = Table.Transparency1 or 0 | |
| 1653 | local Trans2 = Table.Transparency2 or 0 | |
| 1654 | PRTCL.Parent = Parent | |
| 1655 | PRTCL.RotSpeed = RotS | |
| 1656 | PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
| |
| 1657 | PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture | |
| 1658 | PRTCL.Color = ColorSequence.new(Color1,Color2) | |
| 1659 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
| 1660 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
| 1661 | PRTCL.Speed = NumberRange.new(Speed) | |
| 1662 | PRTCL.VelocitySpread = Offset | |
| 1663 | PRTCL.Drag = Drag | |
| 1664 | PRTCL.Acceleration = Acel | |
| 1665 | if Enabled == false then | |
| 1666 | PRTCL:Emit(Emit) | |
| 1667 | game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
| |
| 1668 | else | |
| 1669 | PRTCL.Enabled = true | |
| 1670 | end | |
| 1671 | return PRTCL | |
| 1672 | end | |
| 1673 | ---------------------------------------------------------------------------------- | |
| 1674 | local AddInstance = function(Object, ...) | |
| 1675 | local Obj = Instance.new(Object) | |
| 1676 | for i,v in next,(...) do | |
| 1677 | Obj[i] = v | |
| 1678 | end | |
| 1679 | return Obj | |
| 1680 | end | |
| 1681 | ---------------------------------------------------- | |
| 1682 | local Reaper = AddInstance("Part",{
| |
| 1683 | Parent = hed, | |
| 1684 | CFrame = hed.CFrame, | |
| 1685 | formFactor = "Symmetric", | |
| 1686 | Size = Vector3.new(1, 1, 1), | |
| 1687 | CanCollide = false, | |
| 1688 | TopSurface = "Smooth", | |
| 1689 | BottomSurface = "Smooth", | |
| 1690 | Locked = true, | |
| 1691 | }) | |
| 1692 | local Weld = AddInstance("Weld",{
| |
| 1693 | Parent = Reaper, | |
| 1694 | Part0 = hed, | |
| 1695 | C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0), | |
| 1696 | Part1 = Reaper, | |
| 1697 | }) | |
| 1698 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1699 | Parent = Reaper, | |
| 1700 | MeshId = "rbxassetid://1241662062", | |
| 1701 | TextureId = "rbxassetid://241553801", | |
| 1702 | Scale = Vector3.new(1.05,1.05,1.05), | |
| 1703 | VertexColor = Vector3.new(0.3, 0, 0.3), | |
| 1704 | }) | |
| 1705 | ------------------------------------------------------- | |
| 1706 | --[[ | |
| 1707 | Thanks for using Build-To-Lua by jarredbcv. | |
| 1708 | ]]-- | |
| 1709 | -- | |
| 1710 | wait(1) | |
| 1711 | plr = game.Players.LocalPlayer | |
| 1712 | char = plr.Character | |
| 1713 | mouse = plr:GetMouse() | |
| 1714 | whitecolor = Color3.new(255,255,1) | |
| 1715 | epicmode = false | |
| 1716 | normal = true | |
| 1717 | for i,v in pairs(char:GetChildren()) do | |
| 1718 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
| 1719 | v:Destroy() | |
| 1720 | end | |
| 1721 | end | |
| 1722 | local shirt = Instance.new("Shirt",char)
| |
| 1723 | shirt.ShirtTemplate = "rbxassetid://230449737" | |
| 1724 | local pants = Instance.new("Pants",char)
| |
| 1725 | pants.PantsTemplate = "rbxassetid://338750779" | |
| 1726 | local bdycolors = char["Body Colors"] | |
| 1727 | bdycolors.HeadColor3 = whitecolor | |
| 1728 | bdycolors.LeftArmColor3 = whitecolor | |
| 1729 | bdycolors.LeftLegColor3 = whitecolor | |
| 1730 | bdycolors.RightArmColor3 = whitecolor | |
| 1731 | bdycolors.RightLegColor3 = whitecolor | |
| 1732 | bdycolors.TorsoColor3 = whitecolor | |
| 1733 | for i,v in pairs(char:GetChildren()) do | |
| 1734 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
| 1735 | v:Destroy() | |
| 1736 | end | |
| 1737 | end | |
| 1738 | ||
| 1739 | ||
| 1740 | ||
| 1741 | local BC = Character["Body Colors"] | |
| 1742 | BC.HeadColor = BrickColor.new("Pastel brown")
| |
| 1743 | BC.LeftArmColor = BrickColor.new("Pastel brown")
| |
| 1744 | BC.LeftLegColor = BrickColor.new("Pastel brown")
| |
| 1745 | BC.RightArmColor = BrickColor.new("Pastel brown")
| |
| 1746 | BC.RightLegColor = BrickColor.new("Pastel brown")
| |
| 1747 | BC.TorsoColor = BrickColor.new("Pastel brown")
| |
| 1748 | ||
| 1749 | ||
| 1750 | local righteyebrickcolor = "Institutional white" | |
| 1751 | local reye = Instance.new("Part", char)
| |
| 1752 | reye.CanCollide = false | |
| 1753 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 1754 | reye.Material = "Neon" | |
| 1755 | reye.Size = Vector3.new(.25,.35,.15) | |
| 1756 | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
| 1757 | m1 = Instance.new("SpecialMesh", reye)
| |
| 1758 | m1.MeshType = "Sphere" | |
| 1759 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
| 1760 | reye.Locked = true | |
| 1761 | reye.Name = "re" | |
| 1762 | ||
| 1763 | local specialMesh = Instance.new("SpecialMesh", wings)
| |
| 1764 | specialMesh.MeshId = "rbxassetid://0" | |
| 1765 | specialMesh.Offset = Vector3.new(0,0.1,-0.2) | |
| 1766 | specialMesh.Scale = Vector3.new(1,1,1) | |
| 1767 | BRICKC = BrickColor.new | |
| 1768 | ------------------------------------------------------- | |
| 1769 | --Start Attacks N Stuff-- | |
| 1770 | ------------------------------------------------------- | |
| 1771 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1772 | naeeym2.AlwaysOnTop = true | |
| 1773 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 1774 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1775 | naeeym2.Adornee = hed | |
| 1776 | naeeym2.Name = "Name" | |
| 1777 | ||
| 1778 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1779 | tecks2.BackgroundTransparency = 1 | |
| 1780 | tecks2.TextScaled = true | |
| 1781 | tecks2.BorderSizePixel = 0 | |
| 1782 | tecks2.Text = "AGAIN YOU?!" | |
| 1783 | tecks2.Font = "Fantasy" | |
| 1784 | tecks2.TextSize = 30 | |
| 1785 | tecks2.TextStrokeTransparency = 0 | |
| 1786 | tecks2.TextColor3 = BrickColor.new('Really black').Color
| |
| 1787 | tecks2.TextStrokeColor3 = BrickColor.new('Blue storm').Color
| |
| 1788 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1789 | tecks2.Parent = naeeym2 | |
| 1790 | textfag = tecks2 | |
| 1791 | tecks2.Text = "AGAIN ANNOY PEOPLE.." | |
| 1792 | wait(2) | |
| 1793 | tecks2.Text = "LET ME JUST KILL YOU AFTER IM GO TO MY WORK" | |
| 1794 | wait(1) | |
| 1795 | tecks2.Text = "MICHEAL" | |
| 1796 | BTAUNT:Play() | |
| 1797 | coroutine.resume(coroutine.create(function() | |
| 1798 | while textfag ~= nil do | |
| 1799 | swait() | |
| 1800 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
| 1801 | textfag.Rotation = math.random(-3,3) | |
| 1802 | end | |
| 1803 | end)) | |
| 1804 | ||
| 1805 | ||
| 1806 | function Maniac() | |
| 1807 | attack = true | |
| 1808 | movelegs = true | |
| 1809 | Speed = 4 | |
| 1810 | local Laugh = Cso("246480487", hed, 3, 0.9)
| |
| 1811 | swait(2) | |
| 1812 | repeat | |
| 1813 | swait() | |
| 1814 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1) | |
| 1815 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(15)), 0.1) | |
| 1816 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
| 1817 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 1818 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.1 * Sin(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(210), Rad(0), Rad(-10)), 0.1) | |
| 1819 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(20), Rad(-5 + 4.5 * Sin(sine / 2))), 0.1) | |
| 1820 | until Laugh.Playing == false | |
| 1821 | attack = false | |
| 1822 | movelegs = false | |
| 1823 | Speed = 35 | |
| 1824 | end | |
| 1825 | ||
| 1826 | function fail() | |
| 1827 | chatfunc("You have failed.", BrickColor.new("Really red").Color)
| |
| 1828 | Cso("907331307", hed, 3.5, 1)
| |
| 1829 | attack = true | |
| 1830 | hum.WalkSpeed = 2.01 | |
| 1831 | for i = 0,1.2,0.1 do | |
| 1832 | swait() | |
| 1833 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1834 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1835 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1836 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1837 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 1838 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 1839 | end | |
| 1840 | for i = 0,1.2,0.1 do | |
| 1841 | swait() | |
| 1842 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1843 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1844 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1845 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1846 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 1847 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 1848 | end | |
| 1849 | for i = 0,1.2,0.1 do | |
| 1850 | swait() | |
| 1851 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1852 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1853 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1854 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1855 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 1856 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 1857 | end | |
| 1858 | for i = 0,1.2,0.1 do | |
| 1859 | swait() | |
| 1860 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1861 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1862 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1863 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1864 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 1865 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 1866 | end | |
| 1867 | for i = 0,1.2,0.1 do | |
| 1868 | swait() | |
| 1869 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1870 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1871 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1872 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1873 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 1874 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 1875 | end | |
| 1876 | for i = 0,1.2,0.1 do | |
| 1877 | swait() | |
| 1878 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1879 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1880 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1881 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1882 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 1883 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 1884 | end | |
| 1885 | hum.WalkSpeed = 16 | |
| 1886 | attack = false | |
| 1887 | end | |
| 1888 | function arrest() | |
| 1889 | local target = nil | |
| 1890 | local targettorso = nil | |
| 1891 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1892 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 1893 | target = mouse.Target.Parent.Humanoid | |
| 1894 | target2 = mouse.Target.Parent | |
| 1895 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 1896 | end | |
| 1897 | end | |
| 1898 | Cso("153092227", hed, 10, 1)
| |
| 1899 | if target ~= nil then | |
| 1900 | attack = true | |
| 1901 | hum.WalkSpeed = 0 | |
| 1902 | for i = 0, 3.4, 0.1 do | |
| 1903 | swait() | |
| 1904 | hum.WalkSpeed = 0 | |
| 1905 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1) | |
| 1906 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1) | |
| 1907 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1) | |
| 1908 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1) | |
| 1909 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(-15), Rad(46 + 4.5 * Sin(sine / 12))), 0.1) | |
| 1910 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1) | |
| 1911 | end | |
| 1912 | --ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
| |
| 1913 | --targettorso:BreakJoints() | |
| 1914 | for i = 0, 3.4, 0.1 do | |
| 1915 | swait() | |
| 1916 | hum.WalkSpeed = 0 | |
| 1917 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
| |
| 1918 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1) | |
| 1919 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1) | |
| 1920 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1) | |
| 1921 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1) | |
| 1922 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(135), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1) | |
| 1923 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1) | |
| 1924 | end | |
| 1925 | for i, v in pairs(target2:GetChildren()) do | |
| 1926 | if(not char:IsAncestorOf(v))then | |
| 1927 | local hum = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid') | |
| 1928 | local hedder = (v and v.Parent and v.Parent:FindFirstChild'Head') | |
| 1929 | if(hum and hedder and hum.Health > 0)then | |
| 1930 | Eviscerate(v.Parent) | |
| 1931 | end | |
| 1932 | end | |
| 1933 | end | |
| 1934 | attack = false | |
| 1935 | hum.WalkSpeed = 16 | |
| 1936 | end | |
| 1937 | end | |
| 1938 | function THUNDERCLAP() | |
| 1939 | attack = true | |
| 1940 | chatfunc("......", maincolor.Color)
| |
| 1941 | for i = 0, 15, 0.1 do | |
| 1942 | swait() | |
| 1943 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
| 1944 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
| 1945 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
| 1946 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
| 1947 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
| 1948 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
| 1949 | end | |
| 1950 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
| |
| 1951 | chatfunc("IM NOT FOOL", maincolor.Color)
| |
| 1952 | for i = 0, 7, 0.1 do | |
| 1953 | swait() | |
| 1954 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
| 1955 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
| 1956 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
| 1957 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
| 1958 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3) | |
| 1959 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3) | |
| 1960 | end | |
| 1961 | chatfunc("SHATTER!", maincolor.Color)
| |
| 1962 | Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere")
| |
| 1963 | Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
| |
| 1964 | Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere")
| |
| 1965 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do | |
| 1966 | if v:FindFirstChild("Head") then
| |
| 1967 | Eviscerate(v) | |
| 1968 | end | |
| 1969 | end | |
| 1970 | CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
| |
| 1971 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
| |
| 1972 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
| |
| 1973 | for i = 0, 7, 0.1 do | |
| 1974 | swait() | |
| 1975 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
| 1976 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
| 1977 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
| 1978 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
| 1979 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3) | |
| 1980 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3) | |
| 1981 | end | |
| 1982 | attack = false | |
| 1983 | end | |
| 1984 | function Taunt1() | |
| 1985 | attack = true | |
| 1986 | hum.WalkSpeed = 3.01 | |
| 1987 | Cso("333446256", hed, 10, 1)
| |
| 1988 | for i = 0, 9, 0.1 do | |
| 1989 | swait() | |
| 1990 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1) | |
| 1991 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1) | |
| 1992 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1) | |
| 1993 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
| 1994 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
| 1995 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(10), Rad(-20), Rad(-90)), 0.2) | |
| 1996 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0 + 0.025 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(6), Rad(20), Rad(90)), 0.2) | |
| 1997 | end | |
| 1998 | hum.WalkSpeed = 16 | |
| 1999 | attack = false | |
| 2000 | end | |
| 2001 | ||
| 2002 | ||
| 2003 | function Ban() | |
| 2004 | attack = true | |
| 2005 | for i = 0, 2.6, 0.1 do | |
| 2006 | swait() | |
| 2007 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2) | |
| 2008 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
| 2009 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
| 2010 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2) | |
| 2011 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
| 2012 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) | |
| 2013 | end | |
| 2014 | Cso("357417055", tors, 10, 1)
| |
| 2015 | CameraEnshaking(2, 15) | |
| 2016 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 2017 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 2018 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 2019 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
| 2020 | if v:FindFirstChild("Head") then
| |
| 2021 | Eviscerate(v) | |
| 2022 | end | |
| 2023 | end | |
| 2024 | for i = 0, 3, 0.1 do | |
| 2025 | swait() | |
| 2026 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
| 2027 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
| 2028 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
| 2029 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3) | |
| 2030 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
| 2031 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2032 | end | |
| 2033 | attack = false | |
| 2034 | end | |
| 2035 | function Taunt2() | |
| 2036 | attack = true | |
| 2037 | hum.WalkSpeed = 0 | |
| 2038 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),tors.CFrame,true,false) | |
| 2039 | Hook2.Transparency = 1 | |
| 2040 | local A2 = NewInstance("Attachment",Hook2)
| |
| 2041 | local B2 = NewInstance("Attachment",hed,{Position = Vector3.new(0,-hed.Size.Y/2,0)})
| |
| 2042 | local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
| |
| 2043 | CFuncs.Sound.Create("rbxassetid://2545008459", head, 100, 1)
| |
| 2044 | for i = 0, 2, 0.1 do | |
| 2045 | swait() | |
| 2046 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 2047 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2048 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2049 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2050 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2051 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2052 | end | |
| 2053 | for i = 0, 6, 0.1 do | |
| 2054 | swait() | |
| 2055 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 2056 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0 - 255.45 * i)), 0.15) | |
| 2057 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2058 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2059 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2060 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2061 | end | |
| 2062 | for i = 0, 2, 0.1 do | |
| 2063 | swait() | |
| 2064 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 2065 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0 - 255.45 * i)), 0.3) | |
| 2066 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2067 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2068 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2069 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2070 | end | |
| 2071 | attack = false | |
| 2072 | Hook2:Destroy() | |
| 2073 | hum.WalkSpeed = 20 | |
| 2074 | end | |
| 2075 | function Taunt3() | |
| 2076 | attack = true | |
| 2077 | hum.WalkSpeed = 0 | |
| 2078 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),tors.CFrame,true,false) | |
| 2079 | Hook2.Transparency = 1 | |
| 2080 | local A2 = NewInstance("Attachment",Hook2)
| |
| 2081 | local B2 = NewInstance("Attachment",hed,{Position = Vector3.new(0,-hed.Size.Y/2,0)})
| |
| 2082 | local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
| |
| 2083 | CFuncs.Sound.Create("rbxassetid://2606662454", head, 100, 1)
| |
| 2084 | for i = 0, 2, 0.1 do | |
| 2085 | swait() | |
| 2086 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
| 2087 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 1 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(1 + -43 * Sin(sine / 7)), Rad(0)), 0.3) | |
| 2088 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2089 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2090 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2091 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2092 | end | |
| 2093 | for i = 0, 6, 0.1 do | |
| 2094 | swait() | |
| 2095 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
| 2096 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 1 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(1 + -43 * Sin(sine / 7)), Rad(0)), 0.3) | |
| 2097 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2098 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2099 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2100 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2101 | end | |
| 2102 | for i = 0, 2, 0.1 do | |
| 2103 | swait() | |
| 2104 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
| 2105 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 1 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(1 + -43 * Sin(sine / 7)), Rad(0)), 0.3) | |
| 2106 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2107 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2108 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2109 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2110 | end | |
| 2111 | attack = false | |
| 2112 | Hook2:Destroy() | |
| 2113 | hum.WalkSpeed = 20 | |
| 2114 | end | |
| 2115 | ||
| 2116 | function aaa() | |
| 2117 | attack = true | |
| 2118 | hum.WalkSpeed = 0 | |
| 2119 | for i = 0,20, 0.1 do | |
| 2120 | swait() | |
| 2121 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2122 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
| 2123 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
| 2124 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
| 2125 | RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1) | |
| 2126 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1) | |
| 2127 | end | |
| 2128 | hum.WalkSpeed = 16 | |
| 2129 | attack = false | |
| 2130 | end | |
| 2131 | function GalaBomb() | |
| 2132 | attack = true | |
| 2133 | Cso("363808674", hed, 3.5, 1.3)
| |
| 2134 | local orb = Instance.new("Part", char)
| |
| 2135 | orb.Anchored = true | |
| 2136 | orb.BrickColor = BrickC("Really black")
| |
| 2137 | orb.CanCollide = false | |
| 2138 | orb.FormFactor = 3 | |
| 2139 | orb.Name = "Ring" | |
| 2140 | orb.Material = "Neon" | |
| 2141 | orb.Size = Vector3.new(1, 1, 1) | |
| 2142 | orb.Transparency = 0 | |
| 2143 | orb.TopSurface = 0 | |
| 2144 | orb.BottomSurface = 0 | |
| 2145 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 2146 | orbm.MeshType = "Sphere" | |
| 2147 | orbm.Name = "SizeMesh" | |
| 2148 | orbm.Scale = Vector3.new(0, 0, 0) | |
| 2149 | local scaled = 0.1 | |
| 2150 | local posid = 0 | |
| 2151 | for i = 0, 12, 0.1 do | |
| 2152 | swait() | |
| 2153 | scaled = scaled + 0.001 | |
| 2154 | posid = posid - scaled | |
| 2155 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
| 2156 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
| 2157 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.1) | |
| 2158 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-25)), 0.1) | |
| 2159 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1) | |
| 2160 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1) | |
| 2161 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2162 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1) | |
| 2163 | end | |
| 2164 | for i = 0, 2, 0.1 do | |
| 2165 | swait() | |
| 2166 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-30)), 0.1) | |
| 2167 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(30)), 0.1) | |
| 2168 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1) | |
| 2169 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1) | |
| 2170 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2171 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1) | |
| 2172 | end | |
| 2173 | coroutine.resume(coroutine.create(function() | |
| 2174 | orb.Anchored = false | |
| 2175 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
| |
| 2176 | local a = Instance.new("Part", workspace)
| |
| 2177 | a.Name = "Direction" | |
| 2178 | a.Anchored = true | |
| 2179 | a.BrickColor = BrickC("Really black")
| |
| 2180 | a.Material = "Neon" | |
| 2181 | a.Transparency = 1 | |
| 2182 | a.CanCollide = false | |
| 2183 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
| 2184 | local ignore = orb | |
| 2185 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 2186 | a.BottomSurface = 10 | |
| 2187 | a.TopSurface = 10 | |
| 2188 | local distance = (orb.CFrame.p - position).magnitude | |
| 2189 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 2190 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 2191 | orb.CFrame = a.CFrame | |
| 2192 | a:Destroy() | |
| 2193 | local bv = Instance.new("BodyVelocity")
| |
| 2194 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
| 2195 | bv.velocity = orb.CFrame.lookVector * 125 | |
| 2196 | bv.Parent = orb | |
| 2197 | local hitted = false | |
| 2198 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 2199 | swait() | |
| 2200 | local hit = orb.Touched:connect(function(hit) | |
| 2201 | if hitted == false then | |
| 2202 | hitted = true | |
| 2203 | CameraEnshaking(10, 2.5) | |
| 2204 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
| |
| 2205 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
| 2206 | if v:FindFirstChild("Head") then
| |
| 2207 | Eviscerate(v) | |
| 2208 | end | |
| 2209 | end | |
| 2210 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
| |
| 2211 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
| |
| 2212 | for i = 0, 9 do | |
| 2213 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
| |
| 2214 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
| |
| 2215 | end | |
| 2216 | orb.Anchored = true | |
| 2217 | orb.Transparency = 1 | |
| 2218 | wait(8) | |
| 2219 | orb:Destroy() | |
| 2220 | end | |
| 2221 | end) | |
| 2222 | end)) | |
| 2223 | for i = 0, 1, 0.1 do | |
| 2224 | swait() | |
| 2225 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
| 2226 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3) | |
| 2227 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3) | |
| 2228 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
| 2229 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2230 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2231 | end | |
| 2232 | attack = false | |
| 2233 | end | |
| 2234 | ||
| 2235 | ||
| 2236 | function finalChaos() | |
| 2237 | attack = true | |
| 2238 | spawn(function() | |
| 2239 | local p = Instance.new("Part",char)
| |
| 2240 | p.Anchored = true | |
| 2241 | p.CanCollide = false | |
| 2242 | p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0)) | |
| 2243 | local m = Instance.new("SpecialMesh",p)
| |
| 2244 | m.MeshId = "https://roblox.com/asset/?id=361629844" | |
| 2245 | m.Scale = Vector3.new(10,10,10) | |
| 2246 | for i=1,30 do | |
| 2247 | p.CFrame = p.CFrame-Vector3.new(0,3.3333,0) | |
| 2248 | p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0) | |
| 2249 | wait() | |
| 2250 | end | |
| 2251 | local beam = Instance.new("Part",char)
| |
| 2252 | beam.Anchored = true | |
| 2253 | beam.CanCollide = false | |
| 2254 | beam.BrickColor = BrickColor.new("Really black")
| |
| 2255 | beam.Material = Enum.Material.Neon | |
| 2256 | beam.Size = Vector3.new(1,1,1) | |
| 2257 | beam.Position = p.Position+Vector3.new(0,1000,0) | |
| 2258 | beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354) | |
| 2259 | local m = Instance.new("SpecialMesh",beam)
| |
| 2260 | m.MeshType = "Cylinder" | |
| 2261 | m.Scale = Vector3.new(2000,15,15) | |
| 2262 | damage(6,20,35,p.Position) | |
| 2263 | p.Transparency = 1 | |
| 2264 | CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1)
| |
| 2265 | for i=1,10 do | |
| 2266 | m.Scale = m.Scale-Vector3.new(0,1,1) | |
| 2267 | beam.Transparency = i / 10 | |
| 2268 | wait() | |
| 2269 | end | |
| 2270 | p:Destroy() | |
| 2271 | end) | |
| 2272 | attack = false | |
| 2273 | end | |
| 2274 | ||
| 2275 | function beam() | |
| 2276 | attack = true | |
| 2277 | hum.WalkSpeed = 0 | |
| 2278 | local Ring1 = Instance.new("Part", char)
| |
| 2279 | Ring1.Anchored = true | |
| 2280 | Ring1.BrickColor = maincolor | |
| 2281 | Ring1.CanCollide = false | |
| 2282 | Ring1.FormFactor = 3 | |
| 2283 | Ring1.Name = "Ring" | |
| 2284 | Ring1.Material = "Neon" | |
| 2285 | Ring1.Size = Vector3.new(1, 0.05, 1) | |
| 2286 | Ring1.Transparency = 1 | |
| 2287 | Ring1.TopSurface = 0 | |
| 2288 | Ring1.BottomSurface = 0 | |
| 2289 | local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
| |
| 2290 | Ring1Mesh.MeshType = "Brick" | |
| 2291 | Ring1Mesh.Name = "SizeMesh" | |
| 2292 | Ring1Mesh.Scale = Vector3.new(0, 1, 0) | |
| 2293 | local InnerRing1 = Ring1:Clone() | |
| 2294 | InnerRing1.Parent = char | |
| 2295 | InnerRing1.Transparency = 0 | |
| 2296 | InnerRing1.BrickColor = BrickColor.new("Really black")
| |
| 2297 | InnerRing1.Size = Vector3.new(1, 1, 1) | |
| 2298 | local InnerRing1Mesh = InnerRing1.SizeMesh | |
| 2299 | InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) | |
| 2300 | InnerRing1Mesh.MeshType = "Sphere" | |
| 2301 | Ring1:Destroy() | |
| 2302 | for i = 0, 6, 0.1 do | |
| 2303 | swait() | |
| 2304 | --orb.CFrame = Pupil.CFrame | |
| 2305 | Aura(7, 0.12, "Add", Head.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere") | |
| 2306 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2307 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2308 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2309 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2310 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2311 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2312 | end | |
| 2313 | InnerRing1.Transparency = 1 | |
| 2314 | InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 5 | |
| 2315 | Cso("159882598", char, 10, 1)
| |
| 2316 | Cso("2606661976", char, 2.3, 1)
| |
| 2317 | local a = IT("Part", char)
| |
| 2318 | a.Name = "Direction" | |
| 2319 | a.Anchored = true | |
| 2320 | a.BrickColor = BrickC("Really black")
| |
| 2321 | a.Material = "SmoothPlastic" | |
| 2322 | a.Transparency = 0 | |
| 2323 | a.Shape = "Cylinder" | |
| 2324 | a.CanCollide = false | |
| 2325 | local a2 = IT("Part", char)
| |
| 2326 | a2.Name = "Direction" | |
| 2327 | a2.Anchored = true | |
| 2328 | a2.BrickColor = maincolor | |
| 2329 | a2.Color = maincolor.Color | |
| 2330 | a2.Material = "Neon" | |
| 2331 | a2.Transparency = 0.7 | |
| 2332 | a2.Shape = "Cylinder" | |
| 2333 | a2.CanCollide = false | |
| 2334 | local ba = IT("Part", char)
| |
| 2335 | ba.Name = "HitDirect" | |
| 2336 | ba.Anchored = true | |
| 2337 | ba.BrickColor = maincolor | |
| 2338 | ba.Material = "Neon" | |
| 2339 | ba.Transparency = 1 | |
| 2340 | ba.CanCollide = false | |
| 2341 | local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
| 2342 | local ignore = char | |
| 2343 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 2344 | a.BottomSurface = 10 | |
| 2345 | a.TopSurface = 10 | |
| 2346 | a2.BottomSurface = 10 | |
| 2347 | a2.TopSurface = 10 | |
| 2348 | local distance = (InnerRing1.CFrame.p - position).magnitude | |
| 2349 | a.Size = Vector3.new(distance, 1, 1) | |
| 2350 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 2351 | a2.Size = Vector3.new(distance, 1, 1) | |
| 2352 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 2353 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
| 2354 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
| 2355 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
| 2356 | game:GetService("Debris"):AddItem(a, 20)
| |
| 2357 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 2358 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 2359 | local msh = Instance.new("SpecialMesh", a)
| |
| 2360 | msh.MeshType = "Brick" | |
| 2361 | msh.Scale = Vector3.new(1, 5, 5) | |
| 2362 | local msh2 = Instance.new("SpecialMesh", a2)
| |
| 2363 | msh2.MeshType = "Brick" | |
| 2364 | msh2.Scale = Vector3.new(1, 7, 7) | |
| 2365 | for i = 0, 10, 0.1 do | |
| 2366 | swait() | |
| 2367 | CameraEnshaking(1, 5) | |
| 2368 | a2.Color = maincolor.Color | |
| 2369 | root.CFrame = FaceMouse()[1] | |
| 2370 | InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 4 | |
| 2371 | ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
| 2372 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 2373 | distance = (InnerRing1.CFrame.p - position).magnitude | |
| 2374 | a.Size = Vector3.new(distance, 1, 1) | |
| 2375 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 2376 | a2.Size = Vector3.new(distance, 1, 1) | |
| 2377 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 2378 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
| 2379 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
| 2380 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
| 2381 | msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05) | |
| 2382 | msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03) | |
| 2383 | Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere") | |
| 2384 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do | |
| 2385 | if v:FindFirstChild("Head") then
| |
| 2386 | Eviscerate(v) | |
| 2387 | end | |
| 2388 | end | |
| 2389 | end | |
| 2390 | a:Destroy() | |
| 2391 | a2:Destroy() | |
| 2392 | ba:Destroy() | |
| 2393 | InnerRing1:Destroy() | |
| 2394 | attack = false | |
| 2395 | hum.WalkSpeed = 10 | |
| 2396 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2397 | end | |
| 2398 | ||
| 2399 | function Call_Upon_The_Eyes() | |
| 2400 | attack = true | |
| 2401 | hum.WalkSpeed = 0 | |
| 2402 | for i = 0, 6, 0.1 do | |
| 2403 | swait() | |
| 2404 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2405 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2406 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2407 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2408 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2409 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2410 | end | |
| 2411 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 2412 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 2413 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
| 2414 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
| 2415 | CameraEnshaking(4, 25) | |
| 2416 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
| 2417 | if v:FindFirstChild("Head") then
| |
| 2418 | Eviscerate(v) | |
| 2419 | end | |
| 2420 | end | |
| 2421 | for i = 0, 6, 0.1 do | |
| 2422 | swait() | |
| 2423 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2424 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2425 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2426 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 2427 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2) | |
| 2428 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2429 | end | |
| 2430 | attack = false | |
| 2431 | hum.WalkSpeed = 10 | |
| 2432 | end | |
| 2433 | ||
| 2434 | function CHAOS() | |
| 2435 | attack = true | |
| 2436 | root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position) | |
| 2437 | Cso("2545012765", hed, 10, 1)
| |
| 2438 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
| |
| 2439 | ||
| 2440 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
| |
| 2441 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
| |
| 2442 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
| |
| 2443 | ||
| 2444 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2445 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2446 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2447 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2448 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2449 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2450 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2451 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2452 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2453 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2454 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2455 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
| 2456 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
| 2457 | if v:FindFirstChild("Head") then
| |
| 2458 | Eviscerate(v) | |
| 2459 | end | |
| 2460 | end | |
| 2461 | attack = false | |
| 2462 | end | |
| 2463 | function Chain2() | |
| 2464 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 2465 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2466 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
| |
| 2467 | local HEAD = HUM.Parent:FindFirstChild("Head")
| |
| 2468 | local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
| |
| 2469 | local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
| |
| 2470 | if HEAD and TORSO and HUM.Health > 0 then | |
| 2471 | local GYRO = IT("BodyGyro",root)
| |
| 2472 | GYRO.D = 275 | |
| 2473 | GYRO.P = 20000 | |
| 2474 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
| 2475 | attack = true | |
| 2476 | hum.WalkSpeed = 0 | |
| 2477 | local hit,pos,hummie; | |
| 2478 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
| 2479 | Hook2.Transparency = 1 | |
| 2480 | local A2 = NewInstance("Attachment",Hook2)
| |
| 2481 | local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
| |
| 2482 | local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
| |
| 2483 | for i = 0, 2.3, .1 do | |
| 2484 | swait() | |
| 2485 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 2486 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2487 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2488 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
| 2489 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
| 2490 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2491 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
| 2492 | end | |
| 2493 | Cso("169105657", ra, 7, 1.2)
| |
| 2494 | for i = 0, 5, .1 do | |
| 2495 | if(hit)then break end | |
| 2496 | swait() | |
| 2497 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 2498 | Hook2.CFrame = TORSO.CFrame | |
| 2499 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2500 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2501 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
| 2502 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
| 2503 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2504 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
| 2505 | end | |
| 2506 | Cso("169105657", ra, 5, .8)
| |
| 2507 | Cso("2545211765", char, 7, 1)
| |
| 2508 | GYRO:remove() | |
| 2509 | TORSO:BreakJoints() | |
| 2510 | for i = 0, 6, .1 do | |
| 2511 | swait() | |
| 2512 | Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2) | |
| 2513 | if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new() | |
| 2514 | end | |
| 2515 | if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then | |
| 2516 | break | |
| 2517 | end | |
| 2518 | Chain2.TextureLength = 4 | |
| 2519 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2520 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2521 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15) | |
| 2522 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
| 2523 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2524 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
| 2525 | end | |
| 2526 | hum.WalkSpeed = 16 | |
| 2527 | attack = false | |
| 2528 | Hook2:Destroy() | |
| 2529 | end | |
| 2530 | end | |
| 2531 | end | |
| 2532 | ||
| 2533 | function dejzrXD() | |
| 2534 | attack = true | |
| 2535 | hum.WalkSpeed = 20 | |
| 2536 | for i = 0, 4, 0.1 do | |
| 2537 | swait() | |
| 2538 | Cso("2545012765", char, 10, 1)
| |
| 2539 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0) | |
| 2540 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2541 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
| 2542 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
| 2543 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
| 2544 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
| 2545 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
| 2546 | end | |
| 2547 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 2548 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 2549 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
| 2550 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
| 2551 | CameraEnshaking(4, 5) | |
| 2552 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
| 2553 | if v:FindFirstChild("Head") then
| |
| 2554 | Eviscerate(v) | |
| 2555 | end | |
| 2556 | end | |
| 2557 | for i = 0, 2, 0.1 do | |
| 2558 | swait() | |
| 2559 | hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0) | |
| 2560 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2561 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
| 2562 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
| 2563 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
| 2564 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
| 2565 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
| 2566 | end | |
| 2567 | attack = false | |
| 2568 | Speed = 20 | |
| 2569 | end | |
| 2570 | ||
| 2571 | function specialchaos() | |
| 2572 | wait(0) | |
| 2573 | CHOICE = 6 | |
| 2574 | Cso("2545018472", hed, 10, 1)
| |
| 2575 | local killsky = Instance.new('Sky', game:GetService'Lighting')
| |
| 2576 | killsky.SkyboxBk = "rbxassetid://818983932" | |
| 2577 | killsky.SkyboxDn = "rbxassetid://818983932" | |
| 2578 | killsky.SkyboxFt = "rbxassetid://818983932" | |
| 2579 | killsky.SkyboxLf = "rbxassetid://818983932" | |
| 2580 | killsky.SkyboxRt = "rbxassetid://818983932" | |
| 2581 | killsky.SkyboxUp = "rbxassetid://818983932" | |
| 2582 | --- | |
| 2583 | killsky.StarCount = 0 | |
| 2584 | killsky.SunAngularSize = 0 | |
| 2585 | killsky.MoonAngularSize = 0 | |
| 2586 | killsky.MoonTextureId = "" | |
| 2587 | killsky.CelestialBodiesShown = false | |
| 2588 | if HITFLOOR ~= nil then | |
| 2589 | ATTACK = false | |
| 2590 | Rooted = false | |
| 2591 | local RINGSPIN = true | |
| 2592 | local CONSTRUCTING = true | |
| 2593 | local RING = CreatePart(3, Effects, "Neon", 0, 10, "Really black", "Ring", VT(0,0,0)) | |
| 2594 | RING.Color = C3(0,0,0) | |
| 2595 | MakeForm(RING,"Cyl") | |
| 2596 | RING.CFrame = CF(HITPOS) | |
| 2597 | coroutine.resume(coroutine.create(function() | |
| 2598 | repeat | |
| 2599 | Swait() | |
| 2600 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2601 | until CONSTRUCTING == false | |
| 2602 | repeat | |
| 2603 | Swait() | |
| 2604 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2605 | until RINGSPIN == false | |
| 2606 | for i = 1, 25 do | |
| 2607 | Swait() | |
| 2608 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2609 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
| 2610 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
| 2611 | RING.Transparency = RING.Transparency + 1/25 | |
| 2612 | end | |
| 2613 | RING:remove() | |
| 2614 | end)) | |
| 2615 | for i = 1, 15 do | |
| 2616 | Swait() | |
| 2617 | RING.Size = RING.Size + VT(0,0,0) | |
| 2618 | RING.Transparency = RING.Transparency - 1/15 | |
| 2619 | end | |
| 2620 | end | |
| 2621 | hum.WalkSpeed = 20 | |
| 2622 | attack = false | |
| 2623 | end | |
| 2624 | function icando() | |
| 2625 | attack = true | |
| 2626 | hum.WalkSpeed = 0 | |
| 2627 | TEST:Remove() | |
| 2628 | TEST:Play() | |
| 2629 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),tors.CFrame,true,false) | |
| 2630 | Hook2.Transparency = 1 | |
| 2631 | local A2 = NewInstance("Attachment",Hook2)
| |
| 2632 | local B2 = NewInstance("Attachment",hed,{Position = Vector3.new(0,-hed.Size.Y/2,0)})
| |
| 2633 | local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
| |
| 2634 | repeat | |
| 2635 | for i = 0,4,0.1 do | |
| 2636 | swait() | |
| 2637 | TEST.Parent = tors | |
| 2638 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
| 2639 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 1 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(1 + -43 * Sin(sine / 7)), Rad(-20)), 0.3) | |
| 2640 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2641 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2642 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1) | |
| 2643 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1) | |
| 2644 | end | |
| 2645 | until TEST.Playing == false | |
| 2646 | TEST:Stop() | |
| 2647 | TEST:Play() | |
| 2648 | TEST:Remove() | |
| 2649 | print('Leave the dead where they fall!')
| |
| 2650 | Hook2:Destroy() | |
| 2651 | attack = false | |
| 2652 | hum.WalkSpeed = 20 | |
| 2653 | end | |
| 2654 | ||
| 2655 | function finalChaos2() | |
| 2656 | attack = true | |
| 2657 | M2.MeshId = "http://www.roblox.com/asset/?id=28140935" | |
| 2658 | M2.TextureId = "http://www.roblox.com/asset/?id=50252366" | |
| 2659 | M2.Scale = Vector3.new(5, 5, 5) | |
| 2660 | Cso("2545018472", hed, 10, 1)
| |
| 2661 | for i = 0, 15, 0.1 do | |
| 2662 | swait() | |
| 2663 | hum.CameraOffset = Vector3.new(0, 8, 0) | |
| 2664 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2665 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 2666 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
| 2667 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
| 2668 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2) | |
| 2669 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
| 2670 | end | |
| 2671 | Cso("483458132", char, 10, .7)
| |
| 2672 | Cso("483458132", char, 10, 1)
| |
| 2673 | CameraEnshaking(6, 65) | |
| 2674 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 2675 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 2676 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 2677 | Effects.Ring.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
| |
| 2678 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
| |
| 2679 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
| |
| 2680 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
| |
| 2681 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere")
| |
| 2682 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
| |
| 2683 | Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really white"), "Sphere")
| |
| 2684 | Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really white"), "Sphere")
| |
| 2685 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do | |
| 2686 | if v:FindFirstChild("Head") then
| |
| 2687 | Eviscerate(v) | |
| 2688 | end | |
| 2689 | end | |
| 2690 | for i = 0, 15, 0.1 do | |
| 2691 | swait() | |
| 2692 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2693 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 2694 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
| 2695 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
| 2696 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2) | |
| 2697 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
| 2698 | end | |
| 2699 | M2.Scale = Vector3.new(1, 1, 1) | |
| 2700 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
| 2701 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
| 2702 | attack = false | |
| 2703 | end | |
| 2704 | ||
| 2705 | function DRAG_THEM_TO_HELL() | |
| 2706 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 2707 | local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2708 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
| |
| 2709 | local HEAD = HUM.Parent:FindFirstChild("Head")
| |
| 2710 | if HEAD and TORSO and HUM.Health > 0 then | |
| 2711 | local GYRO = IT("BodyGyro",root)
| |
| 2712 | GYRO.D = 275 | |
| 2713 | GYRO.P = 20000 | |
| 2714 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
| 2715 | attack = true | |
| 2716 | hum.WalkSpeed = 0 | |
| 2717 | local hit,pos,hummie; | |
| 2718 | local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
| 2719 | Hook.Transparency = 1 | |
| 2720 | local A = NewInstance("Attachment",Hook)
| |
| 2721 | local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
| |
| 2722 | local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
| |
| 2723 | local POS = mouse.Hit.p | |
| 2724 | local CHAINS = false | |
| 2725 | local CHAINLINKS = {}
| |
| 2726 | local A = IT("Attachment",la)
| |
| 2727 | A.Position = Vector3.new(1,-1,0)*Player_Size | |
| 2728 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
| 2729 | local B = IT("Attachment",la)
| |
| 2730 | B.Position = Vector3.new(-1,-1,0)*Player_Size | |
| 2731 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
| 2732 | local C = IT("Attachment",la)
| |
| 2733 | C.Position = Vector3.new(0.5,-1.3,0)*Player_Size | |
| 2734 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
| 2735 | local D = IT("Attachment",la)
| |
| 2736 | D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size | |
| 2737 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
| 2738 | local LIGHT = IT("Attachment",la)
| |
| 2739 | LIGHT.Position = Vector3.new(0,-1,0)*Player_Size | |
| 2740 | local LIGHT2 = IT("PointLight",LIGHT)
| |
| 2741 | LIGHT2.Range = 7 | |
| 2742 | LIGHT2.Brightness = 5 | |
| 2743 | LIGHT2.Color = Color3.new(0,0,0) | |
| 2744 | for i = 1, 2 do | |
| 2745 | local TWIST = -2 | |
| 2746 | local START = A | |
| 2747 | local END = B | |
| 2748 | if i == 1 then | |
| 2749 | START = B | |
| 2750 | END = A | |
| 2751 | end | |
| 2752 | local ChainLink = IT("Beam",tors)
| |
| 2753 | ChainLink.Texture = "rbxassetid://73042633" | |
| 2754 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
| 2755 | ChainLink.TextureSpeed = 1 | |
| 2756 | ChainLink.Width0 = 1 | |
| 2757 | ChainLink.Width1 = 1 | |
| 2758 | ChainLink.TextureLength = 2.5 | |
| 2759 | ChainLink.Attachment0 = START | |
| 2760 | ChainLink.Attachment1 = END | |
| 2761 | ChainLink.CurveSize0 = TWIST | |
| 2762 | ChainLink.CurveSize1 = TWIST | |
| 2763 | --ChainLink.FaceCamera = true | |
| 2764 | ChainLink.Segments = 45 | |
| 2765 | ChainLink.Transparency = NumberSequence.new(0.25) | |
| 2766 | table.insert(CHAINLINKS,ChainLink) | |
| 2767 | end | |
| 2768 | for i = 1, 2 do | |
| 2769 | local TWIST = -1 | |
| 2770 | local START = C | |
| 2771 | local END = D | |
| 2772 | if i == 1 then | |
| 2773 | START = D | |
| 2774 | END = C | |
| 2775 | end | |
| 2776 | local ChainLink = IT("Beam",tors)
| |
| 2777 | ChainLink.Texture = "rbxassetid://73042633" | |
| 2778 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
| 2779 | ChainLink.TextureSpeed = 1 | |
| 2780 | ChainLink.Width0 = 1 | |
| 2781 | ChainLink.Width1 = 1 | |
| 2782 | ChainLink.TextureLength = 5 | |
| 2783 | ChainLink.Attachment0 = START | |
| 2784 | ChainLink.Attachment1 = END | |
| 2785 | ChainLink.CurveSize0 = TWIST | |
| 2786 | ChainLink.CurveSize1 = TWIST | |
| 2787 | --ChainLink.FaceCamera = true | |
| 2788 | ChainLink.Segments = 25 | |
| 2789 | ChainLink.LightEmission = 0.5 | |
| 2790 | ChainLink.Transparency = NumberSequence.new(0.25) | |
| 2791 | table.insert(CHAINLINKS,ChainLink) | |
| 2792 | end | |
| 2793 | for i = 0, 2.3, .1 do | |
| 2794 | swait() | |
| 2795 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 2796 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2797 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2798 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
| 2799 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
| 2800 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2801 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
| 2802 | end | |
| 2803 | Cso("169105657", ra, 7, 1.2)
| |
| 2804 | for i = 0, 4, .1 do | |
| 2805 | if(hit)then break end | |
| 2806 | swait() | |
| 2807 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 2808 | Hook.CFrame = HEAD.CFrame | |
| 2809 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2810 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2811 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
| 2812 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
| 2813 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2814 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
| 2815 | end | |
| 2816 | for _,v in next, getRegion(Hook.Position,1,{char}) do
| |
| 2817 | if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then | |
| 2818 | hit = GetTorso(v.Parent); | |
| 2819 | hummie = v.Parent:FindFirstChildOfClass'Humanoid'; | |
| 2820 | break; | |
| 2821 | end | |
| 2822 | end | |
| 2823 | Cso("169105657", ra, 5, .8)
| |
| 2824 | Cso("131228548", tors, 2, 1.1)
| |
| 2825 | GYRO:remove() | |
| 2826 | for i = 0, 3, .1 do | |
| 2827 | swait() | |
| 2828 | HUM.PlatformStand = true | |
| 2829 | Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2) | |
| 2830 | if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new() | |
| 2831 | end | |
| 2832 | if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then | |
| 2833 | break | |
| 2834 | end | |
| 2835 | Chain.TextureLength = 4 | |
| 2836 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2837 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(45)), 0.3) | |
| 2838 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15) | |
| 2839 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15) | |
| 2840 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1) | |
| 2841 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(-.6), Rad(-25)), 0.1) | |
| 2842 | end | |
| 2843 | hum.WalkSpeed = 16 | |
| 2844 | attack = false | |
| 2845 | Hook:Destroy() | |
| 2846 | A:remove() | |
| 2847 | B:remove() | |
| 2848 | C:remove() | |
| 2849 | D:remove() | |
| 2850 | end | |
| 2851 | end | |
| 2852 | end | |
| 2853 | function ultra() | |
| 2854 | attack = true | |
| 2855 | hum.WalkSpeed = 0 | |
| 2856 | BTAUNT:Remove() | |
| 2857 | local shirt = Instance.new("Shirt",char)
| |
| 2858 | shirt.ShirtTemplate = "rbxassetid://2276760724" | |
| 2859 | local pants = Instance.new("Pants",char)
| |
| 2860 | pants.PantsTemplate = "rbxassetid://770508500" | |
| 2861 | hed.face.Texture = "http://www.roblox.com/asset/?id=495377787" | |
| 2862 | local Fire = IT("Sound",Character.Torso)
| |
| 2863 | Fire.SoundId = "rbxassetid://192104941" | |
| 2864 | Fire.Looped = true | |
| 2865 | Fire.Pitch = 1 | |
| 2866 | Fire.Volume = 1 | |
| 2867 | local fire = Instance.new("ParticleEmitter", Character.Torso)
| |
| 2868 | fire.Lifetime = NumberRange.new(0.5) | |
| 2869 | fire.Speed = NumberRange.new(1, 3) | |
| 2870 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
| |
| 2871 | fire.Rate = 0 | |
| 2872 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 2873 | fire.LightEmission = 0.6 | |
| 2874 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 2875 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 2876 | Fire:Play() | |
| 2877 | BTAUNT1:Play() | |
| 2878 | fire.Enabled = true | |
| 2879 | fire.Rate =2000 | |
| 2880 | BTAUNT1:Remove() | |
| 2881 | chatfunc("I'm burning!", BrickColor.new("Really red").Color)
| |
| 2882 | wait(1) | |
| 2883 | for i = 0,18,0.1 do | |
| 2884 | swait() | |
| 2885 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 2886 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2887 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 2888 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2889 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2890 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2891 | end | |
| 2892 | chatfunc("Dont forgot say goodbye!", BrickColor.new("Really black").Color)
| |
| 2893 | wait(1) | |
| 2894 | for i = 0,1.2,0.1 do | |
| 2895 | swait() | |
| 2896 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2897 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 2898 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2899 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2900 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 2901 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2902 | end | |
| 2903 | for i = 0,1.2,0.1 do | |
| 2904 | swait() | |
| 2905 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2906 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 2907 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2908 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2909 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
| 2910 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
| 2911 | end | |
| 2912 | tecks2:Remove() | |
| 2913 | fire:Remove() | |
| 2914 | Fire:Stop() | |
| 2915 | local BC = char["Body Colors"] | |
| 2916 | BC.HeadColor = BrickColor.new("Really black")
| |
| 2917 | BC.LeftArmColor = BrickColor.new("Really black")
| |
| 2918 | BC.LeftLegColor = BrickColor.new("Really black")
| |
| 2919 | BC.RightArmColor = BrickColor.new("Really black")
| |
| 2920 | BC.RightLegColor = BrickColor.new("Really black")
| |
| 2921 | BC.TorsoColor = BrickColor.new("Really black")
| |
| 2922 | tecks2:Remove() | |
| 2923 | BTAUNT3:Play() | |
| 2924 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 2925 | naeeym2.AlwaysOnTop = true | |
| 2926 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 2927 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
| 2928 | naeeym2.Adornee = hed | |
| 2929 | naeeym2.Name = "Name" | |
| 2930 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 2931 | tecks2.BackgroundTransparency = 1 | |
| 2932 | tecks2.TextScaled = true | |
| 2933 | tecks2.BorderSizePixel = 0 | |
| 2934 | tecks2.Font = "Garamond" | |
| 2935 | tecks2.TextSize = 30 | |
| 2936 | tecks2.TextStrokeTransparency = 0 | |
| 2937 | tecks2.TextColor3 = BrickColor.new('Really black').Color
| |
| 2938 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
| |
| 2939 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 2940 | tecks2.Parent = naeeym2 | |
| 2941 | textfag = tecks2 | |
| 2942 | wait(1) | |
| 2943 | tecks2.Text = "MICHEAL THE SOULESS JESTER" | |
| 2944 | animation.Value = 2 | |
| 2945 | coroutine.resume(coroutine.create(function() | |
| 2946 | while textfag ~= nil do | |
| 2947 | swait() | |
| 2948 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
| 2949 | textfag.Rotation = math.random(-3,3) | |
| 2950 | end | |
| 2951 | end)) | |
| 2952 | hed.face.Texture = "rbxassetid://1471407701" | |
| 2953 | ------------------- | |
| 2954 | Spawn(function() | |
| 2955 | while Equipped and Humanoid.Parent and Torso.Parent do | |
| 2956 | if Angle == 360 then | |
| 2957 | Angle = 0 | |
| 2958 | end | |
| 2959 | Angle = Angle + 0.05 | |
| 2960 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
| |
| 2961 | if Hit then | |
| 2962 | if not Circle.Parent then | |
| 2963 | Circle.Parent = Character | |
| 2964 | end | |
| 2965 | for i, v in pairs(CircleParts) do | |
| 2966 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
| 2967 | end | |
| 2968 | else | |
| 2969 | Circle.Parent = nil | |
| 2970 | end | |
| 2971 | wait() | |
| 2972 | end | |
| 2973 | end) | |
| 2974 | attack = false | |
| 2975 | hum.WalkSpeed = 16 | |
| 2976 | end | |
| 2977 | ------------------------------------------------------- | |
| 2978 | --End Attacks N Stuff-- | |
| 2979 | ------------------------------------------------------- | |
| 2980 | mouse.KeyDown:connect(function(key) | |
| 2981 | if attack == false then | |
| 2982 | if key == "t" then | |
| 2983 | Taunt3() | |
| 2984 | elseif key == "p" then | |
| 2985 | finalChaos() | |
| 2986 | elseif key == "z" then | |
| 2987 | beam() | |
| 2988 | elseif key == 'k' then | |
| 2989 | fail() | |
| 2990 | elseif key == "e" then | |
| 2991 | GalaBomb() | |
| 2992 | ||
| 2993 | elseif key == "x" then | |
| 2994 | Call_Upon_The_Eyes() | |
| 2995 | elseif key == "y" then | |
| 2996 | Taunt2() | |
| 2997 | ||
| 2998 | elseif key == "m" then | |
| 2999 | arrest() | |
| 3000 | ||
| 3001 | elseif key == "v" then | |
| 3002 | Maniac() | |
| 3003 | elseif key == "b" then | |
| 3004 | specialchaos() | |
| 3005 | elseif key == "n" then | |
| 3006 | CHAOS() | |
| 3007 | elseif key == "j" then | |
| 3008 | THUNDERCLAP() | |
| 3009 | ||
| 3010 | elseif key == "f" then | |
| 3011 | icando() | |
| 3012 | elseif key == "h" then | |
| 3013 | finalChaos2() | |
| 3014 | elseif key == "g" then | |
| 3015 | Chain2() | |
| 3016 | elseif key == "c" then | |
| 3017 | DRAG_THEM_TO_HELL() | |
| 3018 | elseif key == "q" then | |
| 3019 | ultra() | |
| 3020 | end | |
| 3021 | end | |
| 3022 | end) | |
| 3023 | ||
| 3024 | mouse.Button1Down:connect(function(key) | |
| 3025 | if attack == false then | |
| 3026 | Ban() | |
| 3027 | end | |
| 3028 | end) | |
| 3029 | ||
| 3030 | ||
| 3031 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
| 3032 | local part = Instance.new("Part")
| |
| 3033 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0) | |
| 3034 | part.Material = material or Enum.Material.SmoothPlastic | |
| 3035 | part.TopSurface,part.BottomSurface=10,10 | |
| 3036 | part.Size = size or Vector3.new(1,1,1) | |
| 3037 | part.CFrame = cframe or CF(0,0,0) | |
| 3038 | part.Anchored = anchored or true | |
| 3039 | part.CanCollide = cancollide or false | |
| 3040 | part.Parent = parent or char | |
| 3041 | return part | |
| 3042 | end | |
| 3043 | ||
| 3044 | NewInstance = function(instance,parent,properties) | |
| 3045 | local inst = Instance.new(instance) | |
| 3046 | inst.Parent = parent | |
| 3047 | if(properties)then | |
| 3048 | for i,v in next, properties do | |
| 3049 | pcall(function() inst[i] = v end) | |
| 3050 | end | |
| 3051 | end | |
| 3052 | return inst; | |
| 3053 | end | |
| 3054 | ------------------------------------------------------- | |
| 3055 | --Start Damage Function-- | |
| 3056 | ------------------------------------------------------- | |
| 3057 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
| 3058 | local type = type | |
| 3059 | local rng = Instance.new("Part", char)
| |
| 3060 | rng.Anchored = true | |
| 3061 | rng.BrickColor = color | |
| 3062 | rng.CanCollide = false | |
| 3063 | rng.FormFactor = 3 | |
| 3064 | rng.Name = "Ring" | |
| 3065 | rng.Material = "Neon" | |
| 3066 | rng.Size = Vector3.new(1, 1, 1) | |
| 3067 | rng.Transparency = 0 | |
| 3068 | rng.TopSurface = 0 | |
| 3069 | rng.BottomSurface = 0 | |
| 3070 | rng.CFrame = pos | |
| 3071 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 3072 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3073 | rngm.MeshType = "Brick" | |
| 3074 | if rainbowmode == true then | |
| 3075 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 3076 | end | |
| 3077 | local scaler2 = 1 | |
| 3078 | local speeder = FastSpeed/10 | |
| 3079 | if type == "Add" then | |
| 3080 | scaler2 = 1*value | |
| 3081 | elseif type == "Divide" then | |
| 3082 | scaler2 = 1/value | |
| 3083 | end | |
| 3084 | coroutine.resume(coroutine.create(function() | |
| 3085 | for i = 0,10/bonuspeed,0.1 do | |
| 3086 | swait() | |
| 3087 | if type == "Add" then | |
| 3088 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 3089 | elseif type == "Divide" then | |
| 3090 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 3091 | end | |
| 3092 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 3093 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 3094 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 3095 | end | |
| 3096 | rng:Destroy() | |
| 3097 | end)) | |
| 3098 | end | |
| 3099 | ||
| 3100 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 3101 | if hit.Parent == nil then | |
| 3102 | return | |
| 3103 | end | |
| 3104 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 3105 | for _, v in pairs(hit.Parent:children()) do | |
| 3106 | if v:IsA("Humanoid") then
| |
| 3107 | h = v | |
| 3108 | end | |
| 3109 | end | |
| 3110 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 3111 | ||
| 3112 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 3113 | end | |
| 3114 | ||
| 3115 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 3116 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 3117 | if hit.Parent.DebounceHit.Value == true then | |
| 3118 | return | |
| 3119 | end | |
| 3120 | end | |
| 3121 | if insta == true then | |
| 3122 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 3123 | end | |
| 3124 | local c = Create("ObjectValue"){
| |
| 3125 | Name = "creator", | |
| 3126 | Value = game:service("Players").LocalPlayer,
| |
| 3127 | Parent = h, | |
| 3128 | } | |
| 3129 | game:GetService("Debris"):AddItem(c, .5)
| |
| 3130 | if HitSound ~= nil and HitPitch ~= nil then | |
| 3131 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 3132 | end | |
| 3133 | local Damage = math.random(minim, maxim) | |
| 3134 | local blocked = false | |
| 3135 | local block = hit.Parent:findFirstChild("Block")
| |
| 3136 | if block ~= nil then | |
| 3137 | if block.className == "IntValue" then | |
| 3138 | if block.Value > 0 then | |
| 3139 | blocked = true | |
| 3140 | block.Value = block.Value - 1 | |
| 3141 | print(block.Value) | |
| 3142 | end | |
| 3143 | end | |
| 3144 | end | |
| 3145 | if blocked == false then | |
| 3146 | h.Health = h.Health - Damage | |
| 3147 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 3148 | else | |
| 3149 | h.Health = h.Health - (Damage / 2) | |
| 3150 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 3151 | end | |
| 3152 | if Type == "Knockdown" then | |
| 3153 | local hum = hit.Parent.Humanoid | |
| 3154 | hum.PlatformStand = true | |
| 3155 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 3156 | swait(1) | |
| 3157 | HHumanoid.PlatformStand = false | |
| 3158 | end), hum) | |
| 3159 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 3160 | local bodvol = Create("BodyVelocity"){
| |
| 3161 | velocity = angle * knockback, | |
| 3162 | P = 5000, | |
| 3163 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 3164 | Parent = hit, | |
| 3165 | } | |
| 3166 | local rl = Create("BodyAngularVelocity"){
| |
| 3167 | P = 3000, | |
| 3168 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 3169 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 3170 | Parent = hit, | |
| 3171 | } | |
| 3172 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 3173 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 3174 | elseif Type == "Normal" then | |
| 3175 | local vp = Create("BodyVelocity"){
| |
| 3176 | P = 500, | |
| 3177 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 3178 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 3179 | } | |
| 3180 | if knockback > 0 then | |
| 3181 | vp.Parent = hit.Parent.Torso | |
| 3182 | end | |
| 3183 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 3184 | elseif Type == "Up" then | |
| 3185 | local bodyVelocity = Create("BodyVelocity"){
| |
| 3186 | velocity = Vector3.new(0, 20, 0), | |
| 3187 | P = 5000, | |
| 3188 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 3189 | Parent = hit, | |
| 3190 | } | |
| 3191 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 3192 | elseif Type == "DarkUp" then | |
| 3193 | coroutine.resume(coroutine.create(function() | |
| 3194 | for i = 0, 1, 0.1 do | |
| 3195 | swait() | |
| 3196 | Effects.Block.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 3197 | end | |
| 3198 | end)) | |
| 3199 | local bodyVelocity = Create("BodyVelocity"){
| |
| 3200 | velocity = Vector3.new(0, 20, 0), | |
| 3201 | P = 5000, | |
| 3202 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 3203 | Parent = hit, | |
| 3204 | } | |
| 3205 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 3206 | elseif Type == "Snare" then | |
| 3207 | local bp = Create("BodyPosition"){
| |
| 3208 | P = 2000, | |
| 3209 | D = 100, | |
| 3210 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 3211 | position = hit.Parent.Torso.Position, | |
| 3212 | Parent = hit.Parent.Torso, | |
| 3213 | } | |
| 3214 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 3215 | elseif Type == "Freeze" then | |
| 3216 | local BodPos = Create("BodyPosition"){
| |
| 3217 | P = 50000, | |
| 3218 | D = 1000, | |
| 3219 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 3220 | position = hit.Parent.Torso.Position, | |
| 3221 | Parent = hit.Parent.Torso, | |
| 3222 | } | |
| 3223 | local BodGy = Create("BodyGyro") {
| |
| 3224 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 3225 | P = 20e+003, | |
| 3226 | Parent = hit.Parent.Torso, | |
| 3227 | cframe = hit.Parent.Torso.CFrame, | |
| 3228 | } | |
| 3229 | hit.Parent.Torso.Anchored = true | |
| 3230 | coroutine.resume(coroutine.create(function(Part) | |
| 3231 | swait(1.5) | |
| 3232 | Part.Anchored = false | |
| 3233 | end), hit.Parent.Torso) | |
| 3234 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 3235 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 3236 | end | |
| 3237 | local debounce = Create("BoolValue"){
| |
| 3238 | Name = "DebounceHit", | |
| 3239 | Parent = hit.Parent, | |
| 3240 | Value = true, | |
| 3241 | } | |
| 3242 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 3243 | c = Create("ObjectValue"){
| |
| 3244 | Name = "creator", | |
| 3245 | Value = Player, | |
| 3246 | Parent = h, | |
| 3247 | } | |
| 3248 | game:GetService("Debris"):AddItem(c, .5)
| |
| 3249 | end | |
| 3250 | end | |
| 3251 | ||
| 3252 | function damage(range,mindam,maxdam,pos) | |
| 3253 | for i,v in ipairs(workspace:GetChildren()) do | |
| 3254 | if v:IsA("Model") then
| |
| 3255 | if v.Name ~= Player.Name then | |
| 3256 | if v:FindFirstChildOfClass("Humanoid") then
| |
| 3257 | if v:FindFirstChild("Head") then
| |
| 3258 | if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
| |
| 3259 | if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
| |
| 3260 | v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
| |
| 3261 | end | |
| 3262 | end | |
| 3263 | end | |
| 3264 | end | |
| 3265 | end | |
| 3266 | end | |
| 3267 | end | |
| 3268 | end | |
| 3269 | ------------------------------------------------------- | |
| 3270 | --End Damage Function-- | |
| 3271 | ------------------------------------------------------- | |
| 3272 | ||
| 3273 | ------------------------------------------------------- | |
| 3274 | --Start Animations-- | |
| 3275 | ------------------------------------------------------- | |
| 3276 | print("Edit by micheal2358")
| |
| 3277 | while true do | |
| 3278 | swait() | |
| 3279 | sine = sine + change | |
| 3280 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 3281 | local velderp = root.Velocity.y | |
| 3282 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 3283 | if equipped == true or equipped == false then | |
| 3284 | if attack == false then | |
| 3285 | idle = idle + 1 | |
| 3286 | else | |
| 3287 | idle = 0 | |
| 3288 | end | |
| 3289 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 3290 | Anim = "Jump" | |
| 3291 | if attack == false then | |
| 3292 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 3293 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3294 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 3295 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 3296 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
| 3297 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
| 3298 | end | |
| 3299 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 3300 | Anim = "Fall" | |
| 3301 | if attack == false then | |
| 3302 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
| 3303 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3304 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
| 3305 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
| 3306 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
| 3307 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
| 3308 | end | |
| 3309 | elseif torvel < 1 and hitfloor ~= nil then | |
| 3310 | Anim = "Idle" | |
| 3311 | change = 1 | |
| 3312 | if attack == false then | |
| 3313 | ||
| 3314 | if animation.Value == 1 then | |
| 3315 | ||
| 3316 | ||
| 3317 | ||
| 3318 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 3319 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3320 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 3321 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 3322 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 3323 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 3324 | ||
| 3325 | else | |
| 3326 | ||
| 3327 | if animation.Value == 2 then | |
| 3328 | ||
| 3329 | ||
| 3330 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
| 3331 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3) | |
| 3332 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.15) | |
| 3333 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(8)), 0.15) | |
| 3334 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-.6), Rad(15 + 6.5 * Sin(sine / 20))), 0.1) | |
| 3335 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-10), Rad(-.6), Rad(-15 - 6.5 * Sin(sine / 20))), 0.1) | |
| 3336 | ||
| 3337 | ||
| 3338 | else | |
| 3339 | ||
| 3340 | ||
| 3341 | if animation.Value == 3 then | |
| 3342 | ||
| 3343 | ||
| 3344 | ||
| 3345 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
| 3346 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 3347 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
| 3348 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
| 3349 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 3350 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 3351 | ||
| 3352 | ||
| 3353 | else | |
| 3354 | ||
| 3355 | ||
| 3356 | if animation.Value == 4 then | |
| 3357 | ||
| 3358 | ||
| 3359 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
| 3360 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
| 3361 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3362 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3363 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
| 3364 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
| 3365 | ||
| 3366 | ||
| 3367 | ||
| 3368 | else | |
| 3369 | ||
| 3370 | ||
| 3371 | ||
| 3372 | if animation.Value == 10 then | |
| 3373 | ||
| 3374 | ||
| 3375 | ||
| 3376 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15) | |
| 3377 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3) | |
| 3378 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
| 3379 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
| 3380 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
| 3381 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1) | |
| 3382 | ||
| 3383 | ||
| 3384 | ||
| 3385 | ||
| 3386 | end | |
| 3387 | ||
| 3388 | ||
| 3389 | end | |
| 3390 | ||
| 3391 | end | |
| 3392 | end | |
| 3393 | ||
| 3394 | ||
| 3395 | end | |
| 3396 | ||
| 3397 | end | |
| 3398 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 3399 | Anim = "Walk" | |
| 3400 | change = 1 | |
| 3401 | if attack == false then | |
| 3402 | ||
| 3403 | if animation.Value == 1 then | |
| 3404 | ||
| 3405 | ||
| 3406 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15) | |
| 3407 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 3408 | RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3409 | LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3410 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 3411 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 3412 | ||
| 3413 | else | |
| 3414 | ||
| 3415 | if animation.Value == 2 then | |
| 3416 | ||
| 3417 | ||
| 3418 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
| 3419 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 3420 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3421 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3422 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1) | |
| 3423 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) | |
| 3424 | ||
| 3425 | ||
| 3426 | else | |
| 3427 | ||
| 3428 | ||
| 3429 | if animation.Value == 3 then | |
| 3430 | ||
| 3431 | ||
| 3432 | ||
| 3433 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
| 3434 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 3435 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
| 3436 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
| 3437 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 3438 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 3439 | ||
| 3440 | ||
| 3441 | else | |
| 3442 | ||
| 3443 | ||
| 3444 | if animation.Value == 4 then | |
| 3445 | ||
| 3446 | ||
| 3447 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
| 3448 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
| 3449 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3450 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
| 3451 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
| 3452 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
| 3453 | ||
| 3454 | ||
| 3455 | ||
| 3456 | else | |
| 3457 | ||
| 3458 | ||
| 3459 | ||
| 3460 | if animation.Value == 10 then | |
| 3461 | ||
| 3462 | ||
| 3463 | ||
| 3464 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15) | |
| 3465 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3) | |
| 3466 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
| 3467 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
| 3468 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
| 3469 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1) | |
| 3470 | ||
| 3471 | ||
| 3472 | ||
| 3473 | ||
| 3474 | end | |
| 3475 | ||
| 3476 | ||
| 3477 | end | |
| 3478 | ||
| 3479 | end | |
| 3480 | end | |
| 3481 | ||
| 3482 | ||
| 3483 | end | |
| 3484 | ||
| 3485 | end | |
| 3486 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 3487 | Anim = "Sprint" | |
| 3488 | change = 1.35 | |
| 3489 | if attack == false then | |
| 3490 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
| 3491 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 3492 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3493 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 3494 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 3495 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
| 3496 | end | |
| 3497 | end | |
| 3498 | end | |
| 3499 | if 0 < #Effects then | |
| 3500 | for e = 1, #Effects do | |
| 3501 | if Effects[e] ~= nil then | |
| 3502 | local Thing = Effects[e] | |
| 3503 | if Thing ~= nil then | |
| 3504 | local Part = Thing[1] | |
| 3505 | local Mode = Thing[2] | |
| 3506 | local Delay = Thing[3] | |
| 3507 | local IncX = Thing[4] | |
| 3508 | local IncY = Thing[5] | |
| 3509 | local IncZ = Thing[6] | |
| 3510 | if 1 >= Thing[1].Transparency then | |
| 3511 | if Thing[2] == "Block1" then | |
| 3512 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 3513 | local Mesh = Thing[1].Mesh | |
| 3514 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3515 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3516 | elseif Thing[2] == "Block2" then | |
| 3517 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 3518 | local Mesh = Thing[7] | |
| 3519 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3520 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3521 | elseif Thing[2] == "Block3" then | |
| 3522 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 3523 | local Mesh = Thing[7] | |
| 3524 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3525 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3526 | elseif Thing[2] == "Cylinder" then | |
| 3527 | local Mesh = Thing[1].Mesh | |
| 3528 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3529 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3530 | elseif Thing[2] == "Blood" then | |
| 3531 | local Mesh = Thing[7] | |
| 3532 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 3533 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3534 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3535 | elseif Thing[2] == "Elec" then | |
| 3536 | local Mesh = Thing[1].Mesh | |
| 3537 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 3538 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3539 | elseif Thing[2] == "Disappear" then | |
| 3540 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3541 | elseif Thing[2] == "Shatter" then | |
| 3542 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3543 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 3544 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 3545 | Thing[6] = Thing[6] + Thing[5] | |
| 3546 | end | |
| 3547 | else | |
| 3548 | Part.Parent = nil | |
| 3549 | table.remove(Effects, e) | |
| 3550 | end | |
| 3551 | end | |
| 3552 | end | |
| 3553 | end | |
| 3554 | end | |
| 3555 | end | |
| 3556 | ------------------------------------------------------- | |
| 3557 | --End Animations And Script-- | |
| 3558 | ------------------------------------------------------ |