SHOW:
|
|
- or go back to the newest paste.
| 1 | wait() | |
| 2 | ||
| 3 | ------>>Chara<<---------- | |
| 4 | ---- | |
| 5 | ---------------------------------------------------------------- | |
| 6 | print([[ | |
| 7 | --made by Makhail07 | |
| 8 | --FE code by Mokiros | |
| 9 | --Edited by AmokahTheFox-- | |
| 10 | --Discord: nolol | |
| 11 | --The Sing Move Is By 1nd1k! | |
| 12 | -------------------------------- | |
| 13 | hello good sir | |
| 14 | Don't leak pls | |
| 15 | Enjoy ;) | |
| 16 | -------------------------------- | |
| 17 | ]]) | |
| 18 | ||
| 19 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 20 | local Player,game,owner = owner,game | |
| 21 | local RealPlayer = Player | |
| 22 | do | |
| 23 | local rp = RealPlayer | |
| 24 | script.Parent = rp.Character | |
| 25 | ||
| 26 | --RemoteEvent for communicating | |
| 27 | local Event = Instance.new("RemoteEvent")
| |
| 28 | Event.Name = "UserInput_Event" | |
| 29 | ||
| 30 | --Fake event to make stuff like Mouse.KeyDown work | |
| 31 | local function fakeEvent() | |
| 32 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 33 | t.connect = t.Connect | |
| 34 | return t | |
| 35 | end | |
| 36 | ||
| 37 | --Creating fake input objects with fake variables | |
| 38 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 39 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 40 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 41 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 42 | end} | |
| 43 | --Merged 2 functions into one by checking amount of arguments | |
| 44 | CAS.UnbindAction = CAS.BindAction | |
| 45 | ||
| 46 | --This function will trigger the events that have been :Connect()'ed | |
| 47 | local function te(self,ev,...) | |
| 48 | local t = m[ev] | |
| 49 | if t and t._fakeEvent then | |
| 50 | for _,f in pairs(t.Functions) do | |
| 51 | f(...) | |
| 52 | end | |
| 53 | end | |
| 54 | end | |
| 55 | m.TrigEvent = te | |
| 56 | UIS.TrigEvent = te | |
| 57 | ||
| 58 | Event.OnServerEvent:Connect(function(plr,io) | |
| 59 | if plr~=rp then return end | |
| 60 | m.Target = io.Target | |
| 61 | m.Hit = io.Hit | |
| 62 | if not io.isMouse then | |
| 63 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 64 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 65 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 66 | end | |
| 67 | for _,t in pairs(CAS.Actions) do | |
| 68 | for _,k in pairs(t.Keys) do | |
| 69 | if k==io.KeyCode then | |
| 70 | t.Function(t.Name,io.UserInputState,io) | |
| 71 | end | |
| 72 | end | |
| 73 | end | |
| 74 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 75 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 76 | end | |
| 77 | end) | |
| 78 | Event.Parent = NLS([==[ | |
| 79 | local Player = game:GetService("Players").LocalPlayer
| |
| 80 | local Event = script:WaitForChild("UserInput_Event")
| |
| 81 | ||
| 82 | local Mouse = Player:GetMouse() | |
| 83 | local UIS = game:GetService("UserInputService")
| |
| 84 | local input = function(io,a) | |
| 85 | if a then return end | |
| 86 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 87 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 88 | end | |
| 89 | UIS.InputBegan:Connect(input) | |
| 90 | UIS.InputEnded:Connect(input) | |
| 91 | ||
| 92 | local h,t | |
| 93 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 94 | --If player is not moving their mouse, client won't fire events | |
| 95 | while wait(1/30) do | |
| 96 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 97 | h,t=Mouse.Hit,Mouse.Target | |
| 98 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 99 | end | |
| 100 | end]==],Player.Character) | |
| 101 | ||
| 102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 103 | --Real game object | |
| 104 | local _rg = game | |
| 105 | ||
| 106 | --Metatable for fake service | |
| 107 | local fsmt = {
| |
| 108 | __index = function(self,k) | |
| 109 | local s = rawget(self,"_RealService") | |
| 110 | if s then return s[k] end | |
| 111 | end, | |
| 112 | __newindex = function(self,k,v) | |
| 113 | local s = rawget(self,"_RealService") | |
| 114 | if s then s[k]=v end | |
| 115 | end, | |
| 116 | __call = function(self,...) | |
| 117 | local s = rawget(self,"_RealService") | |
| 118 | if s then return s(...) end | |
| 119 | end | |
| 120 | } | |
| 121 | local function FakeService(t,RealService) | |
| 122 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 123 | return setmetatable(t,fsmt) | |
| 124 | end | |
| 125 | ||
| 126 | --Fake game object | |
| 127 | local g = {
| |
| 128 | GetService = function(self,s) | |
| 129 | return self[s] | |
| 130 | end, | |
| 131 | Players = FakeService({
| |
| 132 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 133 | },"Players"), | |
| 134 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 135 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 136 | } | |
| 137 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 138 | g.service = g.GetService | |
| 139 | ||
| 140 | g.RunService = FakeService({
| |
| 141 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 142 | BindToRenderStep = function(self,name,_,fun) | |
| 143 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 144 | end, | |
| 145 | UnbindFromRenderStep = function(self,name) | |
| 146 | self._btrs[name]:Disconnect() | |
| 147 | end, | |
| 148 | },"RunService") | |
| 149 | ||
| 150 | setmetatable(g,{
| |
| 151 | __index=function(self,s) | |
| 152 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 153 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 154 | end, | |
| 155 | __newindex = fsmt.__newindex, | |
| 156 | __call = fsmt.__call | |
| 157 | }) | |
| 158 | --Changing owner to fake player object to support owner:GetMouse() | |
| 159 | game,owner = g,g.Players.LocalPlayer | |
| 160 | end | |
| 161 | ||
| 162 | Player = owner | |
| 163 | PlayerGui = Player.PlayerGui | |
| 164 | Cam = workspace.CurrentCamera | |
| 165 | Backpack = Player.Backpack | |
| 166 | Character = Player.Character | |
| 167 | Humanoid = Character.Humanoid | |
| 168 | RootPart = Character["HumanoidRootPart"] | |
| 169 | Torso = Character["Torso"] | |
| 170 | Head = Character["Head"] | |
| 171 | RightArm = Character["Right Arm"] | |
| 172 | LeftArm = Character["Left Arm"] | |
| 173 | RightLeg = Character["Right Leg"] | |
| 174 | LeftLeg = Character["Left Leg"] | |
| 175 | RootJoint = RootPart["RootJoint"] | |
| 176 | Neck = Torso["Neck"] | |
| 177 | RightShoulder = Torso["Right Shoulder"] | |
| 178 | LeftShoulder = Torso["Left Shoulder"] | |
| 179 | RightHip = Torso["Right Hip"] | |
| 180 | LeftHip = Torso["Left Hip"] | |
| 181 | ||
| 182 | Character = Player.Character | |
| 183 | Humanoid = Character.Humanoid | |
| 184 | --------- | |
| 185 | plr = game.Players.LocalPlayer | |
| 186 | chara = plr.Character | |
| 187 | mouse = plr:GetMouse() | |
| 188 | Create = Instance.new | |
| 189 | Huge = math.huge | |
| 190 | ||
| 191 | ||
| 192 | Player = game:GetService("Players").LocalPlayer
| |
| 193 | PlayerGui = Player.PlayerGui | |
| 194 | Cam = workspace.CurrentCamera | |
| 195 | Backpack = Player.Backpack | |
| 196 | Character = Player.Character | |
| 197 | char = Player.Character | |
| 198 | Humanoid = Character.Humanoid | |
| 199 | Mouse = Player:GetMouse() | |
| 200 | RootPart = Character["HumanoidRootPart"] | |
| 201 | Torso = Character["Torso"] | |
| 202 | Head = Character["Head"] | |
| 203 | RightArm = Character["Right Arm"] | |
| 204 | LeftArm = Character["Left Arm"] | |
| 205 | RightLeg = Character["Right Leg"] | |
| 206 | LeftLeg = Character["Left Leg"] | |
| 207 | RootJoint = RootPart["RootJoint"] | |
| 208 | Neck = Torso["Neck"] | |
| 209 | RightShoulder = Torso["Right Shoulder"] | |
| 210 | LeftShoulder = Torso["Left Shoulder"] | |
| 211 | RightHip = Torso["Right Hip"] | |
| 212 | LeftHip = Torso["Left Hip"] | |
| 213 | ||
| 214 | local shadowhead = Create("Part",chara.Head)
| |
| 215 | shadowhead.BrickColor = BrickColor.new("Black")
| |
| 216 | shadowhead.Size = Vector3.new(1.2, 0.6, 1) | |
| 217 | shadowhead.CanCollide = false | |
| 218 | local shadowheadmesh = Create("SpecialMesh",shadowhead)
| |
| 219 | shadowheadmesh.MeshType = "Head" | |
| 220 | shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26) | |
| 221 | local weld2 = Create("Weld",shadowhead)
| |
| 222 | weld2.Part0 = shadowhead | |
| 223 | weld2.Part1 = chara.Head | |
| 224 | weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 225 | ||
| 226 | shadowhead.Transparency = 0.6 | |
| 227 | ||
| 228 | local Orin = "http://www.roblox.com/asset/?id=7074786" | |
| 229 | Head.face.Texture = Orin | |
| 230 | function weld(a, b, acf) | |
| 231 | local w = Instance.new("Weld", a)
| |
| 232 | w.Part0 = a | |
| 233 | w.Part1 = b | |
| 234 | w.C0 = acf | |
| 235 | end | |
| 236 | ||
| 237 | -------------------------------- | |
| 238 | char.Head.face.Texture = "rbxassetid://1364919656" | |
| 239 | -------------------------------- | |
| 240 | ||
| 241 | ------------------------------------------------------- | |
| 242 | ||
| 243 | local FavIDs = {
| |
| 244 | 340106355, --Nefl Crystals | |
| 245 | 927529620, --Dimension | |
| 246 | 876981900, --Fantasy | |
| 247 | 398987889, --Ordinary Days | |
| 248 | 1117396305, --Oh wait, it's you. | |
| 249 | 885996042, --Action Winter Journey | |
| 250 | 919231299, --Sprawling Idiot Effigy | |
| 251 | 743466274, --Good Day Sunshine | |
| 252 | 727411183, --Knife Fight | |
| 253 | 1402748531, --The Earth Is Counting On You! | |
| 254 | 595230126 --Robot Language | |
| 255 | } | |
| 256 | ||
| 257 | ||
| 258 | ||
| 259 | --The reality of my life isn't real but a Universe -makhail07 | |
| 260 | wait(0.2) | |
| 261 | local plr = game:service'Players'.LocalPlayer | |
| 262 | print('Local User is '..plr.Name)
| |
| 263 | print('SCRIPTNAME Loaded')
| |
| 264 | print('SCRIPT DESCRIPTION')
| |
| 265 | local char = plr.Character | |
| 266 | local hum = char.Humanoid | |
| 267 | local hed = char.Head | |
| 268 | local root = char.HumanoidRootPart | |
| 269 | local rootj = root.RootJoint | |
| 270 | local tors = char.Torso | |
| 271 | local ra = char["Right Arm"] | |
| 272 | local la = char["Left Arm"] | |
| 273 | local rl = char["Right Leg"] | |
| 274 | local ll = char["Left Leg"] | |
| 275 | local neck = tors["Neck"] | |
| 276 | local mouse = plr:GetMouse() | |
| 277 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 278 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 279 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 280 | local maincolor = BrickColor.new("Really red")
| |
| 281 | ||
| 282 | ------------------------------------------------------- | |
| 283 | --Start Good Stuff-- | |
| 284 | ------------------------------------------------------- | |
| 285 | cam = game.Workspace.CurrentCamera | |
| 286 | CF = CFrame.new | |
| 287 | angles = CFrame.Angles | |
| 288 | attack = false | |
| 289 | Euler = CFrame.fromEulerAnglesXYZ | |
| 290 | Rad = math.rad | |
| 291 | IT = Instance.new | |
| 292 | BrickC = BrickColor.new | |
| 293 | Cos = math.cos | |
| 294 | Acos = math.acos | |
| 295 | Sin = math.sin | |
| 296 | Asin = math.asin | |
| 297 | Abs = math.abs | |
| 298 | Mrandom = math.random | |
| 299 | Floor = math.floor | |
| 300 | ------------------------------------------------------- | |
| 301 | --End Good Stuff-- | |
| 302 | ------------------------------------------------------- | |
| 303 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 304 | RSH, LSH = nil, nil | |
| 305 | RW = Instance.new("Weld")
| |
| 306 | LW = Instance.new("Weld")
| |
| 307 | RH = tors["Right Hip"] | |
| 308 | LH = tors["Left Hip"] | |
| 309 | RSH = tors["Right Shoulder"] | |
| 310 | LSH = tors["Left Shoulder"] | |
| 311 | RSH.Parent = nil | |
| 312 | LSH.Parent = nil | |
| 313 | RW.Name = "RW" | |
| 314 | RW.Part0 = tors | |
| 315 | RW.C0 = CF(1.5, 0.5, 0) | |
| 316 | RW.C1 = CF(0, 0.5, 0) | |
| 317 | RW.Part1 = ra | |
| 318 | RW.Parent = tors | |
| 319 | LW.Name = "LW" | |
| 320 | LW.Part0 = tors | |
| 321 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 322 | LW.C1 = CF(0, 0.5, 0) | |
| 323 | LW.Part1 = la | |
| 324 | LW.Parent = tors | |
| 325 | Effects = {}
| |
| 326 | ------------------------------------------------------- | |
| 327 | --Start HeartBeat-- | |
| 328 | ------------------------------------------------------- | |
| 329 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 330 | ArtificialHB.Name = "Heartbeat" | |
| 331 | script:WaitForChild("Heartbeat")
| |
| 332 | ||
| 333 | frame = 1 / 60 | |
| 334 | tf = 0 | |
| 335 | allowframeloss = false | |
| 336 | tossremainder = false | |
| 337 | ||
| 338 | ||
| 339 | lastframe = tick() | |
| 340 | script.Heartbeat:Fire() | |
| 341 | ||
| 342 | ||
| 343 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 344 | tf = tf + s | |
| 345 | if tf >= frame then | |
| 346 | if allowframeloss then | |
| 347 | script.Heartbeat:Fire() | |
| 348 | lastframe = tick() | |
| 349 | else | |
| 350 | for i = 1, math.floor(tf / frame) do | |
| 351 | script.Heartbeat:Fire() | |
| 352 | end | |
| 353 | lastframe = tick() | |
| 354 | end | |
| 355 | if tossremainder then | |
| 356 | tf = 0 | |
| 357 | else | |
| 358 | tf = tf - frame * math.floor(tf / frame) | |
| 359 | end | |
| 360 | end | |
| 361 | end) | |
| 362 | ------------------------------------------------------- | |
| 363 | --End HeartBeat-- | |
| 364 | ------------------------------------------------------- | |
| 365 | local joyemoji = Instance.new('ParticleEmitter', tors)
| |
| 366 | joyemoji.VelocitySpread = 2000 | |
| 367 | joyemoji.Lifetime = NumberRange.new(1) | |
| 368 | joyemoji.Speed = NumberRange.new(40) | |
| 369 | joy= {}
| |
| 370 | for i=0, 19 do | |
| 371 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
| 372 | end | |
| 373 | joyemoji.Size = NumberSequence.new(joy) | |
| 374 | joyemoji.Rate = 0 | |
| 375 | joyemoji.LockedToPart = false | |
| 376 | joyemoji.LightEmission = 0 | |
| 377 | joyemoji.Texture = "rbxassetid://73623723" | |
| 378 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
| |
| 379 | ||
| 380 | ------------------------------------------------------- | |
| 381 | --Start Important Functions-- | |
| 382 | ------------------------------------------------------- | |
| 383 | ||
| 384 | function swait(num) | |
| 385 | if num == 0 or num == nil then | |
| 386 | game:service("RunService").Stepped:wait(0)
| |
| 387 | else | |
| 388 | for i = 0, num do | |
| 389 | game:service("RunService").Stepped:wait(0)
| |
| 390 | end | |
| 391 | end | |
| 392 | end | |
| 393 | function thread(f) | |
| 394 | coroutine.resume(coroutine.create(f)) | |
| 395 | end | |
| 396 | function clerp(a, b, t) | |
| 397 | local qa = {
| |
| 398 | QuaternionFromCFrame(a) | |
| 399 | } | |
| 400 | local qb = {
| |
| 401 | QuaternionFromCFrame(b) | |
| 402 | } | |
| 403 | local ax, ay, az = a.x, a.y, a.z | |
| 404 | local bx, by, bz = b.x, b.y, b.z | |
| 405 | local _t = 1 - t | |
| 406 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 407 | end | |
| 408 | function QuaternionFromCFrame(cf) | |
| 409 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 410 | local trace = m00 + m11 + m22 | |
| 411 | if trace > 0 then | |
| 412 | local s = math.sqrt(1 + trace) | |
| 413 | local recip = 0.5 / s | |
| 414 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 415 | else | |
| 416 | local i = 0 | |
| 417 | if m00 < m11 then | |
| 418 | i = 1 | |
| 419 | end | |
| 420 | if m22 > (i == 0 and m00 or m11) then | |
| 421 | i = 2 | |
| 422 | end | |
| 423 | if i == 0 then | |
| 424 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 425 | local recip = 0.5 / s | |
| 426 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 427 | elseif i == 1 then | |
| 428 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 429 | local recip = 0.5 / s | |
| 430 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 431 | elseif i == 2 then | |
| 432 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 433 | local recip = 0.5 / s | |
| 434 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 435 | end | |
| 436 | end | |
| 437 | end | |
| 438 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 439 | local xs, ys, zs = x + x, y + y, z + z | |
| 440 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 441 | local xx = x * xs | |
| 442 | local xy = x * ys | |
| 443 | local xz = x * zs | |
| 444 | local yy = y * ys | |
| 445 | local yz = y * zs | |
| 446 | local zz = z * zs | |
| 447 | 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)) | |
| 448 | end | |
| 449 | function QuaternionSlerp(a, b, t) | |
| 450 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 451 | local startInterp, finishInterp | |
| 452 | if cosTheta >= 1.0E-4 then | |
| 453 | if 1 - cosTheta > 1.0E-4 then | |
| 454 | local theta = math.acos(cosTheta) | |
| 455 | local invSinTheta = 1 / Sin(theta) | |
| 456 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 457 | finishInterp = Sin(t * theta) * invSinTheta | |
| 458 | else | |
| 459 | startInterp = 1 - t | |
| 460 | finishInterp = t | |
| 461 | end | |
| 462 | elseif 1 + cosTheta > 1.0E-4 then | |
| 463 | local theta = math.acos(-cosTheta) | |
| 464 | local invSinTheta = 1 / Sin(theta) | |
| 465 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 466 | finishInterp = Sin(t * theta) * invSinTheta | |
| 467 | else | |
| 468 | startInterp = t - 1 | |
| 469 | finishInterp = t | |
| 470 | end | |
| 471 | 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 | |
| 472 | end | |
| 473 | function rayCast(Position, Direction, Range, Ignore) | |
| 474 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 475 | end | |
| 476 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 477 | local Create = RbxUtility.Create | |
| 478 | ||
| 479 | function getRegion(point,range,ignore) | |
| 480 | return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) | |
| 481 | end | |
| 482 | ||
| 483 | function GetTorso(char) | |
| 484 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
| 485 | end | |
| 486 | ||
| 487 | 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}
| |
| 488 | ------------------------------------------------------- | |
| 489 | --Start Damage Function-- | |
| 490 | ------------------------------------------------------- | |
| 491 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 492 | if hit.Parent == nil then | |
| 493 | return | |
| 494 | end | |
| 495 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 496 | for _, v in pairs(hit.Parent:children()) do | |
| 497 | if v:IsA("Humanoid") then
| |
| 498 | h = v | |
| 499 | end | |
| 500 | end | |
| 501 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 502 | ||
| 503 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 504 | end | |
| 505 | ||
| 506 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 507 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 508 | if hit.Parent.DebounceHit.Value == true then | |
| 509 | return | |
| 510 | end | |
| 511 | end | |
| 512 | if insta == true then | |
| 513 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 514 | end | |
| 515 | local c = Create("ObjectValue"){
| |
| 516 | Name = "creator", | |
| 517 | Value = game:service("Players").LocalPlayer,
| |
| 518 | Parent = h, | |
| 519 | } | |
| 520 | game:GetService("Debris"):AddItem(c, .5)
| |
| 521 | if HitSound ~= nil and HitPitch ~= nil then | |
| 522 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 523 | end | |
| 524 | local Damage = math.random(minim, maxim) | |
| 525 | local blocked = false | |
| 526 | local block = hit.Parent:findFirstChild("Block")
| |
| 527 | if block ~= nil then | |
| 528 | if block.className == "IntValue" then | |
| 529 | if block.Value > 0 then | |
| 530 | blocked = true | |
| 531 | block.Value = block.Value - 1 | |
| 532 | print(block.Value) | |
| 533 | end | |
| 534 | end | |
| 535 | end | |
| 536 | if blocked == false then | |
| 537 | h.Health = h.Health - Damage | |
| 538 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 539 | else | |
| 540 | h.Health = h.Health - (Damage / 2) | |
| 541 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 542 | end | |
| 543 | if Type == "Knockdown" then | |
| 544 | local hum = hit.Parent.Humanoid | |
| 545 | hum.PlatformStand = true | |
| 546 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 547 | swait(1) | |
| 548 | HHumanoid.PlatformStand = false | |
| 549 | end), hum) | |
| 550 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 551 | local bodvol = Create("BodyVelocity"){
| |
| 552 | velocity = angle * knockback, | |
| 553 | P = 5000, | |
| 554 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 555 | Parent = hit, | |
| 556 | } | |
| 557 | local rl = Create("BodyAngularVelocity"){
| |
| 558 | P = 3000, | |
| 559 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 560 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 561 | Parent = hit, | |
| 562 | } | |
| 563 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 564 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 565 | elseif Type == "Normal" then | |
| 566 | local vp = Create("BodyVelocity"){
| |
| 567 | P = 500, | |
| 568 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 569 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 570 | } | |
| 571 | if knockback > 0 then | |
| 572 | vp.Parent = hit.Parent.Torso | |
| 573 | end | |
| 574 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 575 | elseif Type == "Up" then | |
| 576 | local bodyVelocity = Create("BodyVelocity"){
| |
| 577 | velocity = Vector3.new(0, 20, 0), | |
| 578 | P = 5000, | |
| 579 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 580 | Parent = hit, | |
| 581 | } | |
| 582 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 583 | elseif Type == "DarkUp" then | |
| 584 | coroutine.resume(coroutine.create(function() | |
| 585 | for i = 0, 1, 0.1 do | |
| 586 | swait() | |
| 587 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 588 | end | |
| 589 | end)) | |
| 590 | local bodyVelocity = Create("BodyVelocity"){
| |
| 591 | velocity = Vector3.new(0, 20, 0), | |
| 592 | P = 5000, | |
| 593 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 594 | Parent = hit, | |
| 595 | } | |
| 596 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 597 | elseif Type == "Snare" then | |
| 598 | local bp = Create("BodyPosition"){
| |
| 599 | P = 2000, | |
| 600 | D = 100, | |
| 601 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 602 | position = hit.Parent.Torso.Position, | |
| 603 | Parent = hit.Parent.Torso, | |
| 604 | } | |
| 605 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 606 | elseif Type == "Freeze" then | |
| 607 | local BodPos = Create("BodyPosition"){
| |
| 608 | P = 50000, | |
| 609 | D = 1000, | |
| 610 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 611 | position = hit.Parent.Torso.Position, | |
| 612 | Parent = hit.Parent.Torso, | |
| 613 | } | |
| 614 | local BodGy = Create("BodyGyro") {
| |
| 615 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 616 | P = 20e+003, | |
| 617 | Parent = hit.Parent.Torso, | |
| 618 | cframe = hit.Parent.Torso.CFrame, | |
| 619 | } | |
| 620 | hit.Parent.Torso.Anchored = true | |
| 621 | coroutine.resume(coroutine.create(function(Part) | |
| 622 | swait(1.5) | |
| 623 | Part.Anchored = false | |
| 624 | end), hit.Parent.Torso) | |
| 625 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 626 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 627 | end | |
| 628 | local debounce = Create("BoolValue"){
| |
| 629 | Name = "DebounceHit", | |
| 630 | Parent = hit.Parent, | |
| 631 | Value = true, | |
| 632 | } | |
| 633 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 634 | c = Create("ObjectValue"){
| |
| 635 | Name = "creator", | |
| 636 | Value = Player, | |
| 637 | Parent = h, | |
| 638 | } | |
| 639 | game:GetService("Debris"):AddItem(c, .5)
| |
| 640 | end | |
| 641 | end | |
| 642 | ------------------------------------------------------- | |
| 643 | --End Damage Function-- | |
| 644 | ------------------------------------------------------- | |
| 645 | ||
| 646 | ------------------------------------------------------- | |
| 647 | --Start Damage Function Customization-- | |
| 648 | ------------------------------------------------------- | |
| 649 | function ShowDamage(Pos, Text, Time, Color) | |
| 650 | local Rate = (1 / 30) | |
| 651 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 652 | local Text = (Text or "") | |
| 653 | local Time = (Time or 2) | |
| 654 | local Color = (Color or Color3.new(255, 255, 1)) | |
| 655 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 656 | EffectPart.Anchored = true | |
| 657 | local BillboardGui = Create("BillboardGui"){
| |
| 658 | Size = UDim2.new(3, 0, 3, 0), | |
| 659 | Adornee = EffectPart, | |
| 660 | Parent = EffectPart, | |
| 661 | } | |
| 662 | local TextLabel = Create("TextLabel"){
| |
| 663 | BackgroundTransparency = 1, | |
| 664 | Size = UDim2.new(1, 0, 1, 0), | |
| 665 | Text = Text, | |
| 666 | Font = "Bodoni", | |
| 667 | TextColor3 = Color, | |
| 668 | TextScaled = true, | |
| 669 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 670 | Parent = BillboardGui, | |
| 671 | } | |
| 672 | game.Debris:AddItem(EffectPart, (Time)) | |
| 673 | EffectPart.Parent = game:GetService("Workspace")
| |
| 674 | delay(0, function() | |
| 675 | local Frames = (Time / Rate) | |
| 676 | for Frame = 1, Frames do | |
| 677 | wait(Rate) | |
| 678 | local Percent = (Frame / Frames) | |
| 679 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 680 | TextLabel.TextTransparency = Percent | |
| 681 | end | |
| 682 | if EffectPart and EffectPart.Parent then | |
| 683 | EffectPart:Destroy() | |
| 684 | end | |
| 685 | end) | |
| 686 | end | |
| 687 | ------------------------------------------------------- | |
| 688 | --End Damage Function Customization-- | |
| 689 | ------------------------------------------------------- | |
| 690 | ||
| 691 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 692 | for _, c in pairs(workspace:children()) do | |
| 693 | local hum = c:findFirstChild("Humanoid")
| |
| 694 | if hum ~= nil then | |
| 695 | local head = c:findFirstChild("Head")
| |
| 696 | if head ~= nil then | |
| 697 | local targ = head.Position - Part.Position | |
| 698 | local mag = targ.magnitude | |
| 699 | if magni >= mag and c.Name ~= plr.Name then | |
| 700 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 701 | end | |
| 702 | end | |
| 703 | end | |
| 704 | end | |
| 705 | end | |
| 706 | ||
| 707 | ||
| 708 | CFuncs = {
| |
| 709 | Part = {
| |
| 710 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 711 | local Part = Create("Part")({
| |
| 712 | Parent = Parent, | |
| 713 | Reflectance = Reflectance, | |
| 714 | Transparency = Transparency, | |
| 715 | CanCollide = false, | |
| 716 | Locked = true, | |
| 717 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 718 | Name = Name, | |
| 719 | Size = Size, | |
| 720 | Material = Material | |
| 721 | }) | |
| 722 | RemoveOutlines(Part) | |
| 723 | return Part | |
| 724 | end | |
| 725 | }, | |
| 726 | Mesh = {
| |
| 727 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 728 | local Msh = Create(Mesh)({
| |
| 729 | Parent = Part, | |
| 730 | Offset = OffSet, | |
| 731 | Scale = Scale | |
| 732 | }) | |
| 733 | if Mesh == "SpecialMesh" then | |
| 734 | Msh.MeshType = MeshType | |
| 735 | Msh.MeshId = MeshId | |
| 736 | end | |
| 737 | return Msh | |
| 738 | end | |
| 739 | }, | |
| 740 | Mesh = {
| |
| 741 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 742 | local Msh = Create(Mesh)({
| |
| 743 | Parent = Part, | |
| 744 | Offset = OffSet, | |
| 745 | Scale = Scale | |
| 746 | }) | |
| 747 | if Mesh == "SpecialMesh" then | |
| 748 | Msh.MeshType = MeshType | |
| 749 | Msh.MeshId = MeshId | |
| 750 | end | |
| 751 | return Msh | |
| 752 | end | |
| 753 | }, | |
| 754 | Weld = {
| |
| 755 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 756 | local Weld = Create("Weld")({
| |
| 757 | Parent = Parent, | |
| 758 | Part0 = Part0, | |
| 759 | Part1 = Part1, | |
| 760 | C0 = C0, | |
| 761 | C1 = C1 | |
| 762 | }) | |
| 763 | return Weld | |
| 764 | end | |
| 765 | }, | |
| 766 | Sound = {
| |
| 767 | Create = function(id, par, vol, pit) | |
| 768 | coroutine.resume(coroutine.create(function() | |
| 769 | local S = Create("Sound")({
| |
| 770 | Volume = vol, | |
| 771 | Pitch = pit or 1, | |
| 772 | SoundId = id, | |
| 773 | Parent = par or workspace | |
| 774 | }) | |
| 775 | wait() | |
| 776 | S:play() | |
| 777 | game:GetService("Debris"):AddItem(S, 6)
| |
| 778 | end)) | |
| 779 | end | |
| 780 | }, | |
| 781 | ParticleEmitter = {
| |
| 782 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 783 | local fp = Create("ParticleEmitter")({
| |
| 784 | Parent = Parent, | |
| 785 | Color = ColorSequence.new(Color1, Color2), | |
| 786 | LightEmission = LightEmission, | |
| 787 | Size = Size, | |
| 788 | Texture = Texture, | |
| 789 | Transparency = Transparency, | |
| 790 | ZOffset = ZOffset, | |
| 791 | Acceleration = Accel, | |
| 792 | Drag = Drag, | |
| 793 | LockedToPart = LockedToPart, | |
| 794 | VelocityInheritance = VelocityInheritance, | |
| 795 | EmissionDirection = EmissionDirection, | |
| 796 | Enabled = Enabled, | |
| 797 | Lifetime = LifeTime, | |
| 798 | Rate = Rate, | |
| 799 | Rotation = Rotation, | |
| 800 | RotSpeed = RotSpeed, | |
| 801 | Speed = Speed, | |
| 802 | VelocitySpread = VelocitySpread | |
| 803 | }) | |
| 804 | return fp | |
| 805 | end | |
| 806 | } | |
| 807 | } | |
| 808 | function RemoveOutlines(part) | |
| 809 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 810 | end | |
| 811 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 812 | local Part = Create("Part")({
| |
| 813 | formFactor = FormFactor, | |
| 814 | Parent = Parent, | |
| 815 | Reflectance = Reflectance, | |
| 816 | Transparency = Transparency, | |
| 817 | CanCollide = false, | |
| 818 | Locked = true, | |
| 819 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 820 | Name = Name, | |
| 821 | Size = Size, | |
| 822 | Material = Material | |
| 823 | }) | |
| 824 | RemoveOutlines(Part) | |
| 825 | return Part | |
| 826 | end | |
| 827 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 828 | local Msh = Create(Mesh)({
| |
| 829 | Parent = Part, | |
| 830 | Offset = OffSet, | |
| 831 | Scale = Scale | |
| 832 | }) | |
| 833 | if Mesh == "SpecialMesh" then | |
| 834 | Msh.MeshType = MeshType | |
| 835 | Msh.MeshId = MeshId | |
| 836 | end | |
| 837 | return Msh | |
| 838 | end | |
| 839 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 840 | local Weld = Create("Weld")({
| |
| 841 | Parent = Parent, | |
| 842 | Part0 = Part0, | |
| 843 | Part1 = Part1, | |
| 844 | C0 = C0, | |
| 845 | C1 = C1 | |
| 846 | }) | |
| 847 | return Weld | |
| 848 | end | |
| 849 | ||
| 850 | ||
| 851 | ------------------------------------------------------- | |
| 852 | --Start Effect Function-- | |
| 853 | ------------------------------------------------------- | |
| 854 | EffectModel = Instance.new("Model", char)
| |
| 855 | Effects = {
| |
| 856 | Block = {
| |
| 857 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 858 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 859 | prt.Anchored = true | |
| 860 | prt.CFrame = cframe | |
| 861 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 862 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 863 | if Type == 1 or Type == nil then | |
| 864 | table.insert(Effects, {
| |
| 865 | prt, | |
| 866 | "Block1", | |
| 867 | delay, | |
| 868 | x3, | |
| 869 | y3, | |
| 870 | z3, | |
| 871 | msh | |
| 872 | }) | |
| 873 | elseif Type == 2 then | |
| 874 | table.insert(Effects, {
| |
| 875 | prt, | |
| 876 | "Block2", | |
| 877 | delay, | |
| 878 | x3, | |
| 879 | y3, | |
| 880 | z3, | |
| 881 | msh | |
| 882 | }) | |
| 883 | else | |
| 884 | table.insert(Effects, {
| |
| 885 | prt, | |
| 886 | "Block3", | |
| 887 | delay, | |
| 888 | x3, | |
| 889 | y3, | |
| 890 | z3, | |
| 891 | msh | |
| 892 | }) | |
| 893 | end | |
| 894 | end | |
| 895 | }, | |
| 896 | Sphere = {
| |
| 897 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 898 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 899 | prt.Anchored = true | |
| 900 | prt.CFrame = cframe | |
| 901 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 902 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 903 | table.insert(Effects, {
| |
| 904 | prt, | |
| 905 | "Cylinder", | |
| 906 | delay, | |
| 907 | x3, | |
| 908 | y3, | |
| 909 | z3, | |
| 910 | msh | |
| 911 | }) | |
| 912 | end | |
| 913 | }, | |
| 914 | Cylinder = {
| |
| 915 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 916 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 917 | prt.Anchored = true | |
| 918 | prt.CFrame = cframe | |
| 919 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 920 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 921 | table.insert(Effects, {
| |
| 922 | prt, | |
| 923 | "Cylinder", | |
| 924 | delay, | |
| 925 | x3, | |
| 926 | y3, | |
| 927 | z3, | |
| 928 | msh | |
| 929 | }) | |
| 930 | end | |
| 931 | }, | |
| 932 | Wave = {
| |
| 933 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 934 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 935 | prt.Anchored = true | |
| 936 | prt.CFrame = cframe | |
| 937 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 938 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 939 | table.insert(Effects, {
| |
| 940 | prt, | |
| 941 | "Cylinder", | |
| 942 | delay, | |
| 943 | x3 / 60, | |
| 944 | y3 / 60, | |
| 945 | z3 / 60, | |
| 946 | msh | |
| 947 | }) | |
| 948 | end | |
| 949 | }, | |
| 950 | Ring = {
| |
| 951 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 952 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 953 | prt.Anchored = true | |
| 954 | prt.CFrame = cframe | |
| 955 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 956 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 957 | table.insert(Effects, {
| |
| 958 | prt, | |
| 959 | "Cylinder", | |
| 960 | delay, | |
| 961 | x3, | |
| 962 | y3, | |
| 963 | z3, | |
| 964 | msh | |
| 965 | }) | |
| 966 | end | |
| 967 | }, | |
| 968 | Break = {
| |
| 969 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 970 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 971 | prt.Anchored = true | |
| 972 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 973 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 974 | local num = math.random(10, 50) / 1000 | |
| 975 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 976 | table.insert(Effects, {
| |
| 977 | prt, | |
| 978 | "Shatter", | |
| 979 | num, | |
| 980 | prt.CFrame, | |
| 981 | math.random() - math.random(), | |
| 982 | 0, | |
| 983 | math.random(50, 100) / 100 | |
| 984 | }) | |
| 985 | end | |
| 986 | }, | |
| 987 | Spiral = {
| |
| 988 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 989 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 990 | prt.Anchored = true | |
| 991 | prt.CFrame = cframe | |
| 992 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 993 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 994 | table.insert(Effects, {
| |
| 995 | prt, | |
| 996 | "Cylinder", | |
| 997 | delay, | |
| 998 | x3, | |
| 999 | y3, | |
| 1000 | z3, | |
| 1001 | msh | |
| 1002 | }) | |
| 1003 | end | |
| 1004 | }, | |
| 1005 | Push = {
| |
| 1006 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1007 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1008 | prt.Anchored = true | |
| 1009 | prt.CFrame = cframe | |
| 1010 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1011 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1012 | table.insert(Effects, {
| |
| 1013 | prt, | |
| 1014 | "Cylinder", | |
| 1015 | delay, | |
| 1016 | x3, | |
| 1017 | y3, | |
| 1018 | z3, | |
| 1019 | msh | |
| 1020 | }) | |
| 1021 | end | |
| 1022 | } | |
| 1023 | } | |
| 1024 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 1025 | local fp = IT("Part")
| |
| 1026 | fp.formFactor = formfactor | |
| 1027 | fp.Parent = parent | |
| 1028 | fp.Reflectance = reflectance | |
| 1029 | fp.Transparency = transparency | |
| 1030 | fp.CanCollide = false | |
| 1031 | fp.Locked = true | |
| 1032 | fp.BrickColor = brickcolor | |
| 1033 | fp.Name = name | |
| 1034 | fp.Size = size | |
| 1035 | fp.Position = tors.Position | |
| 1036 | RemoveOutlines(fp) | |
| 1037 | fp.Material = "SmoothPlastic" | |
| 1038 | fp:BreakJoints() | |
| 1039 | return fp | |
| 1040 | end | |
| 1041 | ||
| 1042 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1043 | local mesh = IT(Mesh) | |
| 1044 | mesh.Parent = part | |
| 1045 | if Mesh == "SpecialMesh" then | |
| 1046 | mesh.MeshType = meshtype | |
| 1047 | if meshid ~= "nil" then | |
| 1048 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 1049 | end | |
| 1050 | end | |
| 1051 | mesh.Offset = offset | |
| 1052 | mesh.Scale = scale | |
| 1053 | return mesh | |
| 1054 | end | |
| 1055 | ||
| 1056 | local FightButtonBrick = Instance.new("Part")
| |
| 1057 | FightButtonBrick.Name = "CharasButton" | |
| 1058 | FightButtonBrick.Size = Vector3.new(6.12, 2.66, 0.05) | |
| 1059 | FightButtonBrick.Anchored = true | |
| 1060 | FightButtonBrick.CanCollide = false | |
| 1061 | FightButtonBrick.Material = "Neon" | |
| 1062 | FightButtonBrick.BrickColor = BrickColor.Black() | |
| 1063 | FightButtonBrick.Parent = workspace["TameDoNotClick"].Torso | |
| 1064 | ||
| 1065 | local FrontFightDec = Instance.new("Decal")
| |
| 1066 | FrontFightDec.Name = "FrontFightImg1" | |
| 1067 | FrontFightDec.Parent = FightButtonBrick | |
| 1068 | FrontFightDec.Texture = "rbxassetid://347815055" | |
| 1069 | ||
| 1070 | local BackFightDec = Instance.new("Decal")
| |
| 1071 | BackFightDec.Parent = FightButtonBrick | |
| 1072 | BackFightDec.Face = Enum.NormalId.Back | |
| 1073 | BackFightDec.Name = "BackFightImg2" | |
| 1074 | BackFightDec.Texture = "rbxassetid://347815055" | |
| 1075 | ||
| 1076 | local direction = CFrame.new(FightButtonBrick.Position, char['Left Leg'].Position).lookVector | |
| 1077 | local increment = direction * 4 | |
| 1078 | ||
| 1079 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 1080 | local type = type | |
| 1081 | local rng = Instance.new("Part", char)
| |
| 1082 | rng.Anchored = true | |
| 1083 | rng.BrickColor = color | |
| 1084 | rng.CanCollide = false | |
| 1085 | rng.FormFactor = 3 | |
| 1086 | rng.Name = "Ring" | |
| 1087 | rng.Material = "Neon" | |
| 1088 | rng.Size = Vector3.new(1, 1, 1) | |
| 1089 | rng.Transparency = 0 | |
| 1090 | rng.TopSurface = 0 | |
| 1091 | rng.BottomSurface = 0 | |
| 1092 | rng.CFrame = pos | |
| 1093 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1094 | rngm.MeshType = MType | |
| 1095 | rngm.Scale = scale | |
| 1096 | local scaler2 = 1 | |
| 1097 | if type == "Add" then | |
| 1098 | scaler2 = 1 * value | |
| 1099 | elseif type == "Divide" then | |
| 1100 | scaler2 = 1 / value | |
| 1101 | end | |
| 1102 | coroutine.resume(coroutine.create(function() | |
| 1103 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1104 | swait() | |
| 1105 | if type == "Add" then | |
| 1106 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1107 | elseif type == "Divide" then | |
| 1108 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1109 | end | |
| 1110 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1111 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 1112 | end | |
| 1113 | rng:Destroy() | |
| 1114 | end)) | |
| 1115 | end | |
| 1116 | ||
| 1117 | function Eviscerate(dude) | |
| 1118 | if dude.Name ~= char then | |
| 1119 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1120 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1121 | local val = IT("BoolValue", dude)
| |
| 1122 | val.Name = "IsHit" | |
| 1123 | local ds = coroutine.wrap(function() | |
| 1124 | dude:WaitForChild("Head"):BreakJoints()
| |
| 1125 | wait(0.5) | |
| 1126 | target = nil | |
| 1127 | coroutine.resume(coroutine.create(function() | |
| 1128 | for i, v in pairs(dude:GetChildren()) do | |
| 1129 | if v:IsA("Accessory") then
| |
| 1130 | v:Destroy() | |
| 1131 | end | |
| 1132 | if v:IsA("Humanoid") then
| |
| 1133 | v:Destroy() | |
| 1134 | end | |
| 1135 | if v:IsA("CharacterMesh") then
| |
| 1136 | v:Destroy() | |
| 1137 | end | |
| 1138 | if v:IsA("Model") then
| |
| 1139 | v:Destroy() | |
| 1140 | end | |
| 1141 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1142 | for x, o in pairs(v:GetChildren()) do | |
| 1143 | if o:IsA("Decal") then
| |
| 1144 | o:Destroy() | |
| 1145 | end | |
| 1146 | end | |
| 1147 | coroutine.resume(coroutine.create(function() | |
| 1148 | v.Material = "Neon" | |
| 1149 | v.CanCollide = false | |
| 1150 | local PartEmmit1 = IT("ParticleEmitter", reye)
| |
| 1151 | PartEmmit1.LightEmission = 1 | |
| 1152 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 1153 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1154 | PartEmmit1.Rate = 150 | |
| 1155 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 1156 | PartEmmit1.Size = NumberSequence.new({
| |
| 1157 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 1158 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1159 | }) | |
| 1160 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1161 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1162 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1163 | }) | |
| 1164 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1165 | PartEmmit1.VelocitySpread = 30000 | |
| 1166 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 1167 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1168 | local BodPoss = IT("BodyPosition", v)
| |
| 1169 | BodPoss.P = 3000 | |
| 1170 | BodPoss.D = 1000 | |
| 1171 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1172 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1173 | v.Color = maincolor.Color | |
| 1174 | coroutine.resume(coroutine.create(function() | |
| 1175 | for i = 0, 49 do | |
| 1176 | swait(1) | |
| 1177 | v.Transparency = v.Transparency + 0.08 | |
| 1178 | end | |
| 1179 | wait(0.5) | |
| 1180 | PartEmmit1.Enabled = false | |
| 1181 | wait(3) | |
| 1182 | v:Destroy() | |
| 1183 | dude:Destroy() | |
| 1184 | end)) | |
| 1185 | end)) | |
| 1186 | end | |
| 1187 | end | |
| 1188 | end)) | |
| 1189 | end) | |
| 1190 | ds() | |
| 1191 | end | |
| 1192 | end | |
| 1193 | ||
| 1194 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1195 | if SinglePlayer then | |
| 1196 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1197 | end | |
| 1198 | local List = {}
| |
| 1199 | for i, v in pairs(workspace:GetChildren()) do | |
| 1200 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1201 | table.insert(List, v) | |
| 1202 | end | |
| 1203 | end | |
| 1204 | return List | |
| 1205 | end | |
| 1206 | ||
| 1207 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 1208 | local type = type | |
| 1209 | local rng = Instance.new("Part", char)
| |
| 1210 | rng.Anchored = true | |
| 1211 | rng.BrickColor = color | |
| 1212 | rng.CanCollide = false | |
| 1213 | rng.FormFactor = 3 | |
| 1214 | rng.Name = "Ring" | |
| 1215 | rng.Material = "Neon" | |
| 1216 | rng.Size = Vector3.new(1, 1, 1) | |
| 1217 | rng.Transparency = 0 | |
| 1218 | rng.TopSurface = 0 | |
| 1219 | rng.BottomSurface = 0 | |
| 1220 | rng.CFrame = pos | |
| 1221 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1222 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1223 | rngm.MeshType = MType | |
| 1224 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1225 | local scaler2 = 1 | |
| 1226 | local speeder = FastSpeed | |
| 1227 | if type == "Add" then | |
| 1228 | scaler2 = 1 * value | |
| 1229 | elseif type == "Divide" then | |
| 1230 | scaler2 = 1 / value | |
| 1231 | end | |
| 1232 | coroutine.resume(coroutine.create(function() | |
| 1233 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1234 | swait() | |
| 1235 | if type == "Add" then | |
| 1236 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1237 | elseif type == "Divide" then | |
| 1238 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1239 | end | |
| 1240 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1241 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1242 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1243 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1244 | end | |
| 1245 | rng:Destroy() | |
| 1246 | end)) | |
| 1247 | end | |
| 1248 | ||
| 1249 | function SoulSteal(dude) | |
| 1250 | if dude.Name ~= char then | |
| 1251 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1252 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1253 | local val = IT("BoolValue", dude)
| |
| 1254 | val.Name = "IsHit" | |
| 1255 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 1256 | local soulst = coroutine.wrap(function() | |
| 1257 | local soul = Instance.new("Part",dude)
| |
| 1258 | soul.Size = Vector3.new(1,1,1) | |
| 1259 | soul.CanCollide = false | |
| 1260 | soul.Anchored = false | |
| 1261 | soul.Position = torso.Position | |
| 1262 | soul.Transparency = 1 | |
| 1263 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 1264 | PartEmmit1.LightEmission = 1 | |
| 1265 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1266 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1267 | PartEmmit1.Rate = 250 | |
| 1268 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1269 | PartEmmit1.Size = NumberSequence.new({
| |
| 1270 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1271 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1272 | }) | |
| 1273 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1274 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1275 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1276 | }) | |
| 1277 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1278 | PartEmmit1.VelocitySpread = 30000 | |
| 1279 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1280 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1281 | local BodPoss = IT("BodyPosition", soul)
| |
| 1282 | BodPoss.P = 3000 | |
| 1283 | BodPoss.D = 1000 | |
| 1284 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1285 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1286 | wait(1.6) | |
| 1287 | soul.Touched:connect(function(hit) | |
| 1288 | if hit.Parent == char then | |
| 1289 | soul:Destroy() | |
| 1290 | end | |
| 1291 | end) | |
| 1292 | wait(1.2) | |
| 1293 | while soul do | |
| 1294 | swait() | |
| 1295 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1296 | BodPoss.Position = tors.Position | |
| 1297 | end | |
| 1298 | end) | |
| 1299 | soulst() | |
| 1300 | end | |
| 1301 | end | |
| 1302 | function FaceMouse() | |
| 1303 | local Cam = workspace.CurrentCamera | |
| 1304 | return {
| |
| 1305 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1306 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1307 | } | |
| 1308 | end | |
| 1309 | ||
| 1310 | BTAUNT = Instance.new("Sound", char)
| |
| 1311 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2993019322" | |
| 1312 | BTAUNT.Volume = 100 | |
| 1313 | BTAUNT.Pitch = 1 | |
| 1314 | BTAUNT.Looped = true | |
| 1315 | BTAUNT.Name = "Music" | |
| 1316 | ||
| 1317 | function AntiNoSound() | |
| 1318 | local TorsMusic = Torso:FindFirstChild("Music")
| |
| 1319 | if TorsMusic == nil then | |
| 1320 | local NewMusicTors = Instance.new("Sound")
| |
| 1321 | NewMusicTors.Parent = Torso | |
| 1322 | NewMusicTors.Name = "Music" | |
| 1323 | NewMusicTors.Looped = true | |
| 1324 | NewMusicTors.SoundId = "rbxassetid://2993019322" | |
| 1325 | NewMusicTors.Volume = 500 | |
| 1326 | - | NewMusicTors.Pitch = 0.80 |
| 1326 | + | NewMusicTors.Pitch = 1 |
| 1327 | NewMusicTors:Play() | |
| 1328 | elseif TorsMusic ~= nil then | |
| 1329 | end | |
| 1330 | end | |
| 1331 | ||
| 1332 | BTAUNT2 = Instance.new("Sound", char.Torso)
| |
| 1333 | BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=165113352" | |
| 1334 | BTAUNT2.Volume = 20 | |
| 1335 | BTAUNT2.Pitch = 1 | |
| 1336 | BTAUNT2.Looped = true | |
| 1337 | ||
| 1338 | BTAUNT3 = Instance.new("Sound", Workspace)
| |
| 1339 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=506428158" | |
| 1340 | BTAUNT3.Volume = 2 | |
| 1341 | BTAUNT3.Pitch = 1 | |
| 1342 | BTAUNT3.Looped = true | |
| 1343 | ||
| 1344 | BTAUNT4 = Instance.new("Sound", char.Torso)
| |
| 1345 | BTAUNT4.SoundId = "http://www.roblox.com/asset/?id=1470848774" | |
| 1346 | BTAUNT4.Volume = 5 | |
| 1347 | BTAUNT4.Pitch = 3 | |
| 1348 | BTAUNT4.Looped = true | |
| 1349 | ||
| 1350 | BTAUNT5 = Instance.new("Sound", char.Torso)
| |
| 1351 | BTAUNT5.SoundId = "http://www.roblox.com/asset/?id=1470848774" | |
| 1352 | BTAUNT5.Volume = 5 | |
| 1353 | BTAUNT5.Pitch = 1 | |
| 1354 | BTAUNT5.Looped = true | |
| 1355 | ||
| 1356 | TEST = Instance.new("Sound", tors)
| |
| 1357 | TEST.SoundId = "http://www.roblox.com/asset/?id=636494529" | |
| 1358 | TEST.Volume = 25 | |
| 1359 | TEST.Pitch = 1 | |
| 1360 | TEST.Looped = false | |
| 1361 | ------------------------------------------------------- | |
| 1362 | --End Effect Function-- | |
| 1363 | ------------------------------------------------------- | |
| 1364 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1365 | local NSound = nil | |
| 1366 | coroutine.resume(coroutine.create(function() | |
| 1367 | NSound = IT("Sound", PARENT)
| |
| 1368 | NSound.Volume = VOLUME | |
| 1369 | NSound.Pitch = PITCH | |
| 1370 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1371 | swait() | |
| 1372 | NSound:play() | |
| 1373 | game:GetService("Debris"):AddItem(NSound, 50)
| |
| 1374 | end)) | |
| 1375 | return NSound | |
| 1376 | end | |
| 1377 | function CameraEnshaking(Length, Intensity) | |
| 1378 | coroutine.resume(coroutine.create(function() | |
| 1379 | local intensity = 1 * Intensity | |
| 1380 | local rotM = 0.01 * Intensity | |
| 1381 | for i = 0, Length, 0.1 do | |
| 1382 | swait() | |
| 1383 | intensity = intensity - 0.05 * Intensity / Length | |
| 1384 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1385 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1386 | 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) | |
| 1387 | end | |
| 1388 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1389 | end)) | |
| 1390 | end | |
| 1391 | ------------------------------------------------------- | |
| 1392 | --End Important Functions-- | |
| 1393 | ------------------------------------------------------- | |
| 1394 | ||
| 1395 | ||
| 1396 | ||
| 1397 | ||
| 1398 | ||
| 1399 | ------------------------------------------------------- | |
| 1400 | --Start Customization-- | |
| 1401 | ------------------------------------------------------- | |
| 1402 | local Player_Size = 1 | |
| 1403 | if Player_Size ~= 1 then | |
| 1404 | root.Size = root.Size * Player_Size | |
| 1405 | tors.Size = tors.Size * Player_Size | |
| 1406 | hed.Size = hed.Size * Player_Size | |
| 1407 | ra.Size = ra.Size * Player_Size | |
| 1408 | la.Size = la.Size * Player_Size | |
| 1409 | rl.Size = rl.Size * Player_Size | |
| 1410 | ll.Size = ll.Size * Player_Size | |
| 1411 | ---------------------------------------------------------------------------------- | |
| 1412 | rootj.Parent = root | |
| 1413 | neck.Parent = tors | |
| 1414 | RW.Parent = tors | |
| 1415 | LW.Parent = tors | |
| 1416 | RH.Parent = tors | |
| 1417 | LH.Parent = tors | |
| 1418 | ---------------------------------------------------------------------------------- | |
| 1419 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1420 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1421 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1422 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1423 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1424 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1425 | ---------------------------------------------------------------------------------- | |
| 1426 | 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)) | |
| 1427 | 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)) | |
| 1428 | 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)) | |
| 1429 | 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)) | |
| 1430 | --hat.Parent = Character | |
| 1431 | end | |
| 1432 | ---------------------------------------------------------------------------------- | |
| 1433 | ---------------------------------------------------------------------------------- | |
| 1434 | local equipped = false | |
| 1435 | local idle = 0 | |
| 1436 | local change = 1 | |
| 1437 | local val = 0 | |
| 1438 | local toim = 0 | |
| 1439 | local idleanim = 0.4 | |
| 1440 | local sine = 0 | |
| 1441 | local Sit = 1 | |
| 1442 | ---------------------------------------------------------------------------------- | |
| 1443 | hum.WalkSpeed = 49 | |
| 1444 | hum.JumpPower = 57 | |
| 1445 | hum.Animator.Parent = nil | |
| 1446 | ---------------------------------------------------------------------------------- | |
| 1447 | ||
| 1448 | ||
| 1449 | ||
| 1450 | ------------------------------------------------------- | |
| 1451 | --End Customization-- | |
| 1452 | ------------------------------------------------------- | |
| 1453 | local Blobby2 = Instance.new("Part", char)
| |
| 1454 | Blobby2.Name = "Blob" | |
| 1455 | Blobby2.CanCollide = false | |
| 1456 | Blobby2.BrickColor = BrickColor.new("Really black")
| |
| 1457 | Blobby2.Transparency = 0 | |
| 1458 | Blobby2.Material = "Plastic" | |
| 1459 | Blobby2.Size = Vector3.new(1, 1, 2) | |
| 1460 | Blobby2.TopSurface = Enum.SurfaceType.Smooth | |
| 1461 | Blobby2.BottomSurface = Enum.SurfaceType.Smooth | |
| 1462 | ||
| 1463 | local Weld = Instance.new("Weld", Blobby2)
| |
| 1464 | Weld.Part0 = ra | |
| 1465 | Weld.Part1 = Blobby2 | |
| 1466 | Weld.C1 = CFrame.new(0, -1, 1.1) | |
| 1467 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
| 1468 | ||
| 1469 | local M3 = Instance.new("SpecialMesh")
| |
| 1470 | M3.Parent = Blobby2 | |
| 1471 | M3.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 1472 | M3.TextureId = "http://www.roblox.com/asset/?id=362719969" | |
| 1473 | M3.Scale = Vector3.new(1.4, 1, 1) | |
| 1474 | ||
| 1475 | --[[local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1476 | naeeym2.AlwaysOnTop = true | |
| 1477 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1478 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
| 1479 | naeeym2.Adornee = hed | |
| 1480 | naeeym2.Name = "Name" | |
| 1481 | --naeeym2.PlayerToHideFrom = Player | |
| 1482 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1483 | tecks2.BackgroundTransparency = 1 | |
| 1484 | tecks2.TextScaled = true | |
| 1485 | tecks2.BorderSizePixel = 0 | |
| 1486 | tecks2.Text = "Fight Me" | |
| 1487 | tecks2.Font = Enum.Font.Bodoni | |
| 1488 | tecks2.TextSize = 30 | |
| 1489 | tecks2.TextStrokeTransparency = 0 | |
| 1490 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 1491 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
| 1492 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1493 | tecks2.Parent = naeeym2]] | |
| 1494 | ---------------------------------------------------------------------------------- | |
| 1495 | local AddInstance = function(Object, ...) | |
| 1496 | local Obj = Instance.new(Object) | |
| 1497 | for i,v in next,(...) do | |
| 1498 | Obj[i] = v | |
| 1499 | end | |
| 1500 | return Obj | |
| 1501 | end | |
| 1502 | ---------------------------------------------------- | |
| 1503 | ||
| 1504 | local Reaper = AddInstance("Part",{
| |
| 1505 | Parent = hed, | |
| 1506 | CFrame = hed.CFrame, | |
| 1507 | formFactor = "Symmetric", | |
| 1508 | Size = Vector3.new(1, 1, 1), | |
| 1509 | CanCollide = false, | |
| 1510 | TopSurface = "Smooth", | |
| 1511 | BottomSurface = "Smooth", | |
| 1512 | Locked = true, | |
| 1513 | }) | |
| 1514 | local Weld = AddInstance("Weld",{
| |
| 1515 | Parent = Reaper, | |
| 1516 | Part0 = hed, | |
| 1517 | C0 = CFrame.new(0, 0.2, 0.08)*CFrame.Angles(0, 0, 0), | |
| 1518 | Part1 = Reaper, | |
| 1519 | }) | |
| 1520 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1521 | Parent = Reaper, | |
| 1522 | MeshId = "rbxassetid://2164269251", | |
| 1523 | TextureId = "rbxassetid://2890224964", | |
| 1524 | Scale = Vector3.new(0.85,0.85,0.8), | |
| 1525 | Offset = Vector3.new(0,-0.22,0) | |
| 1526 | }) | |
| 1527 | ||
| 1528 | local Hair = Instance.new("Part", char)
| |
| 1529 | Hair.Name = "Hair" | |
| 1530 | Hair.CanCollide = false | |
| 1531 | Hair.BrickColor = BrickColor.new("Brown")
| |
| 1532 | Hair.Transparency = 0 | |
| 1533 | Hair.Material = "Plastic" | |
| 1534 | Hair.Size = Vector3.new(1, 1, 2) | |
| 1535 | Hair.TopSurface = Enum.SurfaceType.Smooth | |
| 1536 | Hair.BottomSurface = Enum.SurfaceType.Smooth | |
| 1537 | ||
| 1538 | local Weld = Instance.new("Weld", Hair)
| |
| 1539 | Weld.Part0 = hed | |
| 1540 | Weld.Part1 = Hair | |
| 1541 | Weld.C1 = CFrame.new(0, -.5, 0) | |
| 1542 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
| 1543 | ||
| 1544 | local M2 = Instance.new("SpecialMesh")
| |
| 1545 | M2.Parent = Hair | |
| 1546 | M2.MeshId = "rbxassetid://1462300267" | |
| 1547 | M2.TextureId = "rbxassetid://2989687485" | |
| 1548 | M2.Scale = Vector3.new(1,1.5,1) | |
| 1549 | ||
| 1550 | ||
| 1551 | ||
| 1552 | ------------------------------------------------------- | |
| 1553 | wait(1) | |
| 1554 | plr = game.Players.LocalPlayer | |
| 1555 | char = plr.Character | |
| 1556 | mouse = plr:GetMouse() | |
| 1557 | whitecolor = Color3.new(9, 137, 207) | |
| 1558 | epicmode = false | |
| 1559 | normal = true | |
| 1560 | for i,v in pairs(char:GetChildren()) do | |
| 1561 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
| 1562 | v:Destroy() | |
| 1563 | end | |
| 1564 | end | |
| 1565 | local shirt = Instance.new("Shirt",char)
| |
| 1566 | shirt.ShirtTemplate = "rbxassetid://2890198818" | |
| 1567 | local pants = Instance.new("Pants",char)
| |
| 1568 | pants.PantsTemplate = "rbxassetid://746324968" | |
| 1569 | local bdycolors = char["Body Colors"] | |
| 1570 | bdycolors.HeadColor3 = whitecolor | |
| 1571 | bdycolors.LeftArmColor3 = whitecolor | |
| 1572 | bdycolors.LeftLegColor3 = whitecolor | |
| 1573 | bdycolors.RightArmColor3 = whitecolor | |
| 1574 | bdycolors.RightLegColor3 = whitecolor | |
| 1575 | bdycolors.TorsoColor3 = whitecolor | |
| 1576 | for i,v in pairs(char:GetChildren()) do | |
| 1577 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
| 1578 | v:Destroy() | |
| 1579 | end | |
| 1580 | end | |
| 1581 | ||
| 1582 | ||
| 1583 | ||
| 1584 | local BC = Character["Body Colors"] | |
| 1585 | BC.HeadColor = BrickColor.new("Pastel brown")
| |
| 1586 | BC.LeftArmColor = BrickColor.new("Pastel brown")
| |
| 1587 | BC.LeftLegColor = BrickColor.new("Really black")
| |
| 1588 | BC.RightArmColor = BrickColor.new("Pastel brown")
| |
| 1589 | BC.RightLegColor = BrickColor.new("Really black")
| |
| 1590 | BC.TorsoColor = BrickColor.new("Pastel brown")
| |
| 1591 | ------------------------------------------------------- | |
| 1592 | --Start Attacks N Stuff-- | |
| 1593 | ------------------------------------------------------- | |
| 1594 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1595 | naeeym2.AlwaysOnTop = true | |
| 1596 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 1597 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1598 | naeeym2.Adornee = hed | |
| 1599 | naeeym2.Name = "Name" | |
| 1600 | ||
| 1601 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1602 | tecks2.BackgroundTransparency = 1 | |
| 1603 | tecks2.TextScaled = true | |
| 1604 | tecks2.BorderSizePixel = 0 | |
| 1605 | tecks2.Text = "OwO" | |
| 1606 | tecks2.Font = "Antique" | |
| 1607 | tecks2.TextSize = 30 | |
| 1608 | tecks2.TextStrokeTransparency = 0 | |
| 1609 | tecks2.TextColor3 = BrickColor.new('Really black').Color
| |
| 1610 | tecks2.TextStrokeColor3 = BrickColor.new('Hot pink').Color
| |
| 1611 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1612 | tecks2.Parent = naeeym2 | |
| 1613 | textfag = tecks2 | |
| 1614 | tecks2.Text = "Oh... Hi." | |
| 1615 | wait(2) | |
| 1616 | tecks2.Text = "...I'm" | |
| 1617 | wait(1) | |
| 1618 | tecks2.Text = "tAmE (but a evil furry)" | |
| 1619 | BTAUNT:Play() | |
| 1620 | coroutine.resume(coroutine.create(function() | |
| 1621 | while textfag ~= nil do | |
| 1622 | swait() | |
| 1623 | textfag.Position = UDim2.new(math.random(-0.1,0.1),math.random(-3,3),.05,math.random(-3,3)) | |
| 1624 | textfag.Rotation = math.random(-0.1,0.1) | |
| 1625 | end | |
| 1626 | end)) | |
| 1627 | ||
| 1628 | function hate() | |
| 1629 | chatfunc("I have a genuine question for you...", BrickColor.new("Really red").Color)
| |
| 1630 | wait(3) | |
| 1631 | chatfunc("Do you happen to know what solferino means?", BrickColor.new("Really red").Color)
| |
| 1632 | wait(3) | |
| 1633 | attack = true | |
| 1634 | Cso("319332735", hed, 3.5, 1)
| |
| 1635 | local orb = Instance.new("Part", char)
| |
| 1636 | orb.Anchored = true | |
| 1637 | orb.BrickColor = BrickC("Really red")
| |
| 1638 | orb.CanCollide = false | |
| 1639 | orb.FormFactor = 3 | |
| 1640 | orb.Name = "Ring" | |
| 1641 | orb.Material = "Neon" | |
| 1642 | orb.Size = Vector3.new(1, 1, 1) | |
| 1643 | orb.Transparency = 0 | |
| 1644 | orb.TopSurface = 0 | |
| 1645 | orb.BottomSurface = 0 | |
| 1646 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 1647 | orbm.MeshType = "Sphere" | |
| 1648 | orbm.Name = "SizeMesh" | |
| 1649 | orbm.Scale = Vector3.new(0, 0, 0) | |
| 1650 | local scaled = 0.1 | |
| 1651 | local posid = 0 | |
| 1652 | for i = 0, 12, 0.1 do | |
| 1653 | swait() | |
| 1654 | scaled = scaled + 0.001 | |
| 1655 | posid = posid - scaled | |
| 1656 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
| 1657 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
| 1658 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1659 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1660 | 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(0)), 0.15) | |
| 1661 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 1662 | 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) | |
| 1663 | 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) | |
| 1664 | end | |
| 1665 | chatfunc("It's only my", BrickColor.new("Really red").Color)
| |
| 1666 | wait(2.874) | |
| 1667 | chatfunc("JEALOUSY", BrickColor.new("Magenta").Color)
| |
| 1668 | wait(1) | |
| 1669 | chatfunc("And man.... I have a LOT of it to use against you!", BrickColor.new("Really red").Color)
| |
| 1670 | wait(3.545) | |
| 1671 | for i = 0, 2, 0.1 do | |
| 1672 | swait() | |
| 1673 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1674 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1675 | 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) | |
| 1676 | 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) | |
| 1677 | 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) | |
| 1678 | 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) | |
| 1679 | end | |
| 1680 | coroutine.resume(coroutine.create(function() | |
| 1681 | orb.Anchored = false | |
| 1682 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
| |
| 1683 | local a = Instance.new("Part", workspace)
| |
| 1684 | a.Name = "Direction" | |
| 1685 | a.Anchored = true | |
| 1686 | a.BrickColor = BrickC("Really black")
| |
| 1687 | a.Material = "Neon" | |
| 1688 | a.Transparency = 1 | |
| 1689 | a.CanCollide = false | |
| 1690 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
| 1691 | local ignore = orb | |
| 1692 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 1693 | a.BottomSurface = 10 | |
| 1694 | a.TopSurface = 10 | |
| 1695 | local distance = (orb.CFrame.p - position).magnitude | |
| 1696 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 1697 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 1698 | orb.CFrame = a.CFrame | |
| 1699 | a:Destroy() | |
| 1700 | local bv = Instance.new("BodyVelocity")
| |
| 1701 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
| 1702 | bv.velocity = orb.CFrame.lookVector * 125 | |
| 1703 | bv.Parent = orb | |
| 1704 | local hitted = false | |
| 1705 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 1706 | swait() | |
| 1707 | local hit = orb.Touched:connect(function(hit) | |
| 1708 | if hitted == false then | |
| 1709 | hitted = true | |
| 1710 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
| |
| 1711 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
| 1712 | if v:FindFirstChild("Head") then
| |
| 1713 | Eviscerate(v) | |
| 1714 | end | |
| 1715 | end | |
| 1716 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
| |
| 1717 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
| |
| 1718 | for i = 0, 9 do | |
| 1719 | 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")
| |
| 1720 | 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")
| |
| 1721 | end | |
| 1722 | orb.Anchored = true | |
| 1723 | orb.Transparency = 1 | |
| 1724 | wait(8) | |
| 1725 | orb:Destroy() | |
| 1726 | end | |
| 1727 | end) | |
| 1728 | end)) | |
| 1729 | for i = 0, 1, 0.1 do | |
| 1730 | swait() | |
| 1731 | 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) | |
| 1732 | 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) | |
| 1733 | 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) | |
| 1734 | 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) | |
| 1735 | 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) | |
| 1736 | 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) | |
| 1737 | end | |
| 1738 | attack = false | |
| 1739 | end | |
| 1740 | ||
| 1741 | function THUNDERCLAP() | |
| 1742 | attack = true | |
| 1743 | for i = 0, 15, 0.1 do | |
| 1744 | swait() | |
| 1745 | 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) | |
| 1746 | 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) | |
| 1747 | 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) | |
| 1748 | 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) | |
| 1749 | 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) | |
| 1750 | 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) | |
| 1751 | end | |
| 1752 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
| |
| 1753 | for i = 0, 7, 0.1 do | |
| 1754 | swait() | |
| 1755 | 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) | |
| 1756 | 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) | |
| 1757 | 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) | |
| 1758 | 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) | |
| 1759 | 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) | |
| 1760 | 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) | |
| 1761 | end | |
| 1762 | ||
| 1763 | Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere")
| |
| 1764 | Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
| |
| 1765 | Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere")
| |
| 1766 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1767 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.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)
| |
| 1768 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1769 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1770 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.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)
| |
| 1771 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1772 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1773 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.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)
| |
| 1774 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1775 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1776 | Effects.Wave.Create(BrickColor.new("Institutional white"), root.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)
| |
| 1777 | Effects.Wave.Create(BrickColor.new("Really red"), root.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)
| |
| 1778 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do | |
| 1779 | if v:FindFirstChild("Head") then
| |
| 1780 | Eviscerate(v) | |
| 1781 | end | |
| 1782 | end | |
| 1783 | CFuncs["Sound"].Create("rbxassetid://1841058541", char, 2,1.2)
| |
| 1784 | CFuncs["Sound"].Create("rbxassetid://782353443", char, 2,1.2)
| |
| 1785 | CFuncs["Sound"].Create("rbxassetid://782225570", char, 3,1.05)
| |
| 1786 | for i = 0, 7, 0.1 do | |
| 1787 | swait() | |
| 1788 | 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) | |
| 1789 | 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) | |
| 1790 | 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) | |
| 1791 | 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) | |
| 1792 | 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) | |
| 1793 | 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) | |
| 1794 | end | |
| 1795 | attack = false | |
| 1796 | end | |
| 1797 | ||
| 1798 | ||
| 1799 | function Sie_alle_sterben() | |
| 1800 | attack = true | |
| 1801 | movelegs = true | |
| 1802 | local orb = Instance.new("Part", char)
| |
| 1803 | orb.Anchored = true | |
| 1804 | orb.BrickColor = BrickC("Really red")
| |
| 1805 | orb.CanCollide = false | |
| 1806 | orb.FormFactor = 3 | |
| 1807 | orb.Name = "Ring" | |
| 1808 | orb.Material = "Neon" | |
| 1809 | orb.Size = Vector3.new(1, 1, 1) | |
| 1810 | orb.Transparency = 0 | |
| 1811 | orb.TopSurface = 0 | |
| 1812 | orb.BottomSurface = 0 | |
| 1813 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 1814 | orbm.MeshType = "Sphere" | |
| 1815 | orbm.Name = "SizeMesh" | |
| 1816 | orbm.Scale = Vector3.new(0, 0, 0) | |
| 1817 | local scaled = 0.1 | |
| 1818 | local posid = 0 | |
| 1819 | local RoaringLaugh = Cso("0", char, 5, 0.8)
| |
| 1820 | swait(2) | |
| 1821 | for i = 0, 30, 0.1 do | |
| 1822 | swait() | |
| 1823 | scaled = scaled + 0.006 | |
| 1824 | posid = posid - scaled | |
| 1825 | orb.CFrame = la.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
| 1826 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
| 1827 | --Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 1828 | 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) | |
| 1829 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
| 1830 | 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(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 1831 | 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(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 1832 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.1 * Cos(sine / 20) * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1833 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0 - 5 * Sin(sine / 20)), Rad(-20)), 0.1) | |
| 1834 | end | |
| 1835 | for i = 0, 10, 0.1 do | |
| 1836 | swait() | |
| 1837 | 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) | |
| 1838 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
| 1839 | 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(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 1840 | 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(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 1841 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.1 * Cos(sine / 20) * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1842 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(225), Rad(0 - 5 * Sin(sine / 20)), Rad(-20)), 0.1) | |
| 1843 | end | |
| 1844 | coroutine.resume(coroutine.create(function() | |
| 1845 | orb.Anchored = false | |
| 1846 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
| |
| 1847 | local a = Instance.new("Part", workspace)
| |
| 1848 | a.Name = "Direction" | |
| 1849 | a.Anchored = true | |
| 1850 | a.BrickColor = BrickC("Really red")
| |
| 1851 | a.Material = "Neon" | |
| 1852 | a.Transparency = 1 | |
| 1853 | a.CanCollide = false | |
| 1854 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
| 1855 | local ignore = orb | |
| 1856 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 1857 | a.BottomSurface = 10 | |
| 1858 | a.TopSurface = 10 | |
| 1859 | local distance = (orb.CFrame.p - position).magnitude | |
| 1860 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 1861 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 1862 | orb.CFrame = a.CFrame | |
| 1863 | a:Destroy() | |
| 1864 | local bv = Instance.new("BodyVelocity")
| |
| 1865 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
| 1866 | bv.velocity = orb.CFrame.lookVector * 125 | |
| 1867 | bv.Parent = orb | |
| 1868 | local hitted = false | |
| 1869 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 1870 | swait() | |
| 1871 | local hit = orb.Touched:connect(function(hit) | |
| 1872 | if hitted == false then | |
| 1873 | hitted = true | |
| 1874 | CameraEnshaking(10, 20) | |
| 1875 | CFuncs.Sound.Create("rbxassetid://304490261", char, 5, 0.7)
| |
| 1876 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 100)) do | |
| 1877 | if v:FindFirstChild("Head") then
| |
| 1878 | Eviscerate(v) | |
| 1879 | end | |
| 1880 | end | |
| 1881 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Maroon"), "Sphere")
| |
| 1882 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, maincolor, "Sphere") | |
| 1883 | orb.Anchored = true | |
| 1884 | orb.Transparency = 1 | |
| 1885 | wait(8) | |
| 1886 | orb:Destroy() | |
| 1887 | end | |
| 1888 | end) | |
| 1889 | end)) | |
| 1890 | for i = 0, 10, 0.1 do | |
| 1891 | swait() | |
| 1892 | 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) | |
| 1893 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
| 1894 | 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(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 1895 | 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(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 1896 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.1 * Cos(sine / 20) * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1897 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(135), Rad(0 - 5 * Sin(sine / 20)), Rad(-20)), 0.1) | |
| 1898 | end | |
| 1899 | attack = false | |
| 1900 | end | |
| 1901 | ||
| 1902 | function special_hell() | |
| 1903 | chatfunc("welcome to my special hell.", BrickColor.new("Really red").Color)
| |
| 1904 | wait(2) | |
| 1905 | CHOICE = 6 | |
| 1906 | Cso("323578832", Workspace, 10, 1)
| |
| 1907 | local killsky = Instance.new('Sky', game:GetService'Lighting')
| |
| 1908 | killsky.SkyboxBk = "rbxassetid://818983932" | |
| 1909 | killsky.SkyboxDn = "rbxassetid://818983932" | |
| 1910 | killsky.SkyboxFt = "rbxassetid://818983932" | |
| 1911 | killsky.SkyboxLf = "rbxassetid://818983932" | |
| 1912 | killsky.SkyboxRt = "rbxassetid://818983932" | |
| 1913 | killsky.SkyboxUp = "rbxassetid://818983932" | |
| 1914 | --- | |
| 1915 | killsky.StarCount = 0 | |
| 1916 | killsky.SunAngularSize = 0 | |
| 1917 | killsky.MoonAngularSize = 0 | |
| 1918 | killsky.MoonTextureId = "" | |
| 1919 | killsky.CelestialBodiesShown = false | |
| 1920 | game.Lighting.FogColor = Color3.new(255,0,0) | |
| 1921 | game.Lighting.FogEnd = 1500 | |
| 1922 | if HITFLOOR ~= nil then | |
| 1923 | ATTACK = false | |
| 1924 | Rooted = false | |
| 1925 | local RINGSPIN = true | |
| 1926 | local CONSTRUCTING = true | |
| 1927 | local RING = CreatePart(3, Effects, "Neon", 0, 5, "Really red", "Ring", VT(0,0,0)) | |
| 1928 | RING.Color = C3(0,0,0) | |
| 1929 | MakeForm(RING,"Cyl") | |
| 1930 | RING.CFrame = CF(HITPOS) | |
| 1931 | coroutine.resume(coroutine.create(function() | |
| 1932 | repeat | |
| 1933 | Swait() | |
| 1934 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1935 | until CONSTRUCTING == false | |
| 1936 | repeat | |
| 1937 | Swait() | |
| 1938 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1939 | until RINGSPIN == false | |
| 1940 | for i = 1, 25 do | |
| 1941 | Swait() | |
| 1942 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1943 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
| 1944 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
| 1945 | RING.Transparency = RING.Transparency + 1/25 | |
| 1946 | end | |
| 1947 | RING:remove() | |
| 1948 | end)) | |
| 1949 | for i = 1, 15 do | |
| 1950 | Swait() | |
| 1951 | RING.Size = RING.Size + VT(0,0,0) | |
| 1952 | RING.Transparency = RING.Transparency - 1/15 | |
| 1953 | end | |
| 1954 | end | |
| 1955 | hum.WalkSpeed = 16 | |
| 1956 | attack = false | |
| 1957 | end | |
| 1958 | ||
| 1959 | function Chain2() | |
| 1960 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 1961 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1962 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
| |
| 1963 | local HEAD = HUM.Parent:FindFirstChild("Head")
| |
| 1964 | local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
| |
| 1965 | local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
| |
| 1966 | if HEAD and TORSO and HUM.Health > 0 then | |
| 1967 | local GYRO = IT("BodyGyro",root)
| |
| 1968 | GYRO.D = 275 | |
| 1969 | GYRO.P = 20000 | |
| 1970 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
| 1971 | attack = true | |
| 1972 | hum.WalkSpeed = 0 | |
| 1973 | local hit,pos,hummie; | |
| 1974 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
| 1975 | Hook2.Transparency = 1 | |
| 1976 | local A2 = NewInstance("Attachment",Hook2)
| |
| 1977 | local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
| |
| 1978 | 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})
| |
| 1979 | for i = 0, 2.3, .1 do | |
| 1980 | swait() | |
| 1981 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 1982 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 1983 | 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) | |
| 1984 | 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) | |
| 1985 | 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) | |
| 1986 | 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) | |
| 1987 | 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) | |
| 1988 | end | |
| 1989 | Cso("169105657", ra, 7, 1.2)
| |
| 1990 | for i = 0, 5, .1 do | |
| 1991 | if(hit)then break end | |
| 1992 | swait() | |
| 1993 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 1994 | Hook2.CFrame = TORSO.CFrame | |
| 1995 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 1996 | 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) | |
| 1997 | 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) | |
| 1998 | 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) | |
| 1999 | 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) | |
| 2000 | 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) | |
| 2001 | end | |
| 2002 | Cso("169105657", ra, 5, .8)
| |
| 2003 | Cso("0", char, 7, 1)
| |
| 2004 | GYRO:remove() | |
| 2005 | TORSO:BreakJoints() | |
| 2006 | for i = 0, 6, .1 do | |
| 2007 | swait() | |
| 2008 | Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2) | |
| 2009 | if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new() | |
| 2010 | end | |
| 2011 | if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then | |
| 2012 | break | |
| 2013 | end | |
| 2014 | Chain2.TextureLength = 4 | |
| 2015 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2016 | 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) | |
| 2017 | 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) | |
| 2018 | 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) | |
| 2019 | 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) | |
| 2020 | 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) | |
| 2021 | end | |
| 2022 | hum.WalkSpeed = 16 | |
| 2023 | attack = false | |
| 2024 | Hook2:Destroy() | |
| 2025 | end | |
| 2026 | end | |
| 2027 | end | |
| 2028 | ||
| 2029 | ||
| 2030 | function DRAG_THEM_TO_HELL() | |
| 2031 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 2032 | local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2033 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
| |
| 2034 | local HEAD = HUM.Parent:FindFirstChild("Head")
| |
| 2035 | if HEAD and TORSO and HUM.Health > 0 then | |
| 2036 | local GYRO = IT("BodyGyro",root)
| |
| 2037 | GYRO.D = 275 | |
| 2038 | GYRO.P = 20000 | |
| 2039 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
| 2040 | attack = true | |
| 2041 | hum.WalkSpeed = 0 | |
| 2042 | local hit,pos,hummie; | |
| 2043 | local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
| 2044 | Hook.Transparency = 1 | |
| 2045 | local A = NewInstance("Attachment",Hook)
| |
| 2046 | local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
| |
| 2047 | 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})
| |
| 2048 | local POS = mouse.Hit.p | |
| 2049 | local CHAINS = false | |
| 2050 | local CHAINLINKS = {}
| |
| 2051 | local A = IT("Attachment",la)
| |
| 2052 | A.Position = Vector3.new(1,-1,0)*Player_Size | |
| 2053 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
| 2054 | local B = IT("Attachment",la)
| |
| 2055 | B.Position = Vector3.new(-1,-1,0)*Player_Size | |
| 2056 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
| 2057 | local C = IT("Attachment",la)
| |
| 2058 | C.Position = Vector3.new(0.5,-1.3,0)*Player_Size | |
| 2059 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
| 2060 | local D = IT("Attachment",la)
| |
| 2061 | D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size | |
| 2062 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
| 2063 | local LIGHT = IT("Attachment",la)
| |
| 2064 | LIGHT.Position = Vector3.new(0,-1,0)*Player_Size | |
| 2065 | local LIGHT2 = IT("PointLight",LIGHT)
| |
| 2066 | LIGHT2.Range = 7 | |
| 2067 | LIGHT2.Brightness = 5 | |
| 2068 | LIGHT2.Color = Color3.new(0,0,0) | |
| 2069 | for i = 1, 2 do | |
| 2070 | local TWIST = -2 | |
| 2071 | local START = A | |
| 2072 | local END = B | |
| 2073 | if i == 1 then | |
| 2074 | START = B | |
| 2075 | END = A | |
| 2076 | end | |
| 2077 | local ChainLink = IT("Beam",tors)
| |
| 2078 | ChainLink.Texture = "rbxassetid://73042633" | |
| 2079 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
| 2080 | ChainLink.TextureSpeed = 1 | |
| 2081 | ChainLink.Width0 = 1 | |
| 2082 | ChainLink.Width1 = 1 | |
| 2083 | ChainLink.TextureLength = 2.5 | |
| 2084 | ChainLink.Attachment0 = START | |
| 2085 | ChainLink.Attachment1 = END | |
| 2086 | ChainLink.CurveSize0 = TWIST | |
| 2087 | ChainLink.CurveSize1 = TWIST | |
| 2088 | --ChainLink.FaceCamera = true | |
| 2089 | ChainLink.Segments = 45 | |
| 2090 | ChainLink.Transparency = NumberSequence.new(0.25) | |
| 2091 | table.insert(CHAINLINKS,ChainLink) | |
| 2092 | end | |
| 2093 | for i = 1, 2 do | |
| 2094 | local TWIST = -1 | |
| 2095 | local START = C | |
| 2096 | local END = D | |
| 2097 | if i == 1 then | |
| 2098 | START = D | |
| 2099 | END = C | |
| 2100 | end | |
| 2101 | local ChainLink = IT("Beam",tors)
| |
| 2102 | ChainLink.Texture = "rbxassetid://73042633" | |
| 2103 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
| 2104 | ChainLink.TextureSpeed = 1 | |
| 2105 | ChainLink.Width0 = 1 | |
| 2106 | ChainLink.Width1 = 1 | |
| 2107 | ChainLink.TextureLength = 5 | |
| 2108 | ChainLink.Attachment0 = START | |
| 2109 | ChainLink.Attachment1 = END | |
| 2110 | ChainLink.CurveSize0 = TWIST | |
| 2111 | ChainLink.CurveSize1 = TWIST | |
| 2112 | --ChainLink.FaceCamera = true | |
| 2113 | ChainLink.Segments = 25 | |
| 2114 | ChainLink.LightEmission = 0.5 | |
| 2115 | ChainLink.Transparency = NumberSequence.new(0.25) | |
| 2116 | table.insert(CHAINLINKS,ChainLink) | |
| 2117 | end | |
| 2118 | for i = 0, 2.3, .1 do | |
| 2119 | swait() | |
| 2120 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 2121 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2122 | 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) | |
| 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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
| 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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
| 2125 | 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) | |
| 2126 | 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) | |
| 2127 | end | |
| 2128 | Cso("169105657", ra, 7, 1.2)
| |
| 2129 | for i = 0, 4, .1 do | |
| 2130 | if(hit)then break end | |
| 2131 | swait() | |
| 2132 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
| 2133 | Hook.CFrame = HEAD.CFrame | |
| 2134 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2135 | 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) | |
| 2136 | 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) | |
| 2137 | 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) | |
| 2138 | 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) | |
| 2139 | 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) | |
| 2140 | end | |
| 2141 | for _,v in next, getRegion(Hook.Position,1,{char}) do
| |
| 2142 | if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then | |
| 2143 | hit = GetTorso(v.Parent); | |
| 2144 | hummie = v.Parent:FindFirstChildOfClass'Humanoid'; | |
| 2145 | break; | |
| 2146 | end | |
| 2147 | end | |
| 2148 | Cso("169105657", ra, 5, .8)
| |
| 2149 | Cso("0", tors, 2, 1.1)
| |
| 2150 | GYRO:remove() | |
| 2151 | for i = 0, 3, .1 do | |
| 2152 | swait() | |
| 2153 | HUM.PlatformStand = true | |
| 2154 | Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2) | |
| 2155 | if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new() | |
| 2156 | end | |
| 2157 | if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then | |
| 2158 | break | |
| 2159 | end | |
| 2160 | Chain.TextureLength = 4 | |
| 2161 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.1 + 0.1* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
| 2162 | 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) | |
| 2163 | 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) | |
| 2164 | 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) | |
| 2165 | 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) | |
| 2166 | 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) | |
| 2167 | end | |
| 2168 | hum.WalkSpeed = 16 | |
| 2169 | attack = false | |
| 2170 | Hook:Destroy() | |
| 2171 | A:remove() | |
| 2172 | B:remove() | |
| 2173 | C:remove() | |
| 2174 | D:remove() | |
| 2175 | end | |
| 2176 | end | |
| 2177 | end | |
| 2178 | ||
| 2179 | function Attack() | |
| 2180 | attack = true | |
| 2181 | for i = 0, 0.6, 0.1 do | |
| 2182 | swait() | |
| 2183 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-60)), 0.2) | |
| 2184 | 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) | |
| 2185 | 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(-30)), 0.2) | |
| 2186 | 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(30)), 0.2) | |
| 2187 | 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) | |
| 2188 | 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) | |
| 2189 | end | |
| 2190 | Cso("357417055", tors, 10, 1)
| |
| 2191 | CameraEnshaking(2, 15) | |
| 2192 | Effects.Wave.Create(BrickColor.new("Really red"), 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)
| |
| 2193 | Effects.Wave.Create(BrickColor.new("Really red"), 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)
| |
| 2194 | Effects.Wave.Create(BrickColor.new("Really red"), 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)
| |
| 2195 | for i, v in pairs(FindNearestHead(Blobby2.CFrame.p, 9.5)) do | |
| 2196 | if v:FindFirstChild("Head") then
| |
| 2197 | Eviscerate(v) | |
| 2198 | Cso("388826051", tors, 10, 1)
| |
| 2199 | end | |
| 2200 | end | |
| 2201 | for i = 0, 3, 0.1 do | |
| 2202 | swait() | |
| 2203 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(55)), 0.3) | |
| 2204 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-55)), 0.3) | |
| 2205 | 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(55), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(25)), 0.3) | |
| 2206 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.1 * Cos(sine / 20)) * LHCF * angles(Rad(0), Rad(0), Rad(35)), 0.15) | |
| 2207 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(30)), 0.3) | |
| 2208 | 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) | |
| 2209 | end | |
| 2210 | attack = false | |
| 2211 | end | |
| 2212 | ||
| 2213 | function fail() | |
| 2214 | chatfunc("YOU'RE UTTERLY USELESS TO ME!", BrickColor.new("Really red").Color)
| |
| 2215 | Cso("323578832", hed, 3.5, 1)
| |
| 2216 | attack = true | |
| 2217 | hum.WalkSpeed = 2.01 | |
| 2218 | char.Head.face.Texture = "rbxassetid://1364920814" | |
| 2219 | for i = 0,1.2,0.1 do | |
| 2220 | swait() | |
| 2221 | 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) | |
| 2222 | 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, 99)), Rad(0)), 0.3) | |
| 2223 | 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) | |
| 2224 | 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) | |
| 2225 | 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, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2226 | 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, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2227 | end | |
| 2228 | for i = 0,1.2,0.1 do | |
| 2229 | swait() | |
| 2230 | 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) | |
| 2231 | 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, 99)), Rad(0)), 0.3) | |
| 2232 | 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) | |
| 2233 | 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) | |
| 2234 | 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, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2235 | 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, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2236 | end | |
| 2237 | for i = 0,1.2,0.1 do | |
| 2238 | swait() | |
| 2239 | 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) | |
| 2240 | 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, 99)), Rad(0)), 0.3) | |
| 2241 | 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) | |
| 2242 | 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) | |
| 2243 | 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, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2244 | 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, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2245 | end | |
| 2246 | for i = 0,1.2,0.1 do | |
| 2247 | swait() | |
| 2248 | 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) | |
| 2249 | 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, 99)), Rad(0)), 0.3) | |
| 2250 | 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) | |
| 2251 | 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) | |
| 2252 | 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, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2253 | 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, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2254 | end | |
| 2255 | for i = 0,1.2,0.1 do | |
| 2256 | swait() | |
| 2257 | 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) | |
| 2258 | 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, 99)), Rad(0)), 0.3) | |
| 2259 | 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) | |
| 2260 | 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) | |
| 2261 | 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, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2262 | 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, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2263 | end | |
| 2264 | for i = 0,1.2,0.1 do | |
| 2265 | swait() | |
| 2266 | 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) | |
| 2267 | 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, 99)), Rad(0)), 0.3) | |
| 2268 | 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) | |
| 2269 | 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) | |
| 2270 | 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, 99)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2271 | 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, 99)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2272 | end | |
| 2273 | char.Head.face.Texture = "rbxassetid://1364919656" | |
| 2274 | hum.WalkSpeed = 16 | |
| 2275 | attack = false | |
| 2276 | end | |
| 2277 | ||
| 2278 | ------------------------------------------------------- | |
| 2279 | --End Attacks N Stuff-- | |
| 2280 | ------------------------------------------------------- | |
| 2281 | ||
| 2282 | function chatfunc(text, color) | |
| 2283 | local chat = coroutine.wrap(function() | |
| 2284 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 2285 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 2286 | end | |
| 2287 | local naeeym2 = Instance.new("BillboardGui", char)
| |
| 2288 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 2289 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
| 2290 | naeeym2.Adornee = hed | |
| 2291 | naeeym2.Name = "TalkingBillBoard" | |
| 2292 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 2293 | tecks2.BackgroundTransparency = 1 | |
| 2294 | tecks2.BorderSizePixel = 0 | |
| 2295 | tecks2.Text = "" | |
| 2296 | tecks2.Font = "Fantasy" | |
| 2297 | tecks2.TextSize = 30 | |
| 2298 | tecks2.TextStrokeTransparency = 0 | |
| 2299 | tecks2.TextColor3 = color | |
| 2300 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 2301 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 2302 | local tecks3 = Instance.new("TextLabel", naeeym2)
| |
| 2303 | tecks3.BackgroundTransparency = 1 | |
| 2304 | tecks3.BorderSizePixel = 0 | |
| 2305 | tecks3.Text = "" | |
| 2306 | tecks3.Font = "SciFi" | |
| 2307 | tecks3.TextSize = 30 | |
| 2308 | tecks3.TextStrokeTransparency = 0 | |
| 2309 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
| 2310 | tecks3.TextStrokeColor3 = color | |
| 2311 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
| 2312 | coroutine.resume(coroutine.create(function() | |
| 2313 | while true do | |
| 2314 | swait(1) | |
| 2315 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 2316 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 2317 | tecks2.Rotation = math.random(-5, 5) | |
| 2318 | tecks3.Rotation = math.random(-5, 5) | |
| 2319 | end | |
| 2320 | end)) | |
| 2321 | for i = 1, string.len(text) do | |
| 2322 | CFuncs.Sound.Create("rbxassetid://274118116", char, 50, 0.658)
| |
| 2323 | tecks2.Text = string.sub(text, 1, i) | |
| 2324 | tecks3.Text = string.sub(text, 1, i) | |
| 2325 | swait(1) | |
| 2326 | end | |
| 2327 | wait(1) | |
| 2328 | local randomrot = math.random(1, 2) | |
| 2329 | if randomrot == 1 then | |
| 2330 | for i = 1, 50 do | |
| 2331 | swait() | |
| 2332 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
| 2333 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 2334 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 2335 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
| 2336 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 2337 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 2338 | end | |
| 2339 | elseif randomrot == 2 then | |
| 2340 | for i = 1, 50 do | |
| 2341 | swait() | |
| 2342 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
| 2343 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 2344 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 2345 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
| 2346 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 2347 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 2348 | end | |
| 2349 | end | |
| 2350 | naeeym2:Destroy() | |
| 2351 | end) | |
| 2352 | chat() | |
| 2353 | end | |
| 2354 | ||
| 2355 | mouse.KeyDown:connect(function(key) | |
| 2356 | if attack == false then | |
| 2357 | if key == "u" then | |
| 2358 | char.Head.face.Texture = "rbxassetid://1364919656" | |
| 2359 | ||
| 2360 | elseif key == 't' then | |
| 2361 | fail() | |
| 2362 | ||
| 2363 | elseif key == 'z' then | |
| 2364 | Sie_alle_sterben() | |
| 2365 | ||
| 2366 | elseif key == 'c' then | |
| 2367 | THUNDERCLAP() | |
| 2368 | ||
| 2369 | elseif key == 'x' then | |
| 2370 | hate() | |
| 2371 | ||
| 2372 | elseif key == 'h' then | |
| 2373 | special_hell() | |
| 2374 | ||
| 2375 | elseif key == 'y' then | |
| 2376 | char.Head.face.Texture = "rbxassetid://1364920814" | |
| 2377 | end | |
| 2378 | end | |
| 2379 | end) | |
| 2380 | ||
| 2381 | mouse.Button1Down:connect(function(key) | |
| 2382 | if attack == false then | |
| 2383 | Attack() | |
| 2384 | end | |
| 2385 | end) | |
| 2386 | ||
| 2387 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
| 2388 | local part = Instance.new("Part")
| |
| 2389 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0) | |
| 2390 | part.Material = material or Enum.Material.SmoothPlastic | |
| 2391 | part.TopSurface,part.BottomSurface=10,10 | |
| 2392 | part.Size = size or Vector3.new(1,1,1) | |
| 2393 | part.CFrame = cframe or CF(0,0,0) | |
| 2394 | part.Anchored = anchored or true | |
| 2395 | part.CanCollide = cancollide or false | |
| 2396 | part.Parent = parent or char | |
| 2397 | return part | |
| 2398 | end | |
| 2399 | ||
| 2400 | NewInstance = function(instance,parent,properties) | |
| 2401 | local inst = Instance.new(instance) | |
| 2402 | inst.Parent = parent | |
| 2403 | if(properties)then | |
| 2404 | for i,v in next, properties do | |
| 2405 | pcall(function() inst[i] = v end) | |
| 2406 | end | |
| 2407 | end | |
| 2408 | return inst; | |
| 2409 | end | |
| 2410 | ------------------------------------------------------- | |
| 2411 | --Start Damage Function-- | |
| 2412 | ------------------------------------------------------- | |
| 2413 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
| 2414 | local type = type | |
| 2415 | local rng = Instance.new("Part", char)
| |
| 2416 | rng.Anchored = true | |
| 2417 | rng.BrickColor = color | |
| 2418 | rng.CanCollide = false | |
| 2419 | rng.FormFactor = 3 | |
| 2420 | rng.Name = "Ring" | |
| 2421 | rng.Material = "Neon" | |
| 2422 | rng.Size = Vector3.new(1, 1, 1) | |
| 2423 | rng.Transparency = 0 | |
| 2424 | rng.TopSurface = 0 | |
| 2425 | rng.BottomSurface = 0 | |
| 2426 | rng.CFrame = pos | |
| 2427 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2428 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2429 | rngm.MeshType = "Brick" | |
| 2430 | if rainbowmode == true then | |
| 2431 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2432 | end | |
| 2433 | local scaler2 = 1 | |
| 2434 | local speeder = FastSpeed/10 | |
| 2435 | if type == "Add" then | |
| 2436 | scaler2 = 1*value | |
| 2437 | elseif type == "Divide" then | |
| 2438 | scaler2 = 1/value | |
| 2439 | end | |
| 2440 | coroutine.resume(coroutine.create(function() | |
| 2441 | for i = 0,10/bonuspeed,0.1 do | |
| 2442 | swait() | |
| 2443 | if type == "Add" then | |
| 2444 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2445 | elseif type == "Divide" then | |
| 2446 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2447 | end | |
| 2448 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2449 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2450 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2451 | end | |
| 2452 | rng:Destroy() | |
| 2453 | end)) | |
| 2454 | end | |
| 2455 | ||
| 2456 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 2457 | if hit.Parent == nil then | |
| 2458 | return | |
| 2459 | end | |
| 2460 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2461 | for _, v in pairs(hit.Parent:children()) do | |
| 2462 | if v:IsA("Humanoid") then
| |
| 2463 | h = v | |
| 2464 | end | |
| 2465 | end | |
| 2466 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 2467 | ||
| 2468 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 2469 | end | |
| 2470 | ||
| 2471 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 2472 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 2473 | if hit.Parent.DebounceHit.Value == true then | |
| 2474 | return | |
| 2475 | end | |
| 2476 | end | |
| 2477 | if insta == true then | |
| 2478 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 2479 | end | |
| 2480 | local c = Create("ObjectValue"){
| |
| 2481 | Name = "creator", | |
| 2482 | Value = game:service("Players").LocalPlayer,
| |
| 2483 | Parent = h, | |
| 2484 | } | |
| 2485 | game:GetService("Debris"):AddItem(c, .5)
| |
| 2486 | if HitSound ~= nil and HitPitch ~= nil then | |
| 2487 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 2488 | end | |
| 2489 | local Damage = math.random(minim, maxim) | |
| 2490 | local blocked = false | |
| 2491 | local block = hit.Parent:findFirstChild("Block")
| |
| 2492 | if block ~= nil then | |
| 2493 | if block.className == "IntValue" then | |
| 2494 | if block.Value > 0 then | |
| 2495 | blocked = true | |
| 2496 | block.Value = block.Value - 1 | |
| 2497 | print(block.Value) | |
| 2498 | end | |
| 2499 | end | |
| 2500 | end | |
| 2501 | if blocked == false then | |
| 2502 | h.Health = h.Health - Damage | |
| 2503 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 2504 | else | |
| 2505 | h.Health = h.Health - (Damage / 2) | |
| 2506 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 2507 | end | |
| 2508 | if Type == "Knockdown" then | |
| 2509 | local hum = hit.Parent.Humanoid | |
| 2510 | hum.PlatformStand = true | |
| 2511 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 2512 | swait(1) | |
| 2513 | HHumanoid.PlatformStand = false | |
| 2514 | end), hum) | |
| 2515 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 2516 | local bodvol = Create("BodyVelocity"){
| |
| 2517 | velocity = angle * knockback, | |
| 2518 | P = 5000, | |
| 2519 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2520 | Parent = hit, | |
| 2521 | } | |
| 2522 | local rl = Create("BodyAngularVelocity"){
| |
| 2523 | P = 3000, | |
| 2524 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 2525 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 2526 | Parent = hit, | |
| 2527 | } | |
| 2528 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 2529 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 2530 | elseif Type == "Normal" then | |
| 2531 | local vp = Create("BodyVelocity"){
| |
| 2532 | P = 500, | |
| 2533 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 2534 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 2535 | } | |
| 2536 | if knockback > 0 then | |
| 2537 | vp.Parent = hit.Parent.Torso | |
| 2538 | end | |
| 2539 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 2540 | elseif Type == "Up" then | |
| 2541 | local bodyVelocity = Create("BodyVelocity"){
| |
| 2542 | velocity = Vector3.new(0, 20, 0), | |
| 2543 | P = 5000, | |
| 2544 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2545 | Parent = hit, | |
| 2546 | } | |
| 2547 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 2548 | elseif Type == "DarkUp" then | |
| 2549 | coroutine.resume(coroutine.create(function() | |
| 2550 | for i = 0, 1, 0.1 do | |
| 2551 | swait() | |
| 2552 | Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 2553 | end | |
| 2554 | end)) | |
| 2555 | local bodyVelocity = Create("BodyVelocity"){
| |
| 2556 | velocity = Vector3.new(0, 20, 0), | |
| 2557 | P = 5000, | |
| 2558 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2559 | Parent = hit, | |
| 2560 | } | |
| 2561 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2562 | elseif Type == "Snare" then | |
| 2563 | local bp = Create("BodyPosition"){
| |
| 2564 | P = 2000, | |
| 2565 | D = 100, | |
| 2566 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2567 | position = hit.Parent.Torso.Position, | |
| 2568 | Parent = hit.Parent.Torso, | |
| 2569 | } | |
| 2570 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2571 | elseif Type == "Freeze" then | |
| 2572 | local BodPos = Create("BodyPosition"){
| |
| 2573 | P = 50000, | |
| 2574 | D = 1000, | |
| 2575 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2576 | position = hit.Parent.Torso.Position, | |
| 2577 | Parent = hit.Parent.Torso, | |
| 2578 | } | |
| 2579 | local BodGy = Create("BodyGyro") {
| |
| 2580 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 2581 | P = 20e+003, | |
| 2582 | Parent = hit.Parent.Torso, | |
| 2583 | cframe = hit.Parent.Torso.CFrame, | |
| 2584 | } | |
| 2585 | hit.Parent.Torso.Anchored = true | |
| 2586 | coroutine.resume(coroutine.create(function(Part) | |
| 2587 | swait(1.5) | |
| 2588 | Part.Anchored = false | |
| 2589 | end), hit.Parent.Torso) | |
| 2590 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 2591 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 2592 | end | |
| 2593 | local debounce = Create("BoolValue"){
| |
| 2594 | Name = "DebounceHit", | |
| 2595 | Parent = hit.Parent, | |
| 2596 | Value = true, | |
| 2597 | } | |
| 2598 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 2599 | c = Create("ObjectValue"){
| |
| 2600 | Name = "creator", | |
| 2601 | Value = Player, | |
| 2602 | Parent = h, | |
| 2603 | } | |
| 2604 | game:GetService("Debris"):AddItem(c, .5)
| |
| 2605 | end | |
| 2606 | end | |
| 2607 | ||
| 2608 | function damage(range,mindam,maxdam,pos) | |
| 2609 | for i,v in ipairs(workspace:GetChildren()) do | |
| 2610 | if v:IsA("Model") then
| |
| 2611 | if v.Name ~= Player.Name then | |
| 2612 | if v:FindFirstChildOfClass("Humanoid") then
| |
| 2613 | if v:FindFirstChild("Head") then
| |
| 2614 | if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
| |
| 2615 | if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
| |
| 2616 | v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
| |
| 2617 | end | |
| 2618 | end | |
| 2619 | end | |
| 2620 | end | |
| 2621 | end | |
| 2622 | end | |
| 2623 | end | |
| 2624 | end | |
| 2625 | ------------------------------------------------------- | |
| 2626 | --End Damage Function-- | |
| 2627 | ------------------------------------------------------- | |
| 2628 | ||
| 2629 | ||
| 2630 | ||
| 2631 | ------------------------------------------------------- | |
| 2632 | --Start Animations-- | |
| 2633 | ------------------------------------------------------- | |
| 2634 | print("By Makhail07")
| |
| 2635 | while true do | |
| 2636 | ||
| 2637 | AntiNoSound() | |
| 2638 | ||
| 2639 | FightButtonBrick.CFrame = workspace["TameDoNotClick"]["Torso"].CFrame + (direction * increment) + | |
| 2640 | Vector3.new(-5,3,0) | |
| 2641 | FightButtonBrick.Rotation = workspace["TameDoNotClick"]['Torso'].Rotation + (direction * increment) + | |
| 2642 | Vector3.new(-1,-2,increment) | |
| 2643 | ||
| 2644 | RightArm.BrickColor = BrickColor.new'Bright blue' | |
| 2645 | LeftArm.BrickColor = BrickColor.new'Bright blue' | |
| 2646 | RightLeg.BrickColor = BrickColor.new'Bright blue' | |
| 2647 | LeftLeg.BrickColor = BrickColor.new'Bright blue' | |
| 2648 | Torso.BrickColor = BrickColor.new'Bright blue' | |
| 2649 | Head.BrickColor = BrickColor.new'Bright blue' | |
| 2650 | ||
| 2651 | swait() | |
| 2652 | sine = sine + change | |
| 2653 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2654 | local velderp = root.Velocity.y | |
| 2655 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 2656 | if equipped == true or equipped == false then | |
| 2657 | if attack == false then | |
| 2658 | idle = idle + 1 | |
| 2659 | else | |
| 2660 | idle = 0 | |
| 2661 | end | |
| 2662 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 2663 | Anim = "Jump" | |
| 2664 | if attack == false then | |
| 2665 | 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) | |
| 2666 | 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) | |
| 2667 | 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) | |
| 2668 | 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) | |
| 2669 | 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) | |
| 2670 | 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) | |
| 2671 | end | |
| 2672 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 2673 | Anim = "Fall" | |
| 2674 | if attack == false then | |
| 2675 | 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) | |
| 2676 | 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) | |
| 2677 | 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) | |
| 2678 | 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) | |
| 2679 | 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) | |
| 2680 | 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) | |
| 2681 | end | |
| 2682 | elseif torvel < 1 and hitfloor ~= nil then | |
| 2683 | Anim = "Idle" | |
| 2684 | change = 1 | |
| 2685 | if attack == false then | |
| 2686 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
| 2687 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(1 - 2.5 * Sin(sine / 19)), Rad(Mrandom(-15, 15)), Rad(-20)), 0.3) | |
| 2688 | if Mrandom(1,15) == 1 then | |
| 2689 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 5) + Mrandom(-65,65)), Rad(-4.5 - 2.5 * Sin(sine / 7) + Mrandom(-65,65)), Rad(-4.5 - 25 * Sin(sine / 5) + Mrandom(-65,99))), 0.3) | |
| 2690 | end | |
| 2691 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.2 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 2692 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.2 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
| 2693 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.3 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(Mrandom(-15, 15)), Rad(20 - 4.5 * Sin(sine / 20))), 0.3) | |
| 2694 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.3 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(Mrandom(-15, 15)), Rad(-20 + 4.5 * Sin(sine / 20))), 0.3) | |
| 2695 | end | |
| 2696 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 2697 | Anim = "Walk" | |
| 2698 | change = 1 | |
| 2699 | if attack == false then | |
| 2700 | hum.WalkSpeed = 49 | |
| 2701 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.275 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(20-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15) | |
| 2702 | 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) | |
| 2703 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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(20)), 0.3) | |
| 2704 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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(-20)), 0.3) | |
| 2705 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(Mrandom(-15, 15)), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
| 2706 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(Mrandom(-15, 15)) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
| 2707 | end | |
| 2708 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 2709 | Anim = "Sprint" | |
| 2710 | change = 1.35 | |
| 2711 | if attack == false then | |
| 2712 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.275 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(20), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15) | |
| 2713 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
| 2714 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 1.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3) | |
| 2715 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 1.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) | |
| 2716 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(75) * Cos(sine / 7), Rad(Mrandom(-15, 15)), Rad(15 + 0.5 * Sin(sine / 12))), 0.1) | |
| 2717 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-75) * Cos(sine / 7), Rad(Mrandom(-15, 15)), Rad(-15 - 0.5 * Sin(sine / 12))), 0.1) | |
| 2718 | end | |
| 2719 | end | |
| 2720 | end | |
| 2721 | if 0 < #Effects then | |
| 2722 | for e = 1, #Effects do | |
| 2723 | if Effects[e] ~= nil then | |
| 2724 | local Thing = Effects[e] | |
| 2725 | if Thing ~= nil then | |
| 2726 | local Part = Thing[1] | |
| 2727 | local Mode = Thing[2] | |
| 2728 | local Delay = Thing[3] | |
| 2729 | local IncX = Thing[4] | |
| 2730 | local IncY = Thing[5] | |
| 2731 | local IncZ = Thing[6] | |
| 2732 | if 1 >= Thing[1].Transparency then | |
| 2733 | if Thing[2] == "Block1" then | |
| 2734 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2735 | local Mesh = Thing[1].Mesh | |
| 2736 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2737 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2738 | elseif Thing[2] == "Block2" then | |
| 2739 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2740 | local Mesh = Thing[7] | |
| 2741 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2742 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2743 | elseif Thing[2] == "Block3" then | |
| 2744 | 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) | |
| 2745 | local Mesh = Thing[7] | |
| 2746 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2747 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2748 | elseif Thing[2] == "Cylinder" then | |
| 2749 | local Mesh = Thing[1].Mesh | |
| 2750 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2751 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2752 | elseif Thing[2] == "Blood" then | |
| 2753 | local Mesh = Thing[7] | |
| 2754 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 2755 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2756 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2757 | elseif Thing[2] == "Elec" then | |
| 2758 | local Mesh = Thing[1].Mesh | |
| 2759 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2760 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2761 | elseif Thing[2] == "Disappear" then | |
| 2762 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2763 | elseif Thing[2] == "Shatter" then | |
| 2764 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2765 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2766 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2767 | Thing[6] = Thing[6] + Thing[5] | |
| 2768 | end | |
| 2769 | else | |
| 2770 | Part.Parent = nil | |
| 2771 | table.remove(Effects, e) | |
| 2772 | end | |
| 2773 | end | |
| 2774 | end | |
| 2775 | end | |
| 2776 | end | |
| 2777 | end | |
| 2778 | ------------------------------------------------------ |