SHOW:
|
|
- or go back to the newest paste.
| 1 | ----------------------- | |
| 2 | --WhAT ANOTHER ONE????????!-- | |
| 3 | ------------------------------------------------------- | |
| 4 | --A script By makhail07 | |
| 5 | ||
| 6 | --Discord Creterisk#2958 | |
| 7 | ||
| 8 | ||
| 9 | --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png | |
| 10 | ------------------------------------------------------- | |
| 11 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 12 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 13 | local RealPlayer = Player | |
| 14 | 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
| |
| 15 | ||
| 16 | ||
| 17 | wait() | |
| 18 | local plr = game:service'Players'.LocalPlayer | |
| 19 | print('Local User is '..plr.Name)
| |
| 20 | local char = plr.Character | |
| 21 | local hum = char.Humanoid | |
| 22 | local ra = char["Right Arm"] | |
| 23 | local la= char["Left Arm"] | |
| 24 | local rl= char["Right Leg"] | |
| 25 | local ll = char["Left Leg"] | |
| 26 | local hed = char.Head | |
| 27 | local root = char.HumanoidRootPart | |
| 28 | local rootj = root.RootJoint | |
| 29 | local tors = char.Torso | |
| 30 | local mouse = plr:GetMouse() | |
| 31 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 32 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 33 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 34 | local EdgyMode = false | |
| 35 | local Divinity = false | |
| 36 | local Fighter = false | |
| 37 | local Purity = false | |
| 38 | local Destruction = false | |
| 39 | local helpme = false | |
| 40 | local Planetary = false | |
| 41 | local maincolor = BrickColor.new("Institutional white")
| |
| 42 | ------------------------------------------------------- | |
| 43 | --Start Good Stuff-- | |
| 44 | ------------------------------------------------------- | |
| 45 | CF = CFrame.new | |
| 46 | angles = CFrame.Angles | |
| 47 | attack = false | |
| 48 | Euler = CFrame.fromEulerAnglesXYZ | |
| 49 | Rad = math.rad | |
| 50 | IT = Instance.new | |
| 51 | BrickC = BrickColor.new | |
| 52 | Cos = math.cos | |
| 53 | Acos = math.acos | |
| 54 | Sin = math.sin | |
| 55 | Asin = math.asin | |
| 56 | Abs = math.abs | |
| 57 | Mrandom = math.random | |
| 58 | Floor = math.floor | |
| 59 | ------------------------------------------------------- | |
| 60 | --End Good Stuff-- | |
| 61 | ------------------------------------------------------- | |
| 62 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 63 | RSH, LSH = nil, nil | |
| 64 | RW = Instance.new("Weld")
| |
| 65 | LW = Instance.new("Weld")
| |
| 66 | RH = tors["Right Hip"] | |
| 67 | LH = tors["Left Hip"] | |
| 68 | RSH = tors["Right Shoulder"] | |
| 69 | LSH = tors["Left Shoulder"] | |
| 70 | RSH.Parent = nil | |
| 71 | LSH.Parent = nil | |
| 72 | RW.Name = "RW" | |
| 73 | RW.Part0 = tors | |
| 74 | RW.C0 = CF(1.5, 0.5, 0) | |
| 75 | RW.C1 = CF(0, 0.5, 0) | |
| 76 | RW.Part1 = ra | |
| 77 | RW.Parent = tors | |
| 78 | LW.Name = "LW" | |
| 79 | LW.Part0 = tors | |
| 80 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 81 | LW.C1 = CF(0, 0.5, 0) | |
| 82 | LW.Part1 = la | |
| 83 | LW.Parent = tors | |
| 84 | Effects = {}
| |
| 85 | ||
| 86 | ------------------------------------------------------- | |
| 87 | --Start HeartBeat-- | |
| 88 | ------------------------------------------------------- | |
| 89 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 90 | ArtificialHB.Name = "Heartbeat" | |
| 91 | script:WaitForChild("Heartbeat")
| |
| 92 | ||
| 93 | frame = 1 / 60 | |
| 94 | tf = 0 | |
| 95 | allowframeloss = false | |
| 96 | tossremainder = false | |
| 97 | ||
| 98 | ||
| 99 | lastframe = tick() | |
| 100 | script.Heartbeat:Fire() | |
| 101 | ||
| 102 | ||
| 103 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 104 | tf = tf + s | |
| 105 | if tf >= frame then | |
| 106 | if allowframeloss then | |
| 107 | script.Heartbeat:Fire() | |
| 108 | lastframe = tick() | |
| 109 | else | |
| 110 | for i = 1, math.floor(tf / frame) do | |
| 111 | script.Heartbeat:Fire() | |
| 112 | end | |
| 113 | lastframe = tick() | |
| 114 | end | |
| 115 | if tossremainder then | |
| 116 | tf = 0 | |
| 117 | else | |
| 118 | tf = tf - frame * math.floor(tf / frame) | |
| 119 | end | |
| 120 | end | |
| 121 | end) | |
| 122 | ------------------------------------------------------- | |
| 123 | --End HeartBeat-- | |
| 124 | ------------------------------------------------------- | |
| 125 | ||
| 126 | ------------------------------------------------------- | |
| 127 | --Start Important Functions-- | |
| 128 | ------------------------------------------------------- | |
| 129 | function swait(num) | |
| 130 | if num == 0 or num == nil then | |
| 131 | game:service("RunService").Stepped:wait(0)
| |
| 132 | else | |
| 133 | for i = 0, num do | |
| 134 | game:service("RunService").Stepped:wait(0)
| |
| 135 | end | |
| 136 | end | |
| 137 | end | |
| 138 | function thread(f) | |
| 139 | coroutine.resume(coroutine.create(f)) | |
| 140 | end | |
| 141 | function clerp(a, b, t) | |
| 142 | local qa = {
| |
| 143 | QuaternionFromCFrame(a) | |
| 144 | } | |
| 145 | local qb = {
| |
| 146 | QuaternionFromCFrame(b) | |
| 147 | } | |
| 148 | local ax, ay, az = a.x, a.y, a.z | |
| 149 | local bx, by, bz = b.x, b.y, b.z | |
| 150 | local _t = 1 - t | |
| 151 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 152 | end | |
| 153 | function QuaternionFromCFrame(cf) | |
| 154 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 155 | local trace = m00 + m11 + m22 | |
| 156 | if trace > 0 then | |
| 157 | local s = math.sqrt(1 + trace) | |
| 158 | local recip = 0.5 / s | |
| 159 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 160 | else | |
| 161 | local i = 0 | |
| 162 | if m00 < m11 then | |
| 163 | i = 1 | |
| 164 | end | |
| 165 | if m22 > (i == 0 and m00 or m11) then | |
| 166 | i = 2 | |
| 167 | end | |
| 168 | if i == 0 then | |
| 169 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 170 | local recip = 0.5 / s | |
| 171 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 172 | elseif i == 1 then | |
| 173 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 174 | local recip = 0.5 / s | |
| 175 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 176 | elseif i == 2 then | |
| 177 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 178 | local recip = 0.5 / s | |
| 179 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 180 | end | |
| 181 | end | |
| 182 | end | |
| 183 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 184 | local xs, ys, zs = x + x, y + y, z + z | |
| 185 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 186 | local xx = x * xs | |
| 187 | local xy = x * ys | |
| 188 | local xz = x * zs | |
| 189 | local yy = y * ys | |
| 190 | local yz = y * zs | |
| 191 | local zz = z * zs | |
| 192 | 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)) | |
| 193 | end | |
| 194 | function QuaternionSlerp(a, b, t) | |
| 195 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 196 | local startInterp, finishInterp | |
| 197 | if cosTheta >= 1.0E-4 then | |
| 198 | if 1 - cosTheta > 1.0E-4 then | |
| 199 | local theta = math.acos(cosTheta) | |
| 200 | local invSinTheta = 1 / Sin(theta) | |
| 201 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 202 | finishInterp = Sin(t * theta) * invSinTheta | |
| 203 | else | |
| 204 | startInterp = 1 - t | |
| 205 | finishInterp = t | |
| 206 | end | |
| 207 | elseif 1 + cosTheta > 1.0E-4 then | |
| 208 | local theta = math.acos(-cosTheta) | |
| 209 | local invSinTheta = 1 / Sin(theta) | |
| 210 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 211 | finishInterp = Sin(t * theta) * invSinTheta | |
| 212 | else | |
| 213 | startInterp = t - 1 | |
| 214 | finishInterp = t | |
| 215 | end | |
| 216 | 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 | |
| 217 | end | |
| 218 | function rayCast(Position, Direction, Range, Ignore) | |
| 219 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 220 | end | |
| 221 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 222 | local Create = RbxUtility.Create | |
| 223 | ||
| 224 | ------------------------------------------------------- | |
| 225 | --Start Damage Function-- | |
| 226 | ------------------------------------------------------- | |
| 227 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 228 | if hit.Parent == nil then | |
| 229 | return | |
| 230 | end | |
| 231 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 232 | for _, v in pairs(hit.Parent:children()) do | |
| 233 | if v:IsA("Humanoid") then
| |
| 234 | h = v | |
| 235 | end | |
| 236 | end | |
| 237 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 238 | ||
| 239 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 240 | end | |
| 241 | ||
| 242 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 243 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 244 | if hit.Parent.DebounceHit.Value == true then | |
| 245 | return | |
| 246 | end | |
| 247 | end | |
| 248 | if insta == true then | |
| 249 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 250 | end | |
| 251 | local c = Create("ObjectValue"){
| |
| 252 | Name = "creator", | |
| 253 | Value = game:service("Players").LocalPlayer,
| |
| 254 | Parent = h, | |
| 255 | } | |
| 256 | game:GetService("Debris"):AddItem(c, .5)
| |
| 257 | if HitSound ~= nil and HitPitch ~= nil then | |
| 258 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 259 | end | |
| 260 | local Damage = math.random(minim, maxim) | |
| 261 | local blocked = false | |
| 262 | local block = hit.Parent:findFirstChild("Block")
| |
| 263 | if block ~= nil then | |
| 264 | if block.className == "IntValue" then | |
| 265 | if block.Value > 0 then | |
| 266 | blocked = true | |
| 267 | block.Value = block.Value - 1 | |
| 268 | print(block.Value) | |
| 269 | end | |
| 270 | end | |
| 271 | end | |
| 272 | if blocked == false then | |
| 273 | h.Health = h.Health - Damage | |
| 274 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
| 275 | else | |
| 276 | h.Health = h.Health - (Damage / 2) | |
| 277 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
| 278 | end | |
| 279 | if Type == "Knockdown" then | |
| 280 | local hum = hit.Parent.Humanoid | |
| 281 | hum.PlatformStand = true | |
| 282 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 283 | swait(1) | |
| 284 | HHumanoid.PlatformStand = false | |
| 285 | end), hum) | |
| 286 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 287 | local bodvol = Create("BodyVelocity"){
| |
| 288 | velocity = angle * knockback, | |
| 289 | P = 5000, | |
| 290 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 291 | Parent = hit, | |
| 292 | } | |
| 293 | local rl = Create("BodyAngularVelocity"){
| |
| 294 | P = 3000, | |
| 295 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 296 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 297 | Parent = hit, | |
| 298 | } | |
| 299 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 300 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 301 | elseif Type == "Normal" then | |
| 302 | local vp = Create("BodyVelocity"){
| |
| 303 | P = 500, | |
| 304 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 305 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 306 | } | |
| 307 | if knockback > 0 then | |
| 308 | vp.Parent = hit.Parent.Torso | |
| 309 | end | |
| 310 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 311 | elseif Type == "Up" then | |
| 312 | local bodyVelocity = Create("BodyVelocity"){
| |
| 313 | velocity = Vector3.new(0, 20, 0), | |
| 314 | P = 5000, | |
| 315 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 316 | Parent = hit, | |
| 317 | } | |
| 318 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 319 | elseif Type == "DarkUp" then | |
| 320 | coroutine.resume(coroutine.create(function() | |
| 321 | for i = 0, 1, 0.1 do | |
| 322 | swait() | |
| 323 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 324 | end | |
| 325 | end)) | |
| 326 | local bodyVelocity = Create("BodyVelocity"){
| |
| 327 | velocity = Vector3.new(0, 20, 0), | |
| 328 | P = 5000, | |
| 329 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 330 | Parent = hit, | |
| 331 | } | |
| 332 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 333 | elseif Type == "Snare" then | |
| 334 | local bp = Create("BodyPosition"){
| |
| 335 | P = 2000, | |
| 336 | D = 100, | |
| 337 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 338 | position = hit.Parent.Torso.Position, | |
| 339 | Parent = hit.Parent.Torso, | |
| 340 | } | |
| 341 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 342 | elseif Type == "Freeze" then | |
| 343 | local BodPos = Create("BodyPosition"){
| |
| 344 | P = 50000, | |
| 345 | D = 1000, | |
| 346 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 347 | position = hit.Parent.Torso.Position, | |
| 348 | Parent = hit.Parent.Torso, | |
| 349 | } | |
| 350 | local BodGy = Create("BodyGyro") {
| |
| 351 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 352 | P = 20e+003, | |
| 353 | Parent = hit.Parent.Torso, | |
| 354 | cframe = hit.Parent.Torso.CFrame, | |
| 355 | } | |
| 356 | hit.Parent.Torso.Anchored = true | |
| 357 | coroutine.resume(coroutine.create(function(Part) | |
| 358 | swait(1.5) | |
| 359 | Part.Anchored = false | |
| 360 | end), hit.Parent.Torso) | |
| 361 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 362 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 363 | end | |
| 364 | local debounce = Create("BoolValue"){
| |
| 365 | Name = "DebounceHit", | |
| 366 | Parent = hit.Parent, | |
| 367 | Value = true, | |
| 368 | } | |
| 369 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 370 | c = Create("ObjectValue"){
| |
| 371 | Name = "creator", | |
| 372 | Value = Player, | |
| 373 | Parent = h, | |
| 374 | } | |
| 375 | game:GetService("Debris"):AddItem(c, .5)
| |
| 376 | end | |
| 377 | end | |
| 378 | ------------------------------------------------------- | |
| 379 | --End Damage Function-- | |
| 380 | ------------------------------------------------------- | |
| 381 | ||
| 382 | ------------------------------------------------------- | |
| 383 | --Start Damage Function Customization-- | |
| 384 | ------------------------------------------------------- | |
| 385 | function ShowDamage(Pos, Text, Time, Color) | |
| 386 | local Rate = (1 / 30) | |
| 387 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 388 | local Text = (Text or "") | |
| 389 | local Time = (Time or 2) | |
| 390 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 391 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 392 | EffectPart.Anchored = true | |
| 393 | local BillboardGui = Create("BillboardGui"){
| |
| 394 | Size = UDim2.new(3, 0, 3, 0), | |
| 395 | Adornee = EffectPart, | |
| 396 | Parent = EffectPart, | |
| 397 | } | |
| 398 | local TextLabel = Create("TextLabel"){
| |
| 399 | BackgroundTransparency = 1, | |
| 400 | Size = UDim2.new(1, 0, 1, 0), | |
| 401 | Text = Text, | |
| 402 | Font = "Highway", | |
| 403 | TextColor3 = Color, | |
| 404 | TextScaled = true, | |
| 405 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 406 | Parent = BillboardGui, | |
| 407 | } | |
| 408 | game.Debris:AddItem(EffectPart, (Time)) | |
| 409 | EffectPart.Parent = game:GetService("Workspace")
| |
| 410 | delay(0, function() | |
| 411 | local Frames = (Time / Rate) | |
| 412 | for Frame = 1, Frames do | |
| 413 | wait(Rate) | |
| 414 | local Percent = (Frame / Frames) | |
| 415 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 416 | TextLabel.TextTransparency = Percent | |
| 417 | end | |
| 418 | if EffectPart and EffectPart.Parent then | |
| 419 | EffectPart:Destroy() | |
| 420 | end | |
| 421 | end) | |
| 422 | end | |
| 423 | ------------------------------------------------------- | |
| 424 | --End Damage Function Customization-- | |
| 425 | ------------------------------------------------------- | |
| 426 | ||
| 427 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 428 | for _, c in pairs(workspace:children()) do | |
| 429 | local hum = c:findFirstChild("Humanoid")
| |
| 430 | if hum ~= nil then | |
| 431 | local head = c:findFirstChild("Head")
| |
| 432 | if head ~= nil then | |
| 433 | local targ = head.Position - Part.Position | |
| 434 | local mag = targ.magnitude | |
| 435 | if magni >= mag and c.Name ~= plr.Name then | |
| 436 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 437 | end | |
| 438 | end | |
| 439 | end | |
| 440 | end | |
| 441 | end | |
| 442 | ||
| 443 | ||
| 444 | CFuncs = {
| |
| 445 | Part = {
| |
| 446 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 447 | local Part = Create("Part")({
| |
| 448 | Parent = Parent, | |
| 449 | Reflectance = Reflectance, | |
| 450 | Transparency = Transparency, | |
| 451 | CanCollide = false, | |
| 452 | Locked = true, | |
| 453 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 454 | Name = Name, | |
| 455 | Size = Size, | |
| 456 | Material = Material | |
| 457 | }) | |
| 458 | RemoveOutlines(Part) | |
| 459 | return Part | |
| 460 | end | |
| 461 | }, | |
| 462 | Mesh = {
| |
| 463 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 464 | local Msh = Create(Mesh)({
| |
| 465 | Parent = Part, | |
| 466 | Offset = OffSet, | |
| 467 | Scale = Scale | |
| 468 | }) | |
| 469 | if Mesh == "SpecialMesh" then | |
| 470 | Msh.MeshType = MeshType | |
| 471 | Msh.MeshId = MeshId | |
| 472 | end | |
| 473 | return Msh | |
| 474 | end | |
| 475 | }, | |
| 476 | Mesh = {
| |
| 477 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 478 | local Msh = Create(Mesh)({
| |
| 479 | Parent = Part, | |
| 480 | Offset = OffSet, | |
| 481 | Scale = Scale | |
| 482 | }) | |
| 483 | if Mesh == "SpecialMesh" then | |
| 484 | Msh.MeshType = MeshType | |
| 485 | Msh.MeshId = MeshId | |
| 486 | end | |
| 487 | return Msh | |
| 488 | end | |
| 489 | }, | |
| 490 | Weld = {
| |
| 491 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 492 | local Weld = Create("Weld")({
| |
| 493 | Parent = Parent, | |
| 494 | Part0 = Part0, | |
| 495 | Part1 = Part1, | |
| 496 | C0 = C0, | |
| 497 | C1 = C1 | |
| 498 | }) | |
| 499 | return Weld | |
| 500 | end | |
| 501 | }, | |
| 502 | Sound = {
| |
| 503 | Create = function(id, par, vol, pit) | |
| 504 | coroutine.resume(coroutine.create(function() | |
| 505 | local S = Create("Sound")({
| |
| 506 | Volume = vol, | |
| 507 | Pitch = pit or 1, | |
| 508 | SoundId = id, | |
| 509 | Parent = par or workspace | |
| 510 | }) | |
| 511 | wait() | |
| 512 | S:play() | |
| 513 | game:GetService("Debris"):AddItem(S, 6)
| |
| 514 | end)) | |
| 515 | end | |
| 516 | }, | |
| 517 | ParticleEmitter = {
| |
| 518 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 519 | local fp = Create("ParticleEmitter")({
| |
| 520 | Parent = Parent, | |
| 521 | Color = ColorSequence.new(Color1, Color2), | |
| 522 | LightEmission = LightEmission, | |
| 523 | Size = Size, | |
| 524 | Texture = Texture, | |
| 525 | Transparency = Transparency, | |
| 526 | ZOffset = ZOffset, | |
| 527 | Acceleration = Accel, | |
| 528 | Drag = Drag, | |
| 529 | LockedToPart = LockedToPart, | |
| 530 | VelocityInheritance = VelocityInheritance, | |
| 531 | EmissionDirection = EmissionDirection, | |
| 532 | Enabled = Enabled, | |
| 533 | Lifetime = LifeTime, | |
| 534 | Rate = Rate, | |
| 535 | Rotation = Rotation, | |
| 536 | RotSpeed = RotSpeed, | |
| 537 | Speed = Speed, | |
| 538 | VelocitySpread = VelocitySpread | |
| 539 | }) | |
| 540 | return fp | |
| 541 | end | |
| 542 | } | |
| 543 | } | |
| 544 | function RemoveOutlines(part) | |
| 545 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 546 | end | |
| 547 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 548 | local Part = Create("Part")({
| |
| 549 | formFactor = FormFactor, | |
| 550 | Parent = Parent, | |
| 551 | Reflectance = Reflectance, | |
| 552 | Transparency = Transparency, | |
| 553 | CanCollide = false, | |
| 554 | Locked = true, | |
| 555 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 556 | Name = Name, | |
| 557 | Size = Size, | |
| 558 | Material = Material | |
| 559 | }) | |
| 560 | RemoveOutlines(Part) | |
| 561 | return Part | |
| 562 | end | |
| 563 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 564 | local Msh = Create(Mesh)({
| |
| 565 | Parent = Part, | |
| 566 | Offset = OffSet, | |
| 567 | Scale = Scale | |
| 568 | }) | |
| 569 | if Mesh == "SpecialMesh" then | |
| 570 | Msh.MeshType = MeshType | |
| 571 | Msh.MeshId = MeshId | |
| 572 | end | |
| 573 | return Msh | |
| 574 | end | |
| 575 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 576 | local Weld = Create("Weld")({
| |
| 577 | Parent = Parent, | |
| 578 | Part0 = Part0, | |
| 579 | Part1 = Part1, | |
| 580 | C0 = C0, | |
| 581 | C1 = C1 | |
| 582 | }) | |
| 583 | return Weld | |
| 584 | end | |
| 585 | ||
| 586 | ||
| 587 | ------------------------------------------------------- | |
| 588 | --Start Effect Function-- | |
| 589 | ------------------------------------------------------- | |
| 590 | EffectModel = Instance.new("Model", char)
| |
| 591 | Effects = {
| |
| 592 | Block = {
| |
| 593 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 594 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 595 | prt.Anchored = true | |
| 596 | prt.CFrame = cframe | |
| 597 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 598 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 599 | if Type == 1 or Type == nil then | |
| 600 | table.insert(Effects, {
| |
| 601 | prt, | |
| 602 | "Block1", | |
| 603 | delay, | |
| 604 | x3, | |
| 605 | y3, | |
| 606 | z3, | |
| 607 | msh | |
| 608 | }) | |
| 609 | elseif Type == 2 then | |
| 610 | table.insert(Effects, {
| |
| 611 | prt, | |
| 612 | "Block2", | |
| 613 | delay, | |
| 614 | x3, | |
| 615 | y3, | |
| 616 | z3, | |
| 617 | msh | |
| 618 | }) | |
| 619 | else | |
| 620 | table.insert(Effects, {
| |
| 621 | prt, | |
| 622 | "Block3", | |
| 623 | delay, | |
| 624 | x3, | |
| 625 | y3, | |
| 626 | z3, | |
| 627 | msh | |
| 628 | }) | |
| 629 | end | |
| 630 | end | |
| 631 | }, | |
| 632 | Sphere = {
| |
| 633 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 634 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 635 | prt.Anchored = true | |
| 636 | prt.CFrame = cframe | |
| 637 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 638 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 639 | table.insert(Effects, {
| |
| 640 | prt, | |
| 641 | "Cylinder", | |
| 642 | delay, | |
| 643 | x3, | |
| 644 | y3, | |
| 645 | z3, | |
| 646 | msh | |
| 647 | }) | |
| 648 | end | |
| 649 | }, | |
| 650 | Cylinder = {
| |
| 651 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 652 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 653 | prt.Anchored = true | |
| 654 | prt.CFrame = cframe | |
| 655 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 656 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 657 | table.insert(Effects, {
| |
| 658 | prt, | |
| 659 | "Cylinder", | |
| 660 | delay, | |
| 661 | x3, | |
| 662 | y3, | |
| 663 | z3, | |
| 664 | msh | |
| 665 | }) | |
| 666 | end | |
| 667 | }, | |
| 668 | Wave = {
| |
| 669 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 670 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 671 | prt.Anchored = true | |
| 672 | prt.CFrame = cframe | |
| 673 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 674 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 675 | table.insert(Effects, {
| |
| 676 | prt, | |
| 677 | "Cylinder", | |
| 678 | delay, | |
| 679 | x3 / 60, | |
| 680 | y3 / 60, | |
| 681 | z3 / 60, | |
| 682 | msh | |
| 683 | }) | |
| 684 | end | |
| 685 | }, | |
| 686 | Ring = {
| |
| 687 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 688 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 689 | prt.Anchored = true | |
| 690 | prt.CFrame = cframe | |
| 691 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 692 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 693 | table.insert(Effects, {
| |
| 694 | prt, | |
| 695 | "Cylinder", | |
| 696 | delay, | |
| 697 | x3, | |
| 698 | y3, | |
| 699 | z3, | |
| 700 | msh | |
| 701 | }) | |
| 702 | end | |
| 703 | }, | |
| 704 | Break = {
| |
| 705 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 706 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 707 | prt.Anchored = true | |
| 708 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 709 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 710 | local num = math.random(10, 50) / 1000 | |
| 711 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 712 | table.insert(Effects, {
| |
| 713 | prt, | |
| 714 | "Shatter", | |
| 715 | num, | |
| 716 | prt.CFrame, | |
| 717 | math.random() - math.random(), | |
| 718 | 0, | |
| 719 | math.random(50, 100) / 100 | |
| 720 | }) | |
| 721 | end | |
| 722 | }, | |
| 723 | Spiral = {
| |
| 724 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 725 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 726 | prt.Anchored = true | |
| 727 | prt.CFrame = cframe | |
| 728 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 729 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 730 | table.insert(Effects, {
| |
| 731 | prt, | |
| 732 | "Cylinder", | |
| 733 | delay, | |
| 734 | x3, | |
| 735 | y3, | |
| 736 | z3, | |
| 737 | msh | |
| 738 | }) | |
| 739 | end | |
| 740 | }, | |
| 741 | Push = {
| |
| 742 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 743 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 744 | prt.Anchored = true | |
| 745 | prt.CFrame = cframe | |
| 746 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 747 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 748 | table.insert(Effects, {
| |
| 749 | prt, | |
| 750 | "Cylinder", | |
| 751 | delay, | |
| 752 | x3, | |
| 753 | y3, | |
| 754 | z3, | |
| 755 | msh | |
| 756 | }) | |
| 757 | end | |
| 758 | } | |
| 759 | } | |
| 760 | ------------------------------------------------------- | |
| 761 | --End Effect Function-- | |
| 762 | ------------------------------------------------------- | |
| 763 | ||
| 764 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 765 | local NSound = nil | |
| 766 | coroutine.resume(coroutine.create(function() | |
| 767 | NSound = Instance.new("Sound", PARENT)
| |
| 768 | NSound.Volume = VOLUME | |
| 769 | NSound.Pitch = PITCH | |
| 770 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 771 | NSound.Parent = hed | |
| 772 | swait() | |
| 773 | NSound:play() | |
| 774 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 775 | end)) | |
| 776 | return NSound | |
| 777 | end | |
| 778 | ||
| 779 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 780 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 781 | prt.Anchored = true | |
| 782 | prt.CFrame = cframe | |
| 783 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 784 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 785 | if Type == 1 or Type == nil then | |
| 786 | table.insert(Effects, {
| |
| 787 | prt, | |
| 788 | "Block1", | |
| 789 | delay, | |
| 790 | x3, | |
| 791 | y3, | |
| 792 | z3, | |
| 793 | msh | |
| 794 | }) | |
| 795 | elseif Type == 2 then | |
| 796 | table.insert(Effects, {
| |
| 797 | prt, | |
| 798 | "Block2", | |
| 799 | delay, | |
| 800 | x3, | |
| 801 | y3, | |
| 802 | z3, | |
| 803 | msh | |
| 804 | }) | |
| 805 | elseif Type == 3 then | |
| 806 | table.insert(Effects, {
| |
| 807 | prt, | |
| 808 | "Block3", | |
| 809 | delay, | |
| 810 | x3, | |
| 811 | y3, | |
| 812 | z3, | |
| 813 | msh | |
| 814 | }) | |
| 815 | end | |
| 816 | end | |
| 817 | ||
| 818 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 819 | local fp=Instance.new("Part")
| |
| 820 | fp.formFactor=formfactor | |
| 821 | fp.Parent=parent | |
| 822 | fp.Reflectance=reflectance | |
| 823 | fp.Transparency=transparency | |
| 824 | fp.CanCollide=false | |
| 825 | fp.Locked=true | |
| 826 | fp.BrickColor=brickcolor | |
| 827 | fp.Name=name | |
| 828 | fp.Size=size | |
| 829 | fp.Position=tors.Position | |
| 830 | RemoveOutlines(fp) | |
| 831 | fp.Material="SmoothPlastic" | |
| 832 | fp:BreakJoints() | |
| 833 | return fp | |
| 834 | end | |
| 835 | ||
| 836 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 837 | local mesh=Instance.new(Mesh) | |
| 838 | mesh.Parent=part | |
| 839 | if Mesh=="SpecialMesh" then | |
| 840 | mesh.MeshType=meshtype | |
| 841 | if meshid~="nil" then | |
| 842 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 843 | end | |
| 844 | end | |
| 845 | mesh.Offset=offset | |
| 846 | mesh.Scale=scale | |
| 847 | return mesh | |
| 848 | end | |
| 849 | ||
| 850 | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
| 851 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 852 | prt.Anchored = true | |
| 853 | prt.Material = "Neon" | |
| 854 | prt.CFrame = cframe | |
| 855 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 856 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 857 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 858 | local rtype = rottype | |
| 859 | for i = 0, 1, delay do | |
| 860 | swait() | |
| 861 | if rtype == 1 then | |
| 862 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 863 | elseif rtype == 2 then | |
| 864 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 865 | end | |
| 866 | prt.Transparency = i | |
| 867 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 868 | end | |
| 869 | Part.Parent = nil | |
| 870 | end), prt, msh) | |
| 871 | end | |
| 872 | ||
| 873 | ||
| 874 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 875 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 876 | prt.Anchored = true | |
| 877 | prt.Material = "Neon" | |
| 878 | prt.CFrame = cframe | |
| 879 | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 880 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 881 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 882 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 883 | for i = 0, 1, delay do | |
| 884 | swait() | |
| 885 | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 886 | Part.Transparency = i | |
| 887 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 888 | end | |
| 889 | Part.Parent = nil | |
| 890 | end), prt, msh) | |
| 891 | end | |
| 892 | ||
| 893 | ||
| 894 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
| 895 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 896 | prt.Anchored = true | |
| 897 | prt.Material = "Neon" | |
| 898 | prt.CFrame = cframe | |
| 899 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
| |
| 900 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 901 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 902 | local rtype = rottype | |
| 903 | for i = 0, 1, delay do | |
| 904 | swait() | |
| 905 | if rtype == 1 then | |
| 906 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 907 | elseif rtype == 2 then | |
| 908 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 909 | end | |
| 910 | prt.Transparency = i | |
| 911 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) | |
| 912 | end | |
| 913 | Part.Parent = nil | |
| 914 | end), prt, msh) | |
| 915 | end | |
| 916 | ||
| 917 | function Eviscerate(dude) | |
| 918 | if dude.Name ~= char then | |
| 919 | local bgf = IT("BodyGyro", dude.Head)
| |
| 920 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 921 | local val = IT("BoolValue", dude)
| |
| 922 | val.Name = "IsHit" | |
| 923 | local ds = coroutine.wrap(function() | |
| 924 | dude:WaitForChild("Head"):BreakJoints()
| |
| 925 | wait(0.5) | |
| 926 | target = nil | |
| 927 | coroutine.resume(coroutine.create(function() | |
| 928 | for i, v in pairs(dude:GetChildren()) do | |
| 929 | if v:IsA("Accessory") then
| |
| 930 | v:Destroy() | |
| 931 | end | |
| 932 | if v:IsA("Humanoid") then
| |
| 933 | v:Destroy() | |
| 934 | end | |
| 935 | if v:IsA("CharacterMesh") then
| |
| 936 | v:Destroy() | |
| 937 | end | |
| 938 | if v:IsA("Model") then
| |
| 939 | v:Destroy() | |
| 940 | end | |
| 941 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 942 | for x, o in pairs(v:GetChildren()) do | |
| 943 | if o:IsA("Decal") then
| |
| 944 | o:Destroy() | |
| 945 | end | |
| 946 | end | |
| 947 | coroutine.resume(coroutine.create(function() | |
| 948 | v.Material = "Neon" | |
| 949 | v.CanCollide = false | |
| 950 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 951 | PartEmmit1.LightEmission = 1 | |
| 952 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 953 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 954 | PartEmmit1.Rate = 150 | |
| 955 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 956 | PartEmmit1.Size = NumberSequence.new({
| |
| 957 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 958 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 959 | }) | |
| 960 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 961 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 962 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 963 | }) | |
| 964 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 965 | PartEmmit1.VelocitySpread = 30000 | |
| 966 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 967 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 968 | local BodPoss = IT("BodyPosition", v)
| |
| 969 | BodPoss.P = 3000 | |
| 970 | BodPoss.D = 1000 | |
| 971 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 972 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 973 | v.Color = maincolor.Color | |
| 974 | coroutine.resume(coroutine.create(function() | |
| 975 | for i = 0, 49 do | |
| 976 | swait(1) | |
| 977 | v.Transparency = v.Transparency + 0.08 | |
| 978 | end | |
| 979 | wait(0.5) | |
| 980 | PartEmmit1.Enabled = false | |
| 981 | wait(3) | |
| 982 | v:Destroy() | |
| 983 | dude:Destroy() | |
| 984 | end)) | |
| 985 | end)) | |
| 986 | end | |
| 987 | end | |
| 988 | end)) | |
| 989 | end) | |
| 990 | ds() | |
| 991 | end | |
| 992 | end | |
| 993 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 994 | if SinglePlayer then | |
| 995 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 996 | end | |
| 997 | local List = {}
| |
| 998 | for i, v in pairs(workspace:GetChildren()) do | |
| 999 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1000 | table.insert(List, v) | |
| 1001 | end | |
| 1002 | end | |
| 1003 | return List | |
| 1004 | end | |
| 1005 | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
| 1006 | local type = type | |
| 1007 | local rng = Instance.new("Part", char)
| |
| 1008 | rng.Anchored = true | |
| 1009 | rng.BrickColor = color | |
| 1010 | rng.CanCollide = false | |
| 1011 | rng.FormFactor = 3 | |
| 1012 | rng.Name = "Ring" | |
| 1013 | rng.Material = "Neon" | |
| 1014 | rng.Size = Vector3.new(1, 1, 1) | |
| 1015 | rng.Transparency = 0 | |
| 1016 | rng.TopSurface = 0 | |
| 1017 | rng.BottomSurface = 0 | |
| 1018 | rng.CFrame = pos | |
| 1019 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1020 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1021 | rngm.MeshType = "Sphere" | |
| 1022 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1023 | local scaler2 = 1 | |
| 1024 | local speeder = FastSpeed | |
| 1025 | if type == "Add" then | |
| 1026 | scaler2 = 1 * value | |
| 1027 | elseif type == "Divide" then | |
| 1028 | scaler2 = 1 / value | |
| 1029 | end | |
| 1030 | coroutine.resume(coroutine.create(function() | |
| 1031 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1032 | swait() | |
| 1033 | if type == "Add" then | |
| 1034 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1035 | elseif type == "Divide" then | |
| 1036 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1037 | end | |
| 1038 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1039 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1040 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1041 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1042 | end | |
| 1043 | rng:Destroy() | |
| 1044 | end)) | |
| 1045 | end | |
| 1046 | ------------------------------------------------------- | |
| 1047 | --End Important Functions-- | |
| 1048 | ------------------------------------------------------- | |
| 1049 | ||
| 1050 | --[[ | |
| 1051 | Thanks for using Build-To-Lua by jarredbcv. | |
| 1052 | ]]-- | |
| 1053 | ||
| 1054 | New = function(Object, Parent, Name, Data) | |
| 1055 | local Object = Instance.new(Object) | |
| 1056 | for Index, Value in pairs(Data or {}) do
| |
| 1057 | Object[Index] = Value | |
| 1058 | end | |
| 1059 | Object.Parent = Parent | |
| 1060 | Object.Name = Name | |
| 1061 | return Object | |
| 1062 | end | |
| 1063 | ||
| 1064 | NewInstance = function(instance,parent,properties) | |
| 1065 | local inst = Instance.new(instance,parent) | |
| 1066 | if(properties)then | |
| 1067 | for i,v in next, properties do | |
| 1068 | pcall(function() inst[i] = v end) | |
| 1069 | end | |
| 1070 | end | |
| 1071 | return inst; | |
| 1072 | end | |
| 1073 | ||
| 1074 | Gunty = New("Model",char,"Gunty",{})
| |
| 1075 | Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1076 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 1077 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1078 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
| |
| 1079 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1080 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1081 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1082 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1083 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
| |
| 1084 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1085 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1086 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
| |
| 1087 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1088 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1089 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
| |
| 1090 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1091 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1092 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
| |
| 1093 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1094 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1095 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1096 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1097 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1098 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1099 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1100 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1101 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1102 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1103 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1104 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1105 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1106 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1107 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1108 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
| |
| 1109 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1110 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1111 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
| |
| 1112 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1113 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1114 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
| |
| 1115 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1116 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
| |
| 1117 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1118 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1119 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 1120 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1121 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1122 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1123 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
| |
| 1124 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1125 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1126 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1127 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1128 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1129 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1130 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1131 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1132 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1133 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
| |
| 1134 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
| |
| 1135 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
| |
| 1136 | ||
| 1137 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
| |
| 1138 | ||
| 1139 | for _,v in next, Gunty:children() do | |
| 1140 | v.CanCollide = false | |
| 1141 | end | |
| 1142 | ||
| 1143 | local all, last = {}, nil
| |
| 1144 | ArmourParts = {}
| |
| 1145 | ArmourParts2 = {}
| |
| 1146 | NeonParts = {}
| |
| 1147 | function scan(p) | |
| 1148 | for _, v in pairs(p:GetChildren()) do | |
| 1149 | if v:IsA("BasePart") then
| |
| 1150 | if v.BrickColor == BrickColor.new("Smoky grey") then
| |
| 1151 | table.insert(ArmourParts, v) | |
| 1152 | end | |
| 1153 | if v.BrickColor == BrickColor.new("Fossil") then
| |
| 1154 | table.insert(ArmourParts2, v) | |
| 1155 | end | |
| 1156 | if v.BrickColor == BrickColor.new("Institutional white") then
| |
| 1157 | table.insert(NeonParts, v) | |
| 1158 | end | |
| 1159 | if last then | |
| 1160 | local w = Instance.new("Weld")
| |
| 1161 | w.Part0, w.Part1 = last, v | |
| 1162 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
| 1163 | w.Parent = last | |
| 1164 | end | |
| 1165 | table.insert(all, v) | |
| 1166 | last = v | |
| 1167 | end | |
| 1168 | scan(v) | |
| 1169 | end | |
| 1170 | end | |
| 1171 | scan(Gunty) | |
| 1172 | for _, v in pairs(all) do | |
| 1173 | v.Anchored = false | |
| 1174 | v.CanCollide = false | |
| 1175 | end | |
| 1176 | function resetmode() | |
| 1177 | for i, v in pairs(ArmourParts) do | |
| 1178 | v.BrickColor = BrickColor.new("Smoky grey")
| |
| 1179 | end | |
| 1180 | for i, v in pairs(ArmourParts2) do | |
| 1181 | v.BrickColor = BrickColor.new("Fossil")
| |
| 1182 | end | |
| 1183 | for i, v in pairs(NeonParts) do | |
| 1184 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 1185 | end | |
| 1186 | maincolor = BrickColor.new("Institutional white")
| |
| 1187 | end | |
| 1188 | ------------------------------------------------------- | |
| 1189 | --Start Music Option-- | |
| 1190 | - | local Music = Instance.new("Sound",tors)
|
| 1190 | + | |
| 1191 | local Music = Instance.new("Sound",hed)
| |
| 1192 | Music.Volume = 7.5 | |
| 1193 | Music.SoundId = "rbxassetid://303536628" | |
| 1194 | Music.Looped = true | |
| 1195 | Music.Pitch = 1 --Pitcher | |
| 1196 | Music:Play() | |
| 1197 | ------------------------------------------------------- | |
| 1198 | --End Music Option-- | |
| 1199 | ------------------------------------------------------- | |
| 1200 | ||
| 1201 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 1202 | naeeym2.AlwaysOnTop = true | |
| 1203 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 1204 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1205 | naeeym2.Adornee = hed | |
| 1206 | naeeym2.Name = "Name" | |
| 1207 | ||
| 1208 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1209 | tecks2.BackgroundTransparency = 1 | |
| 1210 | tecks2.TextScaled = true | |
| 1211 | tecks2.BorderSizePixel = 0 | |
| 1212 | tecks2.Text = "Mask rider Drive" | |
| 1213 | tecks2.Font = "Code" | |
| 1214 | tecks2.TextSize = 30 | |
| 1215 | tecks2.TextStrokeTransparency = 0 | |
| 1216 | tecks2.TextColor3 = Color3.new(0,0,0) | |
| 1217 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 1218 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1219 | tecks2.Parent = naeeym2 | |
| 1220 | ||
| 1221 | ------------------------------------------------------- | |
| 1222 | --Start Attacks N Stuff-- | |
| 1223 | ------------------------------------------------------- | |
| 1224 | local sine=0 | |
| 1225 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
| 1226 | local Hitboxpart = Instance.new("Part", EffectModel)
| |
| 1227 | RemoveOutlines(Hitboxpart) | |
| 1228 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
| 1229 | Hitboxpart.CanCollide = false | |
| 1230 | Hitboxpart.Transparency = 1 | |
| 1231 | Hitboxpart.Anchored = true | |
| 1232 | Hitboxpart.CFrame = Pose | |
| 1233 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
| |
| 1234 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
| 1235 | end | |
| 1236 | wait2 = false | |
| 1237 | combo = 1 | |
| 1238 | mouse.Button1Down:connect(function(key) | |
| 1239 | if attack == false then | |
| 1240 | attack = true | |
| 1241 | hum.WalkSpeed = 3.01 | |
| 1242 | if combo == 1 and wait2 == false then | |
| 1243 | wait2 = true | |
| 1244 | for i = 0, 1.2, 0.1 do | |
| 1245 | swait() | |
| 1246 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
| 1247 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
| 1248 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
| 1249 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1250 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
| 1251 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
| 1252 | end | |
| 1253 | CreateSound("138097048", ra, 3, .8)
| |
| 1254 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
| 1255 | for i = 0, 1.2, 0.1 do | |
| 1256 | swait() | |
| 1257 | BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
| 1258 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
| 1259 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1260 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1) | |
| 1261 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1262 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
| 1263 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
| 1264 | end | |
| 1265 | combo = 2 | |
| 1266 | end | |
| 1267 | if combo == 2 and wait2 == false then | |
| 1268 | wait2 = true | |
| 1269 | for i = 0, 1.2, 0.1 do | |
| 1270 | swait() | |
| 1271 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
| 1272 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1273 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
| 1274 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1275 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
| 1276 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
| 1277 | end | |
| 1278 | CreateSound("138097048", rl, 3, 1)
| |
| 1279 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
| 1280 | for i = 0, 1.6, 0.1 do | |
| 1281 | swait() | |
| 1282 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3) | |
| 1283 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1284 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1) | |
| 1285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3) | |
| 1286 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
| 1287 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3) | |
| 1288 | end | |
| 1289 | combo = 3 | |
| 1290 | end | |
| 1291 | if combo == 3 and wait2 == false then | |
| 1292 | for i = 0, 1.2, 0.1 do | |
| 1293 | swait() | |
| 1294 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
| 1295 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
| 1296 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
| 1297 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1298 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
| 1299 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
| 1300 | end | |
| 1301 | CreateSound("138097048", ra, 3, .8)
| |
| 1302 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
| 1303 | for i = 0, 1.2, 0.1 do | |
| 1304 | swait() | |
| 1305 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) | |
| 1306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1307 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1) | |
| 1308 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1309 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
| 1310 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
| 1311 | end | |
| 1312 | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03) | |
| 1313 | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03) | |
| 1314 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
| 1315 | for i = 0, 1.2, 0.1 do | |
| 1316 | swait() | |
| 1317 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) | |
| 1318 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1319 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1) | |
| 1320 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1321 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
| 1322 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
| 1323 | end | |
| 1324 | combo = 1 | |
| 1325 | end | |
| 1326 | hum.WalkSpeed = 8 | |
| 1327 | wait2 = false | |
| 1328 | attack = false | |
| 1329 | end | |
| 1330 | end) | |
| 1331 | function Decapitate() | |
| 1332 | local target = nil | |
| 1333 | local targettorso = nil | |
| 1334 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1335 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 1336 | target = mouse.Target.Parent.Humanoid | |
| 1337 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 1338 | targethead = mouse.Target.Parent:FindFirstChild("Head")
| |
| 1339 | end | |
| 1340 | end | |
| 1341 | if target ~= nil then | |
| 1342 | targettorso.Anchored = true | |
| 1343 | attack = true | |
| 1344 | hum.WalkSpeed = 0 | |
| 1345 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
| 1346 | for i = 0,4.2,0.1 do | |
| 1347 | swait() | |
| 1348 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
| 1349 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
| 1350 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1351 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1352 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1) | |
| 1353 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 1354 | end | |
| 1355 | local ModelHead01 = New("Model", char, "", {})
| |
| 1356 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
| |
| 1357 | local Head01 = targethead:Clone() | |
| 1358 | targethead.Transparency = 1 | |
| 1359 | Head01.Parent = ModelHead01 | |
| 1360 | local weldHead01 = Instance.new("Weld")
| |
| 1361 | weldHead01.Parent = Head01 | |
| 1362 | weldHead01.Part0 = targethead | |
| 1363 | weldHead01.Part1 = Head01 | |
| 1364 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
| 1365 | targethead.face:Remove() | |
| 1366 | weldHead01.Part0 = ra | |
| 1367 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1368 | targettorso:BreakJoints() | |
| 1369 | CreateSound("314390675", targettorso, 5, .7)
| |
| 1370 | for i = 0,3.2,0.1 do | |
| 1371 | swait() | |
| 1372 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1373 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1374 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 1375 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15) | |
| 1376 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1) | |
| 1377 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 1378 | end | |
| 1379 | for i = 0,4.2,0.1 do | |
| 1380 | swait() | |
| 1381 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
| 1382 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
| 1383 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 1384 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 1385 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1) | |
| 1386 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
| 1387 | end | |
| 1388 | CreateSound("541909763", targettorso, 5, .8)
| |
| 1389 | weldHead01:Destroy() | |
| 1390 | Head01.CanCollide = true | |
| 1391 | local bodyVelocity2 = Create("BodyVelocity")({
| |
| 1392 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
| 1393 | P = 5000, | |
| 1394 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1395 | Parent = Head01 | |
| 1396 | }) | |
| 1397 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
| |
| 1398 | for i = 0,6.2,0.1 do | |
| 1399 | swait() | |
| 1400 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15) | |
| 1401 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
| 1402 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 1403 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 1404 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1) | |
| 1405 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
| 1406 | end | |
| 1407 | targettorso.Anchored = false | |
| 1408 | attack = false | |
| 1409 | hum.WalkSpeed = 8 | |
| 1410 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
| 1411 | end | |
| 1412 | end | |
| 1413 | function Laugh() | |
| 1414 | attack = true | |
| 1415 | hum.WalkSpeed = 0 | |
| 1416 | CreateSound("300208779", hed, 10, 1)
| |
| 1417 | for i = 0,9,0.1 do | |
| 1418 | swait() | |
| 1419 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15) | |
| 1420 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
| 1421 | if Mrandom(1,15) == 1 then | |
| 1422 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
| 1423 | end | |
| 1424 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15) | |
| 1425 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15) | |
| 1426 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1) | |
| 1427 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1) | |
| 1428 | end | |
| 1429 | attack = false | |
| 1430 | hum.WalkSpeed = 10 | |
| 1431 | end | |
| 1432 | function Flying_Kick() | |
| 1433 | attack = true | |
| 1434 | hum.WalkSpeed = 0 | |
| 1435 | for i = 0,2.7,0.1 do | |
| 1436 | swait() | |
| 1437 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 1438 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
| 1439 | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 1440 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15) | |
| 1441 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1) | |
| 1442 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1) | |
| 1443 | end | |
| 1444 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1445 | velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250, | |
| 1446 | P = 5000, | |
| 1447 | maxForce = Vector3.new(9e99, 9e99, 9e99), | |
| 1448 | Parent = root | |
| 1449 | }) | |
| 1450 | game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
| |
| 1451 | CreateSound("138097048", rl, 3, 1)
| |
| 1452 | for i = 0,2.1,0.1 do | |
| 1453 | swait() | |
| 1454 | HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
| 1455 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15) | |
| 1456 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1457 | RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15) | |
| 1458 | LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15) | |
| 1459 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
| 1460 | LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1) | |
| 1461 | end | |
| 1462 | attack = false | |
| 1463 | hum.WalkSpeed = 8 | |
| 1464 | end | |
| 1465 | function UpperCut() | |
| 1466 | attack = true | |
| 1467 | hum.WalkSpeed = 0 | |
| 1468 | for i = 0,2.3,0.1 do | |
| 1469 | swait() | |
| 1470 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 1471 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
| 1472 | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 1473 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15) | |
| 1474 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1) | |
| 1475 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1) | |
| 1476 | end | |
| 1477 | CreateSound("138097048", ra, 3, .8)
| |
| 1478 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
| 1479 | for i = 0,2.8,0.1 do | |
| 1480 | swait() | |
| 1481 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15) | |
| 1482 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
| 1483 | RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15) | |
| 1484 | LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15) | |
| 1485 | RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1) | |
| 1486 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1) | |
| 1487 | end | |
| 1488 | attack = false | |
| 1489 | hum.WalkSpeed = 8 | |
| 1490 | end | |
| 1491 | function Spinning_Kick() | |
| 1492 | attack = true | |
| 1493 | hum.WalkSpeed = 3.01 | |
| 1494 | for i = 0, 1.2, 0.1 do | |
| 1495 | swait() | |
| 1496 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
| 1497 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1498 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
| 1499 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1500 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
| 1501 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
| 1502 | end | |
| 1503 | for i = 0, 4.6, 0.1 do | |
| 1504 | swait() | |
| 1505 | CreateSound("138097048", rl, 3, 1)
| |
| 1506 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
| 1507 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3) | |
| 1508 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1509 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1) | |
| 1510 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3) | |
| 1511 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
| 1512 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3) | |
| 1513 | end | |
| 1514 | attack = false | |
| 1515 | hum.WalkSpeed = 8 | |
| 1516 | end | |
| 1517 | function Beam_Of_Light() | |
| 1518 | ||
| 1519 | end | |
| 1520 | function Blast_Of_God() | |
| 1521 | attack = true | |
| 1522 | hum.WalkSpeed = 3.01 | |
| 1523 | for i = 0,6.3,0.1 do | |
| 1524 | swait() | |
| 1525 | Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 1526 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15) | |
| 1527 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
| 1528 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1529 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1530 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1531 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1532 | end | |
| 1533 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1534 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1535 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1536 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1537 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1538 | Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1539 | CreateSound("142070127", tors, 10, 1)
| |
| 1540 | MagniDamage(ra, 12, 40, 60, 10, "Normal") | |
| 1541 | for i = 0,2.6,0.1 do | |
| 1542 | swait() | |
| 1543 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15) | |
| 1544 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
| 1545 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1546 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1547 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1548 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1549 | end | |
| 1550 | attack = false | |
| 1551 | hum.WalkSpeed = 8 | |
| 1552 | end | |
| 1553 | function Diablo_Explosion() | |
| 1554 | attack = true | |
| 1555 | hum.WalkSpeed = 3.01 | |
| 1556 | for i = 0,6.3,0.1 do | |
| 1557 | swait() | |
| 1558 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 1559 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 1560 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1561 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1562 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 1563 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
| 1564 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1565 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1566 | end | |
| 1567 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
| |
| 1568 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1569 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
| |
| 1570 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 1571 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1572 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
| |
| 1573 | CreateSound("142070127", tors, 10, 1)
| |
| 1574 | MagniDamage(tors, 12, 34, 54, 10, "DarkUp") | |
| 1575 | for i = 0,4.6,0.1 do | |
| 1576 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1577 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1578 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 1579 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 1580 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1581 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1582 | end | |
| 1583 | wait(.6) | |
| 1584 | attack = false | |
| 1585 | hum.WalkSpeed = 8 | |
| 1586 | end | |
| 1587 | function Hell_From_Above() | |
| 1588 | local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 1589 | attack = true | |
| 1590 | hum.WalkSpeed = 3.01 | |
| 1591 | for i = 0,6.3,0.1 do | |
| 1592 | swait() | |
| 1593 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 1594 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1595 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1596 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 1597 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 1598 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1599 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1600 | end | |
| 1601 | CreateSound("142070127", tors, 10, 1)
| |
| 1602 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 1603 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 1604 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 1605 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 1606 | for i = 0,3.8,0.1 do | |
| 1607 | swait() | |
| 1608 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 1609 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1610 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 1611 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 1612 | RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1613 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1614 | end | |
| 1615 | CreateSound("224339201", tors, 10, 0.5)
| |
| 1616 | for i = 1, 3 do | |
| 1617 | MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp") | |
| 1618 | UhhhhThing.CFrame = mouse.Hit | |
| 1619 | Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
| |
| 1620 | Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
| |
| 1621 | end | |
| 1622 | UhhhhThing:Destroy() | |
| 1623 | attack = false | |
| 1624 | hum.WalkSpeed = 8 | |
| 1625 | end | |
| 1626 | function Spinning_Below() | |
| 1627 | attack = true | |
| 1628 | hum.WalkSpeed = 3.01 | |
| 1629 | CreateSound("649634100", tors, 10, 0.5)
| |
| 1630 | for i = 0,6.3,0.1 do | |
| 1631 | swait() | |
| 1632 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 1633 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 1634 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15) | |
| 1635 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1636 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 1637 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 1638 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1639 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1640 | end | |
| 1641 | attack = false | |
| 1642 | hum.WalkSpeed = 8 | |
| 1643 | end | |
| 1644 | function Purity_Slam() | |
| 1645 | attack = true | |
| 1646 | for i = 0,5.2,0.1 do | |
| 1647 | swait() | |
| 1648 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 1649 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1650 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 1651 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 1652 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1653 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1654 | end | |
| 1655 | CreateSound("331666100", tors, 10, 1)
| |
| 1656 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
| |
| 1657 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
| |
| 1658 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
| |
| 1659 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
| |
| 1660 | MagniDamage(tors, 12, 40, 60, 10, "Normal") | |
| 1661 | coroutine.resume(coroutine.create(function() | |
| 1662 | for i = 0,1.8,0.1 do | |
| 1663 | swait() | |
| 1664 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1665 | end | |
| 1666 | for i = 0,1.8,0.1 do | |
| 1667 | swait() | |
| 1668 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1669 | end | |
| 1670 | end)) | |
| 1671 | for i = 1,4.7,0.1 do | |
| 1672 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 1673 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
| 1674 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
| 1675 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 1676 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
| 1677 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
| 1678 | end | |
| 1679 | wait(.6) | |
| 1680 | attack = false | |
| 1681 | end | |
| 1682 | function Painful_Stomp() | |
| 1683 | attack = true | |
| 1684 | for i = 0,5.2,0.1 do | |
| 1685 | swait() | |
| 1686 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 1687 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1688 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 1689 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 1690 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1691 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1692 | end | |
| 1693 | CreateSound("331666100", char, 10, 1)
| |
| 1694 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1695 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1696 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1697 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1698 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 1699 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 1700 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 1701 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
| 1702 | if v:FindFirstChild("Head") then
| |
| 1703 | Eviscerate(v) | |
| 1704 | end | |
| 1705 | end | |
| 1706 | coroutine.resume(coroutine.create(function() | |
| 1707 | for i = 0,2.8,0.1 do | |
| 1708 | swait() | |
| 1709 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1710 | end | |
| 1711 | for i = 0,1.8,0.1 do | |
| 1712 | swait() | |
| 1713 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1714 | end | |
| 1715 | end)) | |
| 1716 | for i = 0,3.7,0.1 do | |
| 1717 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 1718 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1719 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
| 1720 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
| 1721 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1722 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1723 | end | |
| 1724 | wait(.6) | |
| 1725 | attack = false | |
| 1726 | end | |
| 1727 | function Ending() | |
| 1728 | local target = nil | |
| 1729 | local targettorso = nil | |
| 1730 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1731 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 1732 | targetT = mouse.Target.Parent | |
| 1733 | target = mouse.Target.Parent.Humanoid | |
| 1734 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 1735 | targethead = mouse.Target.Parent:FindFirstChild("Head")
| |
| 1736 | end | |
| 1737 | end | |
| 1738 | if target ~= nil then | |
| 1739 | targettorso.Anchored = true | |
| 1740 | attack = true | |
| 1741 | hum.WalkSpeed = 0 | |
| 1742 | local originalpos = root.CFrame | |
| 1743 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
| 1744 | for i = 0,1.8,0.1 do | |
| 1745 | swait() | |
| 1746 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) | |
| 1747 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
| 1748 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1749 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1750 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) | |
| 1751 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 1752 | end | |
| 1753 | Eviscerate(targetT) | |
| 1754 | CreateSound("331666100", ra, 4, 1)
| |
| 1755 | CreateSound("180083286", targettorso, 10, 1)
| |
| 1756 | coroutine.resume(coroutine.create(function() | |
| 1757 | for i = 0,1.8,0.1 do | |
| 1758 | swait() | |
| 1759 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1760 | end | |
| 1761 | for i = 0,1.8,0.1 do | |
| 1762 | swait() | |
| 1763 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1764 | end | |
| 1765 | end)) | |
| 1766 | for i = 0,4.6,0.1 do | |
| 1767 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1768 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1769 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1770 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1771 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
| 1772 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 1773 | end | |
| 1774 | wait(.6) | |
| 1775 | root.CFrame = originalpos | |
| 1776 | attack = false | |
| 1777 | hum.WalkSpeed = 8 | |
| 1778 | end | |
| 1779 | end | |
| 1780 | ||
| 1781 | --[[I don't take ANY credit for this attack, | |
| 1782 | this was all nooby's hard work and the only reason i uhhh "used" it | |
| 1783 | is cause I i didn't have attack ideas at the time so yeah, | |
| 1784 | 100% nooby's credit <3]] | |
| 1785 | function Ende_der_Weld() | |
| 1786 | attack = true | |
| 1787 | hum.WalkSpeed = 0 | |
| 1788 | for i = 0,4.6,0.1 do | |
| 1789 | swait() | |
| 1790 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1791 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1792 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1793 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1794 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
| 1795 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 1796 | end | |
| 1797 | local a = Instance.new("Part",char)
| |
| 1798 | a.BrickColor = BrickColor.random() | |
| 1799 | a.Name = "Lazer" | |
| 1800 | a.Anchored = true | |
| 1801 | a.Material = "Neon" | |
| 1802 | a.Transparency = 1 | |
| 1803 | a.CanCollide = false | |
| 1804 | local hitbox = Instance.new("Part",char)
| |
| 1805 | hitbox.Size = Vector3.new(5,5,5) | |
| 1806 | hitbox.CFrame = mouse.hit | |
| 1807 | hitbox.Anchored = true | |
| 1808 | hitbox.Transparency = 1 | |
| 1809 | hitbox.CanCollide = false | |
| 1810 | local ray = Ray.new( | |
| 1811 | ra.CFrame.p, -- origin | |
| 1812 | (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction | |
| 1813 | ) | |
| 1814 | local ignore = char | |
| 1815 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 1816 | if hit then | |
| 1817 | local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1818 | ||
| 1819 | if not humanoid then | |
| 1820 | humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1821 | end | |
| 1822 | if humanoid then | |
| 1823 | if humanoid.Parent:IsA"Model" then | |
| 1824 | end | |
| 1825 | end | |
| 1826 | end | |
| 1827 | a.BottomSurface = 10 | |
| 1828 | a.TopSurface = 10 | |
| 1829 | local distance = (ra.CFrame.p - position).magnitude | |
| 1830 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 1831 | a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 1832 | game:GetService("Debris"):AddItem(a, 5)
| |
| 1833 | game:GetService("Debris"):AddItem(hitbox, 1)
| |
| 1834 | local newmesh = Instance.new("BlockMesh",a)
| |
| 1835 | MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) | |
| 1836 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1) | |
| 1837 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2) | |
| 1838 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1) | |
| 1839 | local lbs = Instance.new("Part")
| |
| 1840 | lbs.Parent = char | |
| 1841 | CreateSound("929619479", lbs, 10, 1)
| |
| 1842 | lbs.Material = "Neon" | |
| 1843 | lbs.Color = BrickColor.Random().Color | |
| 1844 | lbs.CanCollide = false | |
| 1845 | lbs.Shape = "Ball" | |
| 1846 | lbs.Anchored = true | |
| 1847 | lbs.Transparency = 0 | |
| 1848 | lbs.Size = Vector3.new(20,20,20) | |
| 1849 | lbs.CFrame = a.CFrame | |
| 1850 | local thing = Instance.new("SpecialMesh",lbs)
| |
| 1851 | thing.MeshType = "Sphere" | |
| 1852 | lbs.Anchored = false | |
| 1853 | local bvs = Instance.new("BodyVelocity")
| |
| 1854 | bvs.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1855 | bvs.velocity = a.CFrame.lookVector*75 | |
| 1856 | bvs.Parent = lbs | |
| 1857 | lbs.Touched:connect(function(hit) | |
| 1858 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
| 1859 | end) | |
| 1860 | attack = false | |
| 1861 | game:GetService("Debris"):AddItem(lbs, 10)
| |
| 1862 | for x = 0, 4 do | |
| 1863 | local bulletgos = IT("Model",char)
| |
| 1864 | local bulletgos2 = IT("Model",char)
| |
| 1865 | for z = 0, 24 do | |
| 1866 | local lb = Instance.new("Part")
| |
| 1867 | lb.Parent = bulletgos | |
| 1868 | lb.Material = "Neon" | |
| 1869 | lb.Color = BrickColor.Random().Color | |
| 1870 | lb.CanCollide = false | |
| 1871 | lb.Anchored = true | |
| 1872 | lb.Transparency = 0 | |
| 1873 | lb.Size = Vector3.new(2,2,2) | |
| 1874 | local thing = Instance.new("SpecialMesh",lb)
| |
| 1875 | thing.MeshType = "Sphere" | |
| 1876 | thing.Scale = Vector3.new(0.5,0.5,1.5) | |
| 1877 | lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 1878 | lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15 | |
| 1879 | local lb2 = Instance.new("Part")
| |
| 1880 | lb2.Parent = bulletgos2 | |
| 1881 | lb2.Material = "Neon" | |
| 1882 | lb2.Color = lb.Color | |
| 1883 | lb2.CanCollide = false | |
| 1884 | lb2.Anchored = true | |
| 1885 | lb2.Transparency = 0 | |
| 1886 | lb2.Size = Vector3.new(2,2,2) | |
| 1887 | lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 1888 | lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15 | |
| 1889 | local thing2 = Instance.new("SpecialMesh",lb2)
| |
| 1890 | thing2.MeshType = "Sphere" | |
| 1891 | thing2.Scale = Vector3.new(0.5,0.5,1.5) | |
| 1892 | lb.Touched:connect(function(hit) | |
| 1893 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
| 1894 | end) | |
| 1895 | lb2.Touched:connect(function(hit) | |
| 1896 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
| 1897 | end) | |
| 1898 | end | |
| 1899 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
| 1900 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
| 1901 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
| 1902 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
| 1903 | CreateSound("925629856", lbs, 5, 1)
| |
| 1904 | game:GetService("Debris"):AddItem(bulletgos, 7)
| |
| 1905 | game:GetService("Debris"):AddItem(bulletgos2, 7)
| |
| 1906 | for i,v in pairs(bulletgos:children()) do | |
| 1907 | if v:IsA("Part") then
| |
| 1908 | v.Anchored = false | |
| 1909 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
| 1910 | local bv = Instance.new("BodyVelocity")
| |
| 1911 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1912 | bv.velocity = v.CFrame.lookVector*25 | |
| 1913 | bv.Parent = v | |
| 1914 | game:GetService("Debris"):AddItem(v, 5)
| |
| 1915 | end | |
| 1916 | end | |
| 1917 | for i,v in pairs(bulletgos2:children()) do | |
| 1918 | if v:IsA("Part") then
| |
| 1919 | v.Anchored = false | |
| 1920 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
| 1921 | local bv = Instance.new("BodyVelocity")
| |
| 1922 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1923 | bv.velocity = v.CFrame.lookVector*-25 | |
| 1924 | bv.Parent = v | |
| 1925 | game:GetService("Debris"):AddItem(v, 5)
| |
| 1926 | end | |
| 1927 | end | |
| 1928 | wait(1) | |
| 1929 | end | |
| 1930 | attack = false | |
| 1931 | hum.WalkSpeed = 8 | |
| 1932 | end | |
| 1933 | ------------------------------------------------------- | |
| 1934 | --End Attacks N Stuff-- | |
| 1935 | ------------------------------------------------------- | |
| 1936 | mouse.KeyDown:connect(function(key) | |
| 1937 | if string.byte(key) == 48 then | |
| 1938 | Swing = 2 | |
| 1939 | hum.WalkSpeed = 38.82 | |
| 1940 | end | |
| 1941 | end) | |
| 1942 | mouse.KeyUp:connect(function(key) | |
| 1943 | if string.byte(key) == 48 then | |
| 1944 | Swing = 1 | |
| 1945 | hum.WalkSpeed = 8 | |
| 1946 | end | |
| 1947 | end) | |
| 1948 | mouse.KeyDown:connect(function(key) | |
| 1949 | if attack == false then | |
| 1950 | if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 1951 | EdgyMode = true | |
| 1952 | tecks2.Text = "Edgy" | |
| 1953 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 1954 | tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209) | |
| 1955 | for i, v in pairs(ArmourParts) do | |
| 1956 | v.BrickColor = BrickColor.new("Black")
| |
| 1957 | end | |
| 1958 | for i, v in pairs(ArmourParts2) do | |
| 1959 | v.BrickColor = BrickColor.new("Really black")
| |
| 1960 | end | |
| 1961 | for i, v in pairs(NeonParts) do | |
| 1962 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 1963 | end | |
| 1964 | maincolor = BrickColor.new("Royal purple")
| |
| 1965 | Music.SoundId = "rbxassetid://1470848774" | |
| 1966 | Music.Parent = tors | |
| 1967 | Music:Play() | |
| 1968 | elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 1969 | EdgyMode = false | |
| 1970 | tecks2.Text = "Neutral" | |
| 1971 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 1972 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 1973 | resetmode() | |
| 1974 | Music.SoundId = "rbxassetid://1117396305" | |
| 1975 | Music.Parent = tors | |
| 1976 | Music:Play() | |
| 1977 | elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 1978 | Divinity = true | |
| 1979 | tecks2.Text = "Divinity" | |
| 1980 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
| 1981 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0) | |
| 1982 | for i, v in pairs(ArmourParts) do | |
| 1983 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 1984 | end | |
| 1985 | for i, v in pairs(ArmourParts2) do | |
| 1986 | v.BrickColor = BrickColor.new("White")
| |
| 1987 | end | |
| 1988 | for i, v in pairs(NeonParts) do | |
| 1989 | v.BrickColor = BrickColor.new("New Yeller")
| |
| 1990 | end | |
| 1991 | maincolor = BrickColor.new("New Yeller")
| |
| 1992 | Music.SoundId = "rbxassetid://595800581" | |
| 1993 | Music.Parent = tors | |
| 1994 | Music:Play() | |
| 1995 | elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 1996 | Divinity = false | |
| 1997 | tecks2.Text = "Neutral" | |
| 1998 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 1999 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 2000 | resetmode() | |
| 2001 | Music.SoundId = "rbxassetid://1117396305" | |
| 2002 | Music.Parent = tors | |
| 2003 | Music:Play() | |
| 2004 | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2005 | Fighter = true | |
| 2006 | tecks2.Text = "Drive" | |
| 2007 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 2008 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
| 2009 | for i, v in pairs(ArmourParts) do | |
| 2010 | v.BrickColor = BrickColor.new("Black")
| |
| 2011 | end | |
| 2012 | for i, v in pairs(ArmourParts2) do | |
| 2013 | v.BrickColor = BrickColor.new("Really black")
| |
| 2014 | end | |
| 2015 | for i, v in pairs(NeonParts) do | |
| 2016 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 2017 | end | |
| 2018 | maincolor = BrickColor.new("Institutional white")
| |
| 2019 | Music.SoundId = "rbxassetid://303536628" | |
| 2020 | Music.Parent = tors | |
| 2021 | Music:Play() | |
| 2022 | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2023 | Fighter = false | |
| 2024 | tecks2.Text = "Neutral" | |
| 2025 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 2026 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 2027 | resetmode() | |
| 2028 | Music.SoundId = "rbxassetid://1117396305" | |
| 2029 | Music.Parent = tors | |
| 2030 | Music:Play() | |
| 2031 | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2032 | Purity = true | |
| 2033 | tecks2.Text = "Purity" | |
| 2034 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
| 2035 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) | |
| 2036 | for i, v in pairs(ArmourParts) do | |
| 2037 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 2038 | end | |
| 2039 | for i, v in pairs(ArmourParts2) do | |
| 2040 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 2041 | end | |
| 2042 | for i, v in pairs(NeonParts) do | |
| 2043 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 2044 | end | |
| 2045 | maincolor = BrickColor.new("Toothpaste")
| |
| 2046 | Music.SoundId = "rbxassetid://553751015" | |
| 2047 | Music.Parent = tors | |
| 2048 | Music:Play() | |
| 2049 | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then | |
| 2050 | Purity = false | |
| 2051 | tecks2.Text = "Neutral" | |
| 2052 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 2053 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 2054 | resetmode() | |
| 2055 | Music.SoundId = "rbxassetid://1117396305" | |
| 2056 | Music.Parent = tors | |
| 2057 | Music:Play() | |
| 2058 | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2059 | Destruction = true | |
| 2060 | tecks2.Text = "Destruction" | |
| 2061 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 2062 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0) | |
| 2063 | for i, v in pairs(ArmourParts) do | |
| 2064 | v.BrickColor = BrickColor.new("Really black")
| |
| 2065 | end | |
| 2066 | for i, v in pairs(ArmourParts2) do | |
| 2067 | v.BrickColor = BrickColor.new("Black")
| |
| 2068 | end | |
| 2069 | for i, v in pairs(NeonParts) do | |
| 2070 | v.BrickColor = BrickColor.new("Really red")
| |
| 2071 | end | |
| 2072 | maincolor = BrickColor.new("Really red")
| |
| 2073 | Music.SoundId = "rbxassetid://613361202" | |
| 2074 | Music.Parent = tors | |
| 2075 | Music:Play() | |
| 2076 | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then | |
| 2077 | Destruction = false | |
| 2078 | tecks2.Text = "Neutral" | |
| 2079 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 2080 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 2081 | resetmode() | |
| 2082 | Music.SoundId = "rbxassetid://1117396305" | |
| 2083 | Music.Parent = tors | |
| 2084 | Music:Play() | |
| 2085 | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2086 | helpme = true | |
| 2087 | tecks2.Text = "iNsAnItY" | |
| 2088 | Music.SoundId = "rbxassetid://460874877" | |
| 2089 | Music.Parent = tors | |
| 2090 | Music:Play() | |
| 2091 | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then | |
| 2092 | helpme = false | |
| 2093 | tecks2.Text = "Neutral" | |
| 2094 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 2095 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 2096 | resetmode() | |
| 2097 | Music.SoundId = "rbxassetid://1117396305" | |
| 2098 | Music.Parent = tors | |
| 2099 | Music:Play() | |
| 2100 | elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then | |
| 2101 | tecks2.TextTransparency = 0 | |
| 2102 | tecks2.TextStrokeTransparency = 0 | |
| 2103 | elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then | |
| 2104 | tecks2.TextTransparency = 1 | |
| 2105 | tecks2.TextStrokeTransparency = 1 | |
| 2106 | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2107 | Planetary = true | |
| 2108 | tecks2.Text = "Planetary" | |
| 2109 | tecks2.TextColor3 = Color3.fromRGB(61, 21, 133) | |
| 2110 | tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133) | |
| 2111 | for i, v in pairs(ArmourParts) do | |
| 2112 | v.BrickColor = BrickColor.new("Dark indigo")
| |
| 2113 | end | |
| 2114 | for i, v in pairs(ArmourParts2) do | |
| 2115 | v.BrickColor = BrickColor.new("Dark indigo")
| |
| 2116 | end | |
| 2117 | for i, v in pairs(NeonParts) do | |
| 2118 | v.BrickColor = BrickColor.new("Dark indigo")
| |
| 2119 | end | |
| 2120 | maincolor = BrickColor.new("Dark indigo")
| |
| 2121 | Music.SoundId = "rbxassetid://609934004" | |
| 2122 | Music.Parent = tors | |
| 2123 | Music:Play() | |
| 2124 | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then | |
| 2125 | Planetary = false | |
| 2126 | tecks2.Text = "Neutral" | |
| 2127 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
| 2128 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 2129 | resetmode() | |
| 2130 | Music.SoundId = "rbxassetid://1117396305" | |
| 2131 | Music.Parent = tors | |
| 2132 | Music:Play() | |
| 2133 | end | |
| 2134 | end | |
| 2135 | end) | |
| 2136 | mouse.KeyDown:connect(function(key) | |
| 2137 | if attack == false then | |
| 2138 | if EdgyMode == true then | |
| 2139 | if key == 'r' then | |
| 2140 | Decapitate() | |
| 2141 | elseif key == 'e' then | |
| 2142 | Laugh() | |
| 2143 | end | |
| 2144 | end | |
| 2145 | if Divinity == true then | |
| 2146 | if key == 'r' then | |
| 2147 | Beam_Of_Light() | |
| 2148 | elseif key == 'f' then | |
| 2149 | Blast_Of_God() | |
| 2150 | end | |
| 2151 | end | |
| 2152 | if Fighter == true then | |
| 2153 | if key == 'e' then | |
| 2154 | Flying_Kick() | |
| 2155 | elseif key == 'f' then | |
| 2156 | UpperCut() | |
| 2157 | elseif key == 't' then | |
| 2158 | Spinning_Kick() | |
| 2159 | end | |
| 2160 | end | |
| 2161 | if Purity == true then | |
| 2162 | if key == 'r' then | |
| 2163 | Purity_Slam() | |
| 2164 | end | |
| 2165 | end | |
| 2166 | if Destruction == true then | |
| 2167 | if key == 'r' then | |
| 2168 | Diablo_Explosion() | |
| 2169 | elseif key == 'f' then | |
| 2170 | Hell_From_Above() | |
| 2171 | elseif key == 't' then | |
| 2172 | Spinning_Below() | |
| 2173 | end | |
| 2174 | end | |
| 2175 | if helpme == true then | |
| 2176 | if key == 'r' then | |
| 2177 | Painful_Stomp() | |
| 2178 | elseif key == 'f' then | |
| 2179 | Ending() | |
| 2180 | elseif key == 't' then | |
| 2181 | Ende_der_Weld() | |
| 2182 | end | |
| 2183 | end | |
| 2184 | end | |
| 2185 | end) | |
| 2186 | ||
| 2187 | ||
| 2188 | ||
| 2189 | ||
| 2190 | ||
| 2191 | ||
| 2192 | ------------------------------------------------------- | |
| 2193 | --Start Animations-- | |
| 2194 | ------------------------------------------------------- | |
| 2195 | local equipped = false | |
| 2196 | local idle = 0 | |
| 2197 | local change = 1 | |
| 2198 | local val = 0 | |
| 2199 | local toim = 0 | |
| 2200 | local idleanim = 0.4 | |
| 2201 | hum.WalkSpeed = 8 | |
| 2202 | hum.Animator.Parent = nil | |
| 2203 | while true do | |
| 2204 | swait() | |
| 2205 | Music.Parent = char | |
| 2206 | if helpme == true then | |
| 2207 | for i, v in pairs(ArmourParts) do | |
| 2208 | v.BrickColor = BrickColor.random() | |
| 2209 | end | |
| 2210 | for i, v in pairs(ArmourParts2) do | |
| 2211 | v.BrickColor = BrickColor.random() | |
| 2212 | end | |
| 2213 | for i, v in pairs(NeonParts) do | |
| 2214 | v.BrickColor = BrickColor.random() | |
| 2215 | end | |
| 2216 | maincolor = BrickColor.random() | |
| 2217 | tecks2.TextColor3 = maincolor.Color | |
| 2218 | tecks2.TextStrokeColor3 = maincolor.Color | |
| 2219 | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2)) | |
| 2220 | end | |
| 2221 | if Planetary == true then | |
| 2222 | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2) | |
| 2223 | end | |
| 2224 | sine = sine + change | |
| 2225 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2226 | local velderp = root.Velocity.y | |
| 2227 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
| 2228 | if equipped == true or equipped == false then | |
| 2229 | if attack == false then | |
| 2230 | idle = idle + 1 | |
| 2231 | else | |
| 2232 | idle = 0 | |
| 2233 | end | |
| 2234 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 2235 | Anim = "Jump" | |
| 2236 | change = 1 | |
| 2237 | if attack == false then | |
| 2238 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
| 2239 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
| 2240 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3) | |
| 2241 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3) | |
| 2242 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
| 2243 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
| 2244 | end | |
| 2245 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 2246 | Anim = "Fall" | |
| 2247 | change = 1 | |
| 2248 | if attack == false then | |
| 2249 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
| 2250 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
| 2251 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3) | |
| 2252 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3) | |
| 2253 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
| 2254 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
| 2255 | end | |
| 2256 | elseif torvel < 1 and hitfloor ~= nil then | |
| 2257 | Anim = "Idle" | |
| 2258 | change = 1 | |
| 2259 | if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2260 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2261 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2262 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
| 2263 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2264 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2265 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2266 | elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2267 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 2268 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2269 | if Mrandom(1,15) == 1 then | |
| 2270 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
| 2271 | end | |
| 2272 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15) | |
| 2273 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15) | |
| 2274 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) | |
| 2275 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
| 2276 | elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2277 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) | |
| 2278 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
| 2279 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2280 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2281 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2282 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2283 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2284 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15) | |
| 2285 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3) | |
| 2286 | RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15) | |
| 2287 | LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15) | |
| 2288 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2289 | LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2290 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then | |
| 2291 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
| 2292 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2293 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
| 2294 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
| 2295 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2296 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2297 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then | |
| 2298 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
| 2299 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
| 2300 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 2301 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 2302 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2303 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2304 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then | |
| 2305 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 2306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
| 2307 | if math.random(1,1) == 1 then | |
| 2308 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
| 2309 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
| 2310 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
| 2311 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
| 2312 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15) | |
| 2313 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15) | |
| 2314 | end | |
| 2315 | for i, v in pairs(ArmourParts) do | |
| 2316 | v.BrickColor = BrickColor.random() | |
| 2317 | end | |
| 2318 | for i, v in pairs(ArmourParts2) do | |
| 2319 | v.BrickColor = BrickColor.random() | |
| 2320 | end | |
| 2321 | for i, v in pairs(NeonParts) do | |
| 2322 | v.BrickColor = BrickColor.random() | |
| 2323 | end | |
| 2324 | maincolor = BrickColor.random() | |
| 2325 | tecks2.TextColor3 = maincolor.Color | |
| 2326 | tecks2.TextStrokeColor3 = maincolor.Color | |
| 2327 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
| 2328 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) | |
| 2329 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) | |
| 2330 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2331 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then | |
| 2332 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) | |
| 2333 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
| 2334 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2335 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2336 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2337 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2338 | end | |
| 2339 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 2340 | Anim = "Walk" | |
| 2341 | change = .6 | |
| 2342 | if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2343 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
| 2344 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2345 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2346 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2347 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
| 2348 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
| 2349 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then | |
| 2350 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15) | |
| 2351 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2352 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2353 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2354 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2355 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2356 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then | |
| 2357 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
| 2358 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2359 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 2360 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 2361 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2362 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2363 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then | |
| 2364 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 2365 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
| 2366 | if math.random(1,1) == 1 then | |
| 2367 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
| 2368 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
| 2369 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
| 2370 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
| 2371 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2372 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2373 | end | |
| 2374 | for i, v in pairs(ArmourParts) do | |
| 2375 | v.BrickColor = BrickColor.random() | |
| 2376 | end | |
| 2377 | for i, v in pairs(ArmourParts2) do | |
| 2378 | v.BrickColor = BrickColor.random() | |
| 2379 | end | |
| 2380 | for i, v in pairs(NeonParts) do | |
| 2381 | v.BrickColor = BrickColor.random() | |
| 2382 | end | |
| 2383 | maincolor = BrickColor.random() | |
| 2384 | tecks2.TextColor3 = maincolor.Color | |
| 2385 | tecks2.TextStrokeColor3 = maincolor.Color | |
| 2386 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
| 2387 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) | |
| 2388 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) | |
| 2389 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2390 | elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2391 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
| 2392 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2393 | if Mrandom(1,15) == 1 then | |
| 2394 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
| 2395 | end | |
| 2396 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2397 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2398 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) | |
| 2399 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
| 2400 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then | |
| 2401 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15) | |
| 2402 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2403 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2404 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2405 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2406 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2407 | end | |
| 2408 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 2409 | Anim = "Sprint" | |
| 2410 | change = 1.35 | |
| 2411 | if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
| 2412 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
| 2413 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2414 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2415 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2416 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2417 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
| 2418 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then | |
| 2419 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 2420 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 2421 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2422 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2423 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2424 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2425 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then | |
| 2426 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15) | |
| 2427 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2428 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15) | |
| 2429 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15) | |
| 2430 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2431 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2432 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then | |
| 2433 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
| 2434 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
| 2435 | if math.random(1,1) == 1 then | |
| 2436 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
| 2437 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1) | |
| 2438 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) | |
| 2439 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) | |
| 2440 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
| 2441 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
| 2442 | end | |
| 2443 | for i, v in pairs(ArmourParts) do | |
| 2444 | v.BrickColor = BrickColor.random() | |
| 2445 | end | |
| 2446 | for i, v in pairs(ArmourParts2) do | |
| 2447 | v.BrickColor = BrickColor.random() | |
| 2448 | end | |
| 2449 | for i, v in pairs(NeonParts) do | |
| 2450 | v.BrickColor = BrickColor.random() | |
| 2451 | end | |
| 2452 | maincolor = BrickColor.random() | |
| 2453 | tecks2.TextColor3 = maincolor.Color | |
| 2454 | tecks2.TextStrokeColor3 = maincolor.Color | |
| 2455 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
| 2456 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15) | |
| 2457 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1) | |
| 2458 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1) | |
| 2459 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then | |
| 2460 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15) | |
| 2461 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
| 2462 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2463 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 2464 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2465 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2466 | end | |
| 2467 | end | |
| 2468 | end | |
| 2469 | if 0 < #Effects then | |
| 2470 | for e = 1, #Effects do | |
| 2471 | if Effects[e] ~= nil then | |
| 2472 | local Thing = Effects[e] | |
| 2473 | if Thing ~= nil then | |
| 2474 | local Part = Thing[1] | |
| 2475 | local Mode = Thing[2] | |
| 2476 | local Delay = Thing[3] | |
| 2477 | local IncX = Thing[4] | |
| 2478 | local IncY = Thing[5] | |
| 2479 | local IncZ = Thing[6] | |
| 2480 | if 1 >= Thing[1].Transparency then | |
| 2481 | if Thing[2] == "Block1" then | |
| 2482 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2483 | local Mesh = Thing[1].Mesh | |
| 2484 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2485 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2486 | elseif Thing[2] == "Block2" then | |
| 2487 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2488 | local Mesh = Thing[7] | |
| 2489 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2490 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2491 | elseif Thing[2] == "Block3" then | |
| 2492 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 2493 | local Mesh = Thing[7] | |
| 2494 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2495 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2496 | elseif Thing[2] == "Cylinder" then | |
| 2497 | local Mesh = Thing[1].Mesh | |
| 2498 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2499 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2500 | elseif Thing[2] == "Blood" then | |
| 2501 | local Mesh = Thing[7] | |
| 2502 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 2503 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2504 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2505 | elseif Thing[2] == "Elec" then | |
| 2506 | local Mesh = Thing[1].Mesh | |
| 2507 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2508 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2509 | elseif Thing[2] == "Disappear" then | |
| 2510 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2511 | elseif Thing[2] == "Shatter" then | |
| 2512 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2513 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2514 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2515 | Thing[6] = Thing[6] + Thing[5] | |
| 2516 | end | |
| 2517 | else | |
| 2518 | Part.Parent = nil | |
| 2519 | table.remove(Effects, e) | |
| 2520 | end | |
| 2521 | end | |
| 2522 | end | |
| 2523 | end | |
| 2524 | end | |
| 2525 | end | |
| 2526 | ------------------------------------------------------- | |
| 2527 | --End Animations And Script-- | |
| 2528 | ------------------------------------------------------- |