SHOW:
|
|
- or go back to the newest paste.
| 1 | ------>>Mallard/Vast<<--------- | |
| 2 | ---- | |
| 3 | ---------------------------------------------------------------- | |
| 4 | print([[ | |
| 5 | --Mallard & Vast Original OC by StarzoZero | |
| 6 | --FE code by Mokiros | |
| 7 | --Edited by XKxngSupremeX-- | |
| 8 | --Discord: OofCopSupreme#1765 / starz0zer0#0778 | |
| 9 | "He's the killer right? Who would ever want to help him..." | |
| 10 | -------------------------------- | |
| 11 | T - Springlock Failure | |
| 12 | Y - Laugh | |
| 13 | Q - Deactivate | |
| 14 | Z - Lazer | |
| 15 | X - Self-destruct | |
| 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 | Mouse = Player:GetMouse() | |
| 169 | RootPart = Character["HumanoidRootPart"] | |
| 170 | Torso = Character["Torso"] | |
| 171 | Head = Character["Head"] | |
| 172 | RightArm = Character["Right Arm"] | |
| 173 | LeftArm = Character["Left Arm"] | |
| 174 | RightLeg = Character["Right Leg"] | |
| 175 | LeftLeg = Character["Left Leg"] | |
| 176 | RootJoint = RootPart["RootJoint"] | |
| 177 | Neck = Torso["Neck"] | |
| 178 | RightShoulder = Torso["Right Shoulder"] | |
| 179 | LeftShoulder = Torso["Left Shoulder"] | |
| 180 | RightHip = Torso["Right Hip"] | |
| 181 | LeftHip = Torso["Left Hip"] | |
| 182 | radian = math.rad | |
| 183 | random = math.random | |
| 184 | Vec3 = Vector3.new | |
| 185 | Inst = Instance.new | |
| 186 | cFrame = CFrame.new | |
| 187 | Euler = CFrame.fromEulerAnglesXYZ | |
| 188 | vt = Vector3.new | |
| 189 | bc = BrickColor.new | |
| 190 | br = BrickColor.random | |
| 191 | it = Instance.new | |
| 192 | cf = CFrame.new | |
| 193 | local eff = true | |
| 194 | local shielding = false | |
| 195 | ||
| 196 | KEYHOLD = false | |
| 197 | IT = Instance.new | |
| 198 | CF = CFrame.new | |
| 199 | VT = Vector3.new | |
| 200 | RAD = math.rad | |
| 201 | C3 = Color3.new | |
| 202 | UD2 = UDim2.new | |
| 203 | BRICKC = BrickColor.new | |
| 204 | ANGLES = CFrame.Angles | |
| 205 | EULER = CFrame.fromEulerAnglesXYZ | |
| 206 | COS = math.cos | |
| 207 | ACOS = math.acos | |
| 208 | SIN = math.sin | |
| 209 | ASIN = math.asin | |
| 210 | ABS = math.abs | |
| 211 | MRANDOM = math.random | |
| 212 | FLOOR = math.floor | |
| 213 | ||
| 214 | Character = Player.Character | |
| 215 | Humanoid = Character.Humanoid | |
| 216 | --------- | |
| 217 | plr = game.Players.LocalPlayer | |
| 218 | chara = plr.Character | |
| 219 | mouse = plr:GetMouse() | |
| 220 | Create = Instance.new | |
| 221 | Huge = math.huge | |
| 222 | ||
| 223 | ||
| 224 | Player = game:GetService("Players").LocalPlayer
| |
| 225 | PlayerGui = Player.PlayerGui | |
| 226 | Cam = workspace.CurrentCamera | |
| 227 | Backpack = Player.Backpack | |
| 228 | Character = Player.Character | |
| 229 | char = Player.Character | |
| 230 | Humanoid = Character.Humanoid | |
| 231 | Mouse = Player:GetMouse() | |
| 232 | RootPart = Character["HumanoidRootPart"] | |
| 233 | Torso = Character["Torso"] | |
| 234 | Head = Character["Head"] | |
| 235 | RightArm = Character["Right Arm"] | |
| 236 | LeftArm = Character["Left Arm"] | |
| 237 | RightLeg = Character["Right Leg"] | |
| 238 | LeftLeg = Character["Left Leg"] | |
| 239 | RootJoint = RootPart["RootJoint"] | |
| 240 | Neck = Torso["Neck"] | |
| 241 | RightShoulder = Torso["Right Shoulder"] | |
| 242 | LeftShoulder = Torso["Left Shoulder"] | |
| 243 | RightHip = Torso["Right Hip"] | |
| 244 | LeftHip = Torso["Left Hip"] | |
| 245 | ||
| 246 | ||
| 247 | ||
| 248 | ||
| 249 | function weld(a, b, acf) | |
| 250 | local w = Instance.new("Weld", a)
| |
| 251 | w.Part0 = a | |
| 252 | w.Part1 = b | |
| 253 | w.C0 = acf | |
| 254 | end | |
| 255 | - | local righteyebrickcolor = "Really black" |
| 255 | + | local righteyebrickcolor = "Really red" |
| 256 | local reye = Instance.new("Part", char)
| |
| 257 | reye.CanCollide = false | |
| 258 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 259 | reye.Material = "Neon" | |
| 260 | reye.Size = Vector3.new(.25,.25,.15) | |
| 261 | weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.56), CFrame.new(1,0,0)) | |
| 262 | m1 = Instance.new("SpecialMesh", reye)
| |
| 263 | m1.MeshType = "Sphere" | |
| 264 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
| 265 | reye.Locked = true | |
| 266 | reye.Name = "re" | |
| 267 | ||
| 268 | local reye2 = Instance.new("Part", char)
| |
| 269 | reye2.CanCollide = false | |
| 270 | reye2.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 271 | reye2.Material = "Neon" | |
| 272 | reye2.Size = Vector3.new(.25,.25,.15) | |
| 273 | weld(reye2, char.Head, CFrame.new(0.12,-0.2,0.56), CFrame.new(1,0,0)) | |
| 274 | m1 = Instance.new("SpecialMesh", reye2)
| |
| 275 | m1.MeshType = "Sphere" | |
| 276 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
| 277 | reye2.Locked = true | |
| 278 | reye2.Name = "re" | |
| 279 | ||
| 280 | local asscolor = "Royal purple" | |
| 281 | local ass = Instance.new("Part", Torso)
| |
| 282 | ass.CanCollide = false | |
| 283 | ass.Material = "Neon" | |
| 284 | ass.Size = Vector3.new(1,1,1) | |
| 285 | weld(ass, char.Torso, CFrame.new(0,-1,0), CFrame.new(0,-1,0)) | |
| 286 | ass1 = Instance.new("SpecialMesh", ass)
| |
| 287 | ass1.MeshType = "Sphere" | |
| 288 | ass1.Scale = Vector3.new(1.1,0.1,1.1) | |
| 289 | ass1.Name = "corn" | |
| 290 | ass.Locked = true | |
| 291 | ||
| 292 | local ass2color = "Royal purple" | |
| 293 | local ass2 = Instance.new("Part", Torso)
| |
| 294 | ass2.BrickColor = BrickColor.new(ass2color) | |
| 295 | ass2.CanCollide = false | |
| 296 | ass2.Material = "Neon" | |
| 297 | ass2.Size = Vector3.new(0.2,0.1,0.2) | |
| 298 | weld(ass2, char.Torso, CFrame.new(0,-1,0), CFrame.new(0,-1,0)) | |
| 299 | ass22 = Instance.new("SpecialMesh", ass)
| |
| 300 | ass22.MeshType = "Sphere" | |
| 301 | ass22.Scale = Vector3.new(0.2,0.1,0.2) | |
| 302 | ass22.Name = "analcare" | |
| 303 | ass2.Locked = true | |
| 304 | ||
| 305 | local neon1 = Instance.new("Part", RightArm)
| |
| 306 | neon1.BrickColor = BrickColor.new(neoncolor) | |
| 307 | neon1.CanCollide = false | |
| 308 | neon1.Material = "Neon" | |
| 309 | neon1.Size = Vector3.new(0.5,0.05,0.5) | |
| 310 | weld(neon1, char["Right Arm"], CFrame.new(0,1.02,0), CFrame.new(0,-1,0)) | |
| 311 | neonmesh = Instance.new("SpecialMesh", neonmesh)
| |
| 312 | neonmesh.MeshType = "Sphere" | |
| 313 | neonmesh.Scale = Vector3.new(0.2,0.1,0.2) | |
| 314 | neonmesh.Name = "gaynigga1" | |
| 315 | neon1.Locked = true | |
| 316 | ||
| 317 | local neon2 = Instance.new("Part", LeftArm)
| |
| 318 | neon2.BrickColor = BrickColor.new(neoncolor) | |
| 319 | neon2.CanCollide = false | |
| 320 | neon2.Material = "Neon" | |
| 321 | neon2.Size = Vector3.new(0.5,0.05,0.5) | |
| 322 | weld(neon2, char["Left Arm"], CFrame.new(0,1.02,0), CFrame.new(0,-1,0)) | |
| 323 | neonmesh = Instance.new("SpecialMesh", neonmesh)
| |
| 324 | neonmesh.MeshType = "Sphere" | |
| 325 | neonmesh.Scale = Vector3.new(0.2,0.1,0.2) | |
| 326 | neonmesh.Name = "gaynigga2" | |
| 327 | neon2.Locked = true | |
| 328 | ||
| 329 | local neon3 = Instance.new("Part", RightLeg)
| |
| 330 | neon3.BrickColor = BrickColor.new(neoncolor) | |
| 331 | neon3.CanCollide = false | |
| 332 | neon3.Material = "Neon" | |
| 333 | neon3.Size = Vector3.new(0.5,0.05,0.5) | |
| 334 | weld(neon3, char["Right Leg"], CFrame.new(0,1,0), CFrame.new(0,-1,0)) | |
| 335 | neonmesh = Instance.new("SpecialMesh", neonmesh)
| |
| 336 | neonmesh.MeshType = "Sphere" | |
| 337 | neonmesh.Scale = Vector3.new(0.2,0.1,0.2) | |
| 338 | neonmesh.Name = "gaynigga3" | |
| 339 | neon3.Locked = true | |
| 340 | ||
| 341 | local neon4 = Instance.new("Part", LeftLeg)
| |
| 342 | neon4.BrickColor = BrickColor.new(neoncolor) | |
| 343 | neon4.CanCollide = false | |
| 344 | neon4.Material = "Neon" | |
| 345 | neon4.Size = Vector3.new(0.5,0.05,0.5) | |
| 346 | weld(neon4, char["Left Leg"], CFrame.new(0,1,0), CFrame.new(0,-1,0)) | |
| 347 | neonmesh = Instance.new("SpecialMesh", neonmesh)
| |
| 348 | neonmesh.MeshType = "Sphere" | |
| 349 | neonmesh.Scale = Vector3.new(0.2,0.1,0.2) | |
| 350 | neonmesh.Name = "gaynigga4" | |
| 351 | neon4.Locked = true | |
| 352 | ||
| 353 | ||
| 354 | -------------------------------- | |
| 355 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 355 | + | char.Head.face.Texture = "rbxassetid://398671601" |
| 356 | -------------------------------- | |
| 357 | ------------------------------------------------------- | |
| 358 | ||
| 359 | local FavIDs = {
| |
| 360 | 340106355, --Nefl Crystals | |
| 361 | 927529620, --Dimension | |
| 362 | 876981900, --Fantasy | |
| 363 | 398987889, --Ordinary Days | |
| 364 | 1117396305, --Oh wait, it's you. | |
| 365 | 885996042, --Action Winter Journey | |
| 366 | 919231299, --Sprawling Idiot Effigy | |
| 367 | 743466274, --Good Day Sunshine | |
| 368 | 727411183, --Knife Fight | |
| 369 | 1402748531, --The Earth Is Counting On You! | |
| 370 | 595230126 --Robot Language | |
| 371 | } | |
| 372 | ||
| 373 | ||
| 374 | ||
| 375 | --The reality of my life isn't real but a Universe -makhail07 | |
| 376 | wait(0.2) | |
| 377 | local plr = game:service'Players'.LocalPlayer | |
| 378 | print('Local User is '..plr.Name)
| |
| 379 | print('SCRIPTNAME Loaded')
| |
| 380 | print('SCRIPT DESCRIPTION')
| |
| 381 | local char = plr.Character | |
| 382 | local hum = char.Humanoid | |
| 383 | local hed = char.Head | |
| 384 | local root = char.HumanoidRootPart | |
| 385 | local rootj = root.RootJoint | |
| 386 | local tors = char.Torso | |
| 387 | local ra = char["Right Arm"] | |
| 388 | local la = char["Left Arm"] | |
| 389 | local rl = char["Right Leg"] | |
| 390 | local ll = char["Left Leg"] | |
| 391 | local neck = tors["Neck"] | |
| 392 | local mouse = plr:GetMouse() | |
| 393 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 394 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 395 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 396 | - | local maincolor = BrickColor.new("Really black")
|
| 396 | + | local maincolor = BrickColor.new("Really red")
|
| 397 | ||
| 398 | ------------------------------------------------------- | |
| 399 | --Start Good Stuff-- | |
| 400 | ------------------------------------------------------- | |
| 401 | cam = game.Workspace.CurrentCamera | |
| 402 | CF = CFrame.new | |
| 403 | angles = CFrame.Angles | |
| 404 | attack = false | |
| 405 | Euler = CFrame.fromEulerAnglesXYZ | |
| 406 | Rad = math.rad | |
| 407 | IT = Instance.new | |
| 408 | BrickC = BrickColor.new | |
| 409 | Cos = math.cos | |
| 410 | Acos = math.acos | |
| 411 | Sin = math.sin | |
| 412 | Asin = math.asin | |
| 413 | Abs = math.abs | |
| 414 | Mrandom = math.random | |
| 415 | Floor = math.floor | |
| 416 | ------------------------------------------------------- | |
| 417 | --End Good Stuff-- | |
| 418 | ------------------------------------------------------- | |
| 419 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 420 | RSH, LSH = nil, nil | |
| 421 | RW = Instance.new("Weld")
| |
| 422 | LW = Instance.new("Weld")
| |
| 423 | RH = tors["Right Hip"] | |
| 424 | LH = tors["Left Hip"] | |
| 425 | RSH = tors["Right Shoulder"] | |
| 426 | LSH = tors["Left Shoulder"] | |
| 427 | RSH.Parent = nil | |
| 428 | LSH.Parent = nil | |
| 429 | RW.Name = "RW" | |
| 430 | RW.Part0 = tors | |
| 431 | RW.C0 = CF(1.5, 0.5, 0) | |
| 432 | RW.C1 = CF(0, 0.5, 0) | |
| 433 | RW.Part1 = ra | |
| 434 | RW.Parent = tors | |
| 435 | LW.Name = "LW" | |
| 436 | LW.Part0 = tors | |
| 437 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 438 | LW.C1 = CF(0, 0.5, 0) | |
| 439 | LW.Part1 = la | |
| 440 | LW.Parent = tors | |
| 441 | Effects = {}
| |
| 442 | ------------------------------------------------------- | |
| 443 | --Start HeartBeat-- | |
| 444 | ------------------------------------------------------- | |
| 445 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 446 | ArtificialHB.Name = "Heartbeat" | |
| 447 | script:WaitForChild("Heartbeat")
| |
| 448 | ||
| 449 | frame = 1 / 60 | |
| 450 | tf = 0 | |
| 451 | allowframeloss = false | |
| 452 | tossremainder = false | |
| 453 | ||
| 454 | ||
| 455 | lastframe = tick() | |
| 456 | script.Heartbeat:Fire() | |
| 457 | ||
| 458 | ||
| 459 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 460 | tf = tf + s | |
| 461 | if tf >= frame then | |
| 462 | if allowframeloss then | |
| 463 | script.Heartbeat:Fire() | |
| 464 | lastframe = tick() | |
| 465 | else | |
| 466 | for i = 1, math.floor(tf / frame) do | |
| 467 | script.Heartbeat:Fire() | |
| 468 | end | |
| 469 | lastframe = tick() | |
| 470 | end | |
| 471 | if tossremainder then | |
| 472 | tf = 0 | |
| 473 | else | |
| 474 | tf = tf - frame * math.floor(tf / frame) | |
| 475 | end | |
| 476 | end | |
| 477 | end) | |
| 478 | ------------------------------------------------------- | |
| 479 | --End HeartBeat-- | |
| 480 | ------------------------------------------------------- | |
| 481 | local joyemoji = Instance.new('ParticleEmitter', tors)
| |
| 482 | joyemoji.VelocitySpread = 2000 | |
| 483 | joyemoji.Lifetime = NumberRange.new(1) | |
| 484 | joyemoji.Speed = NumberRange.new(40) | |
| 485 | joy= {}
| |
| 486 | for i=0, 19 do | |
| 487 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
| 488 | end | |
| 489 | joyemoji.Size = NumberSequence.new(joy) | |
| 490 | joyemoji.Rate = 0 | |
| 491 | joyemoji.LockedToPart = false | |
| 492 | joyemoji.LightEmission = 0 | |
| 493 | joyemoji.Texture = "rbxassetid://73623723" | |
| 494 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
| |
| 495 | ||
| 496 | ------------------------------------------------------- | |
| 497 | --Start Important Functions-- | |
| 498 | ------------------------------------------------------- | |
| 499 | ||
| 500 | ||
| 501 | function swait(num) | |
| 502 | if num == 0 or num == nil then | |
| 503 | game:service("RunService").Stepped:wait(0)
| |
| 504 | else | |
| 505 | for i = 0, num do | |
| 506 | game:service("RunService").Stepped:wait(0)
| |
| 507 | end | |
| 508 | end | |
| 509 | end | |
| 510 | function thread(f) | |
| 511 | coroutine.resume(coroutine.create(f)) | |
| 512 | end | |
| 513 | function clerp(a, b, t) | |
| 514 | local qa = {
| |
| 515 | QuaternionFromCFrame(a) | |
| 516 | } | |
| 517 | local qb = {
| |
| 518 | QuaternionFromCFrame(b) | |
| 519 | } | |
| 520 | local ax, ay, az = a.x, a.y, a.z | |
| 521 | local bx, by, bz = b.x, b.y, b.z | |
| 522 | local _t = 1 - t | |
| 523 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 524 | end | |
| 525 | function QuaternionFromCFrame(cf) | |
| 526 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 527 | local trace = m00 + m11 + m22 | |
| 528 | if trace > 0 then | |
| 529 | local s = math.sqrt(1 + trace) | |
| 530 | local recip = 0.5 / s | |
| 531 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 532 | else | |
| 533 | local i = 0 | |
| 534 | if m00 < m11 then | |
| 535 | i = 1 | |
| 536 | end | |
| 537 | if m22 > (i == 0 and m00 or m11) then | |
| 538 | i = 2 | |
| 539 | end | |
| 540 | if i == 0 then | |
| 541 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 542 | local recip = 0.5 / s | |
| 543 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 544 | elseif i == 1 then | |
| 545 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 546 | local recip = 0.5 / s | |
| 547 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 548 | elseif i == 2 then | |
| 549 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 550 | local recip = 0.5 / s | |
| 551 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 552 | end | |
| 553 | end | |
| 554 | end | |
| 555 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 556 | local xs, ys, zs = x + x, y + y, z + z | |
| 557 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 558 | local xx = x * xs | |
| 559 | local xy = x * ys | |
| 560 | local xz = x * zs | |
| 561 | local yy = y * ys | |
| 562 | local yz = y * zs | |
| 563 | local zz = z * zs | |
| 564 | 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)) | |
| 565 | end | |
| 566 | function QuaternionSlerp(a, b, t) | |
| 567 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 568 | local startInterp, finishInterp | |
| 569 | if cosTheta >= 1.0E-4 then | |
| 570 | if 1 - cosTheta > 1.0E-4 then | |
| 571 | local theta = math.acos(cosTheta) | |
| 572 | local invSinTheta = 1 / Sin(theta) | |
| 573 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 574 | finishInterp = Sin(t * theta) * invSinTheta | |
| 575 | else | |
| 576 | startInterp = 1 - t | |
| 577 | finishInterp = t | |
| 578 | end | |
| 579 | elseif 1 + cosTheta > 1.0E-4 then | |
| 580 | local theta = math.acos(-cosTheta) | |
| 581 | local invSinTheta = 1 / Sin(theta) | |
| 582 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 583 | finishInterp = Sin(t * theta) * invSinTheta | |
| 584 | else | |
| 585 | startInterp = t - 1 | |
| 586 | finishInterp = t | |
| 587 | end | |
| 588 | 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 | |
| 589 | end | |
| 590 | function rayCast(Position, Direction, Range, Ignore) | |
| 591 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 592 | end | |
| 593 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 594 | local Create = RbxUtility.Create | |
| 595 | ||
| 596 | function getRegion(point,range,ignore) | |
| 597 | return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) | |
| 598 | end | |
| 599 | ||
| 600 | function GetTorso(char) | |
| 601 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
| 602 | end | |
| 603 | ||
| 604 | 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}
| |
| 605 | ------------------------------------------------------- | |
| 606 | --Start Damage Function-- | |
| 607 | ------------------------------------------------------- | |
| 608 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 609 | if hit.Parent == nil then | |
| 610 | return | |
| 611 | end | |
| 612 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 613 | for _, v in pairs(hit.Parent:children()) do | |
| 614 | if v:IsA("Humanoid") then
| |
| 615 | h = v | |
| 616 | end | |
| 617 | end | |
| 618 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 619 | ||
| 620 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 621 | end | |
| 622 | ||
| 623 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 624 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 625 | if hit.Parent.DebounceHit.Value == true then | |
| 626 | return | |
| 627 | end | |
| 628 | end | |
| 629 | if insta == true then | |
| 630 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 631 | end | |
| 632 | local c = Create("ObjectValue"){
| |
| 633 | Name = "creator", | |
| 634 | Value = game:service("Players").LocalPlayer,
| |
| 635 | Parent = h, | |
| 636 | } | |
| 637 | game:GetService("Debris"):AddItem(c, .5)
| |
| 638 | if HitSound ~= nil and HitPitch ~= nil then | |
| 639 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 640 | end | |
| 641 | local Damage = math.random(minim, maxim) | |
| 642 | local blocked = false | |
| 643 | local block = hit.Parent:findFirstChild("Block")
| |
| 644 | if block ~= nil then | |
| 645 | if block.className == "IntValue" then | |
| 646 | if block.Value > 0 then | |
| 647 | blocked = true | |
| 648 | block.Value = block.Value - 1 | |
| 649 | print(block.Value) | |
| 650 | end | |
| 651 | end | |
| 652 | end | |
| 653 | if blocked == false then | |
| 654 | h.Health = h.Health - Damage | |
| 655 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 656 | else | |
| 657 | h.Health = h.Health - (Damage / 2) | |
| 658 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 659 | end | |
| 660 | if Type == "Knockdown" then | |
| 661 | local hum = hit.Parent.Humanoid | |
| 662 | hum.PlatformStand = true | |
| 663 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 664 | swait(1) | |
| 665 | HHumanoid.PlatformStand = false | |
| 666 | end), hum) | |
| 667 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 668 | local bodvol = Create("BodyVelocity"){
| |
| 669 | velocity = angle * knockback, | |
| 670 | P = 5000, | |
| 671 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 672 | Parent = hit, | |
| 673 | } | |
| 674 | local rl = Create("BodyAngularVelocity"){
| |
| 675 | P = 3000, | |
| 676 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 677 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 678 | Parent = hit, | |
| 679 | } | |
| 680 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 681 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 682 | elseif Type == "Normal" then | |
| 683 | local vp = Create("BodyVelocity"){
| |
| 684 | P = 500, | |
| 685 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 686 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 687 | } | |
| 688 | if knockback > 0 then | |
| 689 | vp.Parent = hit.Parent.Torso | |
| 690 | end | |
| 691 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 692 | elseif Type == "Up" then | |
| 693 | local bodyVelocity = Create("BodyVelocity"){
| |
| 694 | velocity = Vector3.new(0, 20, 0), | |
| 695 | P = 5000, | |
| 696 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 697 | Parent = hit, | |
| 698 | } | |
| 699 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 700 | elseif Type == "DarkUp" then | |
| 701 | coroutine.resume(coroutine.create(function() | |
| 702 | for i = 0, 1, 0.1 do | |
| 703 | swait() | |
| 704 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 705 | end | |
| 706 | end)) | |
| 707 | local bodyVelocity = Create("BodyVelocity"){
| |
| 708 | velocity = Vector3.new(0, 20, 0), | |
| 709 | P = 5000, | |
| 710 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 711 | Parent = hit, | |
| 712 | } | |
| 713 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 714 | elseif Type == "Snare" then | |
| 715 | local bp = Create("BodyPosition"){
| |
| 716 | P = 2000, | |
| 717 | D = 100, | |
| 718 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 719 | position = hit.Parent.Torso.Position, | |
| 720 | Parent = hit.Parent.Torso, | |
| 721 | } | |
| 722 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 723 | elseif Type == "Freeze" then | |
| 724 | local BodPos = Create("BodyPosition"){
| |
| 725 | P = 50000, | |
| 726 | D = 1000, | |
| 727 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 728 | position = hit.Parent.Torso.Position, | |
| 729 | Parent = hit.Parent.Torso, | |
| 730 | } | |
| 731 | local BodGy = Create("BodyGyro") {
| |
| 732 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 733 | P = 20e+003, | |
| 734 | Parent = hit.Parent.Torso, | |
| 735 | cframe = hit.Parent.Torso.CFrame, | |
| 736 | } | |
| 737 | hit.Parent.Torso.Anchored = true | |
| 738 | coroutine.resume(coroutine.create(function(Part) | |
| 739 | swait(1.5) | |
| 740 | Part.Anchored = false | |
| 741 | end), hit.Parent.Torso) | |
| 742 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 743 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 744 | end | |
| 745 | local debounce = Create("BoolValue"){
| |
| 746 | Name = "DebounceHit", | |
| 747 | Parent = hit.Parent, | |
| 748 | Value = true, | |
| 749 | } | |
| 750 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 751 | c = Create("ObjectValue"){
| |
| 752 | Name = "creator", | |
| 753 | Value = Player, | |
| 754 | Parent = h, | |
| 755 | } | |
| 756 | game:GetService("Debris"):AddItem(c, .5)
| |
| 757 | end | |
| 758 | end | |
| 759 | ------------------------------------------------------- | |
| 760 | --End Damage Function-- | |
| 761 | ------------------------------------------------------- | |
| 762 | ||
| 763 | ------------------------------------------------------- | |
| 764 | --Start Damage Function Customization-- | |
| 765 | ------------------------------------------------------- | |
| 766 | function ShowDamage(Pos, Text, Time, Color) | |
| 767 | local Rate = (1 / 30) | |
| 768 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 769 | local Text = (Text or "") | |
| 770 | local Time = (Time or 2) | |
| 771 | local Color = (Color or Color3.new(255, 255, 1)) | |
| 772 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 773 | EffectPart.Anchored = true | |
| 774 | local BillboardGui = Create("BillboardGui"){
| |
| 775 | Size = UDim2.new(3, 0, 3, 0), | |
| 776 | Adornee = EffectPart, | |
| 777 | Parent = EffectPart, | |
| 778 | } | |
| 779 | local TextLabel = Create("TextLabel"){
| |
| 780 | BackgroundTransparency = 1, | |
| 781 | Size = UDim2.new(1, 0, 1, 0), | |
| 782 | Text = Text, | |
| 783 | Font = "Bodoni", | |
| 784 | TextColor3 = Color, | |
| 785 | TextScaled = true, | |
| 786 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 787 | Parent = BillboardGui, | |
| 788 | } | |
| 789 | game.Debris:AddItem(EffectPart, (Time)) | |
| 790 | EffectPart.Parent = game:GetService("Workspace")
| |
| 791 | delay(0, function() | |
| 792 | local Frames = (Time / Rate) | |
| 793 | for Frame = 1, Frames do | |
| 794 | wait(Rate) | |
| 795 | local Percent = (Frame / Frames) | |
| 796 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 797 | TextLabel.TextTransparency = Percent | |
| 798 | end | |
| 799 | if EffectPart and EffectPart.Parent then | |
| 800 | EffectPart:Destroy() | |
| 801 | end | |
| 802 | end) | |
| 803 | end | |
| 804 | ------------------------------------------------------- | |
| 805 | --End Damage Function Customization-- | |
| 806 | ------------------------------------------------------- | |
| 807 | ||
| 808 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 809 | for _, c in pairs(workspace:children()) do | |
| 810 | local hum = c:findFirstChild("Humanoid")
| |
| 811 | if hum ~= nil then | |
| 812 | local head = c:findFirstChild("Head")
| |
| 813 | if head ~= nil then | |
| 814 | local targ = head.Position - Part.Position | |
| 815 | local mag = targ.magnitude | |
| 816 | if magni >= mag and c.Name ~= plr.Name then | |
| 817 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 818 | end | |
| 819 | end | |
| 820 | end | |
| 821 | end | |
| 822 | end | |
| 823 | ||
| 824 | ||
| 825 | CFuncs = {
| |
| 826 | Part = {
| |
| 827 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 828 | local Part = Create("Part")({
| |
| 829 | Parent = Parent, | |
| 830 | Reflectance = Reflectance, | |
| 831 | Transparency = Transparency, | |
| 832 | CanCollide = false, | |
| 833 | Locked = true, | |
| 834 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 835 | Name = Name, | |
| 836 | Size = Size, | |
| 837 | Material = Material | |
| 838 | }) | |
| 839 | RemoveOutlines(Part) | |
| 840 | return Part | |
| 841 | end | |
| 842 | }, | |
| 843 | Mesh = {
| |
| 844 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 845 | local Msh = Create(Mesh)({
| |
| 846 | Parent = Part, | |
| 847 | Offset = OffSet, | |
| 848 | Scale = Scale | |
| 849 | }) | |
| 850 | if Mesh == "SpecialMesh" then | |
| 851 | Msh.MeshType = MeshType | |
| 852 | Msh.MeshId = MeshId | |
| 853 | end | |
| 854 | return Msh | |
| 855 | end | |
| 856 | }, | |
| 857 | Mesh = {
| |
| 858 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 859 | local Msh = Create(Mesh)({
| |
| 860 | Parent = Part, | |
| 861 | Offset = OffSet, | |
| 862 | Scale = Scale | |
| 863 | }) | |
| 864 | if Mesh == "SpecialMesh" then | |
| 865 | Msh.MeshType = MeshType | |
| 866 | Msh.MeshId = MeshId | |
| 867 | end | |
| 868 | return Msh | |
| 869 | end | |
| 870 | }, | |
| 871 | Weld = {
| |
| 872 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 873 | local Weld = Create("Weld")({
| |
| 874 | Parent = Parent, | |
| 875 | Part0 = Part0, | |
| 876 | Part1 = Part1, | |
| 877 | C0 = C0, | |
| 878 | C1 = C1 | |
| 879 | }) | |
| 880 | return Weld | |
| 881 | end | |
| 882 | }, | |
| 883 | Sound = {
| |
| 884 | Create = function(id, par, vol, pit) | |
| 885 | coroutine.resume(coroutine.create(function() | |
| 886 | local S = Create("Sound")({
| |
| 887 | Volume = vol, | |
| 888 | Pitch = pit or 1, | |
| 889 | SoundId = id, | |
| 890 | Parent = par or workspace | |
| 891 | }) | |
| 892 | wait() | |
| 893 | S:play() | |
| 894 | game:GetService("Debris"):AddItem(S, 6)
| |
| 895 | end)) | |
| 896 | end | |
| 897 | }, | |
| 898 | ParticleEmitter = {
| |
| 899 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 900 | local fp = Create("ParticleEmitter")({
| |
| 901 | Parent = Parent, | |
| 902 | Color = ColorSequence.new(Color1, Color2), | |
| 903 | LightEmission = LightEmission, | |
| 904 | Size = Size, | |
| 905 | Texture = Texture, | |
| 906 | Transparency = Transparency, | |
| 907 | ZOffset = ZOffset, | |
| 908 | Acceleration = Accel, | |
| 909 | Drag = Drag, | |
| 910 | LockedToPart = LockedToPart, | |
| 911 | VelocityInheritance = VelocityInheritance, | |
| 912 | EmissionDirection = EmissionDirection, | |
| 913 | Enabled = Enabled, | |
| 914 | Lifetime = LifeTime, | |
| 915 | Rate = Rate, | |
| 916 | Rotation = Rotation, | |
| 917 | RotSpeed = RotSpeed, | |
| 918 | Speed = Speed, | |
| 919 | VelocitySpread = VelocitySpread | |
| 920 | }) | |
| 921 | return fp | |
| 922 | end | |
| 923 | } | |
| 924 | } | |
| 925 | function RemoveOutlines(part) | |
| 926 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 927 | end | |
| 928 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 929 | local Part = Create("Part")({
| |
| 930 | formFactor = FormFactor, | |
| 931 | Parent = Parent, | |
| 932 | Reflectance = Reflectance, | |
| 933 | Transparency = Transparency, | |
| 934 | CanCollide = false, | |
| 935 | Locked = true, | |
| 936 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 937 | Name = Name, | |
| 938 | Size = Size, | |
| 939 | Material = Material | |
| 940 | }) | |
| 941 | RemoveOutlines(Part) | |
| 942 | return Part | |
| 943 | end | |
| 944 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 945 | local Msh = Create(Mesh)({
| |
| 946 | Parent = Part, | |
| 947 | Offset = OffSet, | |
| 948 | Scale = Scale | |
| 949 | }) | |
| 950 | if Mesh == "SpecialMesh" then | |
| 951 | Msh.MeshType = MeshType | |
| 952 | Msh.MeshId = MeshId | |
| 953 | end | |
| 954 | return Msh | |
| 955 | end | |
| 956 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 957 | local Weld = Create("Weld")({
| |
| 958 | Parent = Parent, | |
| 959 | Part0 = Part0, | |
| 960 | Part1 = Part1, | |
| 961 | C0 = C0, | |
| 962 | C1 = C1 | |
| 963 | }) | |
| 964 | return Weld | |
| 965 | end | |
| 966 | ||
| 967 | ||
| 968 | ------------------------------------------------------- | |
| 969 | --Start Effect Function-- | |
| 970 | ------------------------------------------------------- | |
| 971 | EffectModel = Instance.new("Model", char)
| |
| 972 | Effects = {
| |
| 973 | Block = {
| |
| 974 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 975 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 976 | prt.Anchored = true | |
| 977 | prt.CFrame = cframe | |
| 978 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 979 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 980 | if Type == 1 or Type == nil then | |
| 981 | table.insert(Effects, {
| |
| 982 | prt, | |
| 983 | "Block1", | |
| 984 | delay, | |
| 985 | x3, | |
| 986 | y3, | |
| 987 | z3, | |
| 988 | msh | |
| 989 | }) | |
| 990 | elseif Type == 2 then | |
| 991 | table.insert(Effects, {
| |
| 992 | prt, | |
| 993 | "Block2", | |
| 994 | delay, | |
| 995 | x3, | |
| 996 | y3, | |
| 997 | z3, | |
| 998 | msh | |
| 999 | }) | |
| 1000 | else | |
| 1001 | table.insert(Effects, {
| |
| 1002 | prt, | |
| 1003 | "Block3", | |
| 1004 | delay, | |
| 1005 | x3, | |
| 1006 | y3, | |
| 1007 | z3, | |
| 1008 | msh | |
| 1009 | }) | |
| 1010 | end | |
| 1011 | end | |
| 1012 | }, | |
| 1013 | Sphere = {
| |
| 1014 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1015 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1016 | prt.Anchored = true | |
| 1017 | prt.CFrame = cframe | |
| 1018 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1019 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1020 | table.insert(Effects, {
| |
| 1021 | prt, | |
| 1022 | "Cylinder", | |
| 1023 | delay, | |
| 1024 | x3, | |
| 1025 | y3, | |
| 1026 | z3, | |
| 1027 | msh | |
| 1028 | }) | |
| 1029 | end | |
| 1030 | }, | |
| 1031 | Cylinder = {
| |
| 1032 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1033 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1034 | prt.Anchored = true | |
| 1035 | prt.CFrame = cframe | |
| 1036 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1037 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1038 | table.insert(Effects, {
| |
| 1039 | prt, | |
| 1040 | "Cylinder", | |
| 1041 | delay, | |
| 1042 | x3, | |
| 1043 | y3, | |
| 1044 | z3, | |
| 1045 | msh | |
| 1046 | }) | |
| 1047 | end | |
| 1048 | }, | |
| 1049 | Wave = {
| |
| 1050 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1051 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1052 | prt.Anchored = true | |
| 1053 | prt.CFrame = cframe | |
| 1054 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 1055 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1056 | table.insert(Effects, {
| |
| 1057 | prt, | |
| 1058 | "Cylinder", | |
| 1059 | delay, | |
| 1060 | x3 / 60, | |
| 1061 | y3 / 60, | |
| 1062 | z3 / 60, | |
| 1063 | msh | |
| 1064 | }) | |
| 1065 | end | |
| 1066 | }, | |
| 1067 | Ring = {
| |
| 1068 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1069 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1070 | prt.Anchored = true | |
| 1071 | prt.CFrame = cframe | |
| 1072 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1073 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1074 | table.insert(Effects, {
| |
| 1075 | prt, | |
| 1076 | "Cylinder", | |
| 1077 | delay, | |
| 1078 | x3, | |
| 1079 | y3, | |
| 1080 | z3, | |
| 1081 | msh | |
| 1082 | }) | |
| 1083 | end | |
| 1084 | }, | |
| 1085 | Break = {
| |
| 1086 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1087 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1088 | prt.Anchored = true | |
| 1089 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1090 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1091 | local num = math.random(10, 50) / 1000 | |
| 1092 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1093 | table.insert(Effects, {
| |
| 1094 | prt, | |
| 1095 | "Shatter", | |
| 1096 | num, | |
| 1097 | prt.CFrame, | |
| 1098 | math.random() - math.random(), | |
| 1099 | 0, | |
| 1100 | math.random(50, 100) / 100 | |
| 1101 | }) | |
| 1102 | end | |
| 1103 | }, | |
| 1104 | Spiral = {
| |
| 1105 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1106 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1107 | prt.Anchored = true | |
| 1108 | prt.CFrame = cframe | |
| 1109 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1110 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1111 | table.insert(Effects, {
| |
| 1112 | prt, | |
| 1113 | "Cylinder", | |
| 1114 | delay, | |
| 1115 | x3, | |
| 1116 | y3, | |
| 1117 | z3, | |
| 1118 | msh | |
| 1119 | }) | |
| 1120 | end | |
| 1121 | }, | |
| 1122 | Push = {
| |
| 1123 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1124 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1125 | prt.Anchored = true | |
| 1126 | prt.CFrame = cframe | |
| 1127 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1128 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1129 | table.insert(Effects, {
| |
| 1130 | prt, | |
| 1131 | "Cylinder", | |
| 1132 | delay, | |
| 1133 | x3, | |
| 1134 | y3, | |
| 1135 | z3, | |
| 1136 | msh | |
| 1137 | }) | |
| 1138 | end | |
| 1139 | } | |
| 1140 | } | |
| 1141 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 1142 | local fp = IT("Part")
| |
| 1143 | fp.formFactor = formfactor | |
| 1144 | fp.Parent = parent | |
| 1145 | fp.Reflectance = reflectance | |
| 1146 | fp.Transparency = transparency | |
| 1147 | fp.CanCollide = false | |
| 1148 | fp.Locked = true | |
| 1149 | fp.BrickColor = brickcolor | |
| 1150 | fp.Name = name | |
| 1151 | fp.Size = size | |
| 1152 | fp.Position = tors.Position | |
| 1153 | RemoveOutlines(fp) | |
| 1154 | fp.Material = "SmoothPlastic" | |
| 1155 | fp:BreakJoints() | |
| 1156 | return fp | |
| 1157 | end | |
| 1158 | ||
| 1159 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1160 | local mesh = IT(Mesh) | |
| 1161 | mesh.Parent = part | |
| 1162 | if Mesh == "SpecialMesh" then | |
| 1163 | mesh.MeshType = meshtype | |
| 1164 | if meshid ~= "nil" then | |
| 1165 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 1166 | end | |
| 1167 | end | |
| 1168 | mesh.Offset = offset | |
| 1169 | mesh.Scale = scale | |
| 1170 | return mesh | |
| 1171 | end | |
| 1172 | ||
| 1173 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 1174 | local type = type | |
| 1175 | local rng = Instance.new("Part", char)
| |
| 1176 | rng.Anchored = true | |
| 1177 | rng.BrickColor = color | |
| 1178 | rng.CanCollide = false | |
| 1179 | rng.FormFactor = 3 | |
| 1180 | rng.Name = "Ring" | |
| 1181 | rng.Material = "Neon" | |
| 1182 | rng.Size = Vector3.new(1, 1, 1) | |
| 1183 | rng.Transparency = 0 | |
| 1184 | rng.TopSurface = 0 | |
| 1185 | rng.BottomSurface = 0 | |
| 1186 | rng.CFrame = pos | |
| 1187 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1188 | rngm.MeshType = MType | |
| 1189 | rngm.Scale = scale | |
| 1190 | local scaler2 = 1 | |
| 1191 | if type == "Add" then | |
| 1192 | scaler2 = 1 * value | |
| 1193 | elseif type == "Divide" then | |
| 1194 | scaler2 = 1 / value | |
| 1195 | end | |
| 1196 | coroutine.resume(coroutine.create(function() | |
| 1197 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1198 | swait() | |
| 1199 | if type == "Add" then | |
| 1200 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1201 | elseif type == "Divide" then | |
| 1202 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1203 | end | |
| 1204 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1205 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 1206 | end | |
| 1207 | rng:Destroy() | |
| 1208 | end)) | |
| 1209 | end | |
| 1210 | ||
| 1211 | function Eviscerate(dude) | |
| 1212 | if dude.Name ~= char then | |
| 1213 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1214 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1215 | local val = IT("BoolValue", dude)
| |
| 1216 | val.Name = "IsHit" | |
| 1217 | local ds = coroutine.wrap(function() | |
| 1218 | dude:WaitForChild("Head"):BreakJoints()
| |
| 1219 | wait(0.5) | |
| 1220 | target = nil | |
| 1221 | coroutine.resume(coroutine.create(function() | |
| 1222 | for i, v in pairs(dude:GetChildren()) do | |
| 1223 | if v:IsA("Accessory") then
| |
| 1224 | v:Destroy() | |
| 1225 | end | |
| 1226 | if v:IsA("Humanoid") then
| |
| 1227 | v:Destroy() | |
| 1228 | end | |
| 1229 | if v:IsA("CharacterMesh") then
| |
| 1230 | v:Destroy() | |
| 1231 | end | |
| 1232 | if v:IsA("Model") then
| |
| 1233 | v:Destroy() | |
| 1234 | end | |
| 1235 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1236 | for x, o in pairs(v:GetChildren()) do | |
| 1237 | if o:IsA("Decal") then
| |
| 1238 | o:Destroy() | |
| 1239 | end | |
| 1240 | end | |
| 1241 | coroutine.resume(coroutine.create(function() | |
| 1242 | v.Material = "Neon" | |
| 1243 | v.CanCollide = false | |
| 1244 | local PartEmmit1 = IT("ParticleEmitter", reye)
| |
| 1245 | PartEmmit1.LightEmission = 1 | |
| 1246 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 1247 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1248 | PartEmmit1.Rate = 150 | |
| 1249 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 1250 | PartEmmit1.Size = NumberSequence.new({
| |
| 1251 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 1252 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1253 | }) | |
| 1254 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1255 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1256 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1257 | }) | |
| 1258 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1259 | PartEmmit1.VelocitySpread = 30000 | |
| 1260 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 1261 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1262 | local BodPoss = IT("BodyPosition", v)
| |
| 1263 | BodPoss.P = 3000 | |
| 1264 | BodPoss.D = 1000 | |
| 1265 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1266 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1267 | v.Color = maincolor.Color | |
| 1268 | coroutine.resume(coroutine.create(function() | |
| 1269 | for i = 0, 49 do | |
| 1270 | swait(1) | |
| 1271 | v.Transparency = v.Transparency + 0.08 | |
| 1272 | end | |
| 1273 | wait(0.5) | |
| 1274 | PartEmmit1.Enabled = false | |
| 1275 | wait(3) | |
| 1276 | v:Destroy() | |
| 1277 | dude:Destroy() | |
| 1278 | end)) | |
| 1279 | end)) | |
| 1280 | end | |
| 1281 | end | |
| 1282 | end)) | |
| 1283 | end) | |
| 1284 | ds() | |
| 1285 | end | |
| 1286 | end | |
| 1287 | ||
| 1288 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1289 | if SinglePlayer then | |
| 1290 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1291 | end | |
| 1292 | local List = {}
| |
| 1293 | for i, v in pairs(workspace:GetChildren()) do | |
| 1294 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1295 | table.insert(List, v) | |
| 1296 | end | |
| 1297 | end | |
| 1298 | return List | |
| 1299 | end | |
| 1300 | ||
| 1301 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 1302 | local type = type | |
| 1303 | local rng = Instance.new("Part", char)
| |
| 1304 | rng.Anchored = true | |
| 1305 | rng.BrickColor = color | |
| 1306 | rng.CanCollide = false | |
| 1307 | rng.FormFactor = 3 | |
| 1308 | rng.Name = "Ring" | |
| 1309 | rng.Material = "Neon" | |
| 1310 | rng.Size = Vector3.new(1, 1, 1) | |
| 1311 | rng.Transparency = 0 | |
| 1312 | rng.TopSurface = 0 | |
| 1313 | rng.BottomSurface = 0 | |
| 1314 | rng.CFrame = pos | |
| 1315 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1316 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1317 | rngm.MeshType = MType | |
| 1318 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1319 | local scaler2 = 1 | |
| 1320 | local speeder = FastSpeed | |
| 1321 | if type == "Add" then | |
| 1322 | scaler2 = 1 * value | |
| 1323 | elseif type == "Divide" then | |
| 1324 | scaler2 = 1 / value | |
| 1325 | end | |
| 1326 | coroutine.resume(coroutine.create(function() | |
| 1327 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1328 | swait() | |
| 1329 | if type == "Add" then | |
| 1330 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1331 | elseif type == "Divide" then | |
| 1332 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1333 | end | |
| 1334 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1335 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1336 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1337 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1338 | end | |
| 1339 | rng:Destroy() | |
| 1340 | end)) | |
| 1341 | end | |
| 1342 | ||
| 1343 | function SoulSteal(dude) | |
| 1344 | if dude.Name ~= char then | |
| 1345 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1346 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1347 | local val = IT("BoolValue", dude)
| |
| 1348 | val.Name = "IsHit" | |
| 1349 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 1350 | local soulst = coroutine.wrap(function() | |
| 1351 | local soul = Instance.new("Part",dude)
| |
| 1352 | soul.Size = Vector3.new(1,1,1) | |
| 1353 | soul.CanCollide = false | |
| 1354 | soul.Anchored = false | |
| 1355 | soul.Position = torso.Position | |
| 1356 | soul.Transparency = 1 | |
| 1357 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 1358 | PartEmmit1.LightEmission = 1 | |
| 1359 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1360 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1361 | PartEmmit1.Rate = 250 | |
| 1362 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1363 | PartEmmit1.Size = NumberSequence.new({
| |
| 1364 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1365 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1366 | }) | |
| 1367 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1368 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1369 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1370 | }) | |
| 1371 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1372 | PartEmmit1.VelocitySpread = 30000 | |
| 1373 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1374 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1375 | local BodPoss = IT("BodyPosition", soul)
| |
| 1376 | BodPoss.P = 3000 | |
| 1377 | BodPoss.D = 1000 | |
| 1378 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1379 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1380 | wait(1.6) | |
| 1381 | soul.Touched:connect(function(hit) | |
| 1382 | if hit.Parent == char then | |
| 1383 | soul:Destroy() | |
| 1384 | end | |
| 1385 | end) | |
| 1386 | wait(1.2) | |
| 1387 | while soul do | |
| 1388 | swait() | |
| 1389 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1390 | BodPoss.Position = tors.Position | |
| 1391 | end | |
| 1392 | end) | |
| 1393 | soulst() | |
| 1394 | end | |
| 1395 | end | |
| 1396 | function FaceMouse() | |
| 1397 | local Cam = workspace.CurrentCamera | |
| 1398 | return {
| |
| 1399 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1400 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1401 | } | |
| 1402 | end | |
| 1403 | ||
| 1404 | BTAUNT = Instance.new("Sound", char.Head)
| |
| 1405 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1974441930" | |
| 1406 | BTAUNT.Volume = 2 | |
| 1407 | BTAUNT.Pitch = 1 | |
| 1408 | BTAUNT.Looped = true | |
| 1409 | ||
| 1410 | BTAUNT2 = Instance.new("Sound", char.Torso)
| |
| 1411 | BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=315170694" | |
| 1412 | BTAUNT2.Volume = 5 | |
| 1413 | BTAUNT2.Pitch = 1 | |
| 1414 | BTAUNT2.Looped = true | |
| 1415 | ||
| 1416 | BTAUNT3 = Instance.new("Sound", char)
| |
| 1417 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=1090127517" | |
| 1418 | BTAUNT3.Volume = 2 | |
| 1419 | BTAUNT3.Pitch = 1 | |
| 1420 | BTAUNT3.Looped = true | |
| 1421 | ||
| 1422 | BTAUNT4 = Instance.new("Sound", char.Torso)
| |
| 1423 | BTAUNT4.SoundId = "http://www.roblox.com/asset/?id=1470848774" | |
| 1424 | BTAUNT4.Volume = 5 | |
| 1425 | BTAUNT4.Pitch = 3 | |
| 1426 | BTAUNT4.Looped = true | |
| 1427 | ||
| 1428 | BTAUNT5 = Instance.new("Sound", char.Torso)
| |
| 1429 | BTAUNT5.SoundId = "http://www.roblox.com/asset/?id=1470848774" | |
| 1430 | BTAUNT5.Volume = 5 | |
| 1431 | BTAUNT5.Pitch = 1 | |
| 1432 | BTAUNT5.Looped = true | |
| 1433 | ||
| 1434 | TEST = Instance.new("Sound", tors)
| |
| 1435 | TEST.SoundId = "http://www.roblox.com/asset/?id=636494529" | |
| 1436 | TEST.Volume = 25 | |
| 1437 | TEST.Pitch = 1 | |
| 1438 | TEST.Looped = false | |
| 1439 | ------------------------------------------------------- | |
| 1440 | --End Effect Function-- | |
| 1441 | ------------------------------------------------------- | |
| 1442 | ||
| 1443 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 1444 | local NEWMESH = IT(MESH) | |
| 1445 | if MESH == "SpecialMesh" then | |
| 1446 | NEWMESH.MeshType = MESHTYPE | |
| 1447 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 1448 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 1449 | end | |
| 1450 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 1451 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 1452 | end | |
| 1453 | end | |
| 1454 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 1455 | NEWMESH.Scale = SCALE | |
| 1456 | NEWMESH.Parent = PARENT | |
| 1457 | return NEWMESH | |
| 1458 | end | |
| 1459 | ||
| 1460 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE) | |
| 1461 | local NEWPART = IT("Part")
| |
| 1462 | NEWPART.formFactor = FORMFACTOR | |
| 1463 | NEWPART.Reflectance = REFLECTANCE | |
| 1464 | NEWPART.Transparency = TRANSPARENCY | |
| 1465 | NEWPART.CanCollide = false | |
| 1466 | NEWPART.Locked = true | |
| 1467 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 1468 | NEWPART.Name = NAME | |
| 1469 | NEWPART.Size = SIZE | |
| 1470 | NEWPART.Position = Torso.Position | |
| 1471 | NEWPART.Material = MATERIAL | |
| 1472 | NEWPART:BreakJoints() | |
| 1473 | NEWPART.Parent = PARENT | |
| 1474 | return NEWPART | |
| 1475 | end | |
| 1476 | ||
| 1477 | function MakeForm(PART,TYPE) | |
| 1478 | local MSH = nil | |
| 1479 | if TYPE == "Cyl" then | |
| 1480 | MSH = IT("CylinderMesh",PART)
| |
| 1481 | elseif TYPE == "Ball" then | |
| 1482 | MSH = IT("SpecialMesh",PART)
| |
| 1483 | MSH.MeshType = "Sphere" | |
| 1484 | elseif TYPE == "Wedge" then | |
| 1485 | MSH = IT("SpecialMesh",PART)
| |
| 1486 | MSH.MeshType = "Wedge" | |
| 1487 | elseif TYPE == "Block" then | |
| 1488 | MSH = IT("SpecialMesh",PART)
| |
| 1489 | MSH.MeshType = "Brick" | |
| 1490 | end | |
| 1491 | return MSH | |
| 1492 | end | |
| 1493 | ||
| 1494 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1495 | local NSound = nil | |
| 1496 | coroutine.resume(coroutine.create(function() | |
| 1497 | NSound = IT("Sound", PARENT)
| |
| 1498 | NSound.Volume = VOLUME | |
| 1499 | NSound.Pitch = PITCH | |
| 1500 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1501 | swait() | |
| 1502 | NSound:play() | |
| 1503 | game:GetService("Debris"):AddItem(NSound, 50)
| |
| 1504 | end)) | |
| 1505 | return NSound | |
| 1506 | end | |
| 1507 | function CameraEnshaking(Length, Intensity) | |
| 1508 | coroutine.resume(coroutine.create(function() | |
| 1509 | local intensity = 1 * Intensity | |
| 1510 | local rotM = 0.01 * Intensity | |
| 1511 | for i = 0, Length, 0.1 do | |
| 1512 | swait() | |
| 1513 | intensity = intensity - 0.05 * Intensity / Length | |
| 1514 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1515 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1516 | 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) | |
| 1517 | end | |
| 1518 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1519 | end)) | |
| 1520 | end | |
| 1521 | ||
| 1522 | ||
| 1523 | function Sink(position,radius) | |
| 1524 | for i,v in ipairs(workspace:GetChildren()) do | |
| 1525 | if v:FindFirstChild("Hit2By"..plr.Name) == nil then
| |
| 1526 | local body = v:GetChildren() | |
| 1527 | for part = 1, #body do | |
| 1528 | if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
| |
| 1529 | if(body[part].Position - position).Magnitude < radius then | |
| 1530 | if v.ClassName == "Model" then | |
| 1531 | v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
| |
| 1532 | if v:FindFirstChild("Humanoid") then
| |
| 1533 | local defence = Instance.new("BoolValue",v)
| |
| 1534 | defence.Name = ("Hit2By"..plr.Name)
| |
| 1535 | if v.Humanoid.Health ~= 0 then | |
| 1536 | local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 1537 | if TORS ~= nil then | |
| 1538 | local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v) | |
| 1539 | coroutine.resume(coroutine.create(function() | |
| 1540 | if HITFLOOR2 ~= nil then | |
| 1541 | TORS.Anchored = true | |
| 1542 | - | local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4)) |
| 1542 | + | local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4)) |
| 1543 | Hole2.Color = Color3.new(0,0,0) | |
| 1544 | local MESH = MakeForm(Hole2,"Cyl") | |
| 1545 | MESH.Scale = Vector3.new(0,1,0) | |
| 1546 | Hole2.CFrame = CF(HITPOS2) | |
| 1547 | for i = 1, 10 do | |
| 1548 | swait() | |
| 1549 | MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1) | |
| 1550 | end | |
| 1551 | --Cso("160440683", v:FindFirstChild("Head"), 10, .8)
| |
| 1552 | Cso("154955269", v:FindFirstChild("Head"), 10, 1)
| |
| 1553 | repeat | |
| 1554 | swait() | |
| 1555 | TORS.CFrame = TORS.CFrame * CF(0,-0.1,0) | |
| 1556 | --MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0) | |
| 1557 | until TORS.Position.Y<position.Y-4 | |
| 1558 | v:remove() | |
| 1559 | for i = 1, 10 do | |
| 1560 | swait() | |
| 1561 | MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1) | |
| 1562 | end | |
| 1563 | Hole2:remove() | |
| 1564 | end | |
| 1565 | end)) | |
| 1566 | end | |
| 1567 | end | |
| 1568 | end | |
| 1569 | end | |
| 1570 | --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
| 1571 | end | |
| 1572 | end | |
| 1573 | end | |
| 1574 | end | |
| 1575 | end | |
| 1576 | end | |
| 1577 | function Trail(Part) | |
| 1578 | local TRAIL = Part:Clone() | |
| 1579 | TRAIL.CanCollide = false | |
| 1580 | TRAIL.Anchored = true | |
| 1581 | TRAIL.Parent = EffectModel | |
| 1582 | TRAIL.Name = "Trail" | |
| 1583 | local TRANS = Part.Transparency | |
| 1584 | coroutine.resume(coroutine.create(function() | |
| 1585 | for i = 1, 20 do | |
| 1586 | swait() | |
| 1587 | TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20) | |
| 1588 | end | |
| 1589 | TRAIL:remove() | |
| 1590 | end)) | |
| 1591 | end | |
| 1592 | function getRegion(point,range,ignore) | |
| 1593 | return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) | |
| 1594 | end | |
| 1595 | ||
| 1596 | function GetTorso(char) | |
| 1597 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
| 1598 | end | |
| 1599 | ||
| 1600 | 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}
| |
| 1601 | ||
| 1602 | ||
| 1603 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 1604 | local NSound = nil | |
| 1605 | coroutine.resume(coroutine.create(function() | |
| 1606 | NSound = Instance.new("Sound", PARENT)
| |
| 1607 | NSound.Volume = VOLUME | |
| 1608 | NSound.Pitch = PITCH | |
| 1609 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1610 | swait() | |
| 1611 | NSound:play() | |
| 1612 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1613 | end)) | |
| 1614 | return NSound | |
| 1615 | end | |
| 1616 | ||
| 1617 | ------------------------------------------------------- | |
| 1618 | --End Important Functions-- | |
| 1619 | ------------------------------------------------------- | |
| 1620 | ||
| 1621 | ||
| 1622 | ||
| 1623 | ||
| 1624 | ||
| 1625 | ------------------------------------------------------- | |
| 1626 | --Start Customization-- | |
| 1627 | ------------------------------------------------------- | |
| 1628 | local Player_Size = 1 | |
| 1629 | if Player_Size ~= 1 then | |
| 1630 | root.Size = root.Size * Player_Size | |
| 1631 | tors.Size = tors.Size * Player_Size | |
| 1632 | hed.Size = hed.Size * Player_Size | |
| 1633 | ra.Size = ra.Size * Player_Size | |
| 1634 | la.Size = la.Size * Player_Size | |
| 1635 | rl.Size = rl.Size * Player_Size | |
| 1636 | ll.Size = ll.Size * Player_Size | |
| 1637 | ---------------------------------------------------------------------------------- | |
| 1638 | rootj.Parent = root | |
| 1639 | neck.Parent = tors | |
| 1640 | RW.Parent = tors | |
| 1641 | LW.Parent = tors | |
| 1642 | RH.Parent = tors | |
| 1643 | LH.Parent = tors | |
| 1644 | ---------------------------------------------------------------------------------- | |
| 1645 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1646 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1647 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1648 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1649 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1650 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1651 | ---------------------------------------------------------------------------------- | |
| 1652 | 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)) | |
| 1653 | 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)) | |
| 1654 | 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)) | |
| 1655 | 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)) | |
| 1656 | --hat.Parent = Character | |
| 1657 | end | |
| 1658 | ---------------------------------------------------------------------------------- | |
| 1659 | ---------------------------------------------------------------------------------- | |
| 1660 | local equipped = false | |
| 1661 | local idle = 0 | |
| 1662 | local change = 1 | |
| 1663 | local val = 0 | |
| 1664 | local toim = 0 | |
| 1665 | local idleanim = 0.4 | |
| 1666 | local sine = 0 | |
| 1667 | local Sit = 1 | |
| 1668 | local VALUE1 = false | |
| 1669 | local VALUE2 = false | |
| 1670 | ---------------------------------------------------------------------------------- | |
| 1671 | hum.WalkSpeed = 18 | |
| 1672 | hum.JumpPower = 100 | |
| 1673 | hum.Animator.Parent = nil | |
| 1674 | ---------------------------------------------------------------------------------- | |
| 1675 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
| 1676 | local type = type | |
| 1677 | local rng = Instance.new("Part", char)
| |
| 1678 | rng.Anchored = true | |
| 1679 | rng.BrickColor = color | |
| 1680 | rng.CanCollide = false | |
| 1681 | rng.FormFactor = 3 | |
| 1682 | rng.Name = "Ring" | |
| 1683 | rng.Material = "Neon" | |
| 1684 | rng.Size = Vector3.new(1, 1, 1) | |
| 1685 | rng.Transparency = 0 | |
| 1686 | rng.TopSurface = 0 | |
| 1687 | rng.BottomSurface = 0 | |
| 1688 | rng.CFrame = pos | |
| 1689 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 1690 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1691 | rngm.MeshType = "Sphere" | |
| 1692 | rngm.Scale = vt(x1,y1,z1) | |
| 1693 | if rainbowmode == true then | |
| 1694 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 1695 | end | |
| 1696 | local scaler2 = 1 | |
| 1697 | local speeder = FastSpeed | |
| 1698 | if type == "Add" then | |
| 1699 | scaler2 = 1*value | |
| 1700 | elseif type == "Divide" then | |
| 1701 | scaler2 = 1/value | |
| 1702 | end | |
| 1703 | coroutine.resume(coroutine.create(function() | |
| 1704 | for i = 0,10/bonuspeed,0.1 do | |
| 1705 | swait() | |
| 1706 | if rainbowmode == true then | |
| 1707 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 1708 | end | |
| 1709 | if type == "Add" then | |
| 1710 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 1711 | elseif type == "Divide" then | |
| 1712 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 1713 | end | |
| 1714 | if chaosmode == true then | |
| 1715 | rng.BrickColor = BrickColor.random() | |
| 1716 | end | |
| 1717 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
| 1718 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 1719 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 1720 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
| 1721 | end | |
| 1722 | rng:Destroy() | |
| 1723 | end)) | |
| 1724 | end | |
| 1725 | function sphere(bonuspeed,type,pos,scale,value,color) | |
| 1726 | local type = type | |
| 1727 | local rng = Instance.new("Part", char)
| |
| 1728 | rng.Anchored = true | |
| 1729 | rng.BrickColor = color | |
| 1730 | rng.CanCollide = false | |
| 1731 | rng.FormFactor = 3 | |
| 1732 | rng.Name = "Ring" | |
| 1733 | rng.Material = "Neon" | |
| 1734 | rng.Size = Vector3.new(1, 1, 1) | |
| 1735 | rng.Transparency = 0 | |
| 1736 | rng.TopSurface = 0 | |
| 1737 | rng.BottomSurface = 0 | |
| 1738 | rng.CFrame = pos | |
| 1739 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1740 | rngm.MeshType = "Sphere" | |
| 1741 | rngm.Scale = scale | |
| 1742 | if rainbowmode == true then | |
| 1743 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 1744 | end | |
| 1745 | local scaler2 = 1 | |
| 1746 | if type == "Add" then | |
| 1747 | scaler2 = 1*value | |
| 1748 | elseif type == "Divide" then | |
| 1749 | scaler2 = 1/value | |
| 1750 | end | |
| 1751 | coroutine.resume(coroutine.create(function() | |
| 1752 | for i = 0,10/bonuspeed,0.1 do | |
| 1753 | swait() | |
| 1754 | if rainbowmode == true then | |
| 1755 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 1756 | end | |
| 1757 | if type == "Add" then | |
| 1758 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 1759 | elseif type == "Divide" then | |
| 1760 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 1761 | end | |
| 1762 | if chaosmode == true then | |
| 1763 | rng.BrickColor = BrickColor.random() | |
| 1764 | end | |
| 1765 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 1766 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
| 1767 | end | |
| 1768 | rng:Destroy() | |
| 1769 | end)) | |
| 1770 | end | |
| 1771 | ||
| 1772 | ------------------------------------------------------- | |
| 1773 | --End Customization-- | |
| 1774 | ------------------------------------------------------- | |
| 1775 | local Blobby = Instance.new("Part", char)
| |
| 1776 | Blobby.Name = "Blob" | |
| 1777 | Blobby.CanCollide = false | |
| 1778 | Blobby.BrickColor = BrickColor.new("Deep orange")
| |
| 1779 | Blobby.Transparency = 0 | |
| 1780 | Blobby.Material = "Neon" | |
| 1781 | Blobby.Size = Vector3.new(1, 1, 2) | |
| 1782 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
| 1783 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
| 1784 | ||
| 1785 | local Weld = Instance.new("Weld", Blobby)
| |
| 1786 | Weld.Part0 = ra | |
| 1787 | Weld.Part1 = Blobby | |
| 1788 | Weld.C1 = CFrame.new(0, 1, 0.4) | |
| 1789 | Weld.C0 = CFrame.Angles(Rad(0),0,0) | |
| 1790 | ||
| 1791 | local M2 = Instance.new("SpecialMesh")
| |
| 1792 | M2.Parent = Blobby | |
| 1793 | M2.MeshId = "rbxassetid://0" | |
| 1794 | M2.TextureId = "rbxassetid://749019427" | |
| 1795 | M2.Scale = Vector3.new(0.08, 0.08, 0.08) | |
| 1796 | ||
| 1797 | --[[local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1798 | naeeym2.AlwaysOnTop = true | |
| 1799 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1800 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
| 1801 | naeeym2.Adornee = hed | |
| 1802 | naeeym2.Name = "Name" | |
| 1803 | --naeeym2.PlayerToHideFrom = Player | |
| 1804 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1805 | tecks2.BackgroundTransparency = 1 | |
| 1806 | tecks2.TextScaled = true | |
| 1807 | tecks2.BorderSizePixel = 0 | |
| 1808 | tecks2.Text = "Fight Me" | |
| 1809 | tecks2.Font = Enum.Font.Bodoni | |
| 1810 | tecks2.TextSize = 30 | |
| 1811 | tecks2.TextStrokeTransparency = 0 | |
| 1812 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 1813 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
| 1814 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1815 | tecks2.Parent = naeeym2]] | |
| 1816 | ---------------------------------------------------------------------------------- | |
| 1817 | local AddInstance = function(Object, ...) | |
| 1818 | local Obj = Instance.new(Object) | |
| 1819 | for i,v in next,(...) do | |
| 1820 | Obj[i] = v | |
| 1821 | end | |
| 1822 | return Obj | |
| 1823 | end | |
| 1824 | ---------------------------------------------------- | |
| 1825 | godmode = coroutine.wrap(function() | |
| 1826 | for i,v in pairs(Character:GetChildren()) do | |
| 1827 | if v:IsA("BasePart") and v ~= Root then
| |
| 1828 | v.Anchored = false | |
| 1829 | end | |
| 1830 | end | |
| 1831 | while true do | |
| 1832 | hum.MaxHealth = math.huge | |
| 1833 | wait(0.0000001) | |
| 1834 | hum.Health = math.huge | |
| 1835 | wait() | |
| 1836 | end | |
| 1837 | end) | |
| 1838 | godmode() | |
| 1839 | ff = Instance.new("ForceField", Character)
| |
| 1840 | ff.Visible = false | |
| 1841 | ||
| 1842 | ||
| 1843 | local Blobby = Instance.new("Part", char)
| |
| 1844 | Blobby.Name = "Blob" | |
| 1845 | Blobby.CanCollide = false | |
| 1846 | Blobby.BrickColor = BrickColor.new("Crimson")
| |
| 1847 | Blobby.Transparency = 0 | |
| 1848 | Blobby.Material = "Neon" | |
| 1849 | Blobby.Size = Vector3.new(1, 1, 2) | |
| 1850 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
| 1851 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
| 1852 | ||
| 1853 | local Weld = Instance.new("Weld", Blobby)
| |
| 1854 | Weld.Part0 = tors | |
| 1855 | Weld.Part1 = Blobby | |
| 1856 | Weld.C1 = CFrame.new(0, -0.8, 0.7) | |
| 1857 | Weld.C0 = CFrame.Angles(Rad(0),0,0) | |
| 1858 | ||
| 1859 | local M2 = Instance.new("SpecialMesh")
| |
| 1860 | M2.Parent = Blobby | |
| 1861 | M2.MeshId = "rbxassetid://731633703" | |
| 1862 | M2.Scale = Vector3.new(0.007, 0.007, 0.007) | |
| 1863 | ||
| 1864 | local Reaper2 = AddInstance("Part",{
| |
| 1865 | Parent = tors, | |
| 1866 | CFrame = tors.CFrame, | |
| 1867 | formFactor = "Symmetric", | |
| 1868 | Size = Vector3.new(0.462, 1.403, 2.495), | |
| 1869 | CanCollide = false, | |
| 1870 | TopSurface = "Smooth", | |
| 1871 | BottomSurface = "Smooth", | |
| 1872 | Locked = true, | |
| 1873 | }) | |
| 1874 | local Weld = AddInstance("Weld",{
| |
| 1875 | Parent = Reaper2, | |
| 1876 | Part0 = hed, | |
| 1877 | C0 = CFrame.new(0, 1.2, 0)*CFrame.Angles(0, 0, 0), | |
| 1878 | Part1 = Reaper2, | |
| 1879 | }) | |
| 1880 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1881 | Parent = Reaper2, | |
| 1882 | MeshId = "rbxassetid://2711178", | |
| 1883 | TextureId = "rbxassetid://32935396", | |
| 1884 | Scale = Vector3.new(1, 1, 1), | |
| 1885 | VertexColor = Vector3.new(1, 0, 0), | |
| 1886 | }) | |
| 1887 | ||
| 1888 | local shirtpart = AddInstance("Part",{
| |
| 1889 | Parent = hed, | |
| 1890 | CFrame = hed.CFrame, | |
| 1891 | formFactor = "Symmetric", | |
| 1892 | Size = Vector3.new(1, 1, 1), | |
| 1893 | CanCollide = false, | |
| 1894 | TopSurface = "Smooth", | |
| 1895 | BottomSurface = "Smooth", | |
| 1896 | Locked = true, | |
| 1897 | }) | |
| 1898 | local Weld = AddInstance("Weld",{
| |
| 1899 | Parent = shirtpart, | |
| 1900 | Part0 = ra, | |
| 1901 | C0 = CFrame.new(0, 0.52, 0)*CFrame.Angles(0, 0, 0), | |
| 1902 | Part1 = shirtpart, | |
| 1903 | }) | |
| 1904 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1905 | Parent = shirtpart, | |
| 1906 | MeshId = "rbxassetid://2738507183", | |
| 1907 | TextureId = "rbxassetid://3214871929", | |
| 1908 | Scale = Vector3.new(1.05, 0.5, 1.05), | |
| 1909 | VertexColor = Vector3.new(1, 1, 1), | |
| 1910 | }) | |
| 1911 | ||
| 1912 | local shirtpart = AddInstance("Part",{
| |
| 1913 | Parent = hed, | |
| 1914 | CFrame = hed.CFrame, | |
| 1915 | formFactor = "Symmetric", | |
| 1916 | Size = Vector3.new(1, 1, 1), | |
| 1917 | CanCollide = false, | |
| 1918 | TopSurface = "Smooth", | |
| 1919 | BottomSurface = "Smooth", | |
| 1920 | Locked = true, | |
| 1921 | }) | |
| 1922 | local Weld = AddInstance("Weld",{
| |
| 1923 | Parent = shirtpart, | |
| 1924 | Part0 = la, | |
| 1925 | C0 = CFrame.new(0, 0.52, 0)*CFrame.Angles(0, 0, 0), | |
| 1926 | Part1 = shirtpart, | |
| 1927 | }) | |
| 1928 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1929 | Parent = shirtpart, | |
| 1930 | MeshId = "rbxassetid://2738507183", | |
| 1931 | TextureId = "rbxassetid://3214871929", | |
| 1932 | Scale = Vector3.new(1.05, 0.5, 1.05), | |
| 1933 | VertexColor = Vector3.new(1, 1, 1), | |
| 1934 | }) | |
| 1935 | ||
| 1936 | local shirtpart = AddInstance("Part",{
| |
| 1937 | Parent = hed, | |
| 1938 | CFrame = hed.CFrame, | |
| 1939 | formFactor = "Symmetric", | |
| 1940 | Size = Vector3.new(1, 1, 1), | |
| 1941 | CanCollide = false, | |
| 1942 | TopSurface = "Smooth", | |
| 1943 | BottomSurface = "Smooth", | |
| 1944 | Locked = true, | |
| 1945 | }) | |
| 1946 | local Weld = AddInstance("Weld",{
| |
| 1947 | Parent = shirtpart, | |
| 1948 | Part0 = tors, | |
| 1949 | C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), | |
| 1950 | Part1 = shirtpart, | |
| 1951 | }) | |
| 1952 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1953 | Parent = shirtpart, | |
| 1954 | MeshId = "rbxassetid://2738507183", | |
| 1955 | TextureId = "rbxassetid://3214871929", | |
| 1956 | Scale = Vector3.new(2, 1, 1.1), | |
| 1957 | VertexColor = Vector3.new(1, 1, 1), | |
| 1958 | }) | |
| 1959 | ||
| 1960 | local pantspart = AddInstance("Part",{
| |
| 1961 | Parent = hed, | |
| 1962 | CFrame = hed.CFrame, | |
| 1963 | formFactor = "Symmetric", | |
| 1964 | Size = Vector3.new(1, 1, 1), | |
| 1965 | CanCollide = false, | |
| 1966 | TopSurface = "Smooth", | |
| 1967 | BottomSurface = "Smooth", | |
| 1968 | Locked = true, | |
| 1969 | }) | |
| 1970 | local Weld = AddInstance("Weld",{
| |
| 1971 | Parent = pantspart, | |
| 1972 | Part0 = rl, | |
| 1973 | C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), | |
| 1974 | Part1 = pantspart, | |
| 1975 | }) | |
| 1976 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1977 | Parent = pantspart, | |
| 1978 | MeshId = "rbxassetid://2738507183", | |
| 1979 | TextureId = "rbxassetid://3214871929", | |
| 1980 | Scale = Vector3.new(1, 1, 1), | |
| 1981 | VertexColor = Vector3.new(1, 1, 1), | |
| 1982 | }) | |
| 1983 | ||
| 1984 | local pantspart = AddInstance("Part",{
| |
| 1985 | Parent = hed, | |
| 1986 | CFrame = hed.CFrame, | |
| 1987 | formFactor = "Symmetric", | |
| 1988 | Size = Vector3.new(1, 1, 1), | |
| 1989 | CanCollide = false, | |
| 1990 | TopSurface = "Smooth", | |
| 1991 | BottomSurface = "Smooth", | |
| 1992 | Locked = true, | |
| 1993 | }) | |
| 1994 | local Weld = AddInstance("Weld",{
| |
| 1995 | Parent = pantspart, | |
| 1996 | Part0 = ll, | |
| 1997 | C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), | |
| 1998 | Part1 = pantspart, | |
| 1999 | }) | |
| 2000 | local Mesh = AddInstance("SpecialMesh",{
| |
| 2001 | Parent = pantspart, | |
| 2002 | MeshId = "rbxassetid://2738507183", | |
| 2003 | TextureId = "rbxassetid://3214871929", | |
| 2004 | Scale = Vector3.new(1, 1, 1), | |
| 2005 | VertexColor = Vector3.new(1, 1, 1), | |
| 2006 | }) | |
| 2007 | ||
| 2008 | local pantspart = AddInstance("Part",{
| |
| 2009 | Parent = hed, | |
| 2010 | CFrame = hed.CFrame, | |
| 2011 | formFactor = "Symmetric", | |
| 2012 | Size = Vector3.new(1, 1, 1), | |
| 2013 | CanCollide = false, | |
| 2014 | TopSurface = "Smooth", | |
| 2015 | BottomSurface = "Smooth", | |
| 2016 | Locked = true, | |
| 2017 | }) | |
| 2018 | local Weld = AddInstance("Weld",{
| |
| 2019 | Parent = pantspart, | |
| 2020 | Part0 = rl, | |
| 2021 | C0 = CFrame.new(0, -0.5, 0)*CFrame.Angles(0, 0, 0), | |
| 2022 | Part1 = pantspart, | |
| 2023 | }) | |
| 2024 | local Mesh = AddInstance("SpecialMesh",{
| |
| 2025 | Parent = pantspart, | |
| 2026 | MeshId = "rbxassetid://2738507183", | |
| 2027 | TextureId = "rbxassetid://3214871929", | |
| 2028 | Scale = Vector3.new(1.1, 0.5, 1.1), | |
| 2029 | VertexColor = Vector3.new(1, 1, 1), | |
| 2030 | }) | |
| 2031 | ||
| 2032 | local pantspart = AddInstance("Part",{
| |
| 2033 | Parent = hed, | |
| 2034 | CFrame = hed.CFrame, | |
| 2035 | formFactor = "Symmetric", | |
| 2036 | Size = Vector3.new(1, 1, 1), | |
| 2037 | CanCollide = false, | |
| 2038 | TopSurface = "Smooth", | |
| 2039 | BottomSurface = "Smooth", | |
| 2040 | Locked = true, | |
| 2041 | }) | |
| 2042 | local Weld = AddInstance("Weld",{
| |
| 2043 | Parent = pantspart, | |
| 2044 | Part0 = ll, | |
| 2045 | C0 = CFrame.new(0, -0.5, 0)*CFrame.Angles(0, 0, 0), | |
| 2046 | Part1 = pantspart, | |
| 2047 | }) | |
| 2048 | local Mesh = AddInstance("SpecialMesh",{
| |
| 2049 | Parent = pantspart, | |
| 2050 | MeshId = "rbxassetid://2738507183", | |
| 2051 | TextureId = "rbxassetid://3214871929", | |
| 2052 | Scale = Vector3.new(1.1, 0.5, 1.1), | |
| 2053 | VertexColor = Vector3.new(1, 1, 1), | |
| 2054 | }) | |
| 2055 | ||
| 2056 | ||
| 2057 | ||
| 2058 | ||
| 2059 | LeftLeg.Transparency = 1 | |
| 2060 | RightLeg.Transparency = 1 | |
| 2061 | ||
| 2062 | ||
| 2063 | ||
| 2064 | ||
| 2065 | Torso.Transparency = 1 | |
| 2066 | ||
| 2067 | ||
| 2068 | ||
| 2069 | head1 = Instance.new("SpecialMesh", Head)
| |
| 2070 | head1.MeshType = "FileMesh" | |
| 2071 | head1.Scale = Vector3.new(5, 5, 5) | |
| 2072 | head1.MeshId = 'http://www.roblox.com/asset/?id=746771554' | |
| 2073 | ||
| 2074 | ------------------------------------------------------- | |
| 2075 | plr = game.Players.LocalPlayer | |
| 2076 | char = plr.Character | |
| 2077 | mouse = plr:GetMouse() | |
| 2078 | whitecolor = Color3.new(255,255,1) | |
| 2079 | epicmode = false | |
| 2080 | normal = true | |
| 2081 | for i,v in pairs(char:GetChildren()) do | |
| 2082 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
| 2083 | v:Destroy() | |
| 2084 | end | |
| 2085 | end | |
| 2086 | local shirt = Instance.new("Shirt",char)
| |
| 2087 | shirt.ShirtTemplate = "rbxassetid://0" | |
| 2088 | local pants = Instance.new("Pants",char)
| |
| 2089 | pants.PantsTemplate = "rbxassetid://0" | |
| 2090 | local bdycolors = char["Body Colors"] | |
| 2091 | bdycolors.HeadColor3 = whitecolor | |
| 2092 | bdycolors.LeftArmColor3 = whitecolor | |
| 2093 | bdycolors.LeftLegColor3 = whitecolor | |
| 2094 | bdycolors.RightArmColor3 = whitecolor | |
| 2095 | bdycolors.RightLegColor3 = whitecolor | |
| 2096 | bdycolors.TorsoColor3 = whitecolor | |
| 2097 | for i,v in pairs(char:GetChildren()) do | |
| 2098 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
| 2099 | v:Destroy() | |
| 2100 | end | |
| 2101 | end | |
| 2102 | ||
| 2103 | ||
| 2104 | ||
| 2105 | local BC = Character["Body Colors"] | |
| 2106 | BC.HeadColor = BrickColor.new("Yellow")
| |
| 2107 | BC.LeftArmColor = BrickColor.new("Yellow")
| |
| 2108 | BC.LeftLegColor = BrickColor.new("Yellow")
| |
| 2109 | BC.RightArmColor = BrickColor.new("Yellow")
| |
| 2110 | BC.RightLegColor = BrickColor.new("Yellow")
| |
| 2111 | BC.TorsoColor = BrickColor.new("Yellow")
| |
| 2112 | ------------------------------------------------------- | |
| 2113 | --Start Attacks N Stuff-- | |
| 2114 | ------------------------------------------------------- | |
| 2115 | BTAUNT2:Play() | |
| 2116 | ||
| 2117 | function boom() | |
| 2118 | attack = true | |
| 2119 | for i = 0,1,0.1 do | |
| 2120 | swait() | |
| 2121 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0* Player_Size,0* Player_Size,0* Player_Size)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
| 2122 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(-80)), 0.3) | |
| 2123 | RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
| 2124 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 2125 | RH.C0=clerp(RH.C0,cf(1* Player_Size,-1* Player_Size - 0.05* Player_Size * math.cos(sine / 25),0* Player_Size)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
| 2126 | LH.C0=clerp(LH.C0,cf(-1* Player_Size,-1* Player_Size - 0.05* Player_Size * math.cos(sine / 25),0* Player_Size)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
| 2127 | end | |
| 2128 | local distlook = 5 | |
| 2129 | for i = 0, 4 do | |
| 2130 | swait(2) | |
| 2131 | CameraEnshaking(2,3) | |
| 2132 | local hite = Instance.new("Part", char)
| |
| 2133 | hite.Anchored = true | |
| 2134 | hite.CanCollide = false | |
| 2135 | hite.FormFactor = 3 | |
| 2136 | hite.Name = "Ring" | |
| 2137 | hite.Material = "Neon" | |
| 2138 | hite.Size = Vector3.new(1, 1, 1) | |
| 2139 | hite.Transparency = 1 | |
| 2140 | hite.TopSurface = 0 | |
| 2141 | hite.BottomSurface = 0 | |
| 2142 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
| 2143 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,maincolor) | |
| 2144 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,maincolor) | |
| 2145 | for i, v in pairs(FindNearestHead(hite.CFrame.p, 10)) do | |
| 2146 | if v:FindFirstChild("Head") then
| |
| 2147 | Eviscerate(v) | |
| 2148 | end | |
| 2149 | end | |
| 2150 | CFuncs["Sound"].Create("rbxassetid://1311235374", hite, 2.5, 1)
| |
| 2151 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
| |
| 2152 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 2153 | distlook = distlook + 20 | |
| 2154 | end | |
| 2155 | attack = false | |
| 2156 | end | |
| 2157 | ||
| 2158 | ||
| 2159 | function lasereyes() | |
| 2160 | attack = true | |
| 2161 | for i = 0,2,0.1 do | |
| 2162 | swait() | |
| 2163 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0* Player_Size,0* Player_Size,0* Player_Size)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3) | |
| 2164 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
| 2165 | RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(55), math.rad(0), math.rad(0)), 0.3) | |
| 2166 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(55), math.rad(0), math.rad(0)), 0.3) | |
| 2167 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-2 - 0 * Sin(sine / 24)), Rad(0), Rad(-20 - 0 * Sin(sine / 12))), 1) | |
| 2168 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-2 + 0 * Sin(sine / 24)), Rad(0), Rad(20 + 0 * Sin(sine / 12))), 1) | |
| 2169 | end | |
| 2170 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2170 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2171 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2171 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2172 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2172 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2173 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2173 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2174 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2174 | + | char.Head.face.Texture = "rbxassetid://343187883" |
| 2175 | - | local maincolor = BrickColor.new("Really black")
|
| 2175 | + | local maincolor = BrickColor.new("Really red")
|
| 2176 | for i = 0,1,0.1 do | |
| 2177 | swait() | |
| 2178 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0* Player_Size,0* Player_Size,0* Player_Size)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
| 2179 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
| 2180 | RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(-55), math.rad(0), math.rad(0)), 0.3) | |
| 2181 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(-55), math.rad(0), math.rad(0)), 0.3) | |
| 2182 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-2 - 0 * Sin(sine / 24)), Rad(0), Rad(10 - 0 * Sin(sine / 12))), 1) | |
| 2183 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-2 + 0 * Sin(sine / 24)), Rad(0), Rad(-10 + 0 * Sin(sine / 12))), 1) | |
| 2184 | end | |
| 2185 | local distlook = 5 | |
| 2186 | for i = 0, 4 do | |
| 2187 | swait(2) | |
| 2188 | CameraEnshaking(2,3) | |
| 2189 | local hite = Instance.new("Part", char)
| |
| 2190 | hite.Anchored = true | |
| 2191 | hite.CanCollide = false | |
| 2192 | hite.FormFactor = 3 | |
| 2193 | hite.Name = "Ring" | |
| 2194 | hite.Material = "Neon" | |
| 2195 | hite.Size = Vector3.new(0.2, 0, 3) | |
| 2196 | hite.Transparency = 1 | |
| 2197 | hite.TopSurface = 0 | |
| 2198 | hite.BottomSurface = 0 | |
| 2199 | hite.CFrame = hed.CFrame + hed.CFrame.lookVector*distlook | |
| 2200 | sphere(9,"Add",hite.CFrame,vt(2,0,10),0.01,maincolor) | |
| 2201 | sphere(9,"Add",hite.CFrame,vt(2,0,10),0.01,maincolor) | |
| 2202 | for i, v in pairs(FindNearestHead(hite.CFrame.p, 6)) do | |
| 2203 | if v:FindFirstChild("Head") then
| |
| 2204 | Eviscerate(v) | |
| 2205 | end | |
| 2206 | end | |
| 2207 | CFuncs["Sound"].Create("rbxassetid://2854651061", hite, 8.5, 1)
| |
| 2208 | CFuncs["Sound"].Create("rbxassetid://2854651458", hite, 7, 1)
| |
| 2209 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 2210 | distlook = distlook + 10 | |
| 2211 | end | |
| 2212 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2212 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2213 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2213 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2214 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2214 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2215 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2215 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2216 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2216 | + | char.Head.face.Texture = "rbxassetid://343187883" |
| 2217 | attack = false | |
| 2218 | end | |
| 2219 | ||
| 2220 | ||
| 2221 | ||
| 2222 | function death() | |
| 2223 | attack = true | |
| 2224 | hum.WalkSpeed = 0 | |
| 2225 | CreateSound("0", Head, 10, 1)
| |
| 2226 | BTAUNT2:Stop() | |
| 2227 | CreateSound("588738949", Head, 10, 1)
| |
| 2228 | for i = 0, 0.2, 0.1 do | |
| 2229 | swait() | |
| 2230 | hum.WalkSpeed = 0 | |
| 2231 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2232 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2233 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2234 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2235 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2236 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2237 | end | |
| 2238 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2238 | + | char.Head.face.Texture = "rbxassetid://12732236" |
| 2239 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2239 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2240 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2240 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2241 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2241 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2242 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2242 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2243 | wait(0.5) | |
| 2244 | for i = 0, 0.2, 0.1 do | |
| 2245 | swait() | |
| 2246 | hum.WalkSpeed = 0 | |
| 2247 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2248 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2249 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2250 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2251 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2252 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2253 | end | |
| 2254 | CreateSound("588738949", Head, 10, 1)
| |
| 2255 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2255 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2256 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2256 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2257 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2257 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2258 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2258 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2259 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2259 | + | char.Head.face.Texture = "rbxassetid://12732236" |
| 2260 | wait(0.5) | |
| 2261 | for i = 0, 0.2, 0.1 do | |
| 2262 | swait() | |
| 2263 | hum.WalkSpeed = 0 | |
| 2264 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2265 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2266 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2267 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2268 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2269 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2270 | end | |
| 2271 | CreateSound("588738949", Head, 10, 1)
| |
| 2272 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2272 | + | char.Head.face.Texture = "rbxassetid://12732236" |
| 2273 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2273 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2274 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2274 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2275 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2275 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2276 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2276 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2277 | wait(0.5) | |
| 2278 | CreateSound("299058146", Head, 10, 1)
| |
| 2279 | for i = 0, 10, 0.1 do | |
| 2280 | swait() | |
| 2281 | hum.WalkSpeed = 0 | |
| 2282 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2283 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2284 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2285 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2286 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2287 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2288 | end | |
| 2289 | for i = 0, 2, 0.1 do | |
| 2290 | swait() | |
| 2291 | hum.WalkSpeed = 0 | |
| 2292 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2293 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2294 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2295 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2296 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2297 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2298 | end | |
| 2299 | wait(1) | |
| 2300 | local explo = Instance.new("Explosion", Workspace)
| |
| 2301 | explo.Position=hed.Position | |
| 2302 | explo.BlastPressure = 700000 | |
| 2303 | explo.BlastRadius=30 | |
| 2304 | CreateSound("610359590", Head, 10, 1)
| |
| 2305 | wait(0.5) | |
| 2306 | local explo = Instance.new("Explosion", Workspace)
| |
| 2307 | explo.Position=tors.Position | |
| 2308 | explo.BlastPressure = 700000 | |
| 2309 | explo.BlastRadius=30 | |
| 2310 | CreateSound("610359590", Torso, 10, 1)
| |
| 2311 | wait(0.5) | |
| 2312 | local explo = Instance.new("Explosion", Workspace)
| |
| 2313 | explo.Position=ra.Position | |
| 2314 | explo.BlastPressure = 700000 | |
| 2315 | explo.BlastRadius=30 | |
| 2316 | CreateSound("610359590", RightArm, 10, 1)
| |
| 2317 | for i = 0, 0.1, 0.1 do | |
| 2318 | swait() | |
| 2319 | change = 1 | |
| 2320 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0.04 + 0 * Sin(sine / 12) * Player_Size, 0 + 0.1 * Player_Size * Cos(sine / 2)) * angles(Rad(-30), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 0.15) | |
| 2321 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-30), Rad(0), Rad(0)), 0.3) | |
| 2322 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-2 - 0 * Sin(sine / 24)), Rad(0), Rad(-30)), 0.15) | |
| 2323 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-2 + 0 * Sin(sine / 24)), Rad(0), Rad(30)), 0.15) | |
| 2324 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(15 + 0 * Sin(sine / 25))), 0.12) | |
| 2325 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(-15 + 0 * Sin(sine / 25))), 0.12) | |
| 2326 | end | |
| 2327 | wait(0.5) | |
| 2328 | for i = 0, 0.1, 0.1 do | |
| 2329 | swait() | |
| 2330 | change = 1 | |
| 2331 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0.04 + 0 * Sin(sine / 12) * Player_Size, 0 + 0.1 * Player_Size * Cos(sine / 2)) * angles(Rad(-30), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 0.15) | |
| 2332 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-30), Rad(0), Rad(0)), 0.3) | |
| 2333 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-2 - 0 * Sin(sine / 24)), Rad(0), Rad(-30)), 0.15) | |
| 2334 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-2 + 0 * Sin(sine / 24)), Rad(0), Rad(30)), 0.15) | |
| 2335 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(15 + 0 * Sin(sine / 25))), 0.12) | |
| 2336 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(-15 + 0 * Sin(sine / 25))), 0.12) | |
| 2337 | end | |
| 2338 | local explo = Instance.new("Explosion", Workspace)
| |
| 2339 | explo.Position=la.Position | |
| 2340 | explo.BlastPressure = 700000 | |
| 2341 | explo.BlastRadius=30 | |
| 2342 | CreateSound("610359590", LeftArm, 10, 1)
| |
| 2343 | wait(0.5) | |
| 2344 | for i = 0, 0.1, 0.1 do | |
| 2345 | swait() | |
| 2346 | change = 1 | |
| 2347 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0.04 + 0 * Sin(sine / 12) * Player_Size, 0 + 0.1 * Player_Size * Cos(sine / 2)) * angles(Rad(-30), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 0.15) | |
| 2348 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-30), Rad(0), Rad(0)), 0.3) | |
| 2349 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-2 - 0 * Sin(sine / 24)), Rad(0), Rad(-30)), 0.15) | |
| 2350 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-2 + 0 * Sin(sine / 24)), Rad(0), Rad(30)), 0.15) | |
| 2351 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(15 + 0 * Sin(sine / 25))), 0.12) | |
| 2352 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(-15 + 0 * Sin(sine / 25))), 0.12) | |
| 2353 | end | |
| 2354 | local explo = Instance.new("Explosion", Workspace)
| |
| 2355 | explo.Position=ll.Position | |
| 2356 | explo.BlastPressure = 700000 | |
| 2357 | explo.BlastRadius=30 | |
| 2358 | CreateSound("610359590", LeftLeg, 10, 1)
| |
| 2359 | wait(0.5) | |
| 2360 | for i = 0, 0.1, 0.1 do | |
| 2361 | swait() | |
| 2362 | change = 1 | |
| 2363 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0.04 + 0 * Sin(sine / 12) * Player_Size, 0 + 0.1 * Player_Size * Cos(sine / 2)) * angles(Rad(-30), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 0.15) | |
| 2364 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-30), Rad(0), Rad(0)), 0.3) | |
| 2365 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-2 - 0 * Sin(sine / 24)), Rad(0), Rad(-30)), 0.15) | |
| 2366 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-2 + 0 * Sin(sine / 24)), Rad(0), Rad(30)), 0.15) | |
| 2367 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(15 + 0 * Sin(sine / 25))), 0.12) | |
| 2368 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(0 + 0 * Sin(sine / 20)), Rad(-15 + 0 * Sin(sine / 25))), 0.12) | |
| 2369 | end | |
| 2370 | local explo = Instance.new("Explosion", Workspace)
| |
| 2371 | explo.Position=rl.Position | |
| 2372 | explo.BlastPressure = 700000 | |
| 2373 | explo.BlastRadius=30 | |
| 2374 | CreateSound("610359590", RightLeg, 10, 1)
| |
| 2375 | wait(0.5) | |
| 2376 | local explo = Instance.new("Explosion", Workspace)
| |
| 2377 | explo.Position=root.Position | |
| 2378 | explo.BlastPressure = 700000 | |
| 2379 | explo.BlastRadius=30 | |
| 2380 | CreateSound("610359590", root, 10, 0.6)
| |
| 2381 | CreateSound("2351004036", Head, 10, 1)
| |
| 2382 | Torso:Destroy() | |
| 2383 | attack = false | |
| 2384 | hum.WalkSpeed = 18 | |
| 2385 | end | |
| 2386 | ||
| 2387 | ||
| 2388 | function off() | |
| 2389 | attack = true | |
| 2390 | Cso("1843027458", hed, 10, 1)
| |
| 2391 | hum.WalkSpeed = 0 | |
| 2392 | for i = 0, 10, 0.1 do | |
| 2393 | swait() | |
| 2394 | hum.WalkSpeed = 0 | |
| 2395 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2396 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2397 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2398 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2399 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2400 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2401 | end | |
| 2402 | VALUE2 = true | |
| 2403 | repeat | |
| 2404 | ---Pose1 | |
| 2405 | for i = 0, 1.6, 0.1 do | |
| 2406 | swait() | |
| 2407 | hum.WalkSpeed = 0 | |
| 2408 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(0)), 0.35) | |
| 2409 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.35) | |
| 2410 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-5 - 0 * Sin(sine / 20)), Rad(0), Rad(20 - 0 * Sin(sine / 20))), 0.35) | |
| 2411 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-5 + 0 * Sin(sine / 20)), Rad(0), Rad(-20 + 0 * Sin(sine / 20))), 0.35) | |
| 2412 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(30), Rad(0)), 0.35) | |
| 2413 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-30), Rad(0)), 0.35) | |
| 2414 | end | |
| 2415 | until VALUE2 == false | |
| 2416 | attack = false | |
| 2417 | hum.WalkSpeed = 18 | |
| 2418 | end | |
| 2419 | ||
| 2420 | function copythat() | |
| 2421 | hum.WalkSpeed = 0 | |
| 2422 | Cso("238876757", hed, 10, 1)
| |
| 2423 | attack = true | |
| 2424 | for i = 0, 25, 0.1 do | |
| 2425 | swait() | |
| 2426 | change = 1 | |
| 2427 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0.04 + 0 * Sin(sine / 12) * Player_Size, 0 + 0.1 * Player_Size * Cos(sine / 2)) * angles(Rad(10), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 0.15) | |
| 2428 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
| 2429 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-0 - 0 * Sin(sine / 24)), Rad(0), Rad(10)), 0.15) | |
| 2430 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0.1 * Player_Size * Cos(sine / 2), -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-0 + 0 * Sin(sine / 24)), Rad(0), Rad(-10)), 0.15) | |
| 2431 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0 + 0 * Sin(sine / 10)), Rad(0 + 0 * Sin(sine / 20)), Rad(-15 + 0 * Sin(sine / 25))), 0.12) | |
| 2432 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(0 + 0 * Sin(sine / 10)), Rad(0 + 0 * Sin(sine / 20)), Rad(15 + 0 * Sin(sine / 25))), 0.12) | |
| 2433 | end | |
| 2434 | for i = 0, 20, 0.1 do | |
| 2435 | swait() | |
| 2436 | change = 1 | |
| 2437 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2438 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2439 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2440 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2441 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2442 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2443 | end | |
| 2444 | -- Defining RenderStepped? | |
| 2445 | renders = game:GetService("RunService").RenderStepped
| |
| 2446 | local Part0 = Instance.new("Part")
| |
| 2447 | Part0.Name = "bl00d" | |
| 2448 | Part0.CanCollide = false | |
| 2449 | Part0.Anchored = true | |
| 2450 | Part0.Parent = char | |
| 2451 | Part0.BrickColor = BrickColor.new("Crimson")
| |
| 2452 | Part0.Rotation = Vector3.new(0, 0, 90) | |
| 2453 | Part0.Shape = Enum.PartType.Cylinder | |
| 2454 | Part0.Size = Vector3.new(0.310000002, 1.77000022, 2) | |
| 2455 | Part0.CFrame = CFrame.new(10.5427914, 1.28072846, 11.4908791, 4.47034836e-07, -1.00000215, 0, 1.00000215, 4.47034836e-07, 0, 0, 0, 1) | |
| 2456 | Part0.Color = Color3.new(0.458824, 0, 0) | |
| 2457 | Part0.Position = Vector3.new(10.5427914, 1.28072846, 11.4908791) | |
| 2458 | Part0.Orientation = Vector3.new(0, 0, 90) | |
| 2459 | Part0.Color = Color3.new(0.458824, 0, 0) | |
| 2460 | for i = 0, 10, 0.1 do | |
| 2461 | swait() | |
| 2462 | change = 1 | |
| 2463 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -2.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-90 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.5) | |
| 2464 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 0 * Cos(sine / 12)), Rad(0), Rad(0 - 0 * Cos(sine / 12))), 0.08) | |
| 2465 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(0 - 0 * Sin(sine / 12))), 0.08) | |
| 2466 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(0 + 0 * Sin(sine / 12))), 0.08) | |
| 2467 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0 - 0 * Sin(sine / 12)), Rad(-15 + 0 * Sin(sine / 12)), Rad(91 + 0 * Sin(sine / 12))), 0.08) | |
| 2468 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0 - 0 * Sin(sine / 12)), Rad(15 - 0 * Sin(sine / 12)), Rad(-98 + 0 * Sin(sine / 12))), 0.08) | |
| 2469 | end | |
| 2470 | ||
| 2471 | for i = 0, 2, 0.1 do | |
| 2472 | swait() | |
| 2473 | change = 1 | |
| 2474 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -1.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.35) | |
| 2475 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(50 - 0 * Cos(sine / 12)), Rad(10), Rad(0 - 0 * Cos(sine / 12))), 0.35) | |
| 2476 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.2 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(-100 - 0 * Sin(sine / 12))), 0.35) | |
| 2477 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.2 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(100 + 0 * Sin(sine / 12))), 0.35) | |
| 2478 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(-15 + 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2479 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(15 - 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2480 | end | |
| 2481 | for i = 0, 15, 0.1 do | |
| 2482 | swait() | |
| 2483 | change = 1 | |
| 2484 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -1.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.35) | |
| 2485 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 0 * Cos(sine / 12)), Rad(Mrandom(-3, 3)), Rad(0 - 0 * Cos(sine / 12))), 0.35) | |
| 2486 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.2 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(-100 - 0 * Sin(sine / 12))), 0.35) | |
| 2487 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.2 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(100 + 0 * Sin(sine / 12))), 0.35) | |
| 2488 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(-15 + 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2489 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(15 - 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2490 | end | |
| 2491 | for i = 0, 10, 0.1 do | |
| 2492 | swait() | |
| 2493 | change = 1 | |
| 2494 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -2.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(90 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.5) | |
| 2495 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 0 * Cos(sine / 12)), Rad(0), Rad(0 - 0 * Cos(sine / 12))), 0.08) | |
| 2496 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(0 - 0 * Sin(sine / 12))), 0.08) | |
| 2497 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(0 + 0 * Sin(sine / 12))), 0.08) | |
| 2498 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0 - 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12)), Rad(91 + 0 * Sin(sine / 12))), 0.08) | |
| 2499 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0 - 0 * Sin(sine / 12)), Rad(0 - 0 * Sin(sine / 12)), Rad(-98 + 0 * Sin(sine / 12))), 0.08) | |
| 2500 | end | |
| 2501 | for i = 0, 8, 0.1 do | |
| 2502 | swait() | |
| 2503 | change = 1 | |
| 2504 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2505 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2506 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(20)), 0.35) | |
| 2507 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(-20)), 0.35) | |
| 2508 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2509 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2510 | end | |
| 2511 | for i = 0, 10, 0.1 do | |
| 2512 | swait() | |
| 2513 | change = 1 | |
| 2514 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -1.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.35) | |
| 2515 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 0 * Cos(sine / 12)), Rad(Mrandom(-3, 3)), Rad(0 - 0 * Cos(sine / 12))), 0.35) | |
| 2516 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.2 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(-100 - 0 * Sin(sine / 12))), 0.35) | |
| 2517 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.2 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(100 + 0 * Sin(sine / 12))), 0.35) | |
| 2518 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(-15 + 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2519 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(15 - 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2520 | end | |
| 2521 | for i = 0, 20, 0.1 do | |
| 2522 | swait() | |
| 2523 | change = 1 | |
| 2524 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2525 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -1.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.35) | |
| 2526 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.2 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(-100 - 0 * Sin(sine / 12))), 0.35) | |
| 2527 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.2 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(100 + 0 * Sin(sine / 12))), 0.35) | |
| 2528 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2529 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2530 | end | |
| 2531 | for i = 0, 40, 0.1 do | |
| 2532 | swait() | |
| 2533 | change = 1 | |
| 2534 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -1.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.35) | |
| 2535 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 0 * Cos(sine / 12)), Rad(Mrandom(-3, 3)), Rad(0 - 0 * Cos(sine / 12))), 0.35) | |
| 2536 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.2 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(-100 - 0 * Sin(sine / 12))), 0.35) | |
| 2537 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.2 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(100 + 0 * Sin(sine / 12))), 0.35) | |
| 2538 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(-15 + 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2539 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(15 - 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 0.35) | |
| 2540 | end | |
| 2541 | for i = 0, 40, 0.1 do | |
| 2542 | swait() | |
| 2543 | change = 1 | |
| 2544 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -2.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-90 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.5) | |
| 2545 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 0 * Cos(sine / 12)), Rad(0), Rad(0 - 0 * Cos(sine / 12))), 0.08) | |
| 2546 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(0 - 0 * Sin(sine / 12))), 0.08) | |
| 2547 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(0 + 0 * Sin(sine / 12))), 0.08) | |
| 2548 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(-15 + 0 * Sin(sine / 12)), Rad(91 + 0 * Sin(sine / 12))), 0.08) | |
| 2549 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(15 - 0 * Sin(sine / 12)), Rad(-98 + 0 * Sin(sine / 12))), 0.08) | |
| 2550 | end | |
| 2551 | attack = false | |
| 2552 | hum.WalkSpeed = 24 | |
| 2553 | end | |
| 2554 | ||
| 2555 | function laugh() | |
| 2556 | hum.WalkSpeed = 0 | |
| 2557 | Cso("984785433", hed, 10, 0.9)
| |
| 2558 | attack = true | |
| 2559 | for i = 0, 9, 0.1 do | |
| 2560 | swait() | |
| 2561 | change = 0.6 | |
| 2562 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -1.5 + 0.05 * Player_Size * Cos(sine / 1)) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 1) | |
| 2563 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 2564 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.2 * Player_Size + 0 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 1), -0.6 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(-100 - 0 * Sin(sine / 12))), 1) | |
| 2565 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.2 * Player_Size - 0 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 1), -0.6 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(100 + 0 * Sin(sine / 12))), 1) | |
| 2566 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 - 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-10 + 0 * Sin(sine / 10)), Rad(0 + 0 * Sin(sine / 20)), Rad(0 + 0 * Sin(sine / 25))), 0.12) | |
| 2567 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 - 0.05 * Cos(sine / 2)* Player_Size, 0* Player_Size) * angles(Rad(-10 + 0 * Sin(sine / 10)), Rad(0 + 0 * Sin(sine / 20)), Rad(0 + 0 * Sin(sine / 25))), 0.12) | |
| 2568 | end | |
| 2569 | attack = false | |
| 2570 | hum.WalkSpeed = 24 | |
| 2571 | end | |
| 2572 | --Jumpscare-- | |
| 2573 | ||
| 2574 | function jumpscare() | |
| 2575 | attack = true | |
| 2576 | for i = 0,1,0.1 do | |
| 2577 | swait() | |
| 2578 | hum.WalkSpeed = 0 | |
| 2579 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0* Player_Size,0* Player_Size,-1* Player_Size)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
| 2580 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 2581 | RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 2582 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 2583 | RH.C0=clerp(RH.C0,cf(1* Player_Size,-0.3* Player_Size - 0.05* Player_Size * math.cos(sine / 25),-0.5* Player_Size)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(10)),.3) | |
| 2584 | LH.C0=clerp(LH.C0,cf(-1* Player_Size,-0.3* Player_Size - 0.05* Player_Size * math.cos(sine / 25),-0.5* Player_Size)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(-10)),.3) | |
| 2585 | end | |
| 2586 | CFuncs["Sound"].Create("rbxassetid://2966138621", hed, 2.5, 1)
| |
| 2587 | for i, v in pairs(FindNearestHead(hed.CFrame.p, 10)) do | |
| 2588 | if v:FindFirstChild("Head") then
| |
| 2589 | Eviscerate(v) | |
| 2590 | end | |
| 2591 | end | |
| 2592 | for i = 0,3,0.1 do | |
| 2593 | root.CFrame = root.CFrame + root.CFrame.lookVector*1.2 | |
| 2594 | swait() | |
| 2595 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0* Player_Size,-1* Player_Size,0* Player_Size)* angles(math.rad(30),math.rad(0),math.rad(0)),0.3) | |
| 2596 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-20, 20)), Rad(Mrandom(-20, 20)), Rad(Mrandom(-20, 20))), 0.3) | |
| 2597 | RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 2598 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 2599 | RH.C0=clerp(RH.C0,cf(1* Player_Size,-1* Player_Size - 0.05* Player_Size * math.cos(sine / 25),0* Player_Size)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-30)),.3) | |
| 2600 | LH.C0=clerp(LH.C0,cf(-1* Player_Size,-1* Player_Size - 0.05* Player_Size * math.cos(sine / 25),0* Player_Size)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(30)),.3) | |
| 2601 | end | |
| 2602 | for i = 0,5,0.1 do | |
| 2603 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0* Player_Size,-2* Player_Size,-1* Player_Size)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3) | |
| 2604 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 + 0 * math.cos(sine / 2)), Rad(0 + 10 * math.cos(sine / 2)), Rad(0 + 10 * math.cos(sine / 2))), 0.3) | |
| 2605 | RW.C0 = clerp(RW.C0, CFrame.new(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 2606 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 2607 | RH.C0=clerp(RH.C0,cf(1* Player_Size,-0.3* Player_Size - 0.05* Player_Size * math.cos(sine / 25),-0.5* Player_Size)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(10)),.3) | |
| 2608 | LH.C0=clerp(LH.C0,cf(-1* Player_Size,-0.3* Player_Size - 0.05* Player_Size * math.cos(sine / 25),-0.5* Player_Size)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(-10)),.3) | |
| 2609 | end | |
| 2610 | hum.WalkSpeed = 18 | |
| 2611 | attack = false | |
| 2612 | end | |
| 2613 | ||
| 2614 | ------------------------------------------------------- | |
| 2615 | --End Attacks N Stuff-- | |
| 2616 | ------------------------------------------------------- | |
| 2617 | ||
| 2618 | mouse.KeyDown:connect(function(key) | |
| 2619 | if (VALUE1 == false and attack == false) or VALUE2 == true then | |
| 2620 | if key == "e" then | |
| 2621 | jumpscare() | |
| 2622 | end | |
| 2623 | ||
| 2624 | if key == "q" then | |
| 2625 | if VALUE2 == false then | |
| 2626 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2626 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2627 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2627 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2628 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2628 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2629 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2629 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2630 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2630 | + | char.Head.face.Texture = "rbxassetid://398671601" |
| 2631 | BTAUNT2:Stop() | |
| 2632 | off() | |
| 2633 | elseif VALUE2 == true then | |
| 2634 | for i = 0, 10, 0.1 do | |
| 2635 | swait() | |
| 2636 | hum.WalkSpeed = 0 | |
| 2637 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2638 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0* Player_Size * Cos(sine / 20)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2639 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2640 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size * Cos(sine / 20), -0.05 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2641 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2642 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2)), Rad(Mrandom(-2, 2))), 0.35) | |
| 2643 | end | |
| 2644 | CreateSound("299058146", Head, 10, 1)
| |
| 2645 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2645 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2646 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2646 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2647 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2647 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2648 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2648 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2649 | VALUE2 = false | |
| 2650 | BTAUNT2:Play() | |
| 2651 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2651 | + | char.Head.face.Texture = "rbxassetid://398671601" |
| 2652 | end | |
| 2653 | end | |
| 2654 | end | |
| 2655 | if attack == false then | |
| 2656 | if key == "z" then | |
| 2657 | lasereyes() | |
| 2658 | elseif key == 't' then | |
| 2659 | copythat() | |
| 2660 | elseif key == 'y' then | |
| 2661 | laugh() | |
| 2662 | elseif key == 'r' then | |
| 2663 | death() | |
| 2664 | elseif key == 'x' then | |
| 2665 | CreateSound("588738949", Head, 10, 1)
| |
| 2666 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2666 | + | char.Head.face.Texture = "rbxassetid://398671601" |
| 2667 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2667 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2668 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2668 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2669 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2669 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2670 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2670 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2671 | wait(0.5) | |
| 2672 | CreateSound("588738949", Head, 10, 1)
| |
| 2673 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2673 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2674 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2674 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2675 | - | neon3.BrickColor = BrickColor.new("Really black")
|
| 2675 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2676 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2676 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2677 | ||
| 2678 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2678 | + | char.Head.face.Texture = "rbxassetid://398671601" |
| 2679 | wait(0.3) | |
| 2680 | local explo = Instance.new("Explosion", Workspace)
| |
| 2681 | explo.Position=root.Position | |
| 2682 | explo.BlastPressure = 700000 | |
| 2683 | explo.BlastRadius=10 | |
| 2684 | CreateSound("610359590", char, 10, 1)
| |
| 2685 | - | neon1.BrickColor = BrickColor.new("Really black")
|
| 2685 | + | neon1.BrickColor = BrickColor.new("Really red")
|
| 2686 | - | neon2.BrickColor = BrickColor.new("Really black")
|
| 2686 | + | neon2.BrickColor = BrickColor.new("Really red")
|
| 2687 | - | neon3.BrickColor = BrickColor.new("RReally black")
|
| 2687 | + | neon3.BrickColor = BrickColor.new("Really red")
|
| 2688 | - | neon4.BrickColor = BrickColor.new("Really black")
|
| 2688 | + | neon4.BrickColor = BrickColor.new("Really red")
|
| 2689 | - | char.Head.face.Texture = "rbxassetid://176217464" |
| 2689 | + | char.Head.face.Texture = "rbxassetid://398671601" |
| 2690 | end | |
| 2691 | end | |
| 2692 | end) | |
| 2693 | ||
| 2694 | mouse.Button1Down:connect(function(key) | |
| 2695 | if attack == false then | |
| 2696 | boom() | |
| 2697 | end | |
| 2698 | end) | |
| 2699 | ------------------------------------------------------- | |
| 2700 | --Start Damage Function-- | |
| 2701 | ------------------------------------------------------- | |
| 2702 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
| 2703 | local type = type | |
| 2704 | local rng = Instance.new("Part", char)
| |
| 2705 | rng.Anchored = true | |
| 2706 | rng.BrickColor = color | |
| 2707 | rng.CanCollide = false | |
| 2708 | rng.FormFactor = 3 | |
| 2709 | rng.Name = "Ring" | |
| 2710 | rng.Material = "Neon" | |
| 2711 | rng.Size = Vector3.new(1, 1, 1) | |
| 2712 | rng.Transparency = 0 | |
| 2713 | rng.TopSurface = 0 | |
| 2714 | rng.BottomSurface = 0 | |
| 2715 | rng.CFrame = pos | |
| 2716 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
| 2717 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2718 | rngm.MeshType = "Brick" | |
| 2719 | if rainbowmode == true then | |
| 2720 | rng.Color = Color3.new(r/255,g/255,b/255) | |
| 2721 | end | |
| 2722 | local scaler2 = 1 | |
| 2723 | local speeder = FastSpeed/10 | |
| 2724 | if type == "Add" then | |
| 2725 | scaler2 = 1*value | |
| 2726 | elseif type == "Divide" then | |
| 2727 | scaler2 = 1/value | |
| 2728 | end | |
| 2729 | coroutine.resume(coroutine.create(function() | |
| 2730 | for i = 0,10/bonuspeed,0.1 do | |
| 2731 | swait() | |
| 2732 | if type == "Add" then | |
| 2733 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
| 2734 | elseif type == "Divide" then | |
| 2735 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
| 2736 | end | |
| 2737 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
| 2738 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
| 2739 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
| 2740 | end | |
| 2741 | rng:Destroy() | |
| 2742 | end)) | |
| 2743 | end | |
| 2744 | ||
| 2745 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 2746 | if hit.Parent == nil then | |
| 2747 | return | |
| 2748 | end | |
| 2749 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 2750 | for _, v in pairs(hit.Parent:children()) do | |
| 2751 | if v:IsA("Humanoid") then
| |
| 2752 | h = v | |
| 2753 | end | |
| 2754 | end | |
| 2755 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 2756 | ||
| 2757 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 2758 | end | |
| 2759 | ||
| 2760 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 2761 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 2762 | if hit.Parent.DebounceHit.Value == true then | |
| 2763 | return | |
| 2764 | end | |
| 2765 | end | |
| 2766 | if insta == true then | |
| 2767 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 2768 | end | |
| 2769 | local c = Create("ObjectValue"){
| |
| 2770 | Name = "creator", | |
| 2771 | Value = game:service("Players").LocalPlayer,
| |
| 2772 | Parent = h, | |
| 2773 | } | |
| 2774 | game:GetService("Debris"):AddItem(c, .5)
| |
| 2775 | if HitSound ~= nil and HitPitch ~= nil then | |
| 2776 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 2777 | end | |
| 2778 | local Damage = math.random(minim, maxim) | |
| 2779 | local blocked = false | |
| 2780 | local block = hit.Parent:findFirstChild("Block")
| |
| 2781 | if block ~= nil then | |
| 2782 | if block.className == "IntValue" then | |
| 2783 | if block.Value > 0 then | |
| 2784 | blocked = true | |
| 2785 | block.Value = block.Value - 1 | |
| 2786 | print(block.Value) | |
| 2787 | end | |
| 2788 | end | |
| 2789 | end | |
| 2790 | if blocked == false then | |
| 2791 | h.Health = h.Health - Damage | |
| 2792 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 2793 | else | |
| 2794 | h.Health = h.Health - (Damage / 2) | |
| 2795 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 2796 | end | |
| 2797 | if Type == "Knockdown" then | |
| 2798 | local hum = hit.Parent.Humanoid | |
| 2799 | hum.PlatformStand = true | |
| 2800 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 2801 | swait(1) | |
| 2802 | HHumanoid.PlatformStand = false | |
| 2803 | end), hum) | |
| 2804 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 2805 | local bodvol = Create("BodyVelocity"){
| |
| 2806 | velocity = angle * knockback, | |
| 2807 | P = 5000, | |
| 2808 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2809 | Parent = hit, | |
| 2810 | } | |
| 2811 | local rl = Create("BodyAngularVelocity"){
| |
| 2812 | P = 3000, | |
| 2813 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 2814 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 2815 | Parent = hit, | |
| 2816 | } | |
| 2817 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 2818 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 2819 | elseif Type == "Normal" then | |
| 2820 | local vp = Create("BodyVelocity"){
| |
| 2821 | P = 500, | |
| 2822 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 2823 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 2824 | } | |
| 2825 | if knockback > 0 then | |
| 2826 | vp.Parent = hit.Parent.Torso | |
| 2827 | end | |
| 2828 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 2829 | elseif Type == "Up" then | |
| 2830 | local bodyVelocity = Create("BodyVelocity"){
| |
| 2831 | velocity = Vector3.new(0, 20, 0), | |
| 2832 | P = 5000, | |
| 2833 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2834 | Parent = hit, | |
| 2835 | } | |
| 2836 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 2837 | elseif Type == "DarkUp" then | |
| 2838 | coroutine.resume(coroutine.create(function() | |
| 2839 | for i = 0, 1, 0.1 do | |
| 2840 | swait() | |
| 2841 | Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 2842 | end | |
| 2843 | end)) | |
| 2844 | local bodyVelocity = Create("BodyVelocity"){
| |
| 2845 | velocity = Vector3.new(0, 20, 0), | |
| 2846 | P = 5000, | |
| 2847 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2848 | Parent = hit, | |
| 2849 | } | |
| 2850 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2851 | elseif Type == "Snare" then | |
| 2852 | local bp = Create("BodyPosition"){
| |
| 2853 | P = 2000, | |
| 2854 | D = 100, | |
| 2855 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2856 | position = hit.Parent.Torso.Position, | |
| 2857 | Parent = hit.Parent.Torso, | |
| 2858 | } | |
| 2859 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2860 | elseif Type == "Freeze" then | |
| 2861 | local BodPos = Create("BodyPosition"){
| |
| 2862 | P = 50000, | |
| 2863 | D = 1000, | |
| 2864 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2865 | position = hit.Parent.Torso.Position, | |
| 2866 | Parent = hit.Parent.Torso, | |
| 2867 | } | |
| 2868 | local BodGy = Create("BodyGyro") {
| |
| 2869 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 2870 | P = 20e+003, | |
| 2871 | Parent = hit.Parent.Torso, | |
| 2872 | cframe = hit.Parent.Torso.CFrame, | |
| 2873 | } | |
| 2874 | hit.Parent.Torso.Anchored = true | |
| 2875 | coroutine.resume(coroutine.create(function(Part) | |
| 2876 | swait(1.5) | |
| 2877 | Part.Anchored = false | |
| 2878 | end), hit.Parent.Torso) | |
| 2879 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 2880 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 2881 | end | |
| 2882 | local debounce = Create("BoolValue"){
| |
| 2883 | Name = "DebounceHit", | |
| 2884 | Parent = hit.Parent, | |
| 2885 | Value = true, | |
| 2886 | } | |
| 2887 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 2888 | c = Create("ObjectValue"){
| |
| 2889 | Name = "creator", | |
| 2890 | Value = Player, | |
| 2891 | Parent = h, | |
| 2892 | } | |
| 2893 | game:GetService("Debris"):AddItem(c, .5)
| |
| 2894 | end | |
| 2895 | end | |
| 2896 | ||
| 2897 | function damage(range,mindam,maxdam,pos) | |
| 2898 | for i,v in ipairs(workspace:GetChildren()) do | |
| 2899 | if v:IsA("Model") then
| |
| 2900 | if v.Name ~= Player.Name then | |
| 2901 | if v:FindFirstChildOfClass("Humanoid") then
| |
| 2902 | if v:FindFirstChild("Head") then
| |
| 2903 | if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
| |
| 2904 | if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
| |
| 2905 | v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
| |
| 2906 | end | |
| 2907 | end | |
| 2908 | end | |
| 2909 | end | |
| 2910 | end | |
| 2911 | end | |
| 2912 | end | |
| 2913 | end | |
| 2914 | ------------------------------------------------------- | |
| 2915 | --End Damage Function-- | |
| 2916 | ------------------------------------------------------- | |
| 2917 | ||
| 2918 | ------------------------------------------------------- | |
| 2919 | --Start Animations-- | |
| 2920 | ------------------------------------------------------- | |
| 2921 | print("By Makhail07")
| |
| 2922 | while true do | |
| 2923 | swait() | |
| 2924 | sine = sine + change | |
| 2925 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2926 | local velderp = root.Velocity.y | |
| 2927 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 2928 | if equipped == true or equipped == false then | |
| 2929 | if attack == false then | |
| 2930 | idle = idle + 1 | |
| 2931 | else | |
| 2932 | idle = 0 | |
| 2933 | end | |
| 2934 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 2935 | Anim = "Jump" | |
| 2936 | if attack == false then | |
| 2937 | 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) | |
| 2938 | 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) | |
| 2939 | 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) | |
| 2940 | 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) | |
| 2941 | 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) | |
| 2942 | 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) | |
| 2943 | end | |
| 2944 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 2945 | Anim = "Fall" | |
| 2946 | if attack == false then | |
| 2947 | 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) | |
| 2948 | 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) | |
| 2949 | 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) | |
| 2950 | 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) | |
| 2951 | 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) | |
| 2952 | 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) | |
| 2953 | end | |
| 2954 | elseif torvel < 1 and hitfloor ~= nil then | |
| 2955 | Anim = "Idle" | |
| 2956 | change = 0.3 | |
| 2957 | if attack == false then | |
| 2958 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, -1.5 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(0), Rad(0)), 0.5) | |
| 2959 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(50 - 0 * Cos(sine / 12)), Rad(10), Rad(0 - 0 * Cos(sine / 12))), 1) | |
| 2960 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.2 * Player_Size + 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-1 - 0 * Sin(sine / 24)), Rad(0), Rad(-100 - 0 * Sin(sine / 12))), 1) | |
| 2961 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.2 * Player_Size - 0 * Sin(sine / 24) - 0 * Player_Size * Cos(sine / 12), -0.6 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-1 + 0 * Sin(sine / 24)), Rad(0), Rad(100 + 0 * Sin(sine / 12))), 1) | |
| 2962 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(-15 + 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 1) | |
| 2963 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-10 - 0 * Sin(sine / 12)), Rad(15 - 0 * Sin(sine / 12)), Rad(0 + 0 * Sin(sine / 12))), 1) | |
| 2964 | end | |
| 2965 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 2966 | Anim = "Walk" | |
| 2967 | change = 0.7 | |
| 2968 | if attack == false then | |
| 2969 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.5 * Cos(sine / 3.5) / 20 + -Sin(sine / 3.5) / 20 * Player_Size) * angles(Rad(20 - 0 * Cos(sine / 3.5)), Rad(0), Rad(-3 * Cos(sine / 7))), 1) | |
| 2970 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0* Player_Size, 0* Player_Size, 0* Player_Size + ((1* Player_Size) - 1)) * angles(Rad(30), Rad(0), Rad(3 * Cos(sine / 7))), 1) | |
| 2971 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2.5* Player_Size, 0.6 * Cos(sine / 7) / 1.3* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 1) | |
| 2972 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2.5* Player_Size, -0.6 * Cos(sine / 7) / 1.3* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 1) | |
| 2973 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Sin(sine / 12)), Rad(-15 + 2.5 * Sin(sine / 12)), Rad(0 + -2.5 * Sin(sine / 12))), 1) | |
| 2974 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.55 + 0.05 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Sin(sine / 12)), Rad(15 - 2.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12))), 1) | |
| 2975 | end | |
| 2976 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 2977 | Anim = "Sprint" | |
| 2978 | change = 1.35 | |
| 2979 | if attack == false then | |
| 2980 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.5 * Cos(sine / 3.5) / 20 + -Sin(sine / 3.5) / 20 * Player_Size) * angles(Rad(20 - 0 * Cos(sine / 3.5)), Rad(0), Rad(-3 * Cos(sine / 7))), 1) | |
| 2981 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0* Player_Size, 0* Player_Size, 0* Player_Size + ((1* Player_Size) - 1)) * angles(Rad(10), Rad(0), Rad(3 * Cos(sine / 7))), 1) | |
| 2982 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2.5* Player_Size, 0.6 * Cos(sine / 7) / 1.3* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 1) | |
| 2983 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2.5* Player_Size, -0.6 * Cos(sine / 7) / 1.3* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 1) | |
| 2984 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0 + 0.1* Player_Size * Sin(sine / 7)) * angles(Rad(0), Rad(15), Rad(0) - ra.RotVelocity.Y / 75) * angles(Rad(57 * Cos(sine / 7)), Rad(0), Rad(0)), 1) | |
| 2985 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0 - 0.1* Player_Size * Sin(sine / 7)) * angles(Rad(0), Rad(-15) , Rad(0) + la.RotVelocity.Y / 75) * angles(Rad(-57 * Cos(sine / 7)), Rad(0), Rad(0)), 1) | |
| 2986 | end | |
| 2987 | end | |
| 2988 | end | |
| 2989 | if 0 < #Effects then | |
| 2990 | for e = 1, #Effects do | |
| 2991 | if Effects[e] ~= nil then | |
| 2992 | local Thing = Effects[e] | |
| 2993 | if Thing ~= nil then | |
| 2994 | local Part = Thing[1] | |
| 2995 | local Mode = Thing[2] | |
| 2996 | local Delay = Thing[3] | |
| 2997 | local IncX = Thing[4] | |
| 2998 | local IncY = Thing[5] | |
| 2999 | local IncZ = Thing[6] | |
| 3000 | if 1 >= Thing[1].Transparency then | |
| 3001 | if Thing[2] == "Block1" then | |
| 3002 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 3003 | local Mesh = Thing[1].Mesh | |
| 3004 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3005 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3006 | elseif Thing[2] == "Block2" then | |
| 3007 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 3008 | local Mesh = Thing[7] | |
| 3009 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3010 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3011 | elseif Thing[2] == "Block3" then | |
| 3012 | 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) | |
| 3013 | local Mesh = Thing[7] | |
| 3014 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3015 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3016 | elseif Thing[2] == "Cylinder" then | |
| 3017 | local Mesh = Thing[1].Mesh | |
| 3018 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3019 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3020 | elseif Thing[2] == "Blood" then | |
| 3021 | local Mesh = Thing[7] | |
| 3022 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 3023 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3024 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3025 | elseif Thing[2] == "Elec" then | |
| 3026 | local Mesh = Thing[1].Mesh | |
| 3027 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 3028 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3029 | elseif Thing[2] == "Disappear" then | |
| 3030 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3031 | elseif Thing[2] == "Shatter" then | |
| 3032 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3033 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 3034 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 3035 | Thing[6] = Thing[6] + Thing[5] | |
| 3036 | end | |
| 3037 | else | |
| 3038 | Part.Parent = nil | |
| 3039 | table.remove(Effects, e) | |
| 3040 | end | |
| 3041 | end | |
| 3042 | end | |
| 3043 | end | |
| 3044 | end | |
| 3045 | end | |
| 3046 | ----------------------------------------------------- | |
| 3047 | ||
| 3048 | for _, c in pairs(char:GetChildren()) do | |
| 3049 | if c.ClassName == "Part" and c.Name ~= "Detail" and c.Name ~= "Add-ons" then | |
| 3050 | c.Material = "Rust" | |
| 3051 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 3052 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 3053 | end | |
| 3054 | if c ~= hed then | |
| 3055 | c.Color = Color3.new(0, 0, 0) | |
| 3056 | else | |
| 3057 | c.Color = Color3.new(0, 0, 0) | |
| 3058 | end | |
| 3059 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
| 3060 | c:remove() | |
| 3061 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 3062 | c:remove() | |
| 3063 | end | |
| 3064 | end | |
| 3065 | for i,v in pairs(owner.Character:GetDescendants()) do | |
| 3066 | if v.ClassName == "Part" then | |
| 3067 | v.Material = "Rust" | |
| 3068 | end | |
| 3069 | end |