SHOW:
|
|
- or go back to the newest paste.
| 1 | ---------------------------------------------------------------- | |
| 2 | ---------------ghost anti Bacon beta v1.4----------------------- | |
| 3 | ---------------------------------------------------------------- | |
| 4 | print([[ | |
| 5 | --made by Makhail07/Theamazingnater | |
| 6 | --FE code by Mokiros | |
| 7 | --Edited by ozzak1003 -- | |
| 8 | --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A-- | |
| 9 | --Discord: ozzak1003#3275 | |
| 10 | --Discord: BaconTube#1175 | |
| 11 | -------------------------------- | |
| 12 | hello good sir | |
| 13 | Don't leak pls | |
| 14 | Enjoy ;) | |
| 15 | -------------------------------- | |
| 16 | ]]) | |
| 17 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 18 | local Player,game,owner = owner,game | |
| 19 | local RealPlayer = Player | |
| 20 | do | |
| 21 | print("FE Compatibility code by Mokiros")
| |
| 22 | local rp = RealPlayer | |
| 23 | script.Parent = rp.Character | |
| 24 | ||
| 25 | --RemoteEvent for communicating | |
| 26 | local Event = Instance.new("RemoteEvent")
| |
| 27 | Event.Name = "UserInput_Event" | |
| 28 | ||
| 29 | --Fake event to make stuff like Mouse.KeyDown work | |
| 30 | local function fakeEvent() | |
| 31 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 32 | t.connect = t.Connect | |
| 33 | return t | |
| 34 | end | |
| 35 | ||
| 36 | --Creating fake input objects with fake variables | |
| 37 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 38 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 39 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 40 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 41 | end} | |
| 42 | --Merged 2 functions into one by checking amount of arguments | |
| 43 | CAS.UnbindAction = CAS.BindAction | |
| 44 | ||
| 45 | --This function will trigger the events that have been :Connect()'ed | |
| 46 | local function te(self,ev,...) | |
| 47 | local t = m[ev] | |
| 48 | if t and t._fakeEvent then | |
| 49 | for _,f in pairs(t.Functions) do | |
| 50 | f(...) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m.TrigEvent = te | |
| 55 | UIS.TrigEvent = te | |
| 56 | ||
| 57 | Event.OnServerEvent:Connect(function(plr,io) | |
| 58 | if plr~=rp then return end | |
| 59 | m.Target = io.Target | |
| 60 | m.Hit = io.Hit | |
| 61 | if not io.isMouse then | |
| 62 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 63 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 64 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 65 | end | |
| 66 | for _,t in pairs(CAS.Actions) do | |
| 67 | for _,k in pairs(t.Keys) do | |
| 68 | if k==io.KeyCode then | |
| 69 | t.Function(t.Name,io.UserInputState,io) | |
| 70 | end | |
| 71 | end | |
| 72 | end | |
| 73 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 74 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 75 | end | |
| 76 | end) | |
| 77 | Event.Parent = NLS([==[ | |
| 78 | local Player = game:GetService("Players").LocalPlayer
| |
| 79 | local Event = script:WaitForChild("UserInput_Event")
| |
| 80 | ||
| 81 | local Mouse = Player:GetMouse() | |
| 82 | local UIS = game:GetService("UserInputService")
| |
| 83 | local input = function(io,a) | |
| 84 | if a then return end | |
| 85 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 86 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 87 | end | |
| 88 | UIS.InputBegan:Connect(input) | |
| 89 | UIS.InputEnded:Connect(input) | |
| 90 | ||
| 91 | local h,t | |
| 92 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 93 | --If player is not moving their mouse, client won't fire events | |
| 94 | while wait(1/30) do | |
| 95 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 96 | h,t=Mouse.Hit,Mouse.Target | |
| 97 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 98 | end | |
| 99 | end]==],Player.Character) | |
| 100 | ||
| 101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 102 | --Real game object | |
| 103 | local _rg = game | |
| 104 | ||
| 105 | --Metatable for fake service | |
| 106 | local fsmt = {
| |
| 107 | __index = function(self,k) | |
| 108 | local s = rawget(self,"_RealService") | |
| 109 | if s then return s[k] end | |
| 110 | end, | |
| 111 | __newindex = function(self,k,v) | |
| 112 | local s = rawget(self,"_RealService") | |
| 113 | if s then s[k]=v end | |
| 114 | end, | |
| 115 | __call = function(self,...) | |
| 116 | local s = rawget(self,"_RealService") | |
| 117 | if s then return s(...) end | |
| 118 | end | |
| 119 | } | |
| 120 | local function FakeService(t,RealService) | |
| 121 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 122 | return setmetatable(t,fsmt) | |
| 123 | end | |
| 124 | ||
| 125 | --Fake game object | |
| 126 | local g = {
| |
| 127 | GetService = function(self,s) | |
| 128 | return self[s] | |
| 129 | end, | |
| 130 | Players = FakeService({
| |
| 131 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 132 | },"Players"), | |
| 133 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 135 | } | |
| 136 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 137 | g.service = g.GetService | |
| 138 | ||
| 139 | g.RunService = FakeService({
| |
| 140 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 141 | BindToRenderStep = function(self,name,_,fun) | |
| 142 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 143 | end, | |
| 144 | UnbindFromRenderStep = function(self,name) | |
| 145 | self._btrs[name]:Disconnect() | |
| 146 | end, | |
| 147 | },"RunService") | |
| 148 | ||
| 149 | setmetatable(g,{
| |
| 150 | __index=function(self,s) | |
| 151 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 152 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 153 | end, | |
| 154 | __newindex = fsmt.__newindex, | |
| 155 | __call = fsmt.__call | |
| 156 | }) | |
| 157 | --Changing owner to fake player object to support owner:GetMouse() | |
| 158 | game,owner = g,g.Players.LocalPlayer | |
| 159 | end | |
| 160 | ||
| 161 | Player = owner | |
| 162 | PlayerGui = Player.PlayerGui | |
| 163 | Cam = workspace.CurrentCamera | |
| 164 | Backpack = Player.Backpack | |
| 165 | Character = Player.Character | |
| 166 | Humanoid = Character.Humanoid | |
| 167 | Mouse = Player:GetMouse() | |
| 168 | RootPart = Character["HumanoidRootPart"] | |
| 169 | Torso = Character["Torso"] | |
| 170 | Head = Character["Head"] | |
| 171 | RightArm = Character["Right Arm"] | |
| 172 | LeftArm = Character["Left Arm"] | |
| 173 | RightLeg = Character["Right Leg"] | |
| 174 | LeftLeg = Character["Left Leg"] | |
| 175 | RootJoint = RootPart["RootJoint"] | |
| 176 | Neck = Torso["Neck"] | |
| 177 | RightShoulder = Torso["Right Shoulder"] | |
| 178 | LeftShoulder = Torso["Left Shoulder"] | |
| 179 | RightHip = Torso["Right Hip"] | |
| 180 | LeftHip = Torso["Left Hip"] | |
| 181 | ||
| 182 | Character = Player.Character | |
| 183 | Humanoid = Character.Humanoid | |
| 184 | ||
| 185 | ----- | |
| 186 | ||
| 187 | plr = game.Players.LocalPlayer | |
| 188 | char = plr.Character | |
| 189 | ||
| 190 | ||
| 191 | - | -- Defining RenderStepped? |
| 191 | + | |
| 192 | - | renders = game:GetService("RunService").RenderStepped
|
| 192 | + | |
| 193 | - | -- Intro |
| 193 | + | |
| 194 | - | char.Torso.roblox.Texture = "rbxassetid://305296807" |
| 194 | + | |
| 195 | - | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() |
| 195 | + | |
| 196 | - | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
|
| 196 | + | |
| 197 | - | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso |
| 197 | + | |
| 198 | - | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] |
| 198 | + | |
| 199 | - | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) |
| 199 | + | |
| 200 | - | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() |
| 200 | + | |
| 201 | - | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
|
| 201 | + | |
| 202 | - | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso |
| 202 | + | |
| 203 | - | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] |
| 203 | + | |
| 204 | - | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) |
| 204 | + | |
| 205 | - | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() |
| 205 | + | |
| 206 | - | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() |
| 206 | + | |
| 207 | - | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
|
| 207 | + | |
| 208 | - | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso |
| 208 | + | |
| 209 | - | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] |
| 209 | + | |
| 210 | - | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0) |
| 210 | + | |
| 211 | - | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() |
| 211 | + | |
| 212 | - | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() |
| 212 | + | |
| 213 | - | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
|
| 213 | + | |
| 214 | - | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso |
| 214 | + | |
| 215 | - | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] |
| 215 | + | |
| 216 | - | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0) |
| 216 | + | |
| 217 | - | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() |
| 217 | + | |
| 218 | - | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() |
| 218 | + | |
| 219 | - | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
|
| 219 | + | |
| 220 | - | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart |
| 220 | + | |
| 221 | - | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso |
| 221 | + | |
| 222 | - | local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone() |
| 222 | + | |
| 223 | - | local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
|
| 223 | + | |
| 224 | - | headweld.Part0 = game.Players.LocalPlayer.Character.Torso |
| 224 | + | |
| 225 | - | headweld.Part1 = game.Players.LocalPlayer.Character.Head |
| 225 | + | |
| 226 | - | headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0) |
| 226 | + | |
| 227 | - | local gunshot = Instance.new("Sound",char.Torso)
|
| 227 | + | |
| 228 | - | gunshot.Name = "BANG" |
| 228 | + | |
| 229 | - | gunshot.SoundId = "rbxassetid://213603013" |
| 229 | + | |
| 230 | - | gunshot.Volume = 2 |
| 230 | + | |
| 231 | - | gunshot:Play() |
| 231 | + | |
| 232 | - | char.Humanoid.WalkSpeed = 0 |
| 232 | + | |
| 233 | - | char.Humanoid.JumpPower = 0 |
| 233 | + | |
| 234 | - | for i = 0,1 , 0.03 do |
| 234 | + | |
| 235 | - | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.975958347, -2.06729031, 0, 0.905177712, -0.425033659, 8.83524214e-27, 0.425034732, 0.905179977, 4.223007e-27, -1.05518035e-26, 3.02922588e-28, 1.0000025),i) |
| 235 | + | |
| 236 | - | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.901434898, -1.97289896, 0, 0.896831989, 0.442371875, -3.88750654e-27, -0.442372978, 0.896834254, 5.09510506e-27, 4.69530011e-27, -3.35739201e-27, 1.0000025),i) |
| 236 | + | |
| 237 | - | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i) |
| 237 | + | |
| 238 | - | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.80910063, 0.148392916, 0, 0.586558223, 0.80990839, -5.84135723e-26, -0.809910417, 0.586559713, -6.21380681e-26, -1.6509281e-26, 8.28998148e-26, 1.0000025),i) |
| 238 | + | |
| 239 | - | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.50004101, 2.00000429, 1, -4.90253133e-27, 8.98669496e-27, 8.98670343e-27, 1.77323375e-06, -1, 4.90251553e-27, 1, 1.77323375e-06),i) |
| 239 | + | |
| 240 | - | renders:wait() |
| 240 | + | |
| 241 | PlayerGui = Player.PlayerGui | |
| 242 | - | wait(3) |
| 242 | + | |
| 243 | - | local scream = Instance.new("Sound",char.Torso)
|
| 243 | + | |
| 244 | - | scream.SoundId = "rbxassetid://138167455" |
| 244 | + | |
| 245 | - | scream.Volume = 4 |
| 245 | + | |
| 246 | - | scream:Play() |
| 246 | + | |
| 247 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=1364114735" |
| 247 | + | |
| 248 | - | for i = 0,1 , 0.03 do |
| 248 | + | |
| 249 | - | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.52452374, 0.510128379, -0.901310444, -0.0983733907, 0.0243432298, 0.994851828, 0.995149672, 0.00240636896, 0.0983439684, 2.91038305e-08, 0.999700963, -0.0244618785),i) |
| 249 | + | |
| 250 | - | renders:wait() |
| 250 | + | |
| 251 | RightArm = Character["Right Arm"] | |
| 252 | - | wait(5) |
| 252 | + | |
| 253 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=295197013" |
| 253 | + | |
| 254 | - | for i = 0,1 , 0.03 do |
| 254 | + | |
| 255 | - | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i) |
| 255 | + | |
| 256 | - | renders:wait() |
| 256 | + | |
| 257 | RightShoulder = Torso["Right Shoulder"] | |
| 258 | - | wait(10) |
| 258 | + | |
| 259 | - | for i = 0,1 , 0.03 do |
| 259 | + | |
| 260 | - | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) |
| 260 | + | |
| 261 | - | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i) |
| 261 | + | |
| 262 | - | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) |
| 262 | + | |
| 263 | - | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i) |
| 263 | + | |
| 264 | - | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i) |
| 264 | + | |
| 265 | - | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i) |
| 265 | + | |
| 266 | - | renders:wait() |
| 266 | + | |
| 267 | w.Part1 = b | |
| 268 | - | lhandweld:Destroy() |
| 268 | + | |
| 269 | - | llegweld:Destroy() |
| 269 | + | |
| 270 | - | rhandweld:Destroy() |
| 270 | + | |
| 271 | - | rlegweld:Destroy() |
| 271 | + | |
| 272 | - | headweld:Destroy() |
| 272 | + | char.Head.face.Texture = "http://www.roblox.com/asset/?id=0" |
| 273 | - | humanoidrootpart:Destroy() |
| 273 | + | |
| 274 | - | lhandclone.Parent = char.Torso |
| 274 | + | |
| 275 | - | llegclone.Parent = char.Torso |
| 275 | + | |
| 276 | - | rhandclone.Parent = char.Torso |
| 276 | + | |
| 277 | - | rlegclone.Parent = char.Torso |
| 277 | + | |
| 278 | - | heed.Parent = char.Torso |
| 278 | + | |
| 279 | - | rootjointclone.Parent = char.HumanoidRootPart |
| 279 | + | |
| 280 | local char = plr.Character | |
| 281 | local hum = char.Humanoid | |
| 282 | local hed = char.Head | |
| 283 | local root = char.HumanoidRootPart | |
| 284 | local rootj = root.RootJoint | |
| 285 | local tors = char.Torso | |
| 286 | local ra = char["Right Arm"] | |
| 287 | local la = char["Left Arm"] | |
| 288 | local rl = char["Right Leg"] | |
| 289 | local ll = char["Left Leg"] | |
| 290 | local neck = tors["Neck"] | |
| 291 | local mouse = plr:GetMouse() | |
| 292 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 293 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 294 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 295 | local maincolor = BrickColor.new("Institutional white")
| |
| 296 | ||
| 297 | ||
| 298 | ------------------------------------------------------- | |
| 299 | --Start Good Stuff-- | |
| 300 | ------------------------------------------------------- | |
| 301 | cam = game.Workspace.CurrentCamera | |
| 302 | CF = CFrame.new | |
| 303 | angles = CFrame.Angles | |
| 304 | attack = false | |
| 305 | Euler = CFrame.fromEulerAnglesXYZ | |
| 306 | Rad = math.rad | |
| 307 | IT = Instance.new | |
| 308 | BrickC = BrickColor.new | |
| 309 | Cos = math.cos | |
| 310 | Acos = math.acos | |
| 311 | Sin = math.sin | |
| 312 | Asin = math.asin | |
| 313 | Abs = math.abs | |
| 314 | Mrandom = math.random | |
| 315 | Floor = math.floor | |
| 316 | ------------------------------------------------------- | |
| 317 | --End Good Stuff-- | |
| 318 | ------------------------------------------------------- | |
| 319 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 320 | RSH, LSH = nil, nil | |
| 321 | RW = Instance.new("Weld")
| |
| 322 | LW = Instance.new("Weld")
| |
| 323 | RH = tors["Right Hip"] | |
| 324 | LH = tors["Left Hip"] | |
| 325 | RSH = tors["Right Shoulder"] | |
| 326 | LSH = tors["Left Shoulder"] | |
| 327 | RSH.Parent = nil | |
| 328 | LSH.Parent = nil | |
| 329 | RW.Name = "RW" | |
| 330 | RW.Part0 = tors | |
| 331 | RW.C0 = CF(1.5, 0.5, 0) | |
| 332 | RW.C1 = CF(0, 0.5, 0) | |
| 333 | RW.Part1 = ra | |
| 334 | RW.Parent = tors | |
| 335 | LW.Name = "LW" | |
| 336 | LW.Part0 = tors | |
| 337 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 338 | LW.C1 = CF(0, 0.5, 0) | |
| 339 | LW.Part1 = la | |
| 340 | LW.Parent = tors | |
| 341 | Effects = {}
| |
| 342 | ------------------------------------------------------- | |
| 343 | --Start HeartBeat-- | |
| 344 | ------------------------------------------------------- | |
| 345 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 346 | ArtificialHB.Name = "Heartbeat" | |
| 347 | script:WaitForChild("Heartbeat")
| |
| 348 | ||
| 349 | frame = 1 / 60 | |
| 350 | tf = 0 | |
| 351 | allowframeloss = false | |
| 352 | tossremainder = false | |
| 353 | ||
| 354 | ||
| 355 | lastframe = tick() | |
| 356 | script.Heartbeat:Fire() | |
| 357 | ||
| 358 | ||
| 359 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 360 | - | local righteyebrickcolor = "Really red" |
| 360 | + | |
| 361 | - | local reye = Instance.new("Part", char)
|
| 361 | + | |
| 362 | - | reye.CanCollide = false |
| 362 | + | |
| 363 | - | reye.BrickColor = BrickColor.new(righteyebrickcolor) |
| 363 | + | |
| 364 | - | reye.Material = "Neon" |
| 364 | + | |
| 365 | - | reye.Size = Vector3.new(.25,.35,.25) |
| 365 | + | |
| 366 | - | weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.55), CFrame.new(1,0,0)) |
| 366 | + | |
| 367 | - | m1 = Instance.new("SpecialMesh", reye)
|
| 367 | + | |
| 368 | - | m1.MeshType = "Sphere" |
| 368 | + | |
| 369 | - | m1.Scale = Vector3.new(0.9,0.9,0.9) |
| 369 | + | |
| 370 | - | reye.Locked = true |
| 370 | + | |
| 371 | - | reye.Name = "re" |
| 371 | + | |
| 372 | tf = 0 | |
| 373 | else | |
| 374 | - | local righteyebrickcolor = "Toothpaste" |
| 374 | + | |
| 375 | - | local reye = Instance.new("Part", char)
|
| 375 | + | |
| 376 | - | reye.CanCollide = false |
| 376 | + | |
| 377 | - | reye.BrickColor = BrickColor.new(righteyebrickcolor) |
| 377 | + | |
| 378 | - | reye.Material = "Neon" |
| 378 | + | |
| 379 | - | reye.Size = Vector3.new(.25,.35,.15) |
| 379 | + | |
| 380 | - | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) |
| 380 | + | |
| 381 | - | m1 = Instance.new("SpecialMesh", reye)
|
| 381 | + | |
| 382 | - | m1.MeshType = "Sphere" |
| 382 | + | |
| 383 | - | m1.Scale = Vector3.new(0.9,0.9,0.9) |
| 383 | + | |
| 384 | - | reye.Locked = true |
| 384 | + | |
| 385 | - | reye.Name = "re" |
| 385 | + | |
| 386 | if num == 0 or num == nil then | |
| 387 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=596345665" |
| 387 | + | |
| 388 | else | |
| 389 | for i = 0, num do | |
| 390 | game:service("RunService").Stepped:wait(0)
| |
| 391 | end | |
| 392 | end | |
| 393 | end | |
| 394 | function thread(f) | |
| 395 | coroutine.resume(coroutine.create(f)) | |
| 396 | end | |
| 397 | function clerp(a, b, t) | |
| 398 | local qa = {
| |
| 399 | QuaternionFromCFrame(a) | |
| 400 | } | |
| 401 | local qb = {
| |
| 402 | QuaternionFromCFrame(b) | |
| 403 | } | |
| 404 | local ax, ay, az = a.x, a.y, a.z | |
| 405 | local bx, by, bz = b.x, b.y, b.z | |
| 406 | local _t = 1 - t | |
| 407 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 408 | end | |
| 409 | function QuaternionFromCFrame(cf) | |
| 410 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 411 | local trace = m00 + m11 + m22 | |
| 412 | if trace > 0 then | |
| 413 | local s = math.sqrt(1 + trace) | |
| 414 | local recip = 0.5 / s | |
| 415 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 416 | else | |
| 417 | local i = 0 | |
| 418 | if m00 < m11 then | |
| 419 | i = 1 | |
| 420 | end | |
| 421 | if m22 > (i == 0 and m00 or m11) then | |
| 422 | i = 2 | |
| 423 | end | |
| 424 | if i == 0 then | |
| 425 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 426 | local recip = 0.5 / s | |
| 427 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 428 | elseif i == 1 then | |
| 429 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 430 | local recip = 0.5 / s | |
| 431 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 432 | elseif i == 2 then | |
| 433 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 434 | local recip = 0.5 / s | |
| 435 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 436 | end | |
| 437 | end | |
| 438 | end | |
| 439 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 440 | local xs, ys, zs = x + x, y + y, z + z | |
| 441 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 442 | local xx = x * xs | |
| 443 | local xy = x * ys | |
| 444 | local xz = x * zs | |
| 445 | local yy = y * ys | |
| 446 | local yz = y * zs | |
| 447 | local zz = z * zs | |
| 448 | 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)) | |
| 449 | end | |
| 450 | function QuaternionSlerp(a, b, t) | |
| 451 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 452 | local startInterp, finishInterp | |
| 453 | if cosTheta >= 1.0E-4 then | |
| 454 | if 1 - cosTheta > 1.0E-4 then | |
| 455 | local theta = math.acos(cosTheta) | |
| 456 | local invSinTheta = 1 / Sin(theta) | |
| 457 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 458 | finishInterp = Sin(t * theta) * invSinTheta | |
| 459 | else | |
| 460 | startInterp = 1 - t | |
| 461 | finishInterp = t | |
| 462 | end | |
| 463 | elseif 1 + cosTheta > 1.0E-4 then | |
| 464 | local theta = math.acos(-cosTheta) | |
| 465 | local invSinTheta = 1 / Sin(theta) | |
| 466 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 467 | finishInterp = Sin(t * theta) * invSinTheta | |
| 468 | else | |
| 469 | startInterp = t - 1 | |
| 470 | finishInterp = t | |
| 471 | end | |
| 472 | 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 | |
| 473 | end | |
| 474 | function rayCast(Position, Direction, Range, Ignore) | |
| 475 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 476 | end | |
| 477 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 478 | local Create = RbxUtility.Create | |
| 479 | ||
| 480 | ------------------------------------------------------- | |
| 481 | --Start Damage Function-- | |
| 482 | ------------------------------------------------------- | |
| 483 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 484 | if hit.Parent == nil then | |
| 485 | return | |
| 486 | end | |
| 487 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 488 | for _, v in pairs(hit.Parent:children()) do | |
| 489 | if v:IsA("Humanoid") then
| |
| 490 | h = v | |
| 491 | end | |
| 492 | end | |
| 493 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 494 | ||
| 495 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 496 | end | |
| 497 | ||
| 498 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 499 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 500 | if hit.Parent.DebounceHit.Value == true then | |
| 501 | return | |
| 502 | end | |
| 503 | end | |
| 504 | if insta == true then | |
| 505 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 506 | end | |
| 507 | local c = Create("ObjectValue"){
| |
| 508 | Name = "creator", | |
| 509 | Value = game:service("Players").LocalPlayer,
| |
| 510 | Parent = h, | |
| 511 | } | |
| 512 | game:GetService("Debris"):AddItem(c, .5)
| |
| 513 | if HitSound ~= nil and HitPitch ~= nil then | |
| 514 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 515 | end | |
| 516 | local Damage = math.random(minim, maxim) | |
| 517 | local blocked = false | |
| 518 | local block = hit.Parent:findFirstChild("Block")
| |
| 519 | if block ~= nil then | |
| 520 | if block.className == "IntValue" then | |
| 521 | if block.Value > 0 then | |
| 522 | blocked = true | |
| 523 | block.Value = block.Value - 1 | |
| 524 | print(block.Value) | |
| 525 | end | |
| 526 | end | |
| 527 | end | |
| 528 | if blocked == false then | |
| 529 | h.Health = h.Health - Damage | |
| 530 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 531 | else | |
| 532 | h.Health = h.Health - (Damage / 2) | |
| 533 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 534 | end | |
| 535 | if Type == "Knockdown" then | |
| 536 | local hum = hit.Parent.Humanoid | |
| 537 | hum.PlatformStand = true | |
| 538 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 539 | swait(1) | |
| 540 | HHumanoid.PlatformStand = false | |
| 541 | end), hum) | |
| 542 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 543 | local bodvol = Create("BodyVelocity"){
| |
| 544 | velocity = angle * knockback, | |
| 545 | P = 5000, | |
| 546 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 547 | Parent = hit, | |
| 548 | } | |
| 549 | local rl = Create("BodyAngularVelocity"){
| |
| 550 | P = 3000, | |
| 551 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 552 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 553 | Parent = hit, | |
| 554 | } | |
| 555 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 556 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 557 | elseif Type == "Normal" then | |
| 558 | local vp = Create("BodyVelocity"){
| |
| 559 | P = 500, | |
| 560 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 561 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 562 | } | |
| 563 | if knockback > 0 then | |
| 564 | vp.Parent = hit.Parent.Torso | |
| 565 | end | |
| 566 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 567 | elseif Type == "Up" then | |
| 568 | local bodyVelocity = Create("BodyVelocity"){
| |
| 569 | velocity = Vector3.new(0, 20, 0), | |
| 570 | P = 5000, | |
| 571 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 572 | Parent = hit, | |
| 573 | } | |
| 574 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 575 | elseif Type == "DarkUp" then | |
| 576 | coroutine.resume(coroutine.create(function() | |
| 577 | for i = 0, 1, 0.1 do | |
| 578 | swait() | |
| 579 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 580 | end | |
| 581 | end)) | |
| 582 | local bodyVelocity = Create("BodyVelocity"){
| |
| 583 | velocity = Vector3.new(0, 20, 0), | |
| 584 | P = 5000, | |
| 585 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 586 | Parent = hit, | |
| 587 | } | |
| 588 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 589 | elseif Type == "Snare" then | |
| 590 | local bp = Create("BodyPosition"){
| |
| 591 | P = 2000, | |
| 592 | D = 100, | |
| 593 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 594 | position = hit.Parent.Torso.Position, | |
| 595 | Parent = hit.Parent.Torso, | |
| 596 | } | |
| 597 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 598 | elseif Type == "Freeze" then | |
| 599 | local BodPos = Create("BodyPosition"){
| |
| 600 | P = 50000, | |
| 601 | D = 1000, | |
| 602 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 603 | position = hit.Parent.Torso.Position, | |
| 604 | Parent = hit.Parent.Torso, | |
| 605 | } | |
| 606 | local BodGy = Create("BodyGyro") {
| |
| 607 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 608 | P = 20e+003, | |
| 609 | Parent = hit.Parent.Torso, | |
| 610 | cframe = hit.Parent.Torso.CFrame, | |
| 611 | } | |
| 612 | hit.Parent.Torso.Anchored = true | |
| 613 | coroutine.resume(coroutine.create(function(Part) | |
| 614 | swait(1.5) | |
| 615 | Part.Anchored = false | |
| 616 | end), hit.Parent.Torso) | |
| 617 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 618 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 619 | end | |
| 620 | local debounce = Create("BoolValue"){
| |
| 621 | Name = "DebounceHit", | |
| 622 | Parent = hit.Parent, | |
| 623 | Value = true, | |
| 624 | } | |
| 625 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 626 | c = Create("ObjectValue"){
| |
| 627 | Name = "creator", | |
| 628 | Value = Player, | |
| 629 | Parent = h, | |
| 630 | } | |
| 631 | game:GetService("Debris"):AddItem(c, .5)
| |
| 632 | end | |
| 633 | end | |
| 634 | ------------------------------------------------------- | |
| 635 | --End Damage Function-- | |
| 636 | ------------------------------------------------------- | |
| 637 | ||
| 638 | ------------------------------------------------------- | |
| 639 | --Start Damage Function Customization-- | |
| 640 | ------------------------------------------------------- | |
| 641 | function ShowDamage(Pos, Text, Time, Color) | |
| 642 | local Rate = (1 / 30) | |
| 643 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 644 | local Text = (Text or "") | |
| 645 | local Time = (Time or 2) | |
| 646 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 647 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 648 | EffectPart.Anchored = true | |
| 649 | local BillboardGui = Create("BillboardGui"){
| |
| 650 | Size = UDim2.new(3, 0, 3, 0), | |
| 651 | Adornee = EffectPart, | |
| 652 | Parent = EffectPart, | |
| 653 | } | |
| 654 | local TextLabel = Create("TextLabel"){
| |
| 655 | BackgroundTransparency = 1, | |
| 656 | Size = UDim2.new(1, 0, 1, 0), | |
| 657 | Text = Text, | |
| 658 | Font = "Bodoni", | |
| 659 | TextColor3 = Color, | |
| 660 | TextScaled = true, | |
| 661 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 662 | Parent = BillboardGui, | |
| 663 | } | |
| 664 | game.Debris:AddItem(EffectPart, (Time)) | |
| 665 | EffectPart.Parent = game:GetService("Workspace")
| |
| 666 | delay(0, function() | |
| 667 | local Frames = (Time / Rate) | |
| 668 | for Frame = 1, Frames do | |
| 669 | wait(Rate) | |
| 670 | local Percent = (Frame / Frames) | |
| 671 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 672 | TextLabel.TextTransparency = Percent | |
| 673 | end | |
| 674 | if EffectPart and EffectPart.Parent then | |
| 675 | EffectPart:Destroy() | |
| 676 | end | |
| 677 | end) | |
| 678 | end | |
| 679 | ------------------------------------------------------- | |
| 680 | --End Damage Function Customization-- | |
| 681 | ------------------------------------------------------- | |
| 682 | ||
| 683 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 684 | for _, c in pairs(workspace:children()) do | |
| 685 | local hum = c:findFirstChild("Humanoid")
| |
| 686 | if hum ~= nil then | |
| 687 | local head = c:findFirstChild("Head")
| |
| 688 | if head ~= nil then | |
| 689 | local targ = head.Position - Part.Position | |
| 690 | local mag = targ.magnitude | |
| 691 | if magni >= mag and c.Name ~= plr.Name then | |
| 692 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 693 | end | |
| 694 | end | |
| 695 | end | |
| 696 | end | |
| 697 | end | |
| 698 | ||
| 699 | ||
| 700 | CFuncs = {
| |
| 701 | Part = {
| |
| 702 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 703 | local Part = Create("Part")({
| |
| 704 | Parent = Parent, | |
| 705 | Reflectance = Reflectance, | |
| 706 | Transparency = Transparency, | |
| 707 | CanCollide = false, | |
| 708 | Locked = true, | |
| 709 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 710 | Name = Name, | |
| 711 | Size = Size, | |
| 712 | Material = Material | |
| 713 | }) | |
| 714 | RemoveOutlines(Part) | |
| 715 | return Part | |
| 716 | end | |
| 717 | }, | |
| 718 | Mesh = {
| |
| 719 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 720 | local Msh = Create(Mesh)({
| |
| 721 | Parent = Part, | |
| 722 | Offset = OffSet, | |
| 723 | Scale = Scale | |
| 724 | }) | |
| 725 | if Mesh == "SpecialMesh" then | |
| 726 | Msh.MeshType = MeshType | |
| 727 | Msh.MeshId = MeshId | |
| 728 | end | |
| 729 | return Msh | |
| 730 | end | |
| 731 | }, | |
| 732 | Mesh = {
| |
| 733 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 734 | local Msh = Create(Mesh)({
| |
| 735 | Parent = Part, | |
| 736 | Offset = OffSet, | |
| 737 | Scale = Scale | |
| 738 | }) | |
| 739 | if Mesh == "SpecialMesh" then | |
| 740 | Msh.MeshType = MeshType | |
| 741 | Msh.MeshId = MeshId | |
| 742 | end | |
| 743 | return Msh | |
| 744 | end | |
| 745 | }, | |
| 746 | Weld = {
| |
| 747 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 748 | local Weld = Create("Weld")({
| |
| 749 | Parent = Parent, | |
| 750 | Part0 = Part0, | |
| 751 | Part1 = Part1, | |
| 752 | C0 = C0, | |
| 753 | C1 = C1 | |
| 754 | }) | |
| 755 | return Weld | |
| 756 | end | |
| 757 | }, | |
| 758 | Sound = {
| |
| 759 | Create = function(id, par, vol, pit) | |
| 760 | coroutine.resume(coroutine.create(function() | |
| 761 | local S = Create("Sound")({
| |
| 762 | Volume = vol, | |
| 763 | Pitch = pit or 1, | |
| 764 | SoundId = id, | |
| 765 | Parent = par or workspace | |
| 766 | }) | |
| 767 | wait() | |
| 768 | S:play() | |
| 769 | game:GetService("Debris"):AddItem(S, 6)
| |
| 770 | end)) | |
| 771 | end | |
| 772 | }, | |
| 773 | ParticleEmitter = {
| |
| 774 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 775 | local fp = Create("ParticleEmitter")({
| |
| 776 | Parent = Parent, | |
| 777 | Color = ColorSequence.new(Color1, Color2), | |
| 778 | LightEmission = LightEmission, | |
| 779 | Size = Size, | |
| 780 | Texture = Texture, | |
| 781 | Transparency = Transparency, | |
| 782 | ZOffset = ZOffset, | |
| 783 | Acceleration = Accel, | |
| 784 | Drag = Drag, | |
| 785 | LockedToPart = LockedToPart, | |
| 786 | VelocityInheritance = VelocityInheritance, | |
| 787 | EmissionDirection = EmissionDirection, | |
| 788 | Enabled = Enabled, | |
| 789 | Lifetime = LifeTime, | |
| 790 | Rate = Rate, | |
| 791 | Rotation = Rotation, | |
| 792 | RotSpeed = RotSpeed, | |
| 793 | Speed = Speed, | |
| 794 | VelocitySpread = VelocitySpread | |
| 795 | }) | |
| 796 | return fp | |
| 797 | end | |
| 798 | } | |
| 799 | } | |
| 800 | function RemoveOutlines(part) | |
| 801 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 802 | end | |
| 803 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 804 | local Part = Create("Part")({
| |
| 805 | formFactor = FormFactor, | |
| 806 | Parent = Parent, | |
| 807 | Reflectance = Reflectance, | |
| 808 | Transparency = Transparency, | |
| 809 | CanCollide = false, | |
| 810 | Locked = true, | |
| 811 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 812 | Name = Name, | |
| 813 | Size = Size, | |
| 814 | Material = Material | |
| 815 | }) | |
| 816 | RemoveOutlines(Part) | |
| 817 | return Part | |
| 818 | end | |
| 819 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 820 | local Msh = Create(Mesh)({
| |
| 821 | Parent = Part, | |
| 822 | Offset = OffSet, | |
| 823 | Scale = Scale | |
| 824 | }) | |
| 825 | if Mesh == "SpecialMesh" then | |
| 826 | Msh.MeshType = MeshType | |
| 827 | Msh.MeshId = MeshId | |
| 828 | end | |
| 829 | return Msh | |
| 830 | end | |
| 831 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 832 | local Weld = Create("Weld")({
| |
| 833 | Parent = Parent, | |
| 834 | Part0 = Part0, | |
| 835 | Part1 = Part1, | |
| 836 | C0 = C0, | |
| 837 | C1 = C1 | |
| 838 | }) | |
| 839 | return Weld | |
| 840 | end | |
| 841 | ||
| 842 | ||
| 843 | ------------------------------------------------------- | |
| 844 | --Start Effect Function-- | |
| 845 | ------------------------------------------------------- | |
| 846 | EffectModel = Instance.new("Model", char)
| |
| 847 | Effects = {
| |
| 848 | Block = {
| |
| 849 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 850 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 851 | prt.Anchored = true | |
| 852 | prt.CFrame = cframe | |
| 853 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 854 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 855 | if Type == 1 or Type == nil then | |
| 856 | table.insert(Effects, {
| |
| 857 | prt, | |
| 858 | "Block1", | |
| 859 | delay, | |
| 860 | x3, | |
| 861 | y3, | |
| 862 | z3, | |
| 863 | msh | |
| 864 | }) | |
| 865 | elseif Type == 2 then | |
| 866 | table.insert(Effects, {
| |
| 867 | prt, | |
| 868 | "Block2", | |
| 869 | delay, | |
| 870 | x3, | |
| 871 | y3, | |
| 872 | z3, | |
| 873 | msh | |
| 874 | }) | |
| 875 | else | |
| 876 | table.insert(Effects, {
| |
| 877 | prt, | |
| 878 | "Block3", | |
| 879 | delay, | |
| 880 | x3, | |
| 881 | y3, | |
| 882 | z3, | |
| 883 | msh | |
| 884 | }) | |
| 885 | end | |
| 886 | end | |
| 887 | }, | |
| 888 | Sphere = {
| |
| 889 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 890 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 891 | prt.Anchored = true | |
| 892 | prt.CFrame = cframe | |
| 893 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 894 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 895 | table.insert(Effects, {
| |
| 896 | prt, | |
| 897 | "Cylinder", | |
| 898 | delay, | |
| 899 | x3, | |
| 900 | y3, | |
| 901 | z3, | |
| 902 | msh | |
| 903 | }) | |
| 904 | end | |
| 905 | }, | |
| 906 | Cylinder = {
| |
| 907 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 908 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 909 | prt.Anchored = true | |
| 910 | prt.CFrame = cframe | |
| 911 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 912 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 913 | table.insert(Effects, {
| |
| 914 | prt, | |
| 915 | "Cylinder", | |
| 916 | delay, | |
| 917 | x3, | |
| 918 | y3, | |
| 919 | z3, | |
| 920 | msh | |
| 921 | }) | |
| 922 | end | |
| 923 | }, | |
| 924 | Wave = {
| |
| 925 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 926 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 927 | prt.Anchored = true | |
| 928 | prt.CFrame = cframe | |
| 929 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 930 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 931 | table.insert(Effects, {
| |
| 932 | prt, | |
| 933 | "Cylinder", | |
| 934 | delay, | |
| 935 | x3 / 60, | |
| 936 | y3 / 60, | |
| 937 | z3 / 60, | |
| 938 | msh | |
| 939 | }) | |
| 940 | end | |
| 941 | }, | |
| 942 | Ring = {
| |
| 943 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 944 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 945 | prt.Anchored = true | |
| 946 | prt.CFrame = cframe | |
| 947 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 948 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 949 | table.insert(Effects, {
| |
| 950 | prt, | |
| 951 | "Cylinder", | |
| 952 | delay, | |
| 953 | x3, | |
| 954 | y3, | |
| 955 | z3, | |
| 956 | msh | |
| 957 | }) | |
| 958 | end | |
| 959 | }, | |
| 960 | Break = {
| |
| 961 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 962 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 963 | prt.Anchored = true | |
| 964 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 965 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 966 | local num = math.random(10, 50) / 1000 | |
| 967 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 968 | table.insert(Effects, {
| |
| 969 | prt, | |
| 970 | "Shatter", | |
| 971 | num, | |
| 972 | prt.CFrame, | |
| 973 | math.random() - math.random(), | |
| 974 | 0, | |
| 975 | math.random(50, 100) / 100 | |
| 976 | }) | |
| 977 | end | |
| 978 | }, | |
| 979 | Spiral = {
| |
| 980 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 981 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 982 | prt.Anchored = true | |
| 983 | prt.CFrame = cframe | |
| 984 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 985 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 986 | table.insert(Effects, {
| |
| 987 | prt, | |
| 988 | "Cylinder", | |
| 989 | delay, | |
| 990 | x3, | |
| 991 | y3, | |
| 992 | z3, | |
| 993 | msh | |
| 994 | }) | |
| 995 | end | |
| 996 | }, | |
| 997 | Push = {
| |
| 998 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 999 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1000 | prt.Anchored = true | |
| 1001 | prt.CFrame = cframe | |
| 1002 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1003 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1004 | table.insert(Effects, {
| |
| 1005 | prt, | |
| 1006 | "Cylinder", | |
| 1007 | delay, | |
| 1008 | x3, | |
| 1009 | y3, | |
| 1010 | z3, | |
| 1011 | msh | |
| 1012 | }) | |
| 1013 | end | |
| 1014 | } | |
| 1015 | } | |
| 1016 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 1017 | local fp = IT("Part")
| |
| 1018 | fp.formFactor = formfactor | |
| 1019 | fp.Parent = parent | |
| 1020 | fp.Reflectance = reflectance | |
| 1021 | fp.Transparency = transparency | |
| 1022 | fp.CanCollide = false | |
| 1023 | fp.Locked = true | |
| 1024 | fp.BrickColor = brickcolor | |
| 1025 | fp.Name = name | |
| 1026 | fp.Size = size | |
| 1027 | fp.Position = tors.Position | |
| 1028 | RemoveOutlines(fp) | |
| 1029 | fp.Material = "SmoothPlastic" | |
| 1030 | fp:BreakJoints() | |
| 1031 | return fp | |
| 1032 | end | |
| 1033 | ||
| 1034 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1035 | local mesh = IT(Mesh) | |
| 1036 | mesh.Parent = part | |
| 1037 | if Mesh == "SpecialMesh" then | |
| 1038 | mesh.MeshType = meshtype | |
| 1039 | if meshid ~= "nil" then | |
| 1040 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 1041 | end | |
| 1042 | end | |
| 1043 | mesh.Offset = offset | |
| 1044 | mesh.Scale = scale | |
| 1045 | return mesh | |
| 1046 | end | |
| 1047 | ||
| 1048 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 1049 | local type = type | |
| 1050 | local rng = Instance.new("Part", char)
| |
| 1051 | rng.Anchored = true | |
| 1052 | rng.BrickColor = color | |
| 1053 | rng.CanCollide = false | |
| 1054 | rng.FormFactor = 3 | |
| 1055 | rng.Name = "Ring" | |
| 1056 | rng.Material = "Neon" | |
| 1057 | rng.Size = Vector3.new(1, 1, 1) | |
| 1058 | rng.Transparency = 0 | |
| 1059 | rng.TopSurface = 0 | |
| 1060 | rng.BottomSurface = 0 | |
| 1061 | rng.CFrame = pos | |
| 1062 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1063 | rngm.MeshType = MType | |
| 1064 | rngm.Scale = scale | |
| 1065 | local scaler2 = 1 | |
| 1066 | if type == "Add" then | |
| 1067 | scaler2 = 1 * value | |
| 1068 | elseif type == "Divide" then | |
| 1069 | scaler2 = 1 / value | |
| 1070 | end | |
| 1071 | coroutine.resume(coroutine.create(function() | |
| 1072 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1073 | swait() | |
| 1074 | if type == "Add" then | |
| 1075 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1076 | elseif type == "Divide" then | |
| 1077 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1078 | end | |
| 1079 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1080 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 1081 | end | |
| 1082 | rng:Destroy() | |
| 1083 | end)) | |
| 1084 | end | |
| 1085 | ||
| 1086 | function Eviscerate(dude) | |
| 1087 | if dude.Name ~= char then | |
| 1088 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1089 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1090 | local val = IT("BoolValue", dude)
| |
| 1091 | val.Name = "IsHit" | |
| 1092 | local ds = coroutine.wrap(function() | |
| 1093 | dude:WaitForChild("Head"):BreakJoints()
| |
| 1094 | wait(0.5) | |
| 1095 | target = nil | |
| 1096 | coroutine.resume(coroutine.create(function() | |
| 1097 | for i, v in pairs(dude:GetChildren()) do | |
| 1098 | if v:IsA("Accessory") then
| |
| 1099 | v:Destroy() | |
| 1100 | end | |
| 1101 | if v:IsA("Humanoid") then
| |
| 1102 | v:Destroy() | |
| 1103 | end | |
| 1104 | if v:IsA("CharacterMesh") then
| |
| 1105 | v:Destroy() | |
| 1106 | end | |
| 1107 | if v:IsA("Model") then
| |
| 1108 | v:Destroy() | |
| 1109 | end | |
| 1110 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1111 | for x, o in pairs(v:GetChildren()) do | |
| 1112 | if o:IsA("Decal") then
| |
| 1113 | o:Destroy() | |
| 1114 | end | |
| 1115 | end | |
| 1116 | coroutine.resume(coroutine.create(function() | |
| 1117 | v.Material = "Neon" | |
| 1118 | v.CanCollide = false | |
| 1119 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 1120 | PartEmmit1.LightEmission = 1 | |
| 1121 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 1122 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1123 | PartEmmit1.Rate = 150 | |
| 1124 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 1125 | PartEmmit1.Size = NumberSequence.new({
| |
| 1126 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 1127 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1128 | }) | |
| 1129 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1130 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1131 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1132 | }) | |
| 1133 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1134 | PartEmmit1.VelocitySpread = 30000 | |
| 1135 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 1136 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1137 | local BodPoss = IT("BodyPosition", v)
| |
| 1138 | BodPoss.P = 3000 | |
| 1139 | BodPoss.D = 1000 | |
| 1140 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1141 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1142 | v.Color = maincolor.Color | |
| 1143 | coroutine.resume(coroutine.create(function() | |
| 1144 | for i = 0, 49 do | |
| 1145 | swait(1) | |
| 1146 | v.Transparency = v.Transparency + 0.08 | |
| 1147 | end | |
| 1148 | wait(0.5) | |
| 1149 | PartEmmit1.Enabled = false | |
| 1150 | wait(3) | |
| 1151 | v:Destroy() | |
| 1152 | dude:Destroy() | |
| 1153 | end)) | |
| 1154 | end)) | |
| 1155 | end | |
| 1156 | end | |
| 1157 | end)) | |
| 1158 | end) | |
| 1159 | ds() | |
| 1160 | end | |
| 1161 | end | |
| 1162 | ||
| 1163 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1164 | if SinglePlayer then | |
| 1165 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1166 | end | |
| 1167 | local List = {}
| |
| 1168 | for i, v in pairs(workspace:GetChildren()) do | |
| 1169 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1170 | table.insert(List, v) | |
| 1171 | end | |
| 1172 | end | |
| 1173 | return List | |
| 1174 | end | |
| 1175 | ||
| 1176 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 1177 | local type = type | |
| 1178 | local rng = Instance.new("Part", char)
| |
| 1179 | rng.Anchored = true | |
| 1180 | rng.BrickColor = color | |
| 1181 | rng.CanCollide = false | |
| 1182 | rng.FormFactor = 3 | |
| 1183 | rng.Name = "Ring" | |
| 1184 | rng.Material = "Neon" | |
| 1185 | rng.Size = Vector3.new(1, 1, 1) | |
| 1186 | rng.Transparency = 0 | |
| 1187 | rng.TopSurface = 0 | |
| 1188 | rng.BottomSurface = 0 | |
| 1189 | rng.CFrame = pos | |
| 1190 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1191 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1192 | rngm.MeshType = MType | |
| 1193 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1194 | local scaler2 = 1 | |
| 1195 | local speeder = FastSpeed | |
| 1196 | if type == "Add" then | |
| 1197 | scaler2 = 1 * value | |
| 1198 | elseif type == "Divide" then | |
| 1199 | scaler2 = 1 / value | |
| 1200 | end | |
| 1201 | coroutine.resume(coroutine.create(function() | |
| 1202 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1203 | swait() | |
| 1204 | if type == "Add" then | |
| 1205 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1206 | elseif type == "Divide" then | |
| 1207 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1208 | end | |
| 1209 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1210 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1211 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1212 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1213 | end | |
| 1214 | rng:Destroy() | |
| 1215 | end)) | |
| 1216 | end | |
| 1217 | ||
| 1218 | function SoulSteal(dude) | |
| 1219 | if dude.Name ~= char then | |
| 1220 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1221 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1222 | local val = IT("BoolValue", dude)
| |
| 1223 | val.Name = "IsHit" | |
| 1224 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 1225 | local soulst = coroutine.wrap(function() | |
| 1226 | local soul = Instance.new("Part",dude)
| |
| 1227 | soul.Size = Vector3.new(1,1,1) | |
| 1228 | soul.CanCollide = false | |
| 1229 | soul.Anchored = false | |
| 1230 | soul.Position = torso.Position | |
| 1231 | soul.Transparency = 1 | |
| 1232 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 1233 | PartEmmit1.LightEmission = 1 | |
| 1234 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1235 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1236 | PartEmmit1.Rate = 250 | |
| 1237 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1238 | PartEmmit1.Size = NumberSequence.new({
| |
| 1239 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1240 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1241 | }) | |
| 1242 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1243 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1244 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1245 | }) | |
| 1246 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1247 | PartEmmit1.VelocitySpread = 30000 | |
| 1248 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1249 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1250 | local BodPoss = IT("BodyPosition", soul)
| |
| 1251 | BodPoss.P = 3000 | |
| 1252 | BodPoss.D = 1000 | |
| 1253 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1254 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1255 | wait(1.6) | |
| 1256 | soul.Touched:connect(function(hit) | |
| 1257 | if hit.Parent == char then | |
| 1258 | soul:Destroy() | |
| 1259 | end | |
| 1260 | end) | |
| 1261 | wait(1.2) | |
| 1262 | while soul do | |
| 1263 | swait() | |
| 1264 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1265 | BodPoss.Position = tors.Position | |
| 1266 | end | |
| 1267 | end) | |
| 1268 | soulst() | |
| 1269 | end | |
| 1270 | end | |
| 1271 | function FaceMouse() | |
| 1272 | local Cam = workspace.CurrentCamera | |
| 1273 | return {
| |
| 1274 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1275 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1276 | } | |
| 1277 | end | |
| 1278 | ------------------------------------------------------- | |
| 1279 | --End Effect Function-- | |
| 1280 | ------------------------------------------------------- | |
| 1281 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1282 | local NSound = nil | |
| 1283 | coroutine.resume(coroutine.create(function() | |
| 1284 | NSound = IT("Sound", PARENT)
| |
| 1285 | NSound.Volume = VOLUME | |
| 1286 | NSound.Pitch = PITCH | |
| 1287 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1288 | swait() | |
| 1289 | NSound:play() | |
| 1290 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1291 | end)) | |
| 1292 | return NSound | |
| 1293 | end | |
| 1294 | function CameraEnshaking(Length, Intensity) | |
| 1295 | coroutine.resume(coroutine.create(function() | |
| 1296 | local intensity = 1 * Intensity | |
| 1297 | local rotM = 0.01 * Intensity | |
| 1298 | for i = 0, Length, 0.1 do | |
| 1299 | swait() | |
| 1300 | intensity = intensity - 0.05 * Intensity / Length | |
| 1301 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1302 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1303 | 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) | |
| 1304 | end | |
| 1305 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1306 | end)) | |
| 1307 | end | |
| 1308 | function chatfunc(text, color) | |
| 1309 | local chat = coroutine.wrap(function() | |
| 1310 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1311 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1312 | end | |
| 1313 | local naeeym2 = Instance.new("BillboardGui", char)
| |
| 1314 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 1315 | naeeym2.StudsOffset = Vector3.new(0, 5, 0) | |
| 1316 | naeeym2.Adornee = hed | |
| 1317 | naeeym2.Name = "TalkingBillBoard" | |
| 1318 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 1319 | tecks2.BackgroundTransparency = 1 | |
| 1320 | tecks2.BorderSizePixel = 0 | |
| 1321 | tecks2.Text = "" | |
| 1322 | tecks2.Font = "SciFi" | |
| 1323 | tecks2.TextSize = 30 | |
| 1324 | tecks2.TextStrokeTransparency = 0 | |
| 1325 | tecks2.TextColor3 = color | |
| 1326 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1327 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1328 | coroutine.resume(coroutine.create(function() | |
| 1329 | while true do | |
| 1330 | swait(1) | |
| 1331 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 1332 | tecks2.Rotation = math.random(-5, 5) | |
| 1333 | end | |
| 1334 | end)) | |
| 1335 | for i = 1, string.len(text) do | |
| 1336 | CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
| |
| 1337 | tecks2.Text = string.sub(text, 1, i) | |
| 1338 | swait(1) | |
| 1339 | end | |
| 1340 | wait(1) | |
| 1341 | naeeym2:Destroy() | |
| 1342 | end) | |
| 1343 | chat() | |
| 1344 | end | |
| 1345 | ------------------------------------------------------- | |
| 1346 | --End Important Functions-- | |
| 1347 | ------------------------------------------------------- | |
| 1348 | ||
| 1349 | ||
| 1350 | ------------------------------------------------------- | |
| 1351 | --Start Customization-- | |
| 1352 | ------------------------------------------------------- | |
| 1353 | local Player_Size = 1 | |
| 1354 | if Player_Size ~= 1 then | |
| 1355 | root.Size = root.Size * Player_Size | |
| 1356 | tors.Size = tors.Size * Player_Size | |
| 1357 | hed.Size = hed.Size * Player_Size | |
| 1358 | ra.Size = ra.Size * Player_Size | |
| 1359 | la.Size = la.Size * Player_Size | |
| 1360 | rl.Size = rl.Size * Player_Size | |
| 1361 | ll.Size = ll.Size * Player_Size | |
| 1362 | ---------------------------------------------------------------------------------- | |
| 1363 | rootj.Parent = root | |
| 1364 | neck.Parent = tors | |
| 1365 | RW.Parent = tors | |
| 1366 | LW.Parent = tors | |
| 1367 | RH.Parent = tors | |
| 1368 | LH.Parent = tors | |
| 1369 | ---------------------------------------------------------------------------------- | |
| 1370 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1371 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1372 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1373 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1374 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1375 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1376 | ---------------------------------------------------------------------------------- | |
| 1377 | 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)) | |
| 1378 | 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)) | |
| 1379 | 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)) | |
| 1380 | 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)) | |
| 1381 | --hat.Parent = Character | |
| 1382 | end | |
| 1383 | ---------------------------------------------------------------------------------- | |
| 1384 | local SONG = 3274989179 | |
| 1385 | local SONG2 = 0 | |
| 1386 | local Music = Instance.new("Sound",tors)
| |
| 1387 | Music.Volume = 3.5 | |
| 1388 | Music.Looped = true | |
| 1389 | Music.Pitch = 1 --Pitcher | |
| 1390 | ---------------------------------------------------------------------------------- | |
| 1391 | local equipped = false | |
| 1392 | local idle = 0 | |
| 1393 | local change = 1 | |
| 1394 | local val = 0 | |
| 1395 | local toim = 0 | |
| 1396 | local idleanim = 0.4 | |
| 1397 | local sine = 0 | |
| 1398 | local Sit = 1 | |
| 1399 | ---------------------------------------------------------------------------------- | |
| 1400 | hum.WalkSpeed = 16 | |
| 1401 | hum.JumpPower = 57 | |
| 1402 | hum.Animator.Parent = nil | |
| 1403 | ---------------------------------------------------------------------------------- | |
| 1404 | local Blobby = Instance.new("Part", char)
| |
| 1405 | Blobby.Name = "Blob" | |
| 1406 | Blobby.CanCollide = false | |
| 1407 | Blobby.BrickColor = BrickColor.new("Really black")
| |
| 1408 | Blobby.Transparency = 0 | |
| 1409 | Blobby.Material = "Plastic" | |
| 1410 | Blobby.Size = Vector3.new(1, 1, 2) | |
| 1411 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
| 1412 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
| 1413 | ||
| 1414 | local Weld = Instance.new("Weld", Blobby)
| |
| 1415 | Weld.Part0 = ra | |
| 1416 | Weld.Part1 = Blobby | |
| 1417 | Weld.C1 = CFrame.new(0, -2, 1.1) | |
| 1418 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
| 1419 | ||
| 1420 | local M2 = Instance.new("SpecialMesh")
| |
| 1421 | M2.Parent = Blobby | |
| 1422 | M2.MeshId = "http://www.roblox.com/asset/?id=10604848" | |
| 1423 | M2.TextureId = "http://www.roblox.com/asset/?id=10605252" | |
| 1424 | M2.Scale = Vector3.new(1, 1, 1) | |
| 1425 | ||
| 1426 | --[[local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1427 | naeeym2.AlwaysOnTop = true | |
| 1428 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1429 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
| 1430 | naeeym2.Adornee = hed | |
| 1431 | naeeym2.Name = "Name" | |
| 1432 | --naeeym2.PlayerToHideFrom = Player | |
| 1433 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1434 | tecks2.BackgroundTransparency = 1 | |
| 1435 | tecks2.TextScaled = true | |
| 1436 | tecks2.BorderSizePixel = 0 | |
| 1437 | tecks2.Text = "Fight Me" | |
| 1438 | tecks2.Font = Enum.Font.Bodoni | |
| 1439 | tecks2.TextSize = 30 | |
| 1440 | tecks2.TextStrokeTransparency = 0 | |
| 1441 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 1442 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
| 1443 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1444 | tecks2.Parent = naeeym2]] | |
| 1445 | ------------------------------------------------------- | |
| 1446 | --End Customization-- | |
| 1447 | ------------------------------------------------------- | |
| 1448 | wait(1) | |
| 1449 | player = game.Players.LocalPlayer | |
| 1450 | torso = player.Character:WaitForChild("Torso")
| |
| 1451 | mouse = player:GetMouse() | |
| 1452 | ||
| 1453 | mouse.KeyDown:connect(function(key) | |
| 1454 | if key == "l" then | |
| 1455 | dist = (torso.Position - mouse.Hit.p).magnitude | |
| 1456 | if dist <= 10000 then | |
| 1457 | torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0) | |
| 1458 | end | |
| 1459 | end | |
| 1460 | end) | |
| 1461 | ------------------------------------------------------- | |
| 1462 | --Start Attacks N Stuff-- | |
| 1463 | ------------------------------------------------------- | |
| 1464 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1465 | naeeym2.AlwaysOnTop = true | |
| 1466 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 1467 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1468 | naeeym2.Adornee = hed | |
| 1469 | naeeym2.Name = "Name" | |
| 1470 | ||
| 1471 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1472 | tecks2.BackgroundTransparency = 1 | |
| 1473 | tecks2.TextScaled = true | |
| 1474 | tecks2.BorderSizePixel = 0 | |
| 1475 | tecks2.Text = "script by xdielivex" | |
| 1476 | tecks2.Font = "Garamond" | |
| 1477 | tecks2.TextSize = 30 | |
| 1478 | tecks2.TextStrokeTransparency = 0 | |
| 1479 | tecks2.TextColor3 = BrickColor.new('Really black').Color
| |
| 1480 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
| |
| 1481 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1482 | tecks2.Parent = naeeym2 | |
| 1483 | textfag = tecks2 | |
| 1484 | tecks2.Text = "script by xdielivex" | |
| 1485 | wait(1) | |
| 1486 | tecks2.Text = "Anti-Skid Ban" | |
| 1487 | coroutine.resume(coroutine.create(function() | |
| 1488 | while textfag ~= nil do | |
| 1489 | swait() | |
| 1490 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
| 1491 | textfag.Rotation = math.random(-3,3) | |
| 1492 | end | |
| 1493 | end)) | |
| 1494 | ||
| 1495 | ||
| 1496 | function chatfunc(text, color) | |
| 1497 | local chat = coroutine.wrap(function() | |
| 1498 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 1499 | - | local SONG = 1567323605 |
| 1499 | + | |
| 1500 | end | |
| 1501 | local naeeym2 = Instance.new("BillboardGui", char)
| |
| 1502 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 1503 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
| 1504 | naeeym2.Adornee = hed | |
| 1505 | naeeym2.Name = "TalkingBillBoard" | |
| 1506 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 1507 | tecks2.BackgroundTransparency = 1 | |
| 1508 | tecks2.BorderSizePixel = 0 | |
| 1509 | tecks2.Text = "" | |
| 1510 | tecks2.Font = "SciFi" | |
| 1511 | tecks2.TextSize = 30 | |
| 1512 | tecks2.TextStrokeTransparency = 0 | |
| 1513 | tecks2.TextColor3 = color | |
| 1514 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 1515 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1516 | local tecks3 = Instance.new("TextLabel", naeeym2)
| |
| 1517 | tecks3.BackgroundTransparency = 1 | |
| 1518 | tecks3.BorderSizePixel = 0 | |
| 1519 | tecks3.Text = "" | |
| 1520 | tecks3.Font = "SciFi" | |
| 1521 | tecks3.TextSize = 30 | |
| 1522 | tecks3.TextStrokeTransparency = 0 | |
| 1523 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
| 1524 | tecks3.TextStrokeColor3 = color | |
| 1525 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
| 1526 | coroutine.resume(coroutine.create(function() | |
| 1527 | while true do | |
| 1528 | swait(1) | |
| 1529 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 1530 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 1531 | tecks2.Rotation = math.random(-5, 5) | |
| 1532 | tecks3.Rotation = math.random(-5, 5) | |
| 1533 | end | |
| 1534 | end)) | |
| 1535 | for i = 1, string.len(text) do | |
| 1536 | CFuncs.Sound.Create("rbxassetid://2755928629", char, 0.25, 0.115)
| |
| 1537 | tecks2.Text = string.sub(text, 1, i) | |
| 1538 | tecks3.Text = string.sub(text, 1, i) | |
| 1539 | swait(1) | |
| 1540 | end | |
| 1541 | wait(1) | |
| 1542 | local randomrot = math.random(1, 2) | |
| 1543 | if randomrot == 1 then | |
| 1544 | for i = 1, 50 do | |
| 1545 | swait() | |
| 1546 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
| 1547 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1548 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1549 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
| 1550 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1551 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1552 | end | |
| 1553 | elseif randomrot == 2 then | |
| 1554 | for i = 1, 50 do | |
| 1555 | swait() | |
| 1556 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
| 1557 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1558 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1559 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
| 1560 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 1561 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 1562 | end | |
| 1563 | end | |
| 1564 | naeeym2:Destroy() | |
| 1565 | end) | |
| 1566 | chat() | |
| 1567 | end | |
| 1568 | ---------- | |
| 1569 | function Eyeyeyeyeyeyey_Slammo() | |
| 1570 | attack = true | |
| 1571 | hum.WalkSpeed = 0 | |
| 1572 | local Blobby = IT("Part", char)
| |
| 1573 | Blobby.Name = "Blob" | |
| 1574 | Blobby.CanCollide = false | |
| 1575 | Blobby.BrickColor = BrickC("Really black")
| |
| 1576 | Blobby.Transparency = 0 | |
| 1577 | Blobby.Material = "Plastic" | |
| 1578 | Blobby.Size = Vector3.new(1, 1, 2) | |
| 1579 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
| 1580 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
| 1581 | ||
| 1582 | local Weld = IT("Weld", Blobby)
| |
| 1583 | Weld.Part0 = hed | |
| 1584 | Weld.Part1 = Blobby | |
| 1585 | Weld.C1 = CF(0, -17.6, 1.4) | |
| 1586 | Weld.C0 = angles(Rad(0),0,0) | |
| 1587 | ||
| 1588 | local M2 = IT("SpecialMesh")
| |
| 1589 | M2.Parent = Blobby | |
| 1590 | - | tecks2.Text = "im dead" |
| 1590 | + | |
| 1591 | M2.TextureId = "http://www.roblox.com/asset/?id=10605252" | |
| 1592 | M2.Scale = Vector3.new(3.3, 3.3, 3.3) | |
| 1593 | CFuncs.Sound.Create("rbxassetid://135925117", head, 100, 1)
| |
| 1594 | for i = 0, 6, 0.1 do | |
| 1595 | swait() | |
| 1596 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.2) | |
| 1597 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1598 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1599 | - | tecks2.Text = "Original Edit by ozzak1003" |
| 1599 | + | |
| 1600 | - | wait(2) |
| 1600 | + | |
| 1601 | - | tecks2.Text = "Don't leak please :)" |
| 1601 | + | |
| 1602 | end | |
| 1603 | - | tecks2.Text = "Bacon's Revenge" |
| 1603 | + | |
| 1604 | Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 1605 | Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 1606 | for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do | |
| 1607 | if v:FindFirstChild("Head") then
| |
| 1608 | Eviscerate(v) | |
| 1609 | end | |
| 1610 | end | |
| 1611 | for i = 0, 6, 0.1 do | |
| 1612 | swait() | |
| 1613 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1614 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1615 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
| 1616 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
| 1617 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1618 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1619 | end | |
| 1620 | Blobby:Destroy() | |
| 1621 | attack = false | |
| 1622 | hum.WalkSpeed = 10 | |
| 1623 | end | |
| 1624 | function Ban() | |
| 1625 | attack = true | |
| 1626 | for i = 0, 2.6, 0.1 do | |
| 1627 | swait() | |
| 1628 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2) | |
| 1629 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
| 1630 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
| 1631 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2) | |
| 1632 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
| 1633 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) | |
| 1634 | end | |
| 1635 | Cso("147722910", tors, 10, 1)
| |
| 1636 | CameraEnshaking(2, 15) | |
| 1637 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1638 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1639 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1640 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
| 1641 | if v:FindFirstChild("Head") then
| |
| 1642 | Eviscerate(v) | |
| 1643 | end | |
| 1644 | end | |
| 1645 | for i = 0, 3, 0.1 do | |
| 1646 | swait() | |
| 1647 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
| 1648 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
| 1649 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
| 1650 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3) | |
| 1651 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
| 1652 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
| 1653 | - | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
|
| 1653 | + | |
| 1654 | attack = false | |
| 1655 | end | |
| 1656 | function BigBan() | |
| 1657 | attack = true | |
| 1658 | Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0)) | |
| 1659 | for i = 0, 3.6, 0.1 do | |
| 1660 | swait() | |
| 1661 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2) | |
| 1662 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 1663 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
| 1664 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
| 1665 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2) | |
| 1666 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2) | |
| 1667 | end | |
| 1668 | Cso("147722910", tors, 10, 1)
| |
| 1669 | CameraEnshaking(2, 15) | |
| 1670 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1671 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1672 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1673 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do | |
| 1674 | if v:FindFirstChild("Head") then
| |
| 1675 | Eviscerate(v) | |
| 1676 | end | |
| 1677 | end | |
| 1678 | for i = 0, 2.6, 0.1 do | |
| 1679 | swait() | |
| 1680 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2) | |
| 1681 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 1682 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
| 1683 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
| 1684 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2) | |
| 1685 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
| 1686 | end | |
| 1687 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
| 1688 | attack = false | |
| 1689 | end | |
| 1690 | function BANN() | |
| 1691 | attack = true | |
| 1692 | M2.Scale = Vector3.new(2, 2, 2) | |
| 1693 | for i = 0, 4.6, 0.1 do | |
| 1694 | swait() | |
| 1695 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2) | |
| 1696 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
| 1697 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
| 1698 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
| 1699 | RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
| 1700 | LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2) | |
| 1701 | end | |
| 1702 | Cso("147722910", char, 10, 1)
| |
| 1703 | CameraEnshaking(2, 35) | |
| 1704 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1705 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1706 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1707 | Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
| |
| 1708 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
| |
| 1709 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
| |
| 1710 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
| |
| 1711 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do | |
| 1712 | if v:FindFirstChild("Head") then
| |
| 1713 | Eviscerate(v) | |
| 1714 | end | |
| 1715 | end | |
| 1716 | for i = 0, 3, 0.1 do | |
| 1717 | swait() | |
| 1718 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
| 1719 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
| 1720 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
| 1721 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3) | |
| 1722 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
| 1723 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
| 1724 | end | |
| 1725 | M2.Scale = Vector3.new(1, 1, 1) | |
| 1726 | attack = false | |
| 1727 | end | |
| 1728 | ||
| 1729 | function dash() | |
| 1730 | dashing = true | |
| 1731 | attack = true | |
| 1732 | local bv = Instance.new("BodyVelocity")
| |
| 1733 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1734 | bv.velocity = root.CFrame.lookVector*200 | |
| 1735 | bv.Parent = root | |
| 1736 | for i = 0,1,0.1 do | |
| 1737 | swait() | |
| 1738 | bv.velocity = root.CFrame.lookVector*200 | |
| 1739 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5) | |
| 1740 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5) | |
| 1741 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5) | |
| 1742 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5) | |
| 1743 | RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
| 1744 | LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
| 1745 | end | |
| 1746 | bv:Destroy() | |
| 1747 | attack = false | |
| 1748 | dashing = false | |
| 1749 | end | |
| 1750 | ||
| 1751 | function BURN_IN_HELL() | |
| 1752 | attack = true | |
| 1753 | chatfunc("DONT", BrickColor.random().Color)
| |
| 1754 | for i = 0,5.2,0.1 do | |
| 1755 | swait() | |
| 1756 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 1757 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1758 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 1759 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 1760 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1761 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1762 | end | |
| 1763 | chatfunc("BE", BrickColor.random().Color)
| |
| 1764 | wait(2) | |
| 1765 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1766 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1767 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1768 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1769 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 1770 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 1771 | chatfunc("A SKID", BrickColor.random().Color)
| |
| 1772 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
| 1773 | if v:FindFirstChild("Head") then
| |
| 1774 | Eviscerate(v) | |
| 1775 | SoulSteal(v) | |
| 1776 | end | |
| 1777 | end | |
| 1778 | coroutine.resume(coroutine.create(function() | |
| 1779 | for i = 0,2.8,0.1 do | |
| 1780 | swait() | |
| 1781 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1782 | end | |
| 1783 | for i = 0,1.8,0.1 do | |
| 1784 | swait() | |
| 1785 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1786 | end | |
| 1787 | end)) | |
| 1788 | for i = 0,3.7,0.1 do | |
| 1789 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 1790 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1791 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
| 1792 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
| 1793 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1794 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1795 | end | |
| 1796 | wait(.6) | |
| 1797 | attack = false | |
| 1798 | end | |
| 1799 | function Call_Upon_The_Eyes() | |
| 1800 | Cso("2755928629", hed, 3.5, 1)
| |
| 1801 | attack = true | |
| 1802 | hum.WalkSpeed = 16 | |
| 1803 | for i = 0, 6, 0.1 do | |
| 1804 | swait() | |
| 1805 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1806 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1807 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
| 1808 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 1809 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1810 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1811 | end | |
| 1812 | Magic(5, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 1813 | Magic(10, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 1814 | Magic(1, "Add", Mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
| 1815 | Magic(1, "Add", Mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
| 1816 | ||
| 1817 | for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do | |
| 1818 | if v:FindFirstChild("Head") then
| |
| 1819 | Eviscerate(v) | |
| 1820 | end | |
| 1821 | end | |
| 1822 | for i = 0, 6, 0.1 do | |
| 1823 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1824 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1825 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
| 1826 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 1827 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2) | |
| 1828 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1829 | end | |
| 1830 | attack = false | |
| 1831 | hum.WalkSpeed = 10 | |
| 1832 | end | |
| 1833 | function TUSKOR661() | |
| 1834 | attack = true | |
| 1835 | M2.Scale = Vector3.new(5, 5, 5) | |
| 1836 | chatfunc("i warned you before...", Color3.new(0, 0, 0))
| |
| 1837 | for i = 0, 15, 0.1 do | |
| 1838 | swait() | |
| 1839 | hum.CameraOffset = Vector3.new(0, 8, 0) | |
| 1840 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
| 1841 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 1842 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
| 1843 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
| 1844 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2) | |
| 1845 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
| 1846 | end | |
| 1847 | - | chatfunc("BURN....", BrickColor.random().Color)
|
| 1847 | + | |
| 1848 | Cso("483458132", char, 10, .7)
| |
| 1849 | Cso("483458132", char, 10, 1)
| |
| 1850 | CameraEnshaking(6, 65) | |
| 1851 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1852 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1853 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
| |
| 1854 | Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
| |
| 1855 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
| |
| 1856 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
| |
| 1857 | - | chatfunc("IN....", BrickColor.random().Color)
|
| 1857 | + | |
| 1858 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere")
| |
| 1859 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
| |
| 1860 | Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really black"), "Sphere")
| |
| 1861 | Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really black"), "Sphere")
| |
| 1862 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do | |
| 1863 | if v:FindFirstChild("Head") then
| |
| 1864 | Eviscerate(v) | |
| 1865 | - | chatfunc("Bacon HELL", BrickColor.random().Color)
|
| 1865 | + | |
| 1866 | end | |
| 1867 | for i = 0, 15, 0.1 do | |
| 1868 | swait() | |
| 1869 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2) | |
| 1870 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 1871 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
| 1872 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
| 1873 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2) | |
| 1874 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
| 1875 | end | |
| 1876 | M2.Scale = Vector3.new(1, 1, 1) | |
| 1877 | attack = false | |
| 1878 | end | |
| 1879 | function GalaBomb() | |
| 1880 | attack = true | |
| 1881 | chatfunc("time to pay, skid", BrickColor.new("Really black").Color)
| |
| 1882 | Cso("2755928629", hed, 3.5, 1)
| |
| 1883 | local orb = Instance.new("Part", char)
| |
| 1884 | orb.Anchored = true | |
| 1885 | orb.BrickColor = BrickC("Really black")
| |
| 1886 | orb.CanCollide = false | |
| 1887 | orb.FormFactor = 3 | |
| 1888 | orb.Name = "Ring" | |
| 1889 | orb.Material = "Neon" | |
| 1890 | orb.Size = Vector3.new(1, 1, 1) | |
| 1891 | orb.Transparency = 0 | |
| 1892 | orb.TopSurface = 0 | |
| 1893 | orb.BottomSurface = 0 | |
| 1894 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 1895 | orbm.MeshType = "Sphere" | |
| 1896 | orbm.Name = "SizeMesh" | |
| 1897 | orbm.Scale = Vector3.new(0, 0, 0) | |
| 1898 | local scaled = 0.1 | |
| 1899 | local posid = 0 | |
| 1900 | for i = 0, 12, 0.1 do | |
| 1901 | swait() | |
| 1902 | scaled = scaled + 0.001 | |
| 1903 | posid = posid - scaled | |
| 1904 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
| 1905 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
| 1906 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.1) | |
| 1907 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-25)), 0.1) | |
| 1908 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1) | |
| 1909 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1) | |
| 1910 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1) | |
| 1911 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1) | |
| 1912 | end | |
| 1913 | for i = 0, 2, 0.1 do | |
| 1914 | swait() | |
| 1915 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-30)), 0.1) | |
| 1916 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(30)), 0.1) | |
| 1917 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1) | |
| 1918 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1) | |
| 1919 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1) | |
| 1920 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1) | |
| 1921 | end | |
| 1922 | coroutine.resume(coroutine.create(function() | |
| 1923 | orb.Anchored = false | |
| 1924 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
| |
| 1925 | local a = Instance.new("Part", workspace)
| |
| 1926 | a.Name = "Direction" | |
| 1927 | a.Anchored = true | |
| 1928 | a.BrickColor = BrickC("Really black")
| |
| 1929 | - | chatfunc("Its Payback TIme!.", Color3.new(0, 0, 0))
|
| 1929 | + | |
| 1930 | a.Transparency = 1 | |
| 1931 | a.CanCollide = false | |
| 1932 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
| 1933 | local ignore = orb | |
| 1934 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 1935 | a.BottomSurface = 10 | |
| 1936 | a.TopSurface = 10 | |
| 1937 | local distance = (orb.CFrame.p - position).magnitude | |
| 1938 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 1939 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 1940 | orb.CFrame = a.CFrame | |
| 1941 | a:Destroy() | |
| 1942 | local bv = Instance.new("BodyVelocity")
| |
| 1943 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
| 1944 | bv.velocity = orb.CFrame.lookVector * 125 | |
| 1945 | bv.Parent = orb | |
| 1946 | local hitted = false | |
| 1947 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 1948 | swait() | |
| 1949 | local hit = orb.Touched:connect(function(hit) | |
| 1950 | if hitted == false then | |
| 1951 | hitted = true | |
| 1952 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
| |
| 1953 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
| 1954 | if v:FindFirstChild("Head") then
| |
| 1955 | Eviscerate(v) | |
| 1956 | end | |
| 1957 | end | |
| 1958 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
| |
| 1959 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
| |
| 1960 | for i = 0, 9 do | |
| 1961 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
| |
| 1962 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
| |
| 1963 | end | |
| 1964 | orb.Anchored = true | |
| 1965 | orb.Transparency = 1 | |
| 1966 | wait(8) | |
| 1967 | orb:Destroy() | |
| 1968 | end | |
| 1969 | end) | |
| 1970 | end)) | |
| 1971 | for i = 0, 1, 0.1 do | |
| 1972 | swait() | |
| 1973 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
| 1974 | - | chatfunc("time to die Abuser!!!!!.", BrickColor.new("Really black").Color)
|
| 1974 | + | |
| 1975 | - | Cso("464600985", hed, 3.5, 1)
|
| 1975 | + | |
| 1976 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
| 1977 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
| 1978 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
| 1979 | end | |
| 1980 | attack = false | |
| 1981 | end | |
| 1982 | ------------------------------------------------------- | |
| 1983 | --End Attacks N Stuff-- | |
| 1984 | ------------------------------------------------------- | |
| 1985 | mouse.KeyDown:connect(function(key) | |
| 1986 | if string.byte(key) == 48 then | |
| 1987 | Swing = 2 | |
| 1988 | hum.WalkSpeed = 38.82 | |
| 1989 | end | |
| 1990 | end) | |
| 1991 | mouse.KeyUp:connect(function(key) | |
| 1992 | if string.byte(key) == 48 then | |
| 1993 | Swing = 1 | |
| 1994 | hum.WalkSpeed = 16 | |
| 1995 | end | |
| 1996 | end) | |
| 1997 | mouse.KeyDown:connect(function(key) | |
| 1998 | if attack == false then | |
| 1999 | if key == 'e' then | |
| 2000 | BigBan() | |
| 2001 | elseif key == 'v' then | |
| 2002 | GalaBomb() | |
| 2003 | elseif key == 'r' then | |
| 2004 | BANN() | |
| 2005 | elseif key == 'q' then | |
| 2006 | TUSKOR661() | |
| 2007 | elseif key == 'z' then | |
| 2008 | BURN_IN_HELL() | |
| 2009 | elseif key == 'f' then | |
| 2010 | dash() | |
| 2011 | elseif key == 'c' then | |
| 2012 | Call_Upon_The_Eyes() | |
| 2013 | elseif key == 'x' then | |
| 2014 | Eyeyeyeyeyeyey_Slammo() | |
| 2015 | elseif key == 't' then | |
| 2016 | Cso("2755928629", hed, 10, 1)
| |
| 2017 | chatfunc("such a skid", BrickColor.random().Color)
| |
| 2018 | wait(2) | |
| 2019 | end | |
| 2020 | end | |
| 2021 | end) | |
| 2022 | mouse.Button1Down:connect(function(key) | |
| 2023 | if attack == false then | |
| 2024 | Ban() | |
| 2025 | end | |
| 2026 | end) | |
| 2027 | ||
| 2028 | ||
| 2029 | ||
| 2030 | ||
| 2031 | ||
| 2032 | ||
| 2033 | ||
| 2034 | ------------------------------------------------------- | |
| 2035 | --Start Animations-- | |
| 2036 | ------------------------------------------------------- | |
| 2037 | while true do | |
| 2038 | swait() | |
| 2039 | sine = sine + change | |
| 2040 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2041 | local velderp = root.Velocity.y | |
| 2042 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 2043 | if equipped == true or equipped == false then | |
| 2044 | if attack == false then | |
| 2045 | idle = idle + 1 | |
| 2046 | else | |
| 2047 | idle = 0 | |
| 2048 | end | |
| 2049 | --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
| 2050 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 2051 | Anim = "Jump" | |
| 2052 | if attack == false then | |
| 2053 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15) | |
| 2054 | 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) | |
| 2055 | 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) | |
| 2056 | 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) | |
| 2057 | 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) | |
| 2058 | 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) | |
| 2059 | end | |
| 2060 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 2061 | Anim = "Fall" | |
| 2062 | if attack == false then | |
| 2063 | 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) | |
| 2064 | 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) | |
| 2065 | 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) | |
| 2066 | 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) | |
| 2067 | 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) | |
| 2068 | 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) | |
| 2069 | end | |
| 2070 | elseif torvel < 1 and hitfloor ~= nil then | |
| 2071 | Anim = "Idle" | |
| 2072 | change = 1 | |
| 2073 | if attack == false then | |
| 2074 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2075 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2076 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2077 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2078 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1) | |
| 2079 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2080 | end | |
| 2081 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 2082 | Anim = "Walk" | |
| 2083 | change = 1 | |
| 2084 | if attack == false then | |
| 2085 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
| 2086 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2087 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2088 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2089 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1) | |
| 2090 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) | |
| 2091 | end | |
| 2092 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 2093 | Anim = "Sprint" | |
| 2094 | change = 1.35 | |
| 2095 | if attack == false then | |
| 2096 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
| 2097 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2098 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2099 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2100 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2101 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
| 2102 | end | |
| 2103 | end | |
| 2104 | end | |
| 2105 | Music.SoundId = "rbxassetid://"..SONG | |
| 2106 | Music.Looped = true | |
| 2107 | - | Cso("1450018171", hed, 10, 1)
|
| 2107 | + | |
| 2108 | Music.Volume = 1.5 | |
| 2109 | Music.Parent = tors | |
| 2110 | Music:Resume() | |
| 2111 | if 0 < #Effects then | |
| 2112 | for e = 1, #Effects do | |
| 2113 | if Effects[e] ~= nil then | |
| 2114 | local Thing = Effects[e] | |
| 2115 | if Thing ~= nil then | |
| 2116 | local Part = Thing[1] | |
| 2117 | local Mode = Thing[2] | |
| 2118 | local Delay = Thing[3] | |
| 2119 | local IncX = Thing[4] | |
| 2120 | local IncY = Thing[5] | |
| 2121 | local IncZ = Thing[6] | |
| 2122 | if 1 >= Thing[1].Transparency then | |
| 2123 | if Thing[2] == "Block1" then | |
| 2124 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2125 | local Mesh = Thing[1].Mesh | |
| 2126 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2127 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2128 | elseif Thing[2] == "Block2" then | |
| 2129 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2130 | local Mesh = Thing[7] | |
| 2131 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2132 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2133 | elseif Thing[2] == "Block3" then | |
| 2134 | 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) | |
| 2135 | local Mesh = Thing[7] | |
| 2136 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2137 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2138 | elseif Thing[2] == "Cylinder" then | |
| 2139 | local Mesh = Thing[1].Mesh | |
| 2140 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2141 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2142 | elseif Thing[2] == "Blood" then | |
| 2143 | local Mesh = Thing[7] | |
| 2144 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 2145 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2146 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2147 | elseif Thing[2] == "Elec" then | |
| 2148 | local Mesh = Thing[1].Mesh | |
| 2149 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2150 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2151 | elseif Thing[2] == "Disappear" then | |
| 2152 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2153 | elseif Thing[2] == "Shatter" then | |
| 2154 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2155 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2156 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2157 | Thing[6] = Thing[6] + Thing[5] | |
| 2158 | end | |
| 2159 | else | |
| 2160 | Part.Parent = nil | |
| 2161 | table.remove(Effects, e) | |
| 2162 | end | |
| 2163 | end | |
| 2164 | end | |
| 2165 | end | |
| 2166 | end | |
| 2167 | end | |
| 2168 | ------------------------------------------------------- | |
| 2169 | --End Animations And Script-- | |
| 2170 | ------------------------------------------------------- |