SHOW:
|
|
- or go back to the newest paste.
| 1 | --]] | |
| 2 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 5 | local RealPlayer = Player | |
| 6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 7 | ||
| 8 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 9 | function sandbox(var,func) | |
| 10 | local env = getfenv(func) | |
| 11 | local newenv = setmetatable({},{
| |
| 12 | __index = function(self,k) | |
| 13 | if k=="script" then | |
| 14 | return var | |
| 15 | else | |
| 16 | return env[k] | |
| 17 | end | |
| 18 | end, | |
| 19 | }) | |
| 20 | setfenv(func,newenv) | |
| 21 | return func | |
| 22 | end | |
| 23 | cors = {}
| |
| 24 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 25 | LocalScript0 = Instance.new("LocalScript")
| |
| 26 | Model1 = Instance.new("Model")
| |
| 27 | UnionOperation2 = Instance.new("UnionOperation")
| |
| 28 | Weld3 = Instance.new("Weld")
| |
| 29 | Part4 = Instance.new("Part")
| |
| 30 | UnionOperation5 = Instance.new("UnionOperation")
| |
| 31 | Weld6 = Instance.new("Weld")
| |
| 32 | Model7 = Instance.new("Model")
| |
| 33 | UnionOperation8 = Instance.new("UnionOperation")
| |
| 34 | Weld9 = Instance.new("Weld")
| |
| 35 | UnionOperation10 = Instance.new("UnionOperation")
| |
| 36 | Weld11 = Instance.new("Weld")
| |
| 37 | Part12 = Instance.new("Part")
| |
| 38 | Model13 = Instance.new("Model")
| |
| 39 | UnionOperation14 = Instance.new("UnionOperation")
| |
| 40 | Weld15 = Instance.new("Weld")
| |
| 41 | MeshPart16 = Instance.new("MeshPart")
| |
| 42 | Weld17 = Instance.new("Weld")
| |
| 43 | MeshPart18 = Instance.new("MeshPart")
| |
| 44 | Weld19 = Instance.new("Weld")
| |
| 45 | Part20 = Instance.new("Part")
| |
| 46 | MeshPart21 = Instance.new("MeshPart")
| |
| 47 | Weld22 = Instance.new("Weld")
| |
| 48 | MeshPart23 = Instance.new("MeshPart")
| |
| 49 | Weld24 = Instance.new("Weld")
| |
| 50 | Model25 = Instance.new("Model")
| |
| 51 | UnionOperation26 = Instance.new("UnionOperation")
| |
| 52 | Weld27 = Instance.new("Weld")
| |
| 53 | Part28 = Instance.new("Part")
| |
| 54 | UnionOperation29 = Instance.new("UnionOperation")
| |
| 55 | Weld30 = Instance.new("Weld")
| |
| 56 | UnionOperation31 = Instance.new("UnionOperation")
| |
| 57 | Model32 = Instance.new("Model")
| |
| 58 | MeshPart33 = Instance.new("MeshPart")
| |
| 59 | Weld34 = Instance.new("Weld")
| |
| 60 | Part35 = Instance.new("Part")
| |
| 61 | MeshPart36 = Instance.new("MeshPart")
| |
| 62 | Weld37 = Instance.new("Weld")
| |
| 63 | MeshPart38 = Instance.new("MeshPart")
| |
| 64 | Weld39 = Instance.new("Weld")
| |
| 65 | MeshPart40 = Instance.new("MeshPart")
| |
| 66 | Weld41 = Instance.new("Weld")
| |
| 67 | UnionOperation42 = Instance.new("UnionOperation")
| |
| 68 | Weld43 = Instance.new("Weld")
| |
| 69 | MeshPart44 = Instance.new("MeshPart")
| |
| 70 | ParticleEmitter45 = Instance.new("ParticleEmitter")
| |
| 71 | ParticleEmitter46 = Instance.new("ParticleEmitter")
| |
| 72 | ParticleEmitter47 = Instance.new("ParticleEmitter")
| |
| 73 | ParticleEmitter48 = Instance.new("ParticleEmitter")
| |
| 74 | Script49 = Instance.new("Script")
| |
| 75 | LocalScript0.Name = "Death" | |
| 76 | LocalScript0.Parent = mas | |
| 77 | table.insert(cors,sandbox(LocalScript0,function() | |
| 78 | --//====================================================\\-- | |
| 79 | --|| CREATED BY SHACKLUSTER | |
| 80 | --\\====================================================//-- | |
| 81 | ||
| 82 | ||
| 83 | wait(0.2) | |
| 84 | ||
| 85 | Player = game:GetService("Players").LocalPlayer
| |
| 86 | PlayerGui = Player.PlayerGui | |
| 87 | Cam = workspace.CurrentCamera | |
| 88 | Backpack = Player.Backpack | |
| 89 | Character = Player.Character | |
| 90 | Humanoid = Character.Humanoid | |
| 91 | Mouse = Player:GetMouse() | |
| 92 | RootPart = Character["HumanoidRootPart"] | |
| 93 | Torso = Character["Torso"] | |
| 94 | Head = Character["Head"] | |
| 95 | RightArm = Character["Right Arm"] | |
| 96 | LeftArm = Character["Left Arm"] | |
| 97 | RightLeg = Character["Right Leg"] | |
| 98 | LeftLeg = Character["Left Leg"] | |
| 99 | RootJoint = RootPart["RootJoint"] | |
| 100 | Neck = Torso["Neck"] | |
| 101 | RightShoulder = Torso["Right Shoulder"] | |
| 102 | LeftShoulder = Torso["Left Shoulder"] | |
| 103 | RightHip = Torso["Right Hip"] | |
| 104 | LeftHip = Torso["Left Hip"] | |
| 105 | local sick = Instance.new("Sound",Character)
| |
| 106 | ||
| 107 | IT = Instance.new | |
| 108 | CF = CFrame.new | |
| 109 | VT = Vector3.new | |
| 110 | RAD = math.rad | |
| 111 | C3 = Color3.new | |
| 112 | UD2 = UDim2.new | |
| 113 | BRICKC = BrickColor.new | |
| 114 | ANGLES = CFrame.Angles | |
| 115 | EULER = CFrame.fromEulerAnglesXYZ | |
| 116 | COS = math.cos | |
| 117 | ACOS = math.acos | |
| 118 | SIN = math.sin | |
| 119 | ASIN = math.asin | |
| 120 | ABS = math.abs | |
| 121 | MRANDOM = math.random | |
| 122 | FLOOR = math.floor | |
| 123 | ||
| 124 | --//=================================\\ | |
| 125 | --|| USEFUL VALUES | |
| 126 | --\\=================================// | |
| 127 | ||
| 128 | Animation_Speed = 3 | |
| 129 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 130 | local Speed = 46 | |
| 131 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 132 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 133 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 134 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 135 | local DAMAGEMULTIPLIER = 1 | |
| 136 | local ANIM = "Idle" | |
| 137 | local ATTACK = false | |
| 138 | local EQUIPPED = false | |
| 139 | local HOLD = false | |
| 140 | local COMBO = 1 | |
| 141 | local Rooted = false | |
| 142 | local SINE = 0 | |
| 143 | local KEYHOLD = false | |
| 144 | local CHANGE = 2 / Animation_Speed | |
| 145 | local WALKINGANIM = false | |
| 146 | local VALUE1 = false | |
| 147 | local VALUE2 = false | |
| 148 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 149 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 150 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 151 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 152 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 153 | WEAPONGUI.Name = "ReaperGUI" | |
| 154 | local Effects = IT("Folder", Character)
| |
| 155 | Effects.Name = "Effects" | |
| 156 | local ANIMATOR = Humanoid.Animator | |
| 157 | local ANIMATE = Character.Animate | |
| 158 | local UNANCHOR = true | |
| 159 | ||
| 160 | --//=================================\\ | |
| 161 | --\\=================================// | |
| 162 | ||
| 163 | ||
| 164 | --//=================================\\ | |
| 165 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 166 | --\\=================================// | |
| 167 | ||
| 168 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 169 | ArtificialHB.Name = "ArtificialHB" | |
| 170 | ||
| 171 | script:WaitForChild("ArtificialHB")
| |
| 172 | ||
| 173 | frame = Frame_Speed | |
| 174 | tf = 0 | |
| 175 | allowframeloss = false | |
| 176 | tossremainder = false | |
| 177 | lastframe = tick() | |
| 178 | script.ArtificialHB:Fire() | |
| 179 | ||
| 180 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 181 | tf = tf + s | |
| 182 | if tf >= frame then | |
| 183 | if allowframeloss then | |
| 184 | script.ArtificialHB:Fire() | |
| 185 | lastframe = tick() | |
| 186 | else | |
| 187 | for i = 1, math.floor(tf / frame) do | |
| 188 | script.ArtificialHB:Fire() | |
| 189 | end | |
| 190 | lastframe = tick() | |
| 191 | end | |
| 192 | if tossremainder then | |
| 193 | tf = 0 | |
| 194 | else | |
| 195 | tf = tf - frame * math.floor(tf / frame) | |
| 196 | end | |
| 197 | end | |
| 198 | end) | |
| 199 | ||
| 200 | --//=================================\\ | |
| 201 | --\\=================================// | |
| 202 | ||
| 203 | --//=================================\\ | |
| 204 | --|| SOME FUNCTIONS | |
| 205 | --\\=================================// | |
| 206 | ||
| 207 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 208 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 209 | end | |
| 210 | ||
| 211 | function PositiveAngle(NUMBER) | |
| 212 | if NUMBER >= 0 then | |
| 213 | NUMBER = 0 | |
| 214 | end | |
| 215 | return NUMBER | |
| 216 | end | |
| 217 | ||
| 218 | function NegativeAngle(NUMBER) | |
| 219 | if NUMBER <= 0 then | |
| 220 | NUMBER = 0 | |
| 221 | end | |
| 222 | return NUMBER | |
| 223 | end | |
| 224 | ||
| 225 | function Swait(NUMBER) | |
| 226 | if NUMBER == 0 or NUMBER == nil then | |
| 227 | ArtificialHB.Event:wait() | |
| 228 | else | |
| 229 | for i = 1, NUMBER do | |
| 230 | ArtificialHB.Event:wait() | |
| 231 | end | |
| 232 | end | |
| 233 | end | |
| 234 | ||
| 235 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 236 | local NEWMESH = IT(MESH) | |
| 237 | if MESH == "SpecialMesh" then | |
| 238 | NEWMESH.MeshType = MESHTYPE | |
| 239 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 240 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 241 | end | |
| 242 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 243 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 244 | end | |
| 245 | end | |
| 246 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 247 | NEWMESH.Scale = SCALE | |
| 248 | NEWMESH.Parent = PARENT | |
| 249 | return NEWMESH | |
| 250 | end | |
| 251 | ||
| 252 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 253 | local NEWPART = IT("Part")
| |
| 254 | NEWPART.formFactor = FORMFACTOR | |
| 255 | NEWPART.Reflectance = REFLECTANCE | |
| 256 | NEWPART.Transparency = TRANSPARENCY | |
| 257 | NEWPART.CanCollide = false | |
| 258 | NEWPART.Locked = true | |
| 259 | NEWPART.Anchored = true | |
| 260 | if ANCHOR == false then | |
| 261 | NEWPART.Anchored = false | |
| 262 | end | |
| 263 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 264 | NEWPART.Name = NAME | |
| 265 | NEWPART.Size = SIZE | |
| 266 | NEWPART.Position = Torso.Position | |
| 267 | NEWPART.Material = MATERIAL | |
| 268 | NEWPART:BreakJoints() | |
| 269 | NEWPART.Parent = PARENT | |
| 270 | return NEWPART | |
| 271 | end | |
| 272 | ||
| 273 | local function weldBetween(a, b) | |
| 274 | local weldd = Instance.new("ManualWeld")
| |
| 275 | weldd.Part0 = a | |
| 276 | weldd.Part1 = b | |
| 277 | weldd.C0 = CFrame.new() | |
| 278 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 279 | weldd.Parent = a | |
| 280 | return weldd | |
| 281 | end | |
| 282 | ||
| 283 | ||
| 284 | function QuaternionFromCFrame(cf) | |
| 285 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 286 | local trace = m00 + m11 + m22 | |
| 287 | if trace > 0 then | |
| 288 | local s = math.sqrt(1 + trace) | |
| 289 | local recip = 0.5 / s | |
| 290 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 291 | else | |
| 292 | local i = 0 | |
| 293 | if m11 > m00 then | |
| 294 | i = 1 | |
| 295 | end | |
| 296 | if m22 > (i == 0 and m00 or m11) then | |
| 297 | i = 2 | |
| 298 | end | |
| 299 | if i == 0 then | |
| 300 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 301 | local recip = 0.5 / s | |
| 302 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 303 | elseif i == 1 then | |
| 304 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 305 | local recip = 0.5 / s | |
| 306 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 307 | elseif i == 2 then | |
| 308 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 309 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 310 | end | |
| 311 | end | |
| 312 | end | |
| 313 | ||
| 314 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 315 | local xs, ys, zs = x + x, y + y, z + z | |
| 316 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 317 | local xx = x * xs | |
| 318 | local xy = x * ys | |
| 319 | local xz = x * zs | |
| 320 | local yy = y * ys | |
| 321 | local yz = y * zs | |
| 322 | local zz = z * zs | |
| 323 | 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)) | |
| 324 | end | |
| 325 | ||
| 326 | function QuaternionSlerp(a, b, t) | |
| 327 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 328 | local startInterp, finishInterp; | |
| 329 | if cosTheta >= 0.0001 then | |
| 330 | if (1 - cosTheta) > 0.0001 then | |
| 331 | local theta = ACOS(cosTheta) | |
| 332 | local invSinTheta = 1 / SIN(theta) | |
| 333 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 334 | finishInterp = SIN(t * theta) * invSinTheta | |
| 335 | else | |
| 336 | startInterp = 1 - t | |
| 337 | finishInterp = t | |
| 338 | end | |
| 339 | else | |
| 340 | if (1 + cosTheta) > 0.0001 then | |
| 341 | local theta = ACOS(-cosTheta) | |
| 342 | local invSinTheta = 1 / SIN(theta) | |
| 343 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 344 | finishInterp = SIN(t * theta) * invSinTheta | |
| 345 | else | |
| 346 | startInterp = t - 1 | |
| 347 | finishInterp = t | |
| 348 | end | |
| 349 | end | |
| 350 | 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 | |
| 351 | end | |
| 352 | ||
| 353 | function Clerp(a, b, t) | |
| 354 | local qa = {QuaternionFromCFrame(a)}
| |
| 355 | local qb = {QuaternionFromCFrame(b)}
| |
| 356 | local ax, ay, az = a.x, a.y, a.z | |
| 357 | local bx, by, bz = b.x, b.y, b.z | |
| 358 | local _t = 1 - t | |
| 359 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 360 | end | |
| 361 | ||
| 362 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 363 | local frame = IT("Frame")
| |
| 364 | frame.BackgroundTransparency = TRANSPARENCY | |
| 365 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 366 | frame.Position = POSITION | |
| 367 | frame.Size = SIZE | |
| 368 | frame.BackgroundColor3 = COLOR | |
| 369 | frame.BorderColor3 = BORDERCOLOR | |
| 370 | frame.Name = NAME | |
| 371 | frame.Parent = PARENT | |
| 372 | return frame | |
| 373 | end | |
| 374 | ||
| 375 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 376 | local label = IT("TextLabel")
| |
| 377 | label.BackgroundTransparency = 1 | |
| 378 | label.Size = UD2(1, 0, 1, 0) | |
| 379 | label.Position = UD2(0, 0, 0, 0) | |
| 380 | label.TextColor3 = TEXTCOLOR | |
| 381 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 382 | label.TextTransparency = TRANSPARENCY | |
| 383 | label.FontSize = TEXTFONTSIZE | |
| 384 | label.Font = TEXTFONT | |
| 385 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 386 | label.TextScaled = false | |
| 387 | label.Text = TEXT | |
| 388 | label.Name = NAME | |
| 389 | label.Parent = PARENT | |
| 390 | return label | |
| 391 | end | |
| 392 | ||
| 393 | function NoOutlines(PART) | |
| 394 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 395 | end | |
| 396 | ||
| 397 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 398 | local NEWWELD = IT(TYPE) | |
| 399 | NEWWELD.Part0 = PART0 | |
| 400 | NEWWELD.Part1 = PART1 | |
| 401 | NEWWELD.C0 = C0 | |
| 402 | NEWWELD.C1 = C1 | |
| 403 | NEWWELD.Parent = PARENT | |
| 404 | return NEWWELD | |
| 405 | end | |
| 406 | ||
| 407 | local S = IT("Sound")
| |
| 408 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 409 | local NEWSOUND = nil | |
| 410 | coroutine.resume(coroutine.create(function() | |
| 411 | NEWSOUND = S:Clone() | |
| 412 | NEWSOUND.Parent = PARENT | |
| 413 | NEWSOUND.Volume = VOLUME | |
| 414 | NEWSOUND.Pitch = PITCH | |
| 415 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 416 | NEWSOUND:play() | |
| 417 | if DOESLOOP == true then | |
| 418 | NEWSOUND.Looped = true | |
| 419 | else | |
| 420 | local REPOSITION = NEWSOUND.AncestryChanged:Connect(function() | |
| 421 | NEWSOUND.Parent = PARENT | |
| 422 | end) | |
| 423 | repeat wait(1) until NEWSOUND.Playing == false | |
| 424 | REPOSITION:disconnect() | |
| 425 | NEWSOUND:remove() | |
| 426 | end | |
| 427 | end)) | |
| 428 | return NEWSOUND | |
| 429 | end | |
| 430 | ||
| 431 | function CFrameFromTopBack(at, top, back) | |
| 432 | local right = top:Cross(back) | |
| 433 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 434 | end | |
| 435 | ||
| 436 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 437 | function WACKYEFFECT(Table) | |
| 438 | local TYPE = (Table.EffectType or "Sphere") | |
| 439 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 440 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 441 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 442 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 443 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 444 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 445 | local ROTATION1 = (Table.RotationX or 0) | |
| 446 | local ROTATION2 = (Table.RotationY or 0) | |
| 447 | local ROTATION3 = (Table.RotationZ or 0) | |
| 448 | local MATERIAL = (Table.Material or "Neon") | |
| 449 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 450 | local TIME = (Table.Time or 45) | |
| 451 | local SOUNDID = (Table.SoundID or nil) | |
| 452 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 453 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 454 | coroutine.resume(coroutine.create(function() | |
| 455 | local PLAYSSOUND = false | |
| 456 | local SOUND = nil | |
| 457 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 458 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 459 | PLAYSSOUND = true | |
| 460 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 461 | end | |
| 462 | EFFECT.Color = COLOR | |
| 463 | local MSH = nil | |
| 464 | if TYPE == "Sphere" then | |
| 465 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 466 | elseif TYPE == "Block" then | |
| 467 | MSH = IT("BlockMesh",EFFECT)
| |
| 468 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 469 | elseif TYPE == "Wave" then | |
| 470 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 471 | elseif TYPE == "Ring" then | |
| 472 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 473 | elseif TYPE == "Slash" then | |
| 474 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 475 | elseif TYPE == "Round Slash" then | |
| 476 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 477 | elseif TYPE == "Swirl" then | |
| 478 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 479 | elseif TYPE == "Skull" then | |
| 480 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 481 | elseif TYPE == "Crystal" then | |
| 482 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 483 | end | |
| 484 | if MSH ~= nil then | |
| 485 | local MOVESPEED = nil | |
| 486 | if MOVEDIRECTION ~= nil then | |
| 487 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 488 | end | |
| 489 | local GROWTH = SIZE - ENDSIZE | |
| 490 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 491 | if TYPE == "Block" then | |
| 492 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 493 | else | |
| 494 | EFFECT.CFrame = CFRAME | |
| 495 | end | |
| 496 | for LOOP = 1, TIME+1 do | |
| 497 | Swait() | |
| 498 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 499 | if TYPE == "Wave" then | |
| 500 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 501 | end | |
| 502 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 503 | if TYPE == "Block" then | |
| 504 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 505 | else | |
| 506 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 507 | end | |
| 508 | if MOVEDIRECTION ~= nil then | |
| 509 | local ORI = EFFECT.Orientation | |
| 510 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 511 | EFFECT.Orientation = ORI | |
| 512 | end | |
| 513 | end | |
| 514 | EFFECT.Transparency = 1 | |
| 515 | if PLAYSSOUND == false then | |
| 516 | EFFECT:remove() | |
| 517 | else | |
| 518 | repeat Swait() until SOUND.Playing == false | |
| 519 | EFFECT:remove() | |
| 520 | end | |
| 521 | else | |
| 522 | if PLAYSSOUND == false then | |
| 523 | EFFECT:remove() | |
| 524 | else | |
| 525 | repeat Swait() until SOUND.Playing == false | |
| 526 | EFFECT:remove() | |
| 527 | end | |
| 528 | end | |
| 529 | end)) | |
| 530 | end | |
| 531 | ||
| 532 | function Shatter(Part) | |
| 533 | if Part.Transparency < 1 then | |
| 534 | local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0)) | |
| 535 | Debris:AddItem(SOUNDPART,5) | |
| 536 | CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
| |
| 537 | local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z | |
| 538 | local SIZESET = SIZE/4 | |
| 539 | local XOffset = Part.Size.X*1.5/SIZESET | |
| 540 | local YOffset = Part.Size.Y*1.5/SIZESET | |
| 541 | local ZOffset = Part.Size.Z*1.5/SIZESET | |
| 542 | for x = 1, math.ceil(XOffset) do | |
| 543 | for y = 1, math.ceil(YOffset) do | |
| 544 | for z = 1, math.ceil(ZOffset) do | |
| 545 | local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false) | |
| 546 | SHARD.CanCollide = true | |
| 547 | SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4)) | |
| 548 | SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3 | |
| 549 | Debris:AddItem(SHARD,MRANDOM(10,25)/10) | |
| 550 | for _, c in pairs(Part:GetChildren()) do | |
| 551 | if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then | |
| 552 | c:Clone().Parent = SHARD | |
| 553 | end | |
| 554 | end | |
| 555 | end | |
| 556 | end | |
| 557 | end | |
| 558 | end | |
| 559 | Part:remove() | |
| 560 | end | |
| 561 | ||
| 562 | --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
| |
| 563 | function Lightning(Table) | |
| 564 | local Color = Table.Color or C3(1,1,1) | |
| 565 | local StartPos = Table.Start or Torso.Position | |
| 566 | local EndPos = Table.End or Mouse.Hit.p | |
| 567 | local SegmentLength = Table.SegmentL or 2 | |
| 568 | local Thickness = Table.Thickness or 0.1 | |
| 569 | local Dissapear = Table.DoesFade or false | |
| 570 | local Parent = Table.Ignore or Character | |
| 571 | local MaxDist = Table.MaxDist or 400 | |
| 572 | local Branches = Table.Branches or false | |
| 573 | local Thicken = Table.Thicken or false | |
| 574 | local FadeTime = Table.FadeTime or 15 | |
| 575 | local FadeIn = Table.FadeIn or false | |
| 576 | local Material = Table.Material or "Neon" | |
| 577 | local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) | |
| 578 | local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5)) | |
| 579 | local LIGHTNINGMODEL = IT("Model",Effects)
| |
| 580 | LIGHTNINGMODEL.Name = "Lightning" | |
| 581 | local LastBolt = nil | |
| 582 | for E = 1, DISTANCE do | |
| 583 | local ExtraSize = 0 | |
| 584 | if Thicken == true then | |
| 585 | ExtraSize = (DISTANCE-E)/15 | |
| 586 | end | |
| 587 | local TRANSPARENCY = 0 | |
| 588 | if FadeIn == true then | |
| 589 | TRANSPARENCY = 1-(E/(DISTANCE/1.5)) | |
| 590 | if TRANSPARENCY < 0 then | |
| 591 | TRANSPARENCY = 0 | |
| 592 | end | |
| 593 | end | |
| 594 | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
| |
| 595 | PART.Color = Color | |
| 596 | MakeForm(PART,"Cyl") | |
| 597 | if LastBolt == nil then | |
| 598 | PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 599 | else | |
| 600 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 601 | end | |
| 602 | LastBolt = PART | |
| 603 | if Branches == true and E < (DISTANCE-5) then | |
| 604 | local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) | |
| 605 | if CHOICE == 1 then | |
| 606 | local LASTBRANCH = nil | |
| 607 | for i = 1, MRANDOM(2,5) do | |
| 608 | local ExtraSize2 = 0 | |
| 609 | if Thicken == true then | |
| 610 | ExtraSize = ((DISTANCE-E)/25)/i | |
| 611 | end | |
| 612 | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
| |
| 613 | PART.Color = Color | |
| 614 | MakeForm(PART,"Cyl") | |
| 615 | if LASTBRANCH == nil then | |
| 616 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 617 | else | |
| 618 | PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 619 | end | |
| 620 | LASTBRANCH = PART | |
| 621 | end | |
| 622 | end | |
| 623 | end | |
| 624 | end | |
| 625 | if Dissapear == true then | |
| 626 | coroutine.resume(coroutine.create(function() | |
| 627 | for i = 1, FadeTime do | |
| 628 | Swait() | |
| 629 | for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do | |
| 630 | if c.ClassName == "Part" then | |
| 631 | c.Transparency = c.Transparency + (i/FadeTime)/10 | |
| 632 | end | |
| 633 | end | |
| 634 | end | |
| 635 | LIGHTNINGMODEL:remove() | |
| 636 | end)) | |
| 637 | elseif Dissapear == false then | |
| 638 | Debris:AddItem(LIGHTNINGMODEL,0.1) | |
| 639 | end | |
| 640 | return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
| |
| 641 | end | |
| 642 | ||
| 643 | function MakeForm(PART,TYPE) | |
| 644 | if TYPE == "Cyl" then | |
| 645 | local MSH = IT("CylinderMesh",PART)
| |
| 646 | elseif TYPE == "Ball" then | |
| 647 | local MSH = IT("SpecialMesh",PART)
| |
| 648 | MSH.MeshType = "Sphere" | |
| 649 | elseif TYPE == "Wedge" then | |
| 650 | local MSH = IT("SpecialMesh",PART)
| |
| 651 | MSH.MeshType = "Wedge" | |
| 652 | end | |
| 653 | end | |
| 654 | ||
| 655 | Debris = game:GetService("Debris")
| |
| 656 | ||
| 657 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 658 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 659 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 660 | end | |
| 661 | ||
| 662 | function turnto(position) | |
| 663 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 664 | end | |
| 665 | ||
| 666 | --//=================================\\ | |
| 667 | --|| WEAPON CREATION | |
| 668 | --\\=================================// | |
| 669 | ||
| 670 | local BASECOLOR = C3(50/255, 25/255, 25/255) | |
| 671 | local BONE = script.SpinePart | |
| 672 | BONE.Parent = nil | |
| 673 | ||
| 674 | Head:ClearAllChildren() | |
| 675 | ||
| 676 | for _, c in pairs(Character:GetChildren()) do | |
| 677 | if script:FindFirstChild(c.Name) then | |
| 678 | local Part = script[c.Name] | |
| 679 | Part.Parent = Character | |
| 680 | Part.Base.Anchored = false | |
| 681 | Part:SetPrimaryPartCFrame(c.CFrame) | |
| 682 | weldBetween(c,Part.Base) | |
| 683 | c.Transparency = 1 | |
| 684 | for _, e in pairs(Part:GetChildren()) do | |
| 685 | if e:IsA("BasePart") then
| |
| 686 | e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 687 | end | |
| 688 | end | |
| 689 | end | |
| 690 | end | |
| 691 | ||
| 692 | local SCYTHE = script.ThrowScythe | |
| 693 | SCYTHE.Parent = nil | |
| 694 | ||
| 695 | local GUN = script.Gun | |
| 696 | GUN.Parent = Character | |
| 697 | GUN.Grip.Anchored = false | |
| 698 | GUN:SetPrimaryPartCFrame(RightArm.CFrame*CF(0,-1,0)) | |
| 699 | local GRIP = weldBetween(RightArm,GUN.Grip) | |
| 700 | ||
| 701 | local TAIL = {}
| |
| 702 | local LASTPART = Torso | |
| 703 | local SIZE = BONE.Size | |
| 704 | for i = 1, 16 do | |
| 705 | local PART = BONE:Clone() | |
| 706 | PART.Anchored = false | |
| 707 | PART.Parent = Character | |
| 708 | PART.Size = SIZE*((19-i)/10)/1.25 | |
| 709 | if LASTPART == Torso then | |
| 710 | local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-1.2,0.16), CF(0, 0, 0))
| |
| 711 | LASTPART = PART | |
| 712 | table.insert(TAIL,WELD) | |
| 713 | else | |
| 714 | local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y,0), CF(0, 0, 0))
| |
| 715 | LASTPART = PART | |
| 716 | table.insert(TAIL,WELD) | |
| 717 | end | |
| 718 | end | |
| 719 | RightLeg:remove() | |
| 720 | LeftLeg:remove() | |
| 721 | Torso.Transparency = 1 | |
| 722 | Head.Transparency = 1 | |
| 723 | ||
| 724 | Humanoid.DisplayDistanceType = "None" | |
| 725 | ||
| 726 | Humanoid.HipHeight = 2 | |
| 727 | ||
| 728 | local SKILLFONT = "Antique" | |
| 729 | local SKILLTEXTSIZE = 7 | |
| 730 | ||
| 731 | Humanoid.Died:connect(function() | |
| 732 | workspace:ClearAllChildren() | |
| 733 | end) | |
| 734 | ||
| 735 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 736 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 737 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 738 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 739 | --local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 740 | ||
| 741 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1") | |
| 742 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2") | |
| 743 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
| 744 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
| 745 | --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5") | |
| 746 | ||
| 747 | --//=================================\\ | |
| 748 | --|| DAMAGING | |
| 749 | --\\=================================// | |
| 750 | ||
| 751 | function ApplyDamage(Humanoid,Damage) | |
| 752 | Damage = Damage * DAMAGEMULTIPLIER | |
| 753 | if Humanoid.Health ~= 0 then | |
| 754 | Humanoid.Health = Humanoid.Health - Damage | |
| 755 | end | |
| 756 | end | |
| 757 | ||
| 758 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION) | |
| 759 | local CHILDREN = workspace:GetDescendants() | |
| 760 | for index, CHILD in pairs(CHILDREN) do | |
| 761 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 762 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 763 | if HUM then | |
| 764 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 765 | if TORSO then | |
| 766 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 767 | if INSTAKILL == true then | |
| 768 | CHILD:BreakJoints() | |
| 769 | if OPTION ~= nil then | |
| 770 | Kill(CHILD,OPTION) | |
| 771 | end | |
| 772 | else | |
| 773 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
| 774 | ApplyDamage(HUM,DMG) | |
| 775 | end | |
| 776 | if FLING ~= 0 then | |
| 777 | for _, c in pairs(CHILD:GetChildren()) do | |
| 778 | if c:IsA("BasePart") then
| |
| 779 | local bv = Instance.new("BodyVelocity")
| |
| 780 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 781 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
| 782 | bv.Parent = c | |
| 783 | Debris:AddItem(bv,0.05) | |
| 784 | end | |
| 785 | end | |
| 786 | end | |
| 787 | end | |
| 788 | end | |
| 789 | end | |
| 790 | end | |
| 791 | end | |
| 792 | end | |
| 793 | ||
| 794 | function Kill(Victim,Fire) | |
| 795 | coroutine.resume(coroutine.create(function() | |
| 796 | local NIL = script.TotalNil:Clone() | |
| 797 | NIL.Parent = Victim | |
| 798 | NIL.Disabled = false | |
| 799 | if Fire ~= true then | |
| 800 | Victim:BreakJoints() | |
| 801 | for _, c in pairs(Victim:GetChildren()) do | |
| 802 | if c:IsA("BasePart") then
| |
| 803 | c.Anchored = true | |
| 804 | end | |
| 805 | end | |
| 806 | for _, c in pairs(Victim:GetChildren()) do | |
| 807 | if c:IsA("BasePart") then
| |
| 808 | Shatter(c) | |
| 809 | end | |
| 810 | end | |
| 811 | else | |
| 812 | Victim:BreakJoints() | |
| 813 | local FIRES = {}
| |
| 814 | for _, e in pairs(Victim:GetDescendants()) do | |
| 815 | if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
| |
| 816 | e.Transparency = 1 | |
| 817 | e:ClearAllChildren() | |
| 818 | local FIRE = script.HellFire:Clone() | |
| 819 | FIRE.Parent = e | |
| 820 | FIRE.Enabled = true | |
| 821 | table.insert(FIRES,FIRE) | |
| 822 | elseif e.ClassName == "Decal" then | |
| 823 | e:remove() | |
| 824 | end | |
| 825 | end | |
| 826 | for i = 1, 50 do | |
| 827 | Victim:BreakJoints() | |
| 828 | wait() | |
| 829 | end | |
| 830 | for i = 1, #FIRES do | |
| 831 | FIRES[i].Enabled = false | |
| 832 | end | |
| 833 | wait(1.1) | |
| 834 | Victim:remove() | |
| 835 | end | |
| 836 | end)) | |
| 837 | end | |
| 838 | ||
| 839 | --//=================================\\ | |
| 840 | --|| ATTACK FUNCTIONS AND STUFF | |
| 841 | --\\=================================// | |
| 842 | ||
| 843 | function Bullet() | |
| 844 | ATTACK = true | |
| 845 | Rooted = false | |
| 846 | local GYRO = IT("BodyGyro",RootPart)
| |
| 847 | GYRO.D = 750 | |
| 848 | GYRO.P = 20000 | |
| 849 | GYRO.MaxTorque = VT(0,40000000,0) | |
| 850 | local LOCKED = true | |
| 851 | local SHOT = false | |
| 852 | coroutine.resume(coroutine.create(function() | |
| 853 | for i=0, 1, 0.1 / Animation_Speed do | |
| 854 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
| 855 | Swait() | |
| 856 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 857 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 858 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 859 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 860 | end | |
| 861 | LOCKED = false | |
| 862 | SHOT = true | |
| 863 | repeat | |
| 864 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
| 865 | Swait() | |
| 866 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 867 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 868 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 869 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 870 | until HOLD == false and SHOT == false | |
| 871 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 872 | Swait() | |
| 873 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 874 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 875 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 876 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 877 | end | |
| 878 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 879 | Swait() | |
| 880 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 881 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 882 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 883 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 884 | end | |
| 885 | GYRO:remove() | |
| 886 | ATTACK = false | |
| 887 | Rooted = false | |
| 888 | end)) | |
| 889 | repeat wait() until LOCKED == false | |
| 890 | repeat | |
| 891 | SHOT = true | |
| 892 | wait(0.2) | |
| 893 | SHOT = false | |
| 894 | local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(1,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
| |
| 895 | local HIT = BULLET.Hit | |
| 896 | local HITPOS = BULLET.End | |
| 897 | if HIT then | |
| 898 | if HIT.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 899 | Kill(HIT.Parent) | |
| 900 | end | |
| 901 | end | |
| 902 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
| |
| 903 | WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = GUN.Barrel.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
| |
| 904 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = GUN.Barrel.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
| |
| 905 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = GUN.Barrel.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
| |
| 906 | until HOLD == false | |
| 907 | end | |
| 908 | ||
| 909 | function ScytheThrow() | |
| 910 | ATTACK = true | |
| 911 | Rooted = false | |
| 912 | local GYRO = IT("BodyGyro",RootPart)
| |
| 913 | GYRO.D = 750 | |
| 914 | GYRO.P = 20000 | |
| 915 | GYRO.MaxTorque = VT(0,40000000,0) | |
| 916 | local BLADE = SCYTHE:Clone() | |
| 917 | CreateSound(402981977, BLADE, 3, MRANDOM(12,15)/10, false) | |
| 918 | BLADE.Parent = Effects | |
| 919 | BLADE.Anchored = false | |
| 920 | BLADE.CFrame = LeftArm.CFrame* CF(0, 3.4, 0.529) * ANGLES(RAD(0), RAD(180),RAD(0)) | |
| 921 | local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, BLADE, CF(0, -2.2, 0) * ANGLES(RAD(180), RAD(90),RAD(0)), CF(0, 0, 0))
| |
| 922 | for i=1, 25 do | |
| 923 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
| 924 | Swait() | |
| 925 | BLADE.Transparency = BLADE.Transparency - 1/25 | |
| 926 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 927 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 928 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 929 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-55 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 930 | end | |
| 931 | for _, c in pairs(BLADE:GetDescendants()) do | |
| 932 | if c.ClassName == "ParticleEmitter" then | |
| 933 | c.Enabled = true | |
| 934 | end | |
| 935 | end | |
| 936 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 937 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
| 938 | Swait() | |
| 939 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 940 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 941 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 942 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-55 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 943 | end | |
| 944 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 945 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
| 946 | Swait() | |
| 947 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 948 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 949 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 950 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 951 | end | |
| 952 | coroutine.resume(coroutine.create(function() | |
| 953 | WELD:remove() | |
| 954 | BLADE.Anchored = true | |
| 955 | BLADE.Orientation = VT(0,BLADE.Orientation.Y,90) | |
| 956 | local DISSAPEAR = false | |
| 957 | local TOPOS = nil | |
| 958 | local TARGET = nil | |
| 959 | coroutine.resume(coroutine.create(function() | |
| 960 | local ORI = BLADE.Orientation.Y | |
| 961 | repeat | |
| 962 | wait() | |
| 963 | ORI = BLADE.Orientation.Y | |
| 964 | if TOPOS == nil then | |
| 965 | BLADE.CFrame = CF(BLADE.Position) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90)) | |
| 966 | else | |
| 967 | BLADE.CFrame = CF(CF(BLADE.Position,TOPOS)*CF(0,0,-1).p) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90)) | |
| 968 | if TARGET ~= nil then | |
| 969 | if (BLADE.Position - TARGET.Position).Magnitude < 5 then | |
| 970 | Kill(TARGET.Parent,true) | |
| 971 | TARGET = nil | |
| 972 | end | |
| 973 | end | |
| 974 | if (BLADE.Position - TOPOS).Magnitude < 5 then | |
| 975 | TOPOS = nil | |
| 976 | end | |
| 977 | end | |
| 978 | ORI = BLADE.Orientation.Y | |
| 979 | until DISSAPEAR == true | |
| 980 | for i = 1, 35 do | |
| 981 | wait() | |
| 982 | ORI = BLADE.Orientation.Y | |
| 983 | BLADE.CFrame = CF(BLADE.Position) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90)) | |
| 984 | BLADE.Transparency = BLADE.Transparency + 1/35 | |
| 985 | ORI = BLADE.Orientation.Y | |
| 986 | end | |
| 987 | for _, c in pairs(BLADE:GetDescendants()) do | |
| 988 | if c.ClassName == "ParticleEmitter" then | |
| 989 | c.Enabled = false | |
| 990 | end | |
| 991 | end | |
| 992 | Debris:AddItem(BLADE,5) | |
| 993 | end)) | |
| 994 | TOPOS = RootPart.CFrame*CF(0,-3,-15).p | |
| 995 | for i = 1, 7 do | |
| 996 | wait(1) | |
| 997 | local DISTANCE = 100 | |
| 998 | local HUMAN = nil | |
| 999 | for _, c in pairs(workspace:GetChildren()) do | |
| 1000 | if c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
| |
| 1001 | local HUM = c:FindFirstChildOfClass("Humanoid")
| |
| 1002 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
| |
| 1003 | if TORSO and HUM.Health > 0 then | |
| 1004 | if (TORSO.Position - BLADE.Position).Magnitude < DISTANCE then | |
| 1005 | DISTANCE = (TORSO.Position - BLADE.Position).Magnitude | |
| 1006 | TARGET = TORSO | |
| 1007 | HUMAN = HUM | |
| 1008 | end | |
| 1009 | end | |
| 1010 | end | |
| 1011 | end | |
| 1012 | if TARGET then | |
| 1013 | TOPOS = CF(TARGET.Position,BLADE.Position)*CF(0,0,15).p | |
| 1014 | local HITFLOOR,HITPOS = Raycast(BLADE.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
| 1015 | if HITFLOOR then | |
| 1016 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,1,35), Transparency = 0.8, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = HITPOS+VT(0,0.45,0), RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 233856115, SoundPitch = 1, SoundVolume = 7})
| |
| 1017 | end | |
| 1018 | end | |
| 1019 | repeat wait(1) until TOPOS == nil | |
| 1020 | end | |
| 1021 | DISSAPEAR = true | |
| 1022 | end)) | |
| 1023 | for i=0, 0.4, 0.1 / Animation_Speed do | |
| 1024 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
| 1025 | Swait() | |
| 1026 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1027 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1028 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1029 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1030 | end | |
| 1031 | GYRO:remove() | |
| 1032 | ATTACK = false | |
| 1033 | Rooted = false | |
| 1034 | end | |
| 1035 | ||
| 1036 | function FingerMagic() | |
| 1037 | ATTACK = true | |
| 1038 | Rooted = false | |
| 1039 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 1040 | Swait() | |
| 1041 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1042 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1043 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1044 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1045 | end | |
| 1046 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1047 | Swait() | |
| 1048 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1049 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1050 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1051 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1052 | end | |
| 1053 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
| |
| 1054 | for i = 1, 5 do | |
| 1055 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,7,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 2, SoundVolume = 1})
| |
| 1056 | end | |
| 1057 | CreateSound(217767125, LeftArm, 10, 1, false) | |
| 1058 | coroutine.resume(coroutine.create(function() | |
| 1059 | local EXPLODED = false | |
| 1060 | for i = 1, 3 do | |
| 1061 | coroutine.resume(coroutine.create(function() | |
| 1062 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
| 1063 | if HITFLOOR then | |
| 1064 | local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0)) | |
| 1065 | for i = 1, 35 do | |
| 1066 | wait() | |
| 1067 | for _, c in pairs(workspace:GetChildren()) do | |
| 1068 | if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
| |
| 1069 | local HUM = c:FindFirstChildOfClass("Humanoid")
| |
| 1070 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
| |
| 1071 | if TORSO and HUM.Health > 0 then | |
| 1072 | if (TORSO.Position - CFRAME.p).Magnitude < 10 then | |
| 1073 | EXPLODED = true | |
| 1074 | coroutine.resume(coroutine.create(function() | |
| 1075 | for i = 1, 15 do | |
| 1076 | ApplyAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false) | |
| 1077 | wait(0.2) | |
| 1078 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15+(i*2),5,15+(i*2)), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
| |
| 1079 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
| |
| 1080 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(12,12,12)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 1})
| |
| 1081 | end | |
| 1082 | WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
| |
| 1083 | wait(1) | |
| 1084 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100)*5, Transparency = 0.4, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = 461105534, SoundPitch = 1, SoundVolume = 10})
| |
| 1085 | local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 1086 | PART.CFrame = CFRAME*CF(0,10,0) | |
| 1087 | Debris:AddItem(PART,10) | |
| 1088 | local PARTICLES = script.Explode:Clone() | |
| 1089 | PARTICLES.Parent = PART | |
| 1090 | PARTICLES:Emit(500) | |
| 1091 | ApplyAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true) | |
| 1092 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(90,90,90)*2, Transparency = 0.8, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
| |
| 1093 | WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(0), RAD(90), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1094 | WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1095 | end)) | |
| 1096 | end | |
| 1097 | end | |
| 1098 | end | |
| 1099 | end | |
| 1100 | if EXPLODED == true then | |
| 1101 | break | |
| 1102 | end | |
| 1103 | CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3) | |
| 1104 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(10,15,10), Size2 = VT(0,35,0), Transparency = 1, Transparency2 = 0.9, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
| |
| 1105 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(15,15,15), Size2 = VT(0,25,0), Transparency = 1, Transparency2 = 0.6, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
| |
| 1106 | end | |
| 1107 | end | |
| 1108 | end)) | |
| 1109 | end | |
| 1110 | end)) | |
| 1111 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1112 | Swait() | |
| 1113 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1114 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1115 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1116 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(170), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1117 | end | |
| 1118 | ATTACK = false | |
| 1119 | Rooted = false | |
| 1120 | end | |
| 1121 | ||
| 1122 | function PainlessRain() | |
| 1123 | ATTACK = true | |
| 1124 | Rooted = true | |
| 1125 | local SPOTS = {}
| |
| 1126 | local BULLETS = 0 | |
| 1127 | repeat | |
| 1128 | BULLETS = BULLETS + 1 | |
| 1129 | for i = 1, 15 do | |
| 1130 | Swait() | |
| 1131 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1132 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed) | |
| 1133 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed) | |
| 1134 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1135 | end | |
| 1136 | WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = GUN.Body.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
| |
| 1137 | until KEYHOLD == false | |
| 1138 | for i = 1, BULLETS do | |
| 1139 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1140 | Swait() | |
| 1141 | GRIP.C1 = Clerp(GRIP.C1, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1142 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1143 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1144 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1145 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1146 | end | |
| 1147 | local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character) | |
| 1148 | table.insert(SPOTS,HITPOS) | |
| 1149 | CreateSound(145080998, GUN.Barrel, 2, 1, false) | |
| 1150 | Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = GUN.Barrel.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
| |
| 1151 | for i=0, 0.35, 0.1 / Animation_Speed do | |
| 1152 | Swait() | |
| 1153 | GRIP.C1 = Clerp(GRIP.C1, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1154 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1155 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1156 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1157 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1158 | end | |
| 1159 | end | |
| 1160 | coroutine.resume(coroutine.create(function() | |
| 1161 | for i = 1, #SPOTS do | |
| 1162 | wait(0.1) | |
| 1163 | coroutine.resume(coroutine.create(function() | |
| 1164 | local SPOT = SPOTS[i] | |
| 1165 | local BOLT = Lightning({Material = "Neon", FadeIn = true, Color = C3(1,0,0), Start = SPOT+VT(0,150,0), End = SPOT, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 125, Thicken = true})
| |
| 1166 | local POSITION = BOLT.Pos | |
| 1167 | ApplyAoE(POSITION,75/2,0,0,350,true) | |
| 1168 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,150,50), Transparency = 0.3, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
| |
| 1169 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(75,5,75), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 165970126, SoundPitch = 1, SoundVolume = 4})
| |
| 1170 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(35,15,35), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
| |
| 1171 | end)) | |
| 1172 | end | |
| 1173 | end)) | |
| 1174 | ATTACK = false | |
| 1175 | Rooted = false | |
| 1176 | end | |
| 1177 | ||
| 1178 | function ShadowRush() | |
| 1179 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
| 1180 | if HITFLOOR then | |
| 1181 | ATTACK = true | |
| 1182 | Rooted = true | |
| 1183 | local A = false | |
| 1184 | coroutine.resume(coroutine.create(function() | |
| 1185 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1186 | Swait() | |
| 1187 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1188 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1189 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1190 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1191 | end | |
| 1192 | A = true | |
| 1193 | repeat | |
| 1194 | Swait() | |
| 1195 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1196 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1197 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1198 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1199 | until ATTACK == false | |
| 1200 | end)) | |
| 1201 | repeat wait() until A == true | |
| 1202 | local ZONE = CreatePart(3, Effects, "Neon", 0, 1, C3(0,0,0), "Shade Zone", VT(15,0,15)) | |
| 1203 | ZONE.Color = C3(0,0,0) | |
| 1204 | MakeForm(ZONE,"Cyl") | |
| 1205 | ZONE.CFrame = CF(HITPOS) | |
| 1206 | local AURA = CreateSound(1393698948, ZONE, 0, 0.5, true) | |
| 1207 | for i =1, 45 do | |
| 1208 | Swait() | |
| 1209 | AURA.Volume = AURA.Volume + 10/45 | |
| 1210 | ZONE.Transparency = ZONE.Transparency - 1/45 | |
| 1211 | ZONE.Size = ZONE.Size + VT(0.3,0,0.3) | |
| 1212 | end | |
| 1213 | local SIZE = ZONE.Size | |
| 1214 | local BARRAGE = true | |
| 1215 | local ZAPS = {224339201,168586621,168586586}
| |
| 1216 | coroutine.resume(coroutine.create(function() | |
| 1217 | local LOOP = 0 | |
| 1218 | repeat | |
| 1219 | Swait() | |
| 1220 | Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = ZONE.Position, SegmentL = 1, Thickness = 0.05, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 20, Thicken = false})
| |
| 1221 | AURA.Parent = ZONE | |
| 1222 | LOOP = LOOP + 1 | |
| 1223 | if MRANDOM(1,15) == 1 then | |
| 1224 | CreateSound(ZAPS[MRANDOM(1,#ZAPS)], ZONE, 5, MRANDOM(8,12)/10, false) | |
| 1225 | local CFRAME = ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,-4,MRANDOM(10,15)) | |
| 1226 | Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0.5,0,0.15), Start = CFRAME.p+VT(0,90,0), End = CFRAME.p, SegmentL = 1, Thickness = 0.05, DoesFade = true, MaxDist = 100, Branches = true, FadeTime = 20, Thicken = true})
| |
| 1227 | --WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1228 | end | |
| 1229 | ZONE.Size = SIZE + VT(1 * COS(LOOP / 12),0,1 * COS(LOOP / 12)) | |
| 1230 | until BARRAGE == false | |
| 1231 | for i = 1, 35 do | |
| 1232 | Swait() | |
| 1233 | --Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = ZONE.Position, SegmentL = 1, Thickness = 0.05, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 20, Thicken = false})
| |
| 1234 | AURA.Parent = ZONE | |
| 1235 | LOOP = LOOP + 1 | |
| 1236 | if MRANDOM(1,15) == 1 then | |
| 1237 | CreateSound(ZAPS[MRANDOM(1,#ZAPS)], ZONE, 5, MRANDOM(8,12)/10, false) | |
| 1238 | local CFRAME = ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,-4,MRANDOM(10,15)) | |
| 1239 | Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0.5,0,0.15), Start = CFRAME.p+VT(0,90,0), End = CFRAME.p, SegmentL = 1, Thickness = 0.05, DoesFade = true, MaxDist = 100, Branches = true, FadeTime = 20, Thicken = true})
| |
| 1240 | --WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1241 | end | |
| 1242 | ZONE.Size = SIZE + VT(1 * COS(LOOP / 12),0,1 * COS(LOOP / 12)) | |
| 1243 | end | |
| 1244 | for i =1, 45 do | |
| 1245 | Swait() | |
| 1246 | AURA.Volume = AURA.Volume - 10/45 | |
| 1247 | ZONE.Transparency = ZONE.Transparency + 1/45 | |
| 1248 | ZONE.Size = ZONE.Size - VT(0.3,0,0.3) | |
| 1249 | end | |
| 1250 | Debris:AddItem(ZONE,10) | |
| 1251 | end)) | |
| 1252 | repeat | |
| 1253 | wait(0.25) | |
| 1254 | coroutine.resume(coroutine.create(function() | |
| 1255 | local BLOD = CreatePart(3, Effects, "Neon", 0, 0, C3(0,0,0), "Shade Blod", VT(10,0,10)) | |
| 1256 | BLOD.Color = C3(0,0,0) | |
| 1257 | MakeForm(BLOD,"Cyl") | |
| 1258 | local DIRECTION = CF(ZONE.Position,ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,1).p) | |
| 1259 | BLOD.CFrame = DIRECTION | |
| 1260 | for i = 1, 40 do | |
| 1261 | Swait() | |
| 1262 | BLOD.CFrame = BLOD.CFrame * CF(0,0,-0.6) | |
| 1263 | end | |
| 1264 | local TOPOS = VT(Mouse.Hit.p.X,BLOD.Position.Y,Mouse.Hit.p.Z) | |
| 1265 | BLOD.CFrame = CF(BLOD.Position,TOPOS) | |
| 1266 | local DISTANCE = 15 | |
| 1267 | for i = 1, 500 do | |
| 1268 | Swait() | |
| 1269 | BLOD.CFrame = BLOD.CFrame * CF(0,0,-1) | |
| 1270 | DISTANCE = (BLOD.Position-TOPOS).Magnitude | |
| 1271 | if DISTANCE <= 2 then | |
| 1272 | break | |
| 1273 | end | |
| 1274 | end | |
| 1275 | ApplyAoE(BLOD.Position,15,0,0,50,true,true) | |
| 1276 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = BLOD.Size/1.5, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(BLOD.Position), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(2,4), RotationZ = 0, Material = "Neon", Color = BLOD.Color, SoundID = 304999618, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7})
| |
| 1277 | Lightning({Ignore = workspace, Material = "Neon", FadeIn = false, Color = C3(0.5/2,0,0.15/2), Start = BLOD.Position, End = BLOD.Position+VT(0,15,0), SegmentL = 1, Thickness = 0.05, DoesFade = true, MaxDist = 45, Branches = false, FadeTime = 20, Thicken = true})
| |
| 1278 | for i = 1, 45 do | |
| 1279 | Swait() | |
| 1280 | BLOD.Size = BLOD.Size + VT(0.25,0,0.25) | |
| 1281 | BLOD.Transparency = BLOD.Transparency + 1/45 | |
| 1282 | end | |
| 1283 | BLOD:remove() | |
| 1284 | end)) | |
| 1285 | until KEYHOLD == false | |
| 1286 | BARRAGE = false | |
| 1287 | ATTACK = false | |
| 1288 | Rooted = false | |
| 1289 | end | |
| 1290 | end | |
| 1291 | ||
| 1292 | function AttackTemplate() | |
| 1293 | ATTACK = true | |
| 1294 | Rooted = false | |
| 1295 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1296 | Swait() | |
| 1297 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1298 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1299 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1300 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1301 | end | |
| 1302 | ATTACK = false | |
| 1303 | Rooted = false | |
| 1304 | end | |
| 1305 | ||
| 1306 | --//=================================\\ | |
| 1307 | --|| MISC | |
| 1308 | --\\=================================// | |
| 1309 | ||
| 1310 | function TAUNT1() | |
| 1311 | ATTACK = true | |
| 1312 | Rooted = false | |
| 1313 | CreateSound(865772398, Torso, 6, 1, false) | |
| 1314 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 1315 | Swait() | |
| 1316 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1317 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1318 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1319 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1320 | end | |
| 1321 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1322 | Swait() | |
| 1323 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1324 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1325 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1326 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.4) * ANGLES(RAD(-25-3 * COS(SINE / 6)), RAD(25), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1327 | end | |
| 1328 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1329 | Swait() | |
| 1330 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1331 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1332 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1333 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25-3 * COS(SINE / 6)), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1334 | end | |
| 1335 | ATTACK = false | |
| 1336 | Rooted = false | |
| 1337 | end | |
| 1338 | ||
| 1339 | function TAUNT2() | |
| 1340 | ATTACK = true | |
| 1341 | Rooted = false | |
| 1342 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1343 | Swait() | |
| 1344 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1345 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1346 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1347 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1348 | end | |
| 1349 | ATTACK = false | |
| 1350 | Rooted = false | |
| 1351 | end | |
| 1352 | ||
| 1353 | function EMOTE() | |
| 1354 | ATTACK = true | |
| 1355 | Rooted = false | |
| 1356 | local LOOP = 0 | |
| 1357 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 1358 | Swait() | |
| 1359 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1360 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1361 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1362 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1363 | end | |
| 1364 | for i=0, 3, 0.1 / Animation_Speed do | |
| 1365 | Swait() | |
| 1366 | LOOP = LOOP + 1 | |
| 1367 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1368 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1369 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1370 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1371 | end | |
| 1372 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 1373 | Swait() | |
| 1374 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1375 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1376 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1377 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1378 | end | |
| 1379 | ATTACK = false | |
| 1380 | Rooted = false | |
| 1381 | end | |
| 1382 | ||
| 1383 | --//=================================\\ | |
| 1384 | --|| ASSIGN THINGS TO KEYS | |
| 1385 | --\\=================================// | |
| 1386 | ||
| 1387 | function MouseDown(Mouse) | |
| 1388 | HOLD = true | |
| 1389 | if ATTACK == false then | |
| 1390 | Bullet() | |
| 1391 | end | |
| 1392 | end | |
| 1393 | ||
| 1394 | function MouseUp(Mouse) | |
| 1395 | HOLD = false | |
| 1396 | end | |
| 1397 | ||
| 1398 | function KeyDown(Key) | |
| 1399 | KEYHOLD = true | |
| 1400 | if Key == "z" and ATTACK == false then | |
| 1401 | ScytheThrow() | |
| 1402 | end | |
| 1403 | ||
| 1404 | if Key == "b" and ATTACK == false then | |
| 1405 | FingerMagic() | |
| 1406 | end | |
| 1407 | ||
| 1408 | if Key == "c" and ATTACK == false then | |
| 1409 | PainlessRain() | |
| 1410 | end | |
| 1411 | ||
| 1412 | if Key == "v" and ATTACK == false then | |
| 1413 | ShadowRush() | |
| 1414 | end | |
| 1415 | ||
| 1416 | if Key == "x" and ATTACK == false then | |
| 1417 | end | |
| 1418 | ||
| 1419 | if Key == "t" and ATTACK == false then | |
| 1420 | TAUNT1() | |
| 1421 | end | |
| 1422 | ||
| 1423 | if Key == "p" and ATTACK == false then | |
| 1424 | EMOTE() | |
| 1425 | end | |
| 1426 | end | |
| 1427 | ||
| 1428 | function KeyUp(Key) | |
| 1429 | KEYHOLD = false | |
| 1430 | end | |
| 1431 | ||
| 1432 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 1433 | MouseDown(NEWKEY) | |
| 1434 | end) | |
| 1435 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 1436 | MouseUp(NEWKEY) | |
| 1437 | end) | |
| 1438 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 1439 | KeyDown(NEWKEY) | |
| 1440 | end) | |
| 1441 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 1442 | KeyUp(NEWKEY) | |
| 1443 | end) | |
| 1444 | ||
| 1445 | --//=================================\\ | |
| 1446 | --\\=================================// | |
| 1447 | ||
| 1448 | function unanchor() | |
| 1449 | if UNANCHOR == true then | |
| 1450 | for _, c in pairs(Character:GetDescendants()) do | |
| 1451 | if c:IsA("BasePart") and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
| |
| 1452 | c.Anchored = false | |
| 1453 | end | |
| 1454 | end | |
| 1455 | end | |
| 1456 | end | |
| 1457 | ||
| 1458 | --//=================================\\ | |
| 1459 | --|| WRAP THE WHOLE SCRIPT UP | |
| 1460 | --\\=================================// | |
| 1461 | ||
| 1462 | Humanoid.Changed:connect(function(Jump) | |
| 1463 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1464 | Humanoid.Jump = false | |
| 1465 | end | |
| 1466 | end) | |
| 1467 | ||
| 1468 | sick.AncestryChanged:Connect(function() | |
| 1469 | sick.Parent = Character | |
| 1470 | end) | |
| 1471 | ||
| 1472 | while true do | |
| 1473 | Swait() | |
| 1474 | script.Parent = WEAPONGUI | |
| 1475 | ANIMATE.Parent = nil | |
| 1476 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 1477 | v:Stop(); | |
| 1478 | end | |
| 1479 | if Character:FindFirstChildOfClass("Humanoid") == nil then
| |
| 1480 | Humanoid = IT("Humanoid",Character)
| |
| 1481 | end | |
| 1482 | Humanoid.HipHeight = 5 | |
| 1483 | SINE = SINE + CHANGE | |
| 1484 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1485 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 1486 | if ATTACK == false then | |
| 1487 | if TORSOVELOCITY < 1 then | |
| 1488 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1489 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1490 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1491 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1492 | elseif TORSOVELOCITY > 1 then | |
| 1493 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1494 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1495 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.6) * ANGLES(RAD(165), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1496 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1497 | end | |
| 1498 | end | |
| 1499 | for E = 1, #TAIL do | |
| 1500 | TAIL[E].Parent.Parent = Character | |
| 1501 | TAIL[E].C1 = Clerp(TAIL[E].C1,CF(0, 0, 0) * ANGLES(RAD(-2 * COS(SINE / 48) + 1 * SIN(SINE / 12)), RAD(0), RAD(1 * SIN(SINE / 24))), 1 / Animation_Speed) | |
| 1502 | end | |
| 1503 | unanchor() | |
| 1504 | Humanoid.MaxHealth = "inf" | |
| 1505 | Humanoid.Health = "inf" | |
| 1506 | if Rooted == false then | |
| 1507 | Disable_Jump = false | |
| 1508 | Humanoid.WalkSpeed = Speed | |
| 1509 | elseif Rooted == true then | |
| 1510 | Disable_Jump = true | |
| 1511 | Humanoid.WalkSpeed = 0 | |
| 1512 | end | |
| 1513 | for _, c in pairs(Character:GetChildren()) do | |
| 1514 | if c.ClassName == "Part" and c.Name ~= "Eye" then | |
| 1515 | c.Material = "Neon" | |
| 1516 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1517 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1518 | end | |
| 1519 | c.Color = C3(0,0,0) | |
| 1520 | if c == Head then | |
| 1521 | if c:FindFirstChild("face") then
| |
| 1522 | c.face:remove() | |
| 1523 | end | |
| 1524 | end | |
| 1525 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
| 1526 | c:remove() | |
| 1527 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 1528 | c:remove() | |
| 1529 | end | |
| 1530 | end | |
| 1531 | sick.SoundId = "rbxassetid://292773785" | |
| 1532 | sick.Looped = true | |
| 1533 | sick.Pitch = 1 | |
| 1534 | sick.Volume = 1.5 | |
| 1535 | sick.Playing = true | |
| 1536 | sick.Parent = Character | |
| 1537 | --refit() | |
| 1538 | Humanoid.Name = "Grim" | |
| 1539 | Humanoid.PlatformStand = false | |
| 1540 | end | |
| 1541 | ||
| 1542 | --//=================================\\ | |
| 1543 | --\\=================================// | |
| 1544 | ||
| 1545 | ||
| 1546 | ||
| 1547 | ||
| 1548 | ||
| 1549 | --//====================================================\\-- | |
| 1550 | --|| END OF SCRIPT | |
| 1551 | --\\====================================================//-- | |
| 1552 | end)) | |
| 1553 | Model1.Name = "Right Arm" | |
| 1554 | Model1.Parent = LocalScript0 | |
| 1555 | Model1.PrimaryPart = Part4 | |
| 1556 | UnionOperation2.Parent = Model1 | |
| 1557 | UnionOperation2.CFrame = CFrame.new(-5.51000595, 46.6678581, 158.099976, 0, 1, 0, -0.707106829, 0, -0.707106829, -0.707106829, 0, 0.707106829) | |
| 1558 | UnionOperation2.Orientation = Vector3.new(45, 0, -90) | |
| 1559 | UnionOperation2.Position = Vector3.new(-5.51000595, 46.6678581, 158.099976) | |
| 1560 | UnionOperation2.Rotation = Vector3.new(45, 0, -90) | |
| 1561 | UnionOperation2.Color = Color3.new(0.639216, 0.635294, 0.647059) | |
| 1562 | UnionOperation2.Size = Vector3.new(1.88092804, 1.87998581, 1.88093567) | |
| 1563 | UnionOperation2.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1564 | UnionOperation2.CanCollide = false | |
| 1565 | UnionOperation2.Locked = true | |
| 1566 | UnionOperation2.Material = Enum.Material.DiamondPlate | |
| 1567 | UnionOperation2.brickColor = BrickColor.new("Medium stone grey")
| |
| 1568 | Weld3.Name = "Joint" | |
| 1569 | Weld3.Parent = UnionOperation2 | |
| 1570 | Weld3.C0 = CFrame.new(-0.530349731, -0.389995575, -0.530338287, 0, -0.707106829, -0.707106829, 1, 0, 0, 0, -0.707106829, 0.707106829) | |
| 1571 | Weld3.Part0 = UnionOperation2 | |
| 1572 | Weld3.Part1 = Part4 | |
| 1573 | Weld3.part1 = Part4 | |
| 1574 | Part4.Name = "Base" | |
| 1575 | Part4.Parent = Model1 | |
| 1576 | Part4.CFrame = CFrame.new(-5.89999723, 47.4178581, 158.099976, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1577 | Part4.Position = Vector3.new(-5.89999723, 47.4178581, 158.099976) | |
| 1578 | Part4.Color = Color3.new(0.313726, 0.262745, 0.262745) | |
| 1579 | Part4.Size = Vector3.new(1, 2, 1) | |
| 1580 | Part4.Anchored = true | |
| 1581 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
| 1582 | Part4.BrickColor = BrickColor.new("Dirt brown")
| |
| 1583 | Part4.CanCollide = false | |
| 1584 | Part4.Locked = true | |
| 1585 | Part4.Material = Enum.Material.Granite | |
| 1586 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
| 1587 | Part4.brickColor = BrickColor.new("Dirt brown")
| |
| 1588 | UnionOperation5.Parent = Model1 | |
| 1589 | UnionOperation5.CFrame = CFrame.new(-5.89999723, 47.6178474, 158.099976, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1590 | UnionOperation5.Position = Vector3.new(-5.89999723, 47.6178474, 158.099976) | |
| 1591 | UnionOperation5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 1592 | UnionOperation5.Size = Vector3.new(1.14999962, 1.69999695, 1.15000153) | |
| 1593 | UnionOperation5.BrickColor = BrickColor.new("Really black")
| |
| 1594 | UnionOperation5.CanCollide = false | |
| 1595 | UnionOperation5.Locked = true | |
| 1596 | UnionOperation5.Material = Enum.Material.Fabric | |
| 1597 | UnionOperation5.brickColor = BrickColor.new("Really black")
| |
| 1598 | Weld6.Name = "Joint" | |
| 1599 | Weld6.Parent = UnionOperation5 | |
| 1600 | Weld6.C0 = CFrame.new(-3.81469727e-06, -0.199966431, 3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1601 | Weld6.Part0 = UnionOperation5 | |
| 1602 | Weld6.Part1 = Part4 | |
| 1603 | Weld6.part1 = Part4 | |
| 1604 | Model7.Name = "Gun" | |
| 1605 | Model7.Parent = LocalScript0 | |
| 1606 | Model7.PrimaryPart = Part12 | |
| 1607 | UnionOperation8.Name = "Body" | |
| 1608 | UnionOperation8.Parent = Model7 | |
| 1609 | UnionOperation8.CFrame = CFrame.new(0.361126006, 47.3155899, 159.258621, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1610 | UnionOperation8.Position = Vector3.new(0.361126006, 47.3155899, 159.258621) | |
| 1611 | UnionOperation8.Color = Color3.new(0.117647, 0.0470588, 0.0470588) | |
| 1612 | UnionOperation8.Size = Vector3.new(0.638885498, 1.25006104, 1.61728859) | |
| 1613 | UnionOperation8.BrickColor = BrickColor.new("Really black")
| |
| 1614 | UnionOperation8.CanCollide = false | |
| 1615 | UnionOperation8.Locked = true | |
| 1616 | UnionOperation8.Material = Enum.Material.Metal | |
| 1617 | UnionOperation8.brickColor = BrickColor.new("Really black")
| |
| 1618 | Weld9.Name = "Joint" | |
| 1619 | Weld9.Parent = UnionOperation8 | |
| 1620 | Weld9.C0 = CFrame.new(-0.00012588501, -0.340080261, 0.350341797, 0.984807849, 0.0301536489, 0.171009868, 0.173647985, -0.171010047, -0.969846368, 0, 0.984807849, -0.173648134) | |
| 1621 | Weld9.Part0 = UnionOperation8 | |
| 1622 | Weld9.Part1 = Part12 | |
| 1623 | Weld9.part1 = Part12 | |
| 1624 | UnionOperation10.Name = "Barrel" | |
| 1625 | UnionOperation10.Parent = Model7 | |
| 1626 | UnionOperation10.CFrame = CFrame.new(0.361126006, 47.6906166, 157.747513, 1, 0, -0, 0, 0, 1, 0, -1, 0) | |
| 1627 | UnionOperation10.Orientation = Vector3.new(-90, 0, 0) | |
| 1628 | UnionOperation10.Position = Vector3.new(0.361126006, 47.6906166, 157.747513) | |
| 1629 | UnionOperation10.Rotation = Vector3.new(-90, 0, 0) | |
| 1630 | UnionOperation10.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 1631 | UnionOperation10.Size = Vector3.new(0.250007629, 2.00500488, 0.499938965) | |
| 1632 | UnionOperation10.BrickColor = BrickColor.new("Dark stone grey")
| |
| 1633 | UnionOperation10.CanCollide = false | |
| 1634 | UnionOperation10.Locked = true | |
| 1635 | UnionOperation10.Material = Enum.Material.Metal | |
| 1636 | UnionOperation10.brickColor = BrickColor.new("Dark stone grey")
| |
| 1637 | Weld11.Name = "Joint" | |
| 1638 | Weld11.Parent = UnionOperation10 | |
| 1639 | Weld11.C0 = CFrame.new(-0.00012588501, -1.8614769, -0.715057373, 0.984807849, 0.0301536489, 0.171009868, 0, -0.984807849, 0.173648134, 0.173647985, -0.171010047, -0.969846368) | |
| 1640 | Weld11.Part0 = UnionOperation10 | |
| 1641 | Weld11.Part1 = Part12 | |
| 1642 | Weld11.part1 = Part12 | |
| 1643 | Part12.Name = "Grip" | |
| 1644 | Part12.Parent = Model7 | |
| 1645 | Part12.CFrame = CFrame.new(0.361005008, 46.9755287, 159.608963, 0.984807849, 0.0301536489, 0.171009868, 0.173647985, -0.171010047, -0.969846368, 0, 0.984807849, -0.173648134) | |
| 1646 | Part12.Orientation = Vector3.new(75.8899994, 135.440002, 134.559998) | |
| 1647 | Part12.Position = Vector3.new(0.361005008, 46.9755287, 159.608963) | |
| 1648 | Part12.Rotation = Vector3.new(100.150002, 9.84999943, -1.75) | |
| 1649 | Part12.Transparency = 1 | |
| 1650 | Part12.Size = Vector3.new(1, 1, 1) | |
| 1651 | Part12.Anchored = true | |
| 1652 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
| 1653 | Part12.CanCollide = false | |
| 1654 | Part12.Locked = true | |
| 1655 | Part12.Material = Enum.Material.SmoothPlastic | |
| 1656 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
| 1657 | Model13.Name = "Head" | |
| 1658 | Model13.Parent = LocalScript0 | |
| 1659 | Model13.PrimaryPart = Part20 | |
| 1660 | UnionOperation14.Parent = Model13 | |
| 1661 | UnionOperation14.CFrame = CFrame.new(2.40000391, 48.3929863, 156.199966, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1662 | UnionOperation14.Position = Vector3.new(2.40000391, 48.3929863, 156.199966) | |
| 1663 | UnionOperation14.Color = Color3.new(0.768628, 0.156863, 0.109804) | |
| 1664 | UnionOperation14.Size = Vector3.new(1, 1.00001526, 0.450000763) | |
| 1665 | UnionOperation14.BrickColor = BrickColor.new("Bright red")
| |
| 1666 | UnionOperation14.CanCollide = false | |
| 1667 | UnionOperation14.Locked = true | |
| 1668 | UnionOperation14.Material = Enum.Material.Neon | |
| 1669 | UnionOperation14.brickColor = BrickColor.new("Bright red")
| |
| 1670 | Weld15.Name = "Joint" | |
| 1671 | Weld15.Parent = UnionOperation14 | |
| 1672 | Weld15.C0 = CFrame.new(-5.24520874e-06, 0.0199661255, 0.299980164, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1673 | Weld15.Part0 = UnionOperation14 | |
| 1674 | Weld15.Part1 = Part20 | |
| 1675 | Weld15.part1 = Part20 | |
| 1676 | MeshPart16.Parent = Model13 | |
| 1677 | MeshPart16.CFrame = CFrame.new(2.40000391, 48.4429817, 156.499969, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1678 | MeshPart16.Position = Vector3.new(2.40000391, 48.4429817, 156.499969) | |
| 1679 | MeshPart16.Color = Color3.new(0.313726, 0.262745, 0.262745) | |
| 1680 | MeshPart16.Size = Vector3.new(1.20000005, 1.10000002, 1.20000005) | |
| 1681 | MeshPart16.BrickColor = BrickColor.new("Dirt brown")
| |
| 1682 | MeshPart16.CanCollide = false | |
| 1683 | MeshPart16.Locked = true | |
| 1684 | MeshPart16.Material = Enum.Material.Granite | |
| 1685 | MeshPart16.brickColor = BrickColor.new("Dirt brown")
| |
| 1686 | Weld17.Name = "Joint" | |
| 1687 | Weld17.Parent = MeshPart16 | |
| 1688 | Weld17.C0 = CFrame.new(-5.24520874e-06, -0.0300216675, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1689 | Weld17.Part0 = MeshPart16 | |
| 1690 | Weld17.Part1 = Part20 | |
| 1691 | Weld17.part1 = Part20 | |
| 1692 | MeshPart18.Parent = Model13 | |
| 1693 | MeshPart18.CFrame = CFrame.new(2.40000391, 48.6929436, 156.499969, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1694 | MeshPart18.Position = Vector3.new(2.40000391, 48.6929436, 156.499969) | |
| 1695 | MeshPart18.Color = Color3.new(0.117647, 0.0470588, 0.0470588) | |
| 1696 | MeshPart18.Size = Vector3.new(1.91887999, 1.69406998, 2.09092999) | |
| 1697 | MeshPart18.BrickColor = BrickColor.new("Really black")
| |
| 1698 | MeshPart18.CanCollide = false | |
| 1699 | MeshPart18.Locked = true | |
| 1700 | MeshPart18.Material = Enum.Material.Fabric | |
| 1701 | MeshPart18.brickColor = BrickColor.new("Really black")
| |
| 1702 | Weld19.Name = "Joint" | |
| 1703 | Weld19.Parent = MeshPart18 | |
| 1704 | Weld19.C0 = CFrame.new(-5.24520874e-06, -0.280014038, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1705 | Weld19.Part0 = MeshPart18 | |
| 1706 | Weld19.Part1 = Part20 | |
| 1707 | Weld19.part1 = Part20 | |
| 1708 | Part20.Name = "Base" | |
| 1709 | Part20.Parent = Model13 | |
| 1710 | Part20.CFrame = CFrame.new(2.399997, 48.4129677, 156.499969, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1711 | Part20.Position = Vector3.new(2.399997, 48.4129677, 156.499969) | |
| 1712 | Part20.Transparency = 1 | |
| 1713 | Part20.Size = Vector3.new(2, 1, 1) | |
| 1714 | Part20.Anchored = true | |
| 1715 | Part20.BottomSurface = Enum.SurfaceType.Smooth | |
| 1716 | Part20.CanCollide = false | |
| 1717 | Part20.Locked = true | |
| 1718 | Part20.Material = Enum.Material.SmoothPlastic | |
| 1719 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
| 1720 | MeshPart21.Parent = Model13 | |
| 1721 | MeshPart21.CFrame = CFrame.new(2.45000696, 48.242939, 156.399963, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1722 | MeshPart21.Position = Vector3.new(2.45000696, 48.242939, 156.399963) | |
| 1723 | MeshPart21.Color = Color3.new(0.117647, 0.0470588, 0.0470588) | |
| 1724 | MeshPart21.Size = Vector3.new(1.31869984, 1.88588929, 1.4947437) | |
| 1725 | MeshPart21.BrickColor = BrickColor.new("Really black")
| |
| 1726 | MeshPart21.CanCollide = false | |
| 1727 | MeshPart21.Locked = true | |
| 1728 | MeshPart21.Material = Enum.Material.Grass | |
| 1729 | MeshPart21.brickColor = BrickColor.new("Really black")
| |
| 1730 | Weld22.Name = "Joint" | |
| 1731 | Weld22.Parent = MeshPart21 | |
| 1732 | Weld22.C0 = CFrame.new(-0.0500087738, 0.169975281, 0.0999832153, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1733 | Weld22.Part0 = MeshPart21 | |
| 1734 | Weld22.Part1 = Part20 | |
| 1735 | Weld22.part1 = Part20 | |
| 1736 | MeshPart23.Parent = Model13 | |
| 1737 | MeshPart23.CFrame = CFrame.new(2.40000391, 48.618763, 156.3013, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) | |
| 1738 | MeshPart23.Orientation = Vector3.new(-15, 0, 0) | |
| 1739 | MeshPart23.Position = Vector3.new(2.40000391, 48.618763, 156.3013) | |
| 1740 | MeshPart23.Rotation = Vector3.new(-15, 0, 0) | |
| 1741 | MeshPart23.Color = Color3.new(0.117647, 0.0470588, 0.0470588) | |
| 1742 | MeshPart23.Size = Vector3.new(1.91887999, 1.59406996, 2.06093025) | |
| 1743 | MeshPart23.BrickColor = BrickColor.new("Really black")
| |
| 1744 | MeshPart23.CanCollide = false | |
| 1745 | MeshPart23.Locked = true | |
| 1746 | MeshPart23.Material = Enum.Material.Fabric | |
| 1747 | MeshPart23.brickColor = BrickColor.new("Really black")
| |
| 1748 | Weld24.Name = "Joint" | |
| 1749 | Weld24.Parent = MeshPart23 | |
| 1750 | Weld24.C0 = CFrame.new(-5.24520874e-06, -0.250236511, 0.138595581, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872) | |
| 1751 | Weld24.Part0 = MeshPart23 | |
| 1752 | Weld24.Part1 = Part20 | |
| 1753 | Weld24.part1 = Part20 | |
| 1754 | Model25.Name = "Left Arm" | |
| 1755 | Model25.Parent = LocalScript0 | |
| 1756 | Model25.PrimaryPart = Part28 | |
| 1757 | UnionOperation26.Parent = Model25 | |
| 1758 | UnionOperation26.CFrame = CFrame.new(-9.33499622, 46.6678581, 158.099945, 0, -1, 0, -0.707106829, 0, -0.707106829, 0.707106829, 0, -0.707106829) | |
| 1759 | UnionOperation26.Orientation = Vector3.new(45, 180, -90) | |
| 1760 | UnionOperation26.Position = Vector3.new(-9.33499622, 46.6678581, 158.099945) | |
| 1761 | UnionOperation26.Rotation = Vector3.new(135, 0, 90) | |
| 1762 | UnionOperation26.Color = Color3.new(0.639216, 0.635294, 0.647059) | |
| 1763 | UnionOperation26.Size = Vector3.new(1.88092804, 1.87998581, 1.88093567) | |
| 1764 | UnionOperation26.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1765 | UnionOperation26.CanCollide = false | |
| 1766 | UnionOperation26.Locked = true | |
| 1767 | UnionOperation26.Material = Enum.Material.DiamondPlate | |
| 1768 | UnionOperation26.brickColor = BrickColor.new("Medium stone grey")
| |
| 1769 | Weld27.Name = "Joint" | |
| 1770 | Weld27.Parent = UnionOperation26 | |
| 1771 | Weld27.C0 = CFrame.new(-0.530342102, -0.389987946, -0.530342102, 0, -0.707106829, 0.707106829, -1, 0, 0, 0, -0.707106829, -0.707106829) | |
| 1772 | Weld27.Part0 = UnionOperation26 | |
| 1773 | Weld27.Part1 = Part28 | |
| 1774 | Weld27.part1 = Part28 | |
| 1775 | Part28.Name = "Base" | |
| 1776 | Part28.Parent = Model25 | |
| 1777 | Part28.CFrame = CFrame.new(-8.94501209, 47.4178581, 158.099945, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1778 | Part28.Position = Vector3.new(-8.94501209, 47.4178581, 158.099945) | |
| 1779 | Part28.Color = Color3.new(0.313726, 0.262745, 0.262745) | |
| 1780 | Part28.Size = Vector3.new(1, 2, 1) | |
| 1781 | Part28.Anchored = true | |
| 1782 | Part28.BottomSurface = Enum.SurfaceType.Smooth | |
| 1783 | Part28.BrickColor = BrickColor.new("Dirt brown")
| |
| 1784 | Part28.CanCollide = false | |
| 1785 | Part28.Locked = true | |
| 1786 | Part28.Material = Enum.Material.Granite | |
| 1787 | Part28.TopSurface = Enum.SurfaceType.Smooth | |
| 1788 | Part28.brickColor = BrickColor.new("Dirt brown")
| |
| 1789 | UnionOperation29.Parent = Model25 | |
| 1790 | UnionOperation29.CFrame = CFrame.new(-8.94501209, 47.6178474, 158.099976, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1791 | UnionOperation29.Orientation = Vector3.new(0, 180, 0) | |
| 1792 | UnionOperation29.Position = Vector3.new(-8.94501209, 47.6178474, 158.099976) | |
| 1793 | UnionOperation29.Rotation = Vector3.new(-180, 0, -180) | |
| 1794 | UnionOperation29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 1795 | UnionOperation29.Size = Vector3.new(1.14999962, 1.69999695, 1.15000153) | |
| 1796 | UnionOperation29.BrickColor = BrickColor.new("Really black")
| |
| 1797 | UnionOperation29.CanCollide = false | |
| 1798 | UnionOperation29.Locked = true | |
| 1799 | UnionOperation29.Material = Enum.Material.Fabric | |
| 1800 | UnionOperation29.brickColor = BrickColor.new("Really black")
| |
| 1801 | Weld30.Name = "Joint" | |
| 1802 | Weld30.Parent = UnionOperation29 | |
| 1803 | Weld30.C0 = CFrame.new(-5.7220459e-06, -0.199966431, 7.62939453e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1804 | Weld30.Part0 = UnionOperation29 | |
| 1805 | Weld30.Part1 = Part28 | |
| 1806 | Weld30.part1 = Part28 | |
| 1807 | UnionOperation31.Name = "SpinePart" | |
| 1808 | UnionOperation31.Parent = LocalScript0 | |
| 1809 | UnionOperation31.CFrame = CFrame.new(-4.14999819, 45.3927956, 158.374969, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1810 | UnionOperation31.Position = Vector3.new(-4.14999819, 45.3927956, 158.374969) | |
| 1811 | UnionOperation31.Color = Color3.new(0.313726, 0.262745, 0.262745) | |
| 1812 | UnionOperation31.Size = Vector3.new(0.357148468, 0.250013739, 0.392860025) | |
| 1813 | UnionOperation31.Anchored = true | |
| 1814 | UnionOperation31.BrickColor = BrickColor.new("Dirt brown")
| |
| 1815 | UnionOperation31.CanCollide = false | |
| 1816 | UnionOperation31.Locked = true | |
| 1817 | UnionOperation31.Material = Enum.Material.Granite | |
| 1818 | UnionOperation31.brickColor = BrickColor.new("Dirt brown")
| |
| 1819 | Model32.Name = "Torso" | |
| 1820 | Model32.Parent = LocalScript0 | |
| 1821 | Model32.PrimaryPart = Part35 | |
| 1822 | MeshPart33.Name = "UpperTorso" | |
| 1823 | MeshPart33.Parent = Model32 | |
| 1824 | MeshPart33.CFrame = CFrame.new(25.1999989, 44.5833702, 128.399963, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1825 | MeshPart33.Position = Vector3.new(25.1999989, 44.5833702, 128.399963) | |
| 1826 | MeshPart33.Color = Color3.new(0.313726, 0.262745, 0.262745) | |
| 1827 | MeshPart33.Size = Vector3.new(2.15197992, 2.44447708, 1.06413865) | |
| 1828 | MeshPart33.BrickColor = BrickColor.new("Dirt brown")
| |
| 1829 | MeshPart33.CanCollide = false | |
| 1830 | MeshPart33.Locked = true | |
| 1831 | MeshPart33.Material = Enum.Material.Granite | |
| 1832 | MeshPart33.brickColor = BrickColor.new("Dirt brown")
| |
| 1833 | Weld34.Name = "Joint" | |
| 1834 | Weld34.Parent = MeshPart33 | |
| 1835 | Weld34.C0 = CFrame.new(0, 0.332954407, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1836 | Weld34.Part0 = MeshPart33 | |
| 1837 | Weld34.Part1 = Part35 | |
| 1838 | Weld34.part1 = Part35 | |
| 1839 | Part35.Name = "Base" | |
| 1840 | Part35.Parent = Model32 | |
| 1841 | Part35.CFrame = CFrame.new(25.1999989, 44.9163818, 128.399963, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1842 | Part35.Position = Vector3.new(25.1999989, 44.9163818, 128.399963) | |
| 1843 | Part35.Transparency = 1 | |
| 1844 | Part35.Size = Vector3.new(2, 2, 1) | |
| 1845 | Part35.Anchored = true | |
| 1846 | Part35.BottomSurface = Enum.SurfaceType.Smooth | |
| 1847 | Part35.CanCollide = false | |
| 1848 | Part35.Locked = true | |
| 1849 | Part35.Material = Enum.Material.SmoothPlastic | |
| 1850 | Part35.TopSurface = Enum.SurfaceType.Smooth | |
| 1851 | MeshPart36.Parent = Model32 | |
| 1852 | MeshPart36.CFrame = CFrame.new(25.3652439, 45.886219, 128.463806, 0.519835889, 0.242404014, 0.819152653, -0.422617912, 0.906307995, -9.43241844e-07, -0.742404819, -0.346188039, 0.573575675) | |
| 1853 | MeshPart36.Orientation = Vector3.new(0, 55, -25) | |
| 1854 | MeshPart36.Position = Vector3.new(25.3652439, 45.886219, 128.463806) | |
| 1855 | MeshPart36.Rotation = Vector3.new(0, 55, -25) | |
| 1856 | MeshPart36.Color = Color3.new(0.623529, 0.239216, 0.239216) | |
| 1857 | MeshPart36.Size = Vector3.new(2.12982464, 1.48150826, 1.61588418) | |
| 1858 | MeshPart36.BrickColor = BrickColor.new("Burgundy")
| |
| 1859 | MeshPart36.CanCollide = false | |
| 1860 | MeshPart36.Locked = true | |
| 1861 | MeshPart36.Material = Enum.Material.Fabric | |
| 1862 | MeshPart36.brickColor = BrickColor.new("Burgundy")
| |
| 1863 | Weld37.Name = "Joint" | |
| 1864 | Weld37.Parent = MeshPart36 | |
| 1865 | Weld37.C0 = CFrame.new(0.371398926, -0.896980286, -0.171984196, 0.519835889, -0.422617912, -0.742404819, 0.242404014, 0.906307995, -0.346188039, 0.819152653, -9.43241844e-07, 0.573575675) | |
| 1866 | Weld37.Part0 = MeshPart36 | |
| 1867 | Weld37.Part1 = Part35 | |
| 1868 | Weld37.part1 = Part35 | |
| 1869 | MeshPart38.Parent = Model32 | |
| 1870 | MeshPart38.CFrame = CFrame.new(24.8746567, 45.886219, 128.429199, -0.469847053, -0.328990012, -0.81915164, -0.573577046, 0.8191517, 9.49788273e-07, 0.671009064, 0.469847023, -0.573577106) | |
| 1871 | MeshPart38.Orientation = Vector3.new(0, -125, -35) | |
| 1872 | MeshPart38.Position = Vector3.new(24.8746567, 45.886219, 128.429199) | |
| 1873 | MeshPart38.Rotation = Vector3.new(-180, -55, 145) | |
| 1874 | MeshPart38.Color = Color3.new(0.623529, 0.239216, 0.239216) | |
| 1875 | MeshPart38.Size = Vector3.new(2.12982464, 1.48150826, 1.61588418) | |
| 1876 | MeshPart38.BrickColor = BrickColor.new("Burgundy")
| |
| 1877 | MeshPart38.CanCollide = false | |
| 1878 | MeshPart38.Locked = true | |
| 1879 | MeshPart38.Material = Enum.Material.Fabric | |
| 1880 | MeshPart38.brickColor = BrickColor.new("Burgundy")
| |
| 1881 | Weld39.Name = "Joint" | |
| 1882 | Weld39.Parent = MeshPart38 | |
| 1883 | Weld39.C0 = CFrame.new(0.383834839, -0.915275574, -0.249732971, -0.469847053, -0.573577046, 0.671009064, -0.328990012, 0.8191517, 0.469847023, -0.81915164, 9.49788273e-07, -0.573577106) | |
| 1884 | Weld39.Part0 = MeshPart38 | |
| 1885 | Weld39.Part1 = Part35 | |
| 1886 | Weld39.part1 = Part35 | |
| 1887 | MeshPart40.Parent = Model32 | |
| 1888 | MeshPart40.CFrame = CFrame.new(25.5134888, 44.715107, 129.174484, -0.38036406, 0.912844658, -0.148451328, -0.891059101, -0.318735212, 0.323143363, 0.247663036, 0.255191028, 0.934633911) | |
| 1889 | MeshPart40.Orientation = Vector3.new(-18.8500004, -9.02999973, -109.68) | |
| 1890 | MeshPart40.Position = Vector3.new(25.5134888, 44.715107, 129.174484) | |
| 1891 | MeshPart40.Rotation = Vector3.new(-19.0699997, -8.53999996, -112.619995) | |
| 1892 | MeshPart40.Color = Color3.new(0.623529, 0.239216, 0.239216) | |
| 1893 | MeshPart40.Size = Vector3.new(2.12982464, 1.48150826, 1.61588418) | |
| 1894 | MeshPart40.BrickColor = BrickColor.new("Burgundy")
| |
| 1895 | MeshPart40.CanCollide = false | |
| 1896 | MeshPart40.Locked = true | |
| 1897 | MeshPart40.Material = Enum.Material.Fabric | |
| 1898 | MeshPart40.brickColor = BrickColor.new("Burgundy")
| |
| 1899 | Weld41.Name = "Joint" | |
| 1900 | Weld41.Parent = MeshPart40 | |
| 1901 | Weld41.C0 = CFrame.new(-0.251907349, -0.547956467, -0.612327576, -0.38036406, -0.891059101, 0.247663036, 0.912844658, -0.318735212, 0.255191028, -0.148451328, 0.323143363, 0.934633911) | |
| 1902 | Weld41.Part0 = MeshPart40 | |
| 1903 | Weld41.Part1 = Part35 | |
| 1904 | Weld41.part1 = Part35 | |
| 1905 | UnionOperation42.Parent = Model32 | |
| 1906 | UnionOperation42.CFrame = CFrame.new(25.1999989, 43.6166573, 128.399948, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1907 | UnionOperation42.Position = Vector3.new(25.1999989, 43.6166573, 128.399948) | |
| 1908 | UnionOperation42.Color = Color3.new(0.117647, 0.0470588, 0.0470588) | |
| 1909 | UnionOperation42.Size = Vector3.new(2.10000038, 4.63329315, 1.10000229) | |
| 1910 | UnionOperation42.BrickColor = BrickColor.new("Really black")
| |
| 1911 | UnionOperation42.CanCollide = false | |
| 1912 | UnionOperation42.Locked = true | |
| 1913 | UnionOperation42.Material = Enum.Material.Fabric | |
| 1914 | UnionOperation42.brickColor = BrickColor.new("Really black")
| |
| 1915 | Weld43.Name = "Joint" | |
| 1916 | Weld43.Parent = UnionOperation42 | |
| 1917 | Weld43.C0 = CFrame.new(0, 1.2996521, 1.29938126e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1918 | Weld43.Part0 = UnionOperation42 | |
| 1919 | Weld43.Part1 = Part35 | |
| 1920 | Weld43.part1 = Part35 | |
| 1921 | MeshPart44.Name = "ThrowScythe" | |
| 1922 | MeshPart44.Parent = LocalScript0 | |
| 1923 | MeshPart44.CFrame = CFrame.new(43.2217865, 43.6798859, 103.157501, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1924 | MeshPart44.Position = Vector3.new(43.2217865, 43.6798859, 103.157501) | |
| 1925 | MeshPart44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 1926 | MeshPart44.Transparency = 1 | |
| 1927 | MeshPart44.Size = Vector3.new(0.218994945, 4.90332317, 3.47784996) | |
| 1928 | MeshPart44.Anchored = true | |
| 1929 | MeshPart44.BrickColor = BrickColor.new("Really black")
| |
| 1930 | MeshPart44.CanCollide = false | |
| 1931 | MeshPart44.Locked = true | |
| 1932 | MeshPart44.Material = Enum.Material.Neon | |
| 1933 | MeshPart44.brickColor = BrickColor.new("Really black")
| |
| 1934 | ParticleEmitter45.Name = "Flame" | |
| 1935 | ParticleEmitter45.Parent = mas | |
| 1936 | ParticleEmitter45.Speed = NumberRange.new(1, 1) | |
| 1937 | ParticleEmitter45.Rotation = NumberRange.new(-180, 180) | |
| 1938 | ParticleEmitter45.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)) | |
| 1939 | ParticleEmitter45.Enabled = false | |
| 1940 | ParticleEmitter45.LightEmission = 0.75 | |
| 1941 | ParticleEmitter45.Texture = "http://www.roblox.com/asset/?id=304437537" | |
| 1942 | ParticleEmitter45.Transparency = NumberSequence.new(1,0.5,0.25,0.25,0.5,1) | |
| 1943 | ParticleEmitter45.ZOffset = 0.5 | |
| 1944 | ParticleEmitter45.Size = NumberSequence.new(0.20000000298023,0) | |
| 1945 | ParticleEmitter45.Drag = 1 | |
| 1946 | ParticleEmitter45.Lifetime = NumberRange.new(1, 1.125) | |
| 1947 | ParticleEmitter45.Rate = 500 | |
| 1948 | ParticleEmitter45.RotSpeed = NumberRange.new(-200, 200) | |
| 1949 | ParticleEmitter45.SpreadAngle = Vector2.new(360, 360) | |
| 1950 | ParticleEmitter45.VelocitySpread = 360 | |
| 1951 | ParticleEmitter46.Name = "Flame" | |
| 1952 | ParticleEmitter46.Parent = mas | |
| 1953 | ParticleEmitter46.Speed = NumberRange.new(1, 1) | |
| 1954 | ParticleEmitter46.Rotation = NumberRange.new(-180, 180) | |
| 1955 | ParticleEmitter46.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)) | |
| 1956 | ParticleEmitter46.Enabled = false | |
| 1957 | ParticleEmitter46.LightEmission = 0.75 | |
| 1958 | ParticleEmitter46.Texture = "http://www.roblox.com/asset/?id=304437537" | |
| 1959 | ParticleEmitter46.Transparency = NumberSequence.new(1,0.5,0.25,0.25,0.5,1) | |
| 1960 | ParticleEmitter46.ZOffset = 0.5 | |
| 1961 | ParticleEmitter46.Size = NumberSequence.new(0.20000000298023,0) | |
| 1962 | ParticleEmitter46.Drag = 1 | |
| 1963 | ParticleEmitter46.Lifetime = NumberRange.new(1, 1.125) | |
| 1964 | ParticleEmitter46.Rate = 500 | |
| 1965 | ParticleEmitter46.RotSpeed = NumberRange.new(-200, 200) | |
| 1966 | ParticleEmitter46.SpreadAngle = Vector2.new(360, 360) | |
| 1967 | ParticleEmitter46.VelocitySpread = 360 | |
| 1968 | ParticleEmitter47.Name = "Explode" | |
| 1969 | ParticleEmitter47.Parent = LocalScript0 | |
| 1970 | ParticleEmitter47.Speed = NumberRange.new(50, 250) | |
| 1971 | ParticleEmitter47.Rotation = NumberRange.new(0, 360) | |
| 1972 | ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.6, 0, 0),Color3.new(0.211765, 0, 0)) | |
| 1973 | ParticleEmitter47.Enabled = false | |
| 1974 | ParticleEmitter47.LightEmission = 0.75 | |
| 1975 | ParticleEmitter47.Texture = "rbxassetid://296874871" | |
| 1976 | ParticleEmitter47.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
| 1977 | ParticleEmitter47.ZOffset = 0.5 | |
| 1978 | ParticleEmitter47.Size = NumberSequence.new(25,25) | |
| 1979 | ParticleEmitter47.Drag = 5 | |
| 1980 | ParticleEmitter47.EmissionDirection = Enum.NormalId.Right | |
| 1981 | ParticleEmitter47.Lifetime = NumberRange.new(0, 5) | |
| 1982 | ParticleEmitter47.Rate = 999 | |
| 1983 | ParticleEmitter47.RotSpeed = NumberRange.new(-56, 56) | |
| 1984 | ParticleEmitter47.SpreadAngle = Vector2.new(360, 360) | |
| 1985 | ParticleEmitter47.VelocitySpread = 360 | |
| 1986 | ParticleEmitter48.Name = "HellFire" | |
| 1987 | ParticleEmitter48.Parent = LocalScript0 | |
| 1988 | ParticleEmitter48.Rotation = NumberRange.new(0, 360) | |
| 1989 | ParticleEmitter48.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.6, 0, 0),Color3.new(0.211765, 0, 0)) | |
| 1990 | ParticleEmitter48.Enabled = false | |
| 1991 | ParticleEmitter48.LightEmission = 0.75 | |
| 1992 | ParticleEmitter48.Texture = "rbxassetid://296874871" | |
| 1993 | ParticleEmitter48.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
| 1994 | ParticleEmitter48.ZOffset = 0.5 | |
| 1995 | ParticleEmitter48.Size = NumberSequence.new(1,1.8032789230347,1.4207655191422,0) | |
| 1996 | ParticleEmitter48.Acceleration = Vector3.new(0, 35, 0) | |
| 1997 | ParticleEmitter48.Drag = 5 | |
| 1998 | ParticleEmitter48.EmissionDirection = Enum.NormalId.Right | |
| 1999 | ParticleEmitter48.Lifetime = NumberRange.new(0, 1) | |
| 2000 | ParticleEmitter48.Rate = 999 | |
| 2001 | ParticleEmitter48.RotSpeed = NumberRange.new(-56, 56) | |
| 2002 | ParticleEmitter48.SpreadAngle = Vector2.new(360, 360) | |
| 2003 | ParticleEmitter48.VelocitySpread = 360 | |
| 2004 | Script49.Name = "TotalNil" | |
| 2005 | Script49.Parent = LocalScript0 | |
| 2006 | table.insert(cors,sandbox(Script49,function() | |
| 2007 | local PLAYER = game.Players:FindFirstChild(script.Parent.Name) | |
| 2008 | if PLAYER then | |
| 2009 | for _, c in pairs(PLAYER.PlayerGui:GetChildren()) do | |
| 2010 | if c:FindFirstChildOfClass("LocalScript") and c.Name ~= "FreeCamera" then
| |
| 2011 | c:remove() | |
| 2012 | end | |
| 2013 | end | |
| 2014 | end | |
| 2015 | print("NILLED "..PLAYER.Name)
| |
| 2016 | script:remove() | |
| 2017 | end)) | |
| 2018 | Script49.Disabled = true | |
| 2019 | for i,v in pairs(mas:GetChildren()) do | |
| 2020 | v.Parent = game:GetService("Players").LocalPlayer.Character
| |
| 2021 | pcall(function() v:MakeJoints() end) | |
| 2022 | end | |
| 2023 | mas:Destroy() | |
| 2024 | for i,v in pairs(cors) do | |
| 2025 | spawn(function() | |
| 2026 | pcall(v) | |
| 2027 | end) | |
| 2028 | end |