SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | m = owner | |
| 88 | char = m.Character | |
| 89 | local txt = Instance.new("BillboardGui", char)
| |
| 90 | txt.Adornee = char.Head | |
| 91 | txt.Name = "_status" | |
| 92 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 93 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 94 | local text = Instance.new("TextLabel", txt)
| |
| 95 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 96 | text.FontSize = "Size24" | |
| 97 | text.TextScaled = true | |
| 98 | text.TextTransparency = 0 | |
| 99 | text.BackgroundTransparency = 1 | |
| 100 | text.TextTransparency = 0 | |
| 101 | text.TextStrokeTransparency = 0 | |
| 102 | text.Font = "Bodoni" | |
| 103 | text.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 104 | v = Instance.new("Part")
| |
| 105 | v.Name = "ColorBrick" | |
| 106 | v.Parent = m.Character | |
| 107 | v.FormFactor = "Symmetric" | |
| 108 | v.Anchored = true | |
| 109 | v.CanCollide = false | |
| 110 | v.BottomSurface = "Smooth" | |
| 111 | v.TopSurface = "Smooth" | |
| 112 | v.Size = Vector3.new(10, 5, 3) | |
| 113 | v.Transparency = 1 | |
| 114 | v.CFrame = char.Torso.CFrame | |
| 115 | v.BrickColor = BrickColor.new("Really red")
| |
| 116 | v.Transparency = 1 | |
| 117 | v.Shape = "Block" | |
| 118 | spawn(function() | |
| 119 | local TweenService = game:GetService("TweenService")
| |
| 120 | local Colours = {Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,0,0),Color3.fromRGB(0,0,0)}
| |
| 121 | local Int = 0 | |
| 122 | while wait(0.5) do | |
| 123 | if Int == #Colours then Int = 0 end | |
| 124 | Int = Int+1 | |
| 125 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
| |
| 126 | end | |
| 127 | end) | |
| 128 | - | text.Text = "Hackmaster12" |
| 128 | + | text.Text = "Lava" |
| 129 | ||
| 130 | script.Name = "Banisher Gun V3 / 1" | |
| 131 | --//====================================================\\-- | |
| 132 | --|| CREATED BY SHACKLUSTER | |
| 133 | --\\====================================================//-- | |
| 134 | ||
| 135 | script:ClearAllChildren() | |
| 136 | wait(0.2) | |
| 137 | ||
| 138 | Player = owner | |
| 139 | PlayerGui = Player.PlayerGui | |
| 140 | Cam = workspace.CurrentCamera | |
| 141 | Backpack = Player.Backpack | |
| 142 | Character = Player.Character | |
| 143 | Humanoid = Character.Humanoid | |
| 144 | RootPart = Character["HumanoidRootPart"] | |
| 145 | Torso = Character["Torso"] | |
| 146 | Head = Character["Head"] | |
| 147 | RightArm = Character["Right Arm"] | |
| 148 | LeftArm = Character["Left Arm"] | |
| 149 | RightLeg = Character["Right Leg"] | |
| 150 | LeftLeg = Character["Left Leg"] | |
| 151 | RootJoint = RootPart["RootJoint"] | |
| 152 | Neck = Torso["Neck"] | |
| 153 | RightShoulder = Torso["Right Shoulder"] | |
| 154 | LeftShoulder = Torso["Left Shoulder"] | |
| 155 | RightHip = Torso["Right Hip"] | |
| 156 | LeftHip = Torso["Left Hip"] | |
| 157 | local TIME = 0 | |
| 158 | local sick = Instance.new("Sound",Torso)
| |
| 159 | ||
| 160 | IT = Instance.new | |
| 161 | CF = CFrame.new | |
| 162 | VT = Vector3.new | |
| 163 | RAD = math.rad | |
| 164 | C3 = Color3.new | |
| 165 | UD2 = UDim2.new | |
| 166 | BRICKC = BrickColor.new | |
| 167 | ANGLES = CFrame.Angles | |
| 168 | EULER = CFrame.fromEulerAnglesXYZ | |
| 169 | COS = math.cos | |
| 170 | ACOS = math.acos | |
| 171 | SIN = math.sin | |
| 172 | ASIN = math.asin | |
| 173 | ABS = math.abs | |
| 174 | MRANDOM = math.random | |
| 175 | FLOOR = math.floor | |
| 176 | local BODY = {}
| |
| 177 | ||
| 178 | --//=================================\\ | |
| 179 | --|| USEFUL VALUES | |
| 180 | --\\=================================// | |
| 181 | ||
| 182 | Animation_Speed = 3 | |
| 183 | local FORCERESET = false | |
| 184 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 185 | local Speed = 16 | |
| 186 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 187 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 188 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 189 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 190 | local DAMAGEMULTIPLIER = 100 | |
| 191 | local ANIM = "Idle" | |
| 192 | local ATTACK = false | |
| 193 | local EQUIPPED = false | |
| 194 | local HOLD = false | |
| 195 | local COMBO = 10 | |
| 196 | local Rooted = false | |
| 197 | local SINE = 0 | |
| 198 | local KEYHOLD = false | |
| 199 | local CHANGE = 2 / Animation_Speed | |
| 200 | local WALKINGANIM = false | |
| 201 | local VALUE1 = false | |
| 202 | local VALUE2 = false | |
| 203 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 204 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 205 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 206 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 207 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 208 | WEAPONGUI.Name = "BanishV3Gui" | |
| 209 | local Weapon = IT("Model")
| |
| 210 | Weapon.Name = "Adds" | |
| 211 | local Effects = IT("Folder", Weapon)
| |
| 212 | Effects.Name = "Effects" | |
| 213 | local ANIMATOR = Humanoid.Animator | |
| 214 | local ANIMATE = Character:FindFirstChild("Animate")
| |
| 215 | local UNANCHOR = true | |
| 216 | local TOBANISH = {}
| |
| 217 | script.Parent = PlayerGui | |
| 218 | ||
| 219 | --//=================================\\ | |
| 220 | --\\=================================// | |
| 221 | ||
| 222 | ||
| 223 | --//=================================\\ | |
| 224 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 225 | --\\=================================// | |
| 226 | ||
| 227 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 228 | ArtificialHB.Name = "ArtificialHB" | |
| 229 | ||
| 230 | script:WaitForChild("ArtificialHB")
| |
| 231 | ||
| 232 | frame = Frame_Speed | |
| 233 | tf = 0 | |
| 234 | allowframeloss = false | |
| 235 | tossremainder = false | |
| 236 | lastframe = tick() | |
| 237 | script.ArtificialHB:Fire() | |
| 238 | ||
| 239 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 240 | tf = tf + s | |
| 241 | if tf >= frame then | |
| 242 | if allowframeloss then | |
| 243 | script.ArtificialHB:Fire() | |
| 244 | lastframe = tick() | |
| 245 | else | |
| 246 | for i = 1, math.floor(tf / frame) do | |
| 247 | script.ArtificialHB:Fire() | |
| 248 | end | |
| 249 | lastframe = tick() | |
| 250 | end | |
| 251 | if tossremainder then | |
| 252 | tf = 0 | |
| 253 | else | |
| 254 | tf = tf - frame * math.floor(tf / frame) | |
| 255 | end | |
| 256 | end | |
| 257 | end) | |
| 258 | ||
| 259 | --//=================================\\ | |
| 260 | --\\=================================// | |
| 261 | ||
| 262 | --//=================================\\ | |
| 263 | --|| SOME FUNCTIONS | |
| 264 | --\\=================================// | |
| 265 | ||
| 266 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 267 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 268 | end | |
| 269 | ||
| 270 | function PositiveAngle(NUMBER) | |
| 271 | if NUMBER >= 0 then | |
| 272 | NUMBER = 0 | |
| 273 | end | |
| 274 | return NUMBER | |
| 275 | end | |
| 276 | ||
| 277 | function NegativeAngle(NUMBER) | |
| 278 | if NUMBER <= 0 then | |
| 279 | NUMBER = 0 | |
| 280 | end | |
| 281 | return NUMBER | |
| 282 | end | |
| 283 | ||
| 284 | function Swait(NUMBER) | |
| 285 | if NUMBER == 0 or NUMBER == nil then | |
| 286 | ArtificialHB.Event:wait() | |
| 287 | else | |
| 288 | for i = 1, NUMBER do | |
| 289 | ArtificialHB.Event:wait() | |
| 290 | end | |
| 291 | end | |
| 292 | end | |
| 293 | ||
| 294 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 295 | local NEWMESH = IT(MESH) | |
| 296 | if MESH == "SpecialMesh" then | |
| 297 | NEWMESH.MeshType = MESHTYPE | |
| 298 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 299 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 300 | end | |
| 301 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 302 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 303 | end | |
| 304 | end | |
| 305 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 306 | NEWMESH.Scale = SCALE | |
| 307 | NEWMESH.Parent = PARENT | |
| 308 | return NEWMESH | |
| 309 | end | |
| 310 | ||
| 311 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 312 | local NEWPART = IT("Part")
| |
| 313 | NEWPART.formFactor = FORMFACTOR | |
| 314 | NEWPART.Reflectance = REFLECTANCE | |
| 315 | NEWPART.Transparency = TRANSPARENCY | |
| 316 | NEWPART.CanCollide = false | |
| 317 | NEWPART.Locked = true | |
| 318 | NEWPART.Anchored = true | |
| 319 | if ANCHOR == false then | |
| 320 | NEWPART.Anchored = false | |
| 321 | end | |
| 322 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 323 | NEWPART.Name = NAME | |
| 324 | NEWPART.Size = SIZE | |
| 325 | NEWPART.Position = Torso.Position | |
| 326 | NEWPART.Material = MATERIAL | |
| 327 | NEWPART:BreakJoints() | |
| 328 | NEWPART.Parent = PARENT | |
| 329 | return NEWPART | |
| 330 | end | |
| 331 | ||
| 332 | Player_Size = 1 | |
| 333 | ||
| 334 | local function weldBetween(a, b) | |
| 335 | local weldd = Instance.new("ManualWeld")
| |
| 336 | weldd.Part0 = a | |
| 337 | weldd.Part1 = b | |
| 338 | weldd.C0 = CFrame.new() | |
| 339 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 340 | weldd.Parent = a | |
| 341 | return weldd | |
| 342 | end | |
| 343 | ||
| 344 | ||
| 345 | function QuaternionFromCFrame(cf) | |
| 346 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 347 | local trace = m00 + m11 + m22 | |
| 348 | if trace > 0 then | |
| 349 | local s = math.sqrt(1 + trace) | |
| 350 | local recip = 0.5 / s | |
| 351 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 352 | else | |
| 353 | local i = 0 | |
| 354 | if m11 > m00 then | |
| 355 | i = 1 | |
| 356 | end | |
| 357 | if m22 > (i == 0 and m00 or m11) then | |
| 358 | i = 2 | |
| 359 | end | |
| 360 | if i == 0 then | |
| 361 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 362 | local recip = 0.5 / s | |
| 363 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 364 | elseif i == 1 then | |
| 365 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 366 | local recip = 0.5 / s | |
| 367 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 368 | elseif i == 2 then | |
| 369 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 370 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 371 | end | |
| 372 | end | |
| 373 | end | |
| 374 | ||
| 375 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 376 | local xs, ys, zs = x + x, y + y, z + z | |
| 377 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 378 | local xx = x * xs | |
| 379 | local xy = x * ys | |
| 380 | local xz = x * zs | |
| 381 | local yy = y * ys | |
| 382 | local yz = y * zs | |
| 383 | local zz = z * zs | |
| 384 | 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)) | |
| 385 | end | |
| 386 | ||
| 387 | function QuaternionSlerp(a, b, t) | |
| 388 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 389 | local startInterp, finishInterp; | |
| 390 | if cosTheta >= 0.0001 then | |
| 391 | if (1 - cosTheta) > 0.0001 then | |
| 392 | local theta = ACOS(cosTheta) | |
| 393 | local invSinTheta = 1 / SIN(theta) | |
| 394 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 395 | finishInterp = SIN(t * theta) * invSinTheta | |
| 396 | else | |
| 397 | startInterp = 1 - t | |
| 398 | finishInterp = t | |
| 399 | end | |
| 400 | else | |
| 401 | if (1 + cosTheta) > 0.0001 then | |
| 402 | local theta = ACOS(-cosTheta) | |
| 403 | local invSinTheta = 1 / SIN(theta) | |
| 404 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 405 | finishInterp = SIN(t * theta) * invSinTheta | |
| 406 | else | |
| 407 | startInterp = t - 1 | |
| 408 | finishInterp = t | |
| 409 | end | |
| 410 | end | |
| 411 | 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 | |
| 412 | end | |
| 413 | ||
| 414 | function Clerp(a, b, t) | |
| 415 | local qa = {QuaternionFromCFrame(a)}
| |
| 416 | local qb = {QuaternionFromCFrame(b)}
| |
| 417 | local ax, ay, az = a.x, a.y, a.z | |
| 418 | local bx, by, bz = b.x, b.y, b.z | |
| 419 | local _t = 1 - t | |
| 420 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 421 | end | |
| 422 | ||
| 423 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 424 | local frame = IT("Frame")
| |
| 425 | frame.BackgroundTransparency = TRANSPARENCY | |
| 426 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 427 | frame.Position = POSITION | |
| 428 | frame.Size = SIZE | |
| 429 | frame.BackgroundColor3 = COLOR | |
| 430 | frame.BorderColor3 = BORDERCOLOR | |
| 431 | frame.Name = NAME | |
| 432 | frame.Parent = PARENT | |
| 433 | return frame | |
| 434 | end | |
| 435 | ||
| 436 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 437 | local label = IT("TextLabel")
| |
| 438 | label.BackgroundTransparency = 1 | |
| 439 | label.Size = UD2(1, 0, 1, 0) | |
| 440 | label.Position = UD2(0, 0, 0, 0) | |
| 441 | label.TextColor3 = TEXTCOLOR | |
| 442 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 443 | label.TextTransparency = TRANSPARENCY | |
| 444 | label.FontSize = TEXTFONTSIZE | |
| 445 | label.Font = TEXTFONT | |
| 446 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 447 | label.TextScaled = false | |
| 448 | label.Text = TEXT | |
| 449 | label.Name = NAME | |
| 450 | label.Parent = PARENT | |
| 451 | return label | |
| 452 | end | |
| 453 | ||
| 454 | function NoOutlines(PART) | |
| 455 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 456 | end | |
| 457 | ||
| 458 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 459 | local NEWWELD = IT(TYPE) | |
| 460 | NEWWELD.Part0 = PART0 | |
| 461 | NEWWELD.Part1 = PART1 | |
| 462 | NEWWELD.C0 = C0 | |
| 463 | NEWWELD.C1 = C1 | |
| 464 | NEWWELD.Parent = PARENT | |
| 465 | return NEWWELD | |
| 466 | end | |
| 467 | ||
| 468 | local S = IT("Sound")
| |
| 469 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 470 | local NEWSOUND = nil | |
| 471 | coroutine.resume(coroutine.create(function() | |
| 472 | NEWSOUND = S:Clone() | |
| 473 | NEWSOUND.Parent = PARENT | |
| 474 | NEWSOUND.Volume = VOLUME | |
| 475 | NEWSOUND.Pitch = PITCH | |
| 476 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 477 | NEWSOUND:play() | |
| 478 | if DOESLOOP == true then | |
| 479 | NEWSOUND.Looped = true | |
| 480 | else | |
| 481 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
| 482 | NEWSOUND:remove() | |
| 483 | end | |
| 484 | end)) | |
| 485 | return NEWSOUND | |
| 486 | end | |
| 487 | ||
| 488 | function CFrameFromTopBack(at, top, back) | |
| 489 | local right = top:Cross(back) | |
| 490 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 491 | end | |
| 492 | ||
| 493 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 494 | function WACKYEFFECT(Table) | |
| 495 | local TYPE = (Table.EffectType or "Sphere") | |
| 496 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 497 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 498 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 499 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 500 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 501 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 502 | local ROTATION1 = (Table.RotationX or 0) | |
| 503 | local ROTATION2 = (Table.RotationY or 0) | |
| 504 | local ROTATION3 = (Table.RotationZ or 0) | |
| 505 | local MATERIAL = (Table.Material or "Neon") | |
| 506 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 507 | local TIME = (Table.Time or 45) | |
| 508 | local SOUNDID = (Table.SoundID or nil) | |
| 509 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 510 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 511 | coroutine.resume(coroutine.create(function() | |
| 512 | local PLAYSSOUND = false | |
| 513 | local SOUND = nil | |
| 514 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
| |
| 515 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 516 | PLAYSSOUND = true | |
| 517 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 518 | end | |
| 519 | EFFECT.Color = COLOR | |
| 520 | local MSH = nil | |
| 521 | if TYPE == "Sphere" then | |
| 522 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 523 | elseif TYPE == "Block" then | |
| 524 | MSH = IT("BlockMesh",EFFECT)
| |
| 525 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 526 | elseif TYPE == "Wave" then | |
| 527 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 528 | elseif TYPE == "Ring" then | |
| 529 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 530 | elseif TYPE == "Slash" then | |
| 531 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 532 | elseif TYPE == "Round Slash" then | |
| 533 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 534 | elseif TYPE == "Swirl" then | |
| 535 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 536 | elseif TYPE == "Skull" then | |
| 537 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 538 | elseif TYPE == "Crystal" then | |
| 539 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 540 | end | |
| 541 | if MSH ~= nil then | |
| 542 | local MOVESPEED = nil | |
| 543 | if MOVEDIRECTION ~= nil then | |
| 544 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 545 | end | |
| 546 | local GROWTH = SIZE - ENDSIZE | |
| 547 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 548 | if TYPE == "Block" then | |
| 549 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 550 | else | |
| 551 | EFFECT.CFrame = CFRAME | |
| 552 | end | |
| 553 | for LOOP = 1, TIME+1 do | |
| 554 | Swait() | |
| 555 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 556 | if TYPE == "Wave" then | |
| 557 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 558 | end | |
| 559 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 560 | if TYPE == "Block" then | |
| 561 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 562 | else | |
| 563 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 564 | end | |
| 565 | if MOVEDIRECTION ~= nil then | |
| 566 | local ORI = EFFECT.Orientation | |
| 567 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 568 | EFFECT.Orientation = ORI | |
| 569 | end | |
| 570 | end | |
| 571 | if PLAYSSOUND == false then | |
| 572 | EFFECT:remove() | |
| 573 | else | |
| 574 | SOUND.Stopped:Connect(function() | |
| 575 | EFFECT:remove() | |
| 576 | end) | |
| 577 | end | |
| 578 | else | |
| 579 | if PLAYSSOUND == false then | |
| 580 | EFFECT:remove() | |
| 581 | else | |
| 582 | repeat Swait() until SOUND.Playing == false | |
| 583 | EFFECT:remove() | |
| 584 | end | |
| 585 | end | |
| 586 | end)) | |
| 587 | end | |
| 588 | ||
| 589 | function MakeForm(PART,TYPE) | |
| 590 | if TYPE == "Cyl" then | |
| 591 | local MSH = IT("CylinderMesh",PART)
| |
| 592 | elseif TYPE == "Ball" then | |
| 593 | local MSH = IT("SpecialMesh",PART)
| |
| 594 | MSH.MeshType = "Sphere" | |
| 595 | elseif TYPE == "Wedge" then | |
| 596 | local MSH = IT("SpecialMesh",PART)
| |
| 597 | MSH.MeshType = "Wedge" | |
| 598 | end | |
| 599 | end | |
| 600 | ||
| 601 | function SpawnTrail(FROM,TO,BIG) | |
| 602 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) | |
| 603 | MakeForm(TRAIL,"Cyl") | |
| 604 | local DIST = (FROM - TO).Magnitude | |
| 605 | if BIG == true then | |
| 606 | TRAIL.Size = VT(0.5,DIST,0.5) | |
| 607 | else | |
| 608 | TRAIL.Size = VT(0.25,DIST,0.25) | |
| 609 | end | |
| 610 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 611 | coroutine.resume(coroutine.create(function() | |
| 612 | for i = 1, 5 do | |
| 613 | Swait() | |
| 614 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
| 615 | end | |
| 616 | TRAIL:remove() | |
| 617 | end)) | |
| 618 | end | |
| 619 | ||
| 620 | Debris = game:GetService("Debris")
| |
| 621 | ||
| 622 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 623 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 624 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 625 | end | |
| 626 | ||
| 627 | function turnto(position) | |
| 628 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 629 | end | |
| 630 | local asd = Instance.new("ParticleEmitter")
| |
| 631 | asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0)) | |
| 632 | asd.LightEmission = .1 | |
| 633 | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" | |
| 634 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
| |
| 635 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 636 | asd.Transparency = bbb | |
| 637 | asd.Size = aaa | |
| 638 | asd.ZOffset = .9 | |
| 639 | asd.Acceleration = Vector3.new(0, -15, 0) | |
| 640 | asd.LockedToPart = false | |
| 641 | asd.EmissionDirection = "Back" | |
| 642 | asd.Lifetime = NumberRange.new(1, 2) | |
| 643 | asd.Rotation = NumberRange.new(-100, 100) | |
| 644 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 645 | asd.Speed = NumberRange.new(10) | |
| 646 | asd.Enabled = false | |
| 647 | asd.VelocitySpread = 999 | |
| 648 | ||
| 649 | function getbloody(victim,amount) | |
| 650 | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
| 651 | PART.CFrame = victim.CFrame | |
| 652 | local HITPLAYERSOUNDS = {"356551938","264486467"}
| |
| 653 | Debris:AddItem(PART,5) | |
| 654 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
| 655 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
| 656 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
| 657 | local prtcl = asd:Clone() | |
| 658 | prtcl.Parent = PART | |
| 659 | prtcl:Emit(amount*10) | |
| 660 | end | |
| 661 | ||
| 662 | local Particle = IT("ParticleEmitter",nil)
| |
| 663 | Particle.Enabled = false | |
| 664 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
| |
| 665 | Particle.LightEmission = 0.5 | |
| 666 | Particle.Rate = 150 | |
| 667 | Particle.ZOffset = 1 | |
| 668 | Particle.Rotation = NumberRange.new(-180, 180) | |
| 669 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
| 670 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
| 671 | Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0)) | |
| 672 | ||
| 673 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
| |
| 674 | function ParticleEmitter(Table) | |
| 675 | local PRTCL = Particle:Clone() | |
| 676 | local Speed = Table.Speed or 5 | |
| 677 | local Drag = Table.Drag or 0 | |
| 678 | local Size1 = Table.Size1 or 1 | |
| 679 | local Size2 = Table.Size2 or 5 | |
| 680 | local Lifetime1 = Table.Lifetime1 or 1 | |
| 681 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
| 682 | local Parent = Table.Parent or Torso | |
| 683 | local Emit = Table.Emit or 100 | |
| 684 | local Offset = Table.Offset or 360 | |
| 685 | local Acel = Table.Acel or VT(0,0,0) | |
| 686 | local Enabled = Table.Enabled or false | |
| 687 | PRTCL.Parent = Parent | |
| 688 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
| 689 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
| 690 | PRTCL.Speed = NumberRange.new(Speed) | |
| 691 | PRTCL.VelocitySpread = Offset | |
| 692 | PRTCL.Drag = Drag | |
| 693 | PRTCL.Acceleration = Acel | |
| 694 | if Enabled == false then | |
| 695 | PRTCL:Emit(Emit) | |
| 696 | Debris:AddItem(PRTCL,Lifetime2) | |
| 697 | else | |
| 698 | PRTCL.Enabled = true | |
| 699 | end | |
| 700 | return PRTCL | |
| 701 | end | |
| 702 | ||
| 703 | function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine) | |
| 704 | if DoesCourontine == false then | |
| 705 | local Direction = CF(Part.Position, ToLocation) | |
| 706 | local Distance = (Part.Position - ToLocation).magnitude | |
| 707 | for i = 1, AmountOfTime do | |
| 708 | Swait() | |
| 709 | Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) | |
| 710 | Direction = Part.CFrame | |
| 711 | end | |
| 712 | Part:remove() | |
| 713 | elseif DoesCourontine == true then | |
| 714 | coroutine.resume(coroutine.create(function() | |
| 715 | local Direction = CF(Part.Position, ToLocation) | |
| 716 | local Distance = (Part.Position - ToLocation).magnitude | |
| 717 | for i = 1, AmountOfTime do | |
| 718 | Swait() | |
| 719 | Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) | |
| 720 | Direction = Part.CFrame | |
| 721 | end | |
| 722 | Part:remove() | |
| 723 | end)) | |
| 724 | end | |
| 725 | end | |
| 726 | ||
| 727 | --//=================================\\ | |
| 728 | --|| WEAPON CREATION | |
| 729 | --\\=================================// | |
| 730 | ||
| 731 | local DECAL = IT("Decal")
| |
| 732 | function MakeRing() | |
| 733 | local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Really red"), "MagicRing", VT(0, 0, 0), true)
| |
| 734 | local MSH = IT("BlockMesh", RING)
| |
| 735 | local TOP = DECAL:Clone() | |
| 736 | local BOTTOM = DECAL:Clone() | |
| 737 | TOP.Parent = RING | |
| 738 | BOTTOM.Parent = RING | |
| 739 | TOP.Face = "Top" | |
| 740 | BOTTOM.Face = "Bottom" | |
| 741 | TOP.Texture = "http://www.roblox.com/asset/?id=127817121" | |
| 742 | BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121" | |
| 743 | local function REMOVE() | |
| 744 | coroutine.resume(coroutine.create(function() | |
| 745 | local SIZE = MSH.Scale.X | |
| 746 | for i = 1, 35 do | |
| 747 | Swait() | |
| 748 | MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60 | |
| 749 | TOP.Transparency = TOP.Transparency + 0.02857142857142857 | |
| 750 | BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857 | |
| 751 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0)) | |
| 752 | end | |
| 753 | RING:remove() | |
| 754 | end)) | |
| 755 | end | |
| 756 | return RING, MSH, REMOVE | |
| 757 | end | |
| 758 | ||
| 759 | ||
| 760 | local Handle = CreatePart(3, Weapon, "Glass", 0, 0, "New Yeller", "Handle", VT(0.2,1,0.2),false) | |
| 761 | MakeForm(Handle,"Cyl") | |
| 762 | local Grasp = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Handle, CF(0,-1,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 763 | local Bop = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Bop", VT(0.5,0.5,0.5),false) | |
| 764 | MakeForm(Bop,"Ball") | |
| 765 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Bop, CF(0,0.7,0), CF(0, 0, 0))
| |
| 766 | local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.5,0.2,0.5),false) | |
| 767 | MakeForm(Part,"Pine") | |
| 768 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 769 | local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.6,0.3,0.6),false) | |
| 770 | MakeForm(Part,"Pine") | |
| 771 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.7,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 772 | local Blade = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Blade", VT(0.3,5,0.3),false) | |
| 773 | MakeForm(Blade,"Pine") | |
| 774 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Blade, CF(0,-2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 775 | ||
| 776 | local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(1.05,0.1,1.05),false) | |
| 777 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(0,-0.3,0), CF(0, 0, 0))
| |
| 778 | local ShieldBase = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(2,2,1),false) | |
| 779 | CreateMesh("SpecialMesh", ShieldBase, "FileMesh", "395088733", "", VT(1,1,1), VT(0,0,0))
| |
| 780 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, ShieldBase, CF(-0.5,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 781 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false) | |
| 782 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
| |
| 783 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.4,-0.3,0) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
| |
| 784 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false) | |
| 785 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
| |
| 786 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.515,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 787 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false) | |
| 788 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.7,0.7,1), VT(0,0,0))
| |
| 789 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 790 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false) | |
| 791 | CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.5,0.5,1), VT(0,0,0))
| |
| 792 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
| |
| 793 | local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.8,2,0.2),false) | |
| 794 | MakeForm(Shield,"Ball") | |
| 795 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
| |
| 796 | local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.8,0.2,2),false) | |
| 797 | MakeForm(Shield,"Ball") | |
| 798 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
| |
| 799 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0.8,2,0.3),false) | |
| 800 | MakeForm(Shield,"Ball") | |
| 801 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
| |
| 802 | local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0.8,0.3,2),false) | |
| 803 | MakeForm(Shield,"Ball") | |
| 804 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
| |
| 805 | ||
| 806 | local A = IT("Attachment",LeftArm)
| |
| 807 | A.Position = VT(1,1.3,0) | |
| 808 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
| 809 | local B = IT("Attachment",LeftArm)
| |
| 810 | B.Position = VT(-1.3,-0.6,0) | |
| 811 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
| 812 | local ChainLink = IT("Beam",LeftArm)
| |
| 813 | ChainLink.Texture = "rbxassetid://73042633" | |
| 814 | ChainLink.Color = ColorSequence.new(C3(1,0,0)) | |
| 815 | ChainLink.TextureSpeed = 1 | |
| 816 | ChainLink.FaceCamera = true | |
| 817 | ChainLink.Width0 = 1 | |
| 818 | ChainLink.Width1 = 1 | |
| 819 | ChainLink.TextureLength = 3 | |
| 820 | ChainLink.Attachment0 = A | |
| 821 | ChainLink.Attachment1 = B | |
| 822 | ChainLink.CurveSize0 = 1.6 | |
| 823 | ChainLink.CurveSize1 = 1.6 | |
| 824 | ChainLink.FaceCamera = true | |
| 825 | ChainLink.Transparency = NumberSequence.new(0) | |
| 826 | local ChainLink = IT("Beam",LeftArm)
| |
| 827 | ChainLink.Texture = "rbxassetid://73042633" | |
| 828 | ChainLink.Color = ColorSequence.new(C3(1,0,0)) | |
| 829 | ChainLink.TextureSpeed = 1 | |
| 830 | ChainLink.FaceCamera = true | |
| 831 | ChainLink.Width0 = 1 | |
| 832 | ChainLink.Width1 = 1 | |
| 833 | ChainLink.TextureLength = 3 | |
| 834 | ChainLink.Attachment0 = B | |
| 835 | ChainLink.Attachment1 = A | |
| 836 | ChainLink.CurveSize0 = 1.6 | |
| 837 | ChainLink.CurveSize1 = 1.6 | |
| 838 | ChainLink.FaceCamera = true | |
| 839 | ChainLink.Transparency = NumberSequence.new(0) | |
| 840 | local A = IT("Attachment",RightArm)
| |
| 841 | A.Position = VT(1.3,-0.85,0) | |
| 842 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
| 843 | local B = IT("Attachment",RightArm)
| |
| 844 | B.Position = VT(-1,2,0) | |
| 845 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
| 846 | local ChainLink = IT("Beam",RightArm)
| |
| 847 | ChainLink.Texture = "rbxassetid://73042633" | |
| 848 | ChainLink.Color = ColorSequence.new(C3(1,0,0)) | |
| 849 | ChainLink.TextureSpeed = 1 | |
| 850 | ChainLink.FaceCamera = true | |
| 851 | ChainLink.Width0 = 1 | |
| 852 | ChainLink.Width1 = 1 | |
| 853 | ChainLink.TextureLength = 3 | |
| 854 | ChainLink.Attachment0 = A | |
| 855 | ChainLink.Attachment1 = B | |
| 856 | ChainLink.CurveSize0 = 1.3 | |
| 857 | ChainLink.CurveSize1 = 1.3 | |
| 858 | ChainLink.FaceCamera = true | |
| 859 | ChainLink.Transparency = NumberSequence.new(0) | |
| 860 | local ChainLink = IT("Beam",RightArm)
| |
| 861 | ChainLink.Texture = "rbxassetid://73042633" | |
| 862 | ChainLink.Color = ColorSequence.new(C3(1,0,0)) | |
| 863 | ChainLink.TextureSpeed = 1 | |
| 864 | ChainLink.FaceCamera = true | |
| 865 | ChainLink.Width0 = 1 | |
| 866 | ChainLink.Width1 = 1 | |
| 867 | ChainLink.TextureLength = 3 | |
| 868 | ChainLink.Attachment0 = B | |
| 869 | ChainLink.Attachment1 = A | |
| 870 | ChainLink.CurveSize0 = 1.3 | |
| 871 | ChainLink.CurveSize1 = 1.3 | |
| 872 | ChainLink.FaceCamera = true | |
| 873 | ChainLink.Transparency = NumberSequence.new(0) | |
| 874 | ||
| 875 | ||
| 876 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false) | |
| 877 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
| |
| 878 | MakeForm(Part,"Wedge") | |
| 879 | ||
| 880 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false) | |
| 881 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 882 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false) | |
| 883 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
| |
| 884 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false) | |
| 885 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
| |
| 886 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false) | |
| 887 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 888 | local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false) | |
| 889 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 890 | ||
| 891 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
| |
| 892 | local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0),false) | |
| 893 | local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "468351345", "468351348", VT(0.06,0.06,0.06), VT(0,0, 0))
| |
| 894 | local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
| |
| 895 | ||
| 896 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 897 | function WACKYEFFECT(Table) | |
| 898 | local TYPE = (Table.EffectType or "Sphere") | |
| 899 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 900 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 901 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 902 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 903 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 904 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 905 | local ROTATION1 = (Table.RotationX or 0) | |
| 906 | local ROTATION2 = (Table.RotationY or 0) | |
| 907 | local ROTATION3 = (Table.RotationZ or 0) | |
| 908 | local MATERIAL = (Table.Material or "Neon") | |
| 909 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 910 | local TIME = (Table.Time or 45) | |
| 911 | local SOUNDID = (Table.SoundID or nil) | |
| 912 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 913 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 914 | coroutine.resume(coroutine.create(function() | |
| 915 | local PLAYSSOUND = false | |
| 916 | local SOUND = nil | |
| 917 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
| |
| 918 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 919 | PLAYSSOUND = true | |
| 920 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 921 | end | |
| 922 | EFFECT.Color = COLOR | |
| 923 | local MSH = nil | |
| 924 | if TYPE == "Sphere" then | |
| 925 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 926 | elseif TYPE == "Block" then | |
| 927 | MSH = IT("BlockMesh",EFFECT)
| |
| 928 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 929 | elseif TYPE == "Wave" then | |
| 930 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 931 | elseif TYPE == "Ring" then | |
| 932 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 933 | elseif TYPE == "Slash" then | |
| 934 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 935 | elseif TYPE == "Round Slash" then | |
| 936 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 937 | elseif TYPE == "Swirl" then | |
| 938 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 939 | elseif TYPE == "Skull" then | |
| 940 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 941 | elseif TYPE == "Crystal" then | |
| 942 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 943 | end | |
| 944 | if MSH ~= nil then | |
| 945 | local MOVESPEED = nil | |
| 946 | if MOVEDIRECTION ~= nil then | |
| 947 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 948 | end | |
| 949 | local GROWTH = SIZE - ENDSIZE | |
| 950 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 951 | if TYPE == "Block" then | |
| 952 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 953 | else | |
| 954 | EFFECT.CFrame = CFRAME | |
| 955 | end | |
| 956 | for LOOP = 1, TIME+1 do | |
| 957 | Swait() | |
| 958 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 959 | if TYPE == "Wave" then | |
| 960 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 961 | end | |
| 962 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 963 | if TYPE == "Block" then | |
| 964 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 965 | else | |
| 966 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 967 | end | |
| 968 | if MOVEDIRECTION ~= nil then | |
| 969 | local ORI = EFFECT.Orientation | |
| 970 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 971 | EFFECT.Orientation = ORI | |
| 972 | end | |
| 973 | end | |
| 974 | if PLAYSSOUND == false then | |
| 975 | EFFECT:remove() | |
| 976 | else | |
| 977 | SOUND.Stopped:Connect(function() | |
| 978 | EFFECT:remove() | |
| 979 | end) | |
| 980 | end | |
| 981 | else | |
| 982 | if PLAYSSOUND == false then | |
| 983 | EFFECT:remove() | |
| 984 | else | |
| 985 | repeat Swait() until SOUND.Playing == false | |
| 986 | EFFECT:remove() | |
| 987 | end | |
| 988 | end | |
| 989 | end)) | |
| 990 | end | |
| 991 | ||
| 992 | function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW) | |
| 993 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
| 994 | local mesh | |
| 995 | if KIND == "Base" then | |
| 996 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
| |
| 997 | elseif KIND == "Thin" then | |
| 998 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
| |
| 999 | elseif KIND == "Round" then | |
| 1000 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
| |
| 1001 | end | |
| 1002 | wave.CFrame = CFRAME | |
| 1003 | coroutine.resume(coroutine.create(function(PART) | |
| 1004 | for i = 1, WAIT do | |
| 1005 | Swait() | |
| 1006 | mesh.Scale = mesh.Scale + GROW / 10 | |
| 1007 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
| 1008 | if wave.Transparency > 0.99 then | |
| 1009 | wave:remove() | |
| 1010 | end | |
| 1011 | end | |
| 1012 | end)) | |
| 1013 | end | |
| 1014 | ||
| 1015 | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) | |
| 1016 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
| 1017 | wave.Color = COLOR | |
| 1018 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
| |
| 1019 | wave.CFrame = CFRAME | |
| 1020 | coroutine.resume(coroutine.create(function(PART) | |
| 1021 | for i = 1, WAIT do | |
| 1022 | Swait() | |
| 1023 | mesh.Scale = mesh.Scale + GROW | |
| 1024 | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) | |
| 1025 | if DOESROT == true then | |
| 1026 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
| 1027 | end | |
| 1028 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
| 1029 | if wave.Transparency > 0.99 then | |
| 1030 | wave:remove() | |
| 1031 | end | |
| 1032 | end | |
| 1033 | end)) | |
| 1034 | end | |
| 1035 | ||
| 1036 | function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW) | |
| 1037 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
| 1038 | wave.Color = COLOR | |
| 1039 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
| |
| 1040 | wave.CFrame = CFRAME | |
| 1041 | coroutine.resume(coroutine.create(function(PART) | |
| 1042 | for i = 1, WAIT do | |
| 1043 | Swait() | |
| 1044 | mesh.Scale = mesh.Scale + GROW | |
| 1045 | wave.Transparency = wave.Transparency + 1 / WAIT | |
| 1046 | if wave.Transparency > 0.99 then | |
| 1047 | wave:remove() | |
| 1048 | end | |
| 1049 | end | |
| 1050 | end)) | |
| 1051 | end | |
| 1052 | ||
| 1053 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
| 1054 | PRT.Color = C3(0,0,0) | |
| 1055 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
| |
| 1056 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
| |
| 1057 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false) | |
| 1058 | PRT.Color = C3(0,0,0) | |
| 1059 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1060 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
| |
| 1061 | for i = 1, 16 do | |
| 1062 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false) | |
| 1063 | FACE.Color = C3(0,0,0) | |
| 1064 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
| |
| 1065 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
| |
| 1066 | end | |
| 1067 | local EYE = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15,0.15,0.15),false) | |
| 1068 | MakeForm(EYE,"Ball") | |
| 1069 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
| |
| 1070 | local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15,0.15,0.15),false) | |
| 1071 | MakeForm(EYE2,"Ball") | |
| 1072 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
| |
| 1073 | ||
| 1074 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
| |
| 1075 | function ParticleEmitter(Table) | |
| 1076 | local PRTCL = Particle:Clone() | |
| 1077 | local Speed = Table.Speed or 5 | |
| 1078 | local Drag = Table.Drag or 0 | |
| 1079 | local Size1 = Table.Size1 or 1 | |
| 1080 | local Size2 = Table.Size2 or 5 | |
| 1081 | local Lifetime1 = Table.Lifetime1 or 1 | |
| 1082 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
| 1083 | local Parent = Table.Parent or Torso | |
| 1084 | local Emit = Table.Emit or 100 | |
| 1085 | local Offset = Table.Offset or 360 | |
| 1086 | local Acel = Table.Acel or VT(0,0,0) | |
| 1087 | local Enabled = Table.Enabled or false | |
| 1088 | PRTCL.Parent = Parent | |
| 1089 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
| 1090 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
| 1091 | PRTCL.Speed = NumberRange.new(Speed) | |
| 1092 | PRTCL.VelocitySpread = Offset | |
| 1093 | PRTCL.Drag = Drag | |
| 1094 | PRTCL.Acceleration = Acel | |
| 1095 | if Enabled == false then | |
| 1096 | PRTCL:Emit(Emit) | |
| 1097 | Debris:AddItem(PRTCL,Lifetime2) | |
| 1098 | else | |
| 1099 | PRTCL.Enabled = true | |
| 1100 | end | |
| 1101 | return PRTCL | |
| 1102 | end | |
| 1103 | ||
| 1104 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
| |
| 1105 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
| |
| 1106 | ||
| 1107 | for _, c in pairs(Weapon:GetDescendants()) do | |
| 1108 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
| 1109 | c.Material = "Glass" | |
| 1110 | c.Color = C3(0,0,0) | |
| 1111 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
| 1112 | c.Color = C3(1,0,0) | |
| 1113 | c.Material = "Neon" | |
| 1114 | end | |
| 1115 | end | |
| 1116 | ||
| 1117 | Weapon.Parent = Character | |
| 1118 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1119 | if c.ClassName == "Part" then | |
| 1120 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 1121 | end | |
| 1122 | end | |
| 1123 | ||
| 1124 | local SKILLTEXTCOLOR = C3(1,0,0) | |
| 1125 | local SKILLFONT = "Antique" | |
| 1126 | local SKILLTEXTSIZE = 7 | |
| 1127 | ||
| 1128 | Humanoid.Died:connect(function() | |
| 1129 | ATTACK = true | |
| 1130 | end) | |
| 1131 | ||
| 1132 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 1133 | --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 1134 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 1135 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 1136 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 1137 | ]] | |
| 1138 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] ", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
| 1139 | --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
| 1140 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
| 1141 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
| 1142 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
| 1143 | ]] | |
| 1144 | function printbye(Name) | |
| 1145 | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
| |
| 1146 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
| 1147 | end | |
| 1148 | ||
| 1149 | workspace.ChildAdded:connect(function(instance) | |
| 1150 | for BANISH = 1, #TOBANISH do | |
| 1151 | if TOBANISH[BANISH] ~= nil then | |
| 1152 | if instance.Name == TOBANISH[BANISH] then | |
| 1153 | coroutine.resume(coroutine.create(function() | |
| 1154 | printbye(instance.Name) | |
| 1155 | instance:ClearAllChildren() | |
| 1156 | Debris:AddItem(instance,0.0005) | |
| 1157 | end)) | |
| 1158 | end | |
| 1159 | end | |
| 1160 | end | |
| 1161 | end) | |
| 1162 | ||
| 1163 | --//=================================\\ | |
| 1164 | --|| DAMAGING | |
| 1165 | --\\=================================// | |
| 1166 | ||
| 1167 | ||
| 1168 | function BulletDetection(FROM,TO,BRUTAL) | |
| 1169 | local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character) | |
| 1170 | coroutine.resume(coroutine.create(function() | |
| 1171 | if AIMHIT ~= nil then | |
| 1172 | if AIMHIT.Parent ~= Character then | |
| 1173 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1174 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1175 | if BRUTAL == true then | |
| 1176 | Kill(AIMHIT.Parent) | |
| 1177 | else | |
| 1178 | getbloody(AIMHIT,15) | |
| 1179 | AIMHIT.Parent:BreakJoints() | |
| 1180 | if AIMHIT.Name == "Head" then | |
| 1181 | AIMHIT.Name = "HEADSHOT" | |
| 1182 | AIMHIT:remove() | |
| 1183 | end | |
| 1184 | end | |
| 1185 | else | |
| 1186 | if BRUTAL == true then | |
| 1187 | Kill(AIMHIT.Parent.Parent) | |
| 1188 | else | |
| 1189 | AIMHIT.Parent.Parent:BreakJoints() | |
| 1190 | end | |
| 1191 | end | |
| 1192 | end | |
| 1193 | end | |
| 1194 | end | |
| 1195 | end)) | |
| 1196 | SpawnTrail(FROM,AIMPOS) | |
| 1197 | return AIMHIT,AIMPOS,NORMAL | |
| 1198 | end | |
| 1199 | ||
| 1200 | function Banish(Foe) | |
| 1201 | if Foe then | |
| 1202 | coroutine.resume(coroutine.create(function() | |
| 1203 | --if game.Players:FindFirstChild(Foe.Name) then | |
| 1204 | table.insert(TOBANISH,Foe.Name) | |
| 1205 | printbye(Foe.Name) | |
| 1206 | --end | |
| 1207 | Foe.Archivable = true | |
| 1208 | local CLONE = Foe:Clone() | |
| 1209 | Foe:Destroy() | |
| 1210 | CLONE.Parent = Effects | |
| 1211 | CLONE:BreakJoints() | |
| 1212 | local MATERIALS = {"Glass","Neon"}
| |
| 1213 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 1214 | if c:IsA("BasePart") then
| |
| 1215 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
| 1216 | CreateSound(340722848, c, 10, 1, false) | |
| 1217 | end | |
| 1218 | c.Anchored = true | |
| 1219 | c.Transparency = c.Transparency + 0.2 | |
| 1220 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 1221 | c.Color = C3(0,1,0) | |
| 1222 | if c.ClassName == "MeshPart" then | |
| 1223 | c.TextureID = "" | |
| 1224 | end | |
| 1225 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 1226 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 1227 | end | |
| 1228 | if c:FindFirstChildOfClass("Decal") then
| |
| 1229 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 1230 | end | |
| 1231 | c.Name = "Banished" | |
| 1232 | c.CanCollide = false | |
| 1233 | else | |
| 1234 | c:remove() | |
| 1235 | end | |
| 1236 | end | |
| 1237 | local A = false | |
| 1238 | for i = 1, 35 do | |
| 1239 | if A == false then | |
| 1240 | A = true | |
| 1241 | elseif A == true then | |
| 1242 | A = false | |
| 1243 | end | |
| 1244 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 1245 | if c:IsA("BasePart") then
| |
| 1246 | c.Anchored = true | |
| 1247 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 1248 | c.Transparency = c.Transparency + 0.8/35 | |
| 1249 | if A == false then | |
| 1250 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 1251 | elseif A == true then | |
| 1252 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 1253 | end | |
| 1254 | end | |
| 1255 | end | |
| 1256 | Swait() | |
| 1257 | end | |
| 1258 | CLONE:remove() | |
| 1259 | end)) | |
| 1260 | end | |
| 1261 | end | |
| 1262 | ||
| 1263 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
| 1264 | local CHILDREN = workspace:GetDescendants() | |
| 1265 | for index, CHILD in pairs(CHILDREN) do | |
| 1266 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1267 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1268 | if HUM then | |
| 1269 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1270 | if TORSO then | |
| 1271 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1272 | if ISBANISH == true then | |
| 1273 | Banish(CHILD) | |
| 1274 | else | |
| 1275 | if ISBANISH == "Gravity" then | |
| 1276 | HUM.PlatformStand = true | |
| 1277 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 1278 | local grav = Instance.new("BodyPosition",TORSO)
| |
| 1279 | grav.D = 15 | |
| 1280 | grav.P = 20000 | |
| 1281 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1282 | grav.position = TORSO.Position | |
| 1283 | grav.Name = "V3BanishForce"..Player.Name | |
| 1284 | else | |
| 1285 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
| |
| 1286 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
| 1287 | end | |
| 1288 | else | |
| 1289 | HUM.PlatformStand = false | |
| 1290 | end | |
| 1291 | end | |
| 1292 | elseif ISBANISH == "Gravity" then | |
| 1293 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 1294 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
| |
| 1295 | HUM.PlatformStand = false | |
| 1296 | end | |
| 1297 | end | |
| 1298 | end | |
| 1299 | end | |
| 1300 | end | |
| 1301 | end | |
| 1302 | end | |
| 1303 | ||
| 1304 | function Kill(Char) | |
| 1305 | local NewCharacter = IT("Model",Effects)
| |
| 1306 | NewCharacter.Name = "Ow im ded ;-;" | |
| 1307 | for _, c in pairs(Char:GetDescendants()) do | |
| 1308 | if c:IsA("BasePart") and c.Transparency == 0 then
| |
| 1309 | if c.Parent == Char then | |
| 1310 | getbloody(c,5) | |
| 1311 | end | |
| 1312 | c:BreakJoints() | |
| 1313 | c.Material = "Glass" | |
| 1314 | c.Color = C3(0.5,0,0) | |
| 1315 | c.CanCollide = true | |
| 1316 | c.Transparency = 0.3 | |
| 1317 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 1318 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 1319 | end | |
| 1320 | if c.Name == "Head" then | |
| 1321 | c:ClearAllChildren() | |
| 1322 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
| 1323 | end | |
| 1324 | if c.ClassName == "MeshPart" then | |
| 1325 | c.TextureID = "" | |
| 1326 | end | |
| 1327 | if c:FindFirstChildOfClass("BodyPosition") then
| |
| 1328 | c:FindFirstChildOfClass("BodyPosition"):remove()
| |
| 1329 | end | |
| 1330 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1331 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1332 | end | |
| 1333 | c.Parent = NewCharacter | |
| 1334 | c.Name = "DeadPart" | |
| 1335 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
| 1336 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
| 1337 | end | |
| 1338 | end | |
| 1339 | Char:remove() | |
| 1340 | Debris:AddItem(NewCharacter,5) | |
| 1341 | end | |
| 1342 | ||
| 1343 | function ApplyAoE(POSITION,RANGE,BRUTAL) | |
| 1344 | local CHILDREN = workspace:GetDescendants() | |
| 1345 | for index, CHILD in pairs(CHILDREN) do | |
| 1346 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1347 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1348 | if HUM then | |
| 1349 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1350 | if TORSO then | |
| 1351 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1352 | if BRUTAL == true then | |
| 1353 | Kill(CHILD) | |
| 1354 | else | |
| 1355 | CHILD:BreakJoints() | |
| 1356 | end | |
| 1357 | end | |
| 1358 | end | |
| 1359 | end | |
| 1360 | end | |
| 1361 | end | |
| 1362 | end | |
| 1363 | ||
| 1364 | function BulletDetection(FROM,TO,BRUTAL) | |
| 1365 | local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character) | |
| 1366 | coroutine.resume(coroutine.create(function() | |
| 1367 | if AIMHIT ~= nil then | |
| 1368 | if AIMHIT.Parent ~= Character then | |
| 1369 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1370 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1371 | if BRUTAL == true then | |
| 1372 | Kill(AIMHIT.Parent) | |
| 1373 | else | |
| 1374 | getbloody(AIMHIT,15) | |
| 1375 | AIMHIT.Parent:BreakJoints() | |
| 1376 | if AIMHIT.Name == "Head" then | |
| 1377 | AIMHIT.Name = "HEADSHOT" | |
| 1378 | AIMHIT:remove() | |
| 1379 | end | |
| 1380 | end | |
| 1381 | else | |
| 1382 | if BRUTAL == true then | |
| 1383 | Kill(AIMHIT.Parent.Parent) | |
| 1384 | else | |
| 1385 | AIMHIT.Parent.Parent:BreakJoints() | |
| 1386 | end | |
| 1387 | end | |
| 1388 | end | |
| 1389 | end | |
| 1390 | end | |
| 1391 | end)) | |
| 1392 | SpawnTrail(FROM,AIMPOS) | |
| 1393 | return AIMHIT,AIMPOS,NORMAL | |
| 1394 | end | |
| 1395 | ||
| 1396 | function Banish(Foe) | |
| 1397 | if Foe then | |
| 1398 | coroutine.resume(coroutine.create(function() | |
| 1399 | --if game.Players:FindFirstChild(Foe.Name) then | |
| 1400 | table.insert(TOBANISH,Foe.Name) | |
| 1401 | printbye(Foe.Name) | |
| 1402 | --end | |
| 1403 | Foe.Archivable = true | |
| 1404 | local CLONE = Foe:Clone() | |
| 1405 | Foe:Destroy() | |
| 1406 | CLONE.Parent = Effects | |
| 1407 | CLONE:BreakJoints() | |
| 1408 | local MATERIALS = {"Glass","Neon"}
| |
| 1409 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 1410 | if c:IsA("BasePart") then
| |
| 1411 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
| 1412 | CreateSound(340722848, c, 10, 1, false) | |
| 1413 | end | |
| 1414 | c.Anchored = true | |
| 1415 | c.Transparency = c.Transparency + 0.2 | |
| 1416 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 1417 | c.Color = C3(1,0,0) | |
| 1418 | if c.ClassName == "MeshPart" then | |
| 1419 | c.TextureID = "" | |
| 1420 | end | |
| 1421 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 1422 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 1423 | end | |
| 1424 | if c:FindFirstChildOfClass("Decal") then
| |
| 1425 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 1426 | end | |
| 1427 | c.Name = "Banished" | |
| 1428 | c.CanCollide = false | |
| 1429 | else | |
| 1430 | c:remove() | |
| 1431 | end | |
| 1432 | end | |
| 1433 | local A = false | |
| 1434 | for i = 1, 35 do | |
| 1435 | if A == false then | |
| 1436 | A = true | |
| 1437 | elseif A == true then | |
| 1438 | A = false | |
| 1439 | end | |
| 1440 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 1441 | if c:IsA("BasePart") then
| |
| 1442 | c.Anchored = true | |
| 1443 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 1444 | c.Transparency = c.Transparency + 0.8/35 | |
| 1445 | if A == false then | |
| 1446 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 1447 | elseif A == true then | |
| 1448 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 1449 | end | |
| 1450 | end | |
| 1451 | end | |
| 1452 | Swait() | |
| 1453 | end | |
| 1454 | CLONE:remove() | |
| 1455 | end)) | |
| 1456 | end | |
| 1457 | end | |
| 1458 | ||
| 1459 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
| 1460 | local CHILDREN = workspace:GetDescendants() | |
| 1461 | for index, CHILD in pairs(CHILDREN) do | |
| 1462 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1463 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1464 | if HUM then | |
| 1465 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1466 | if TORSO then | |
| 1467 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1468 | if ISBANISH == true then | |
| 1469 | Banish(CHILD) | |
| 1470 | else | |
| 1471 | if ISBANISH == "Gravity" then | |
| 1472 | HUM.PlatformStand = true | |
| 1473 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 1474 | local grav = Instance.new("BodyPosition",TORSO)
| |
| 1475 | grav.D = 15 | |
| 1476 | grav.P = 20000 | |
| 1477 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1478 | grav.position = TORSO.Position | |
| 1479 | grav.Name = "V3BanishForce"..Player.Name | |
| 1480 | else | |
| 1481 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
| |
| 1482 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
| 1483 | end | |
| 1484 | else | |
| 1485 | HUM.PlatformStand = false | |
| 1486 | end | |
| 1487 | end | |
| 1488 | elseif ISBANISH == "Gravity" then | |
| 1489 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 1490 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
| |
| 1491 | HUM.PlatformStand = false | |
| 1492 | end | |
| 1493 | end | |
| 1494 | end | |
| 1495 | end | |
| 1496 | end | |
| 1497 | end | |
| 1498 | end | |
| 1499 | ||
| 1500 | function ApplyAoE(POSITION,RANGE,BRUTAL) | |
| 1501 | local CHILDREN = workspace:GetDescendants() | |
| 1502 | for index, CHILD in pairs(CHILDREN) do | |
| 1503 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1504 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1505 | if HUM then | |
| 1506 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1507 | if TORSO then | |
| 1508 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1509 | if BRUTAL == true then | |
| 1510 | Kill(CHILD) | |
| 1511 | else | |
| 1512 | CHILD:BreakJoints() | |
| 1513 | end | |
| 1514 | end | |
| 1515 | end | |
| 1516 | end | |
| 1517 | end | |
| 1518 | end | |
| 1519 | end | |
| 1520 | ||
| 1521 | function Kill(Char) | |
| 1522 | local NewCharacter = IT("Model",Effects)
| |
| 1523 | NewCharacter.Name = "Ow im ded ;-;" | |
| 1524 | for _, c in pairs(Char:GetDescendants()) do | |
| 1525 | if c:IsA("BasePart") and c.Transparency == 0 then
| |
| 1526 | if c.Parent == Char then | |
| 1527 | getbloody(c,5) | |
| 1528 | end | |
| 1529 | c:BreakJoints() | |
| 1530 | c.Material = "Glass" | |
| 1531 | c.Color = C3(1,0,0) | |
| 1532 | c.CanCollide = true | |
| 1533 | c.Transparency = 0.3 | |
| 1534 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 1535 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 1536 | end | |
| 1537 | if c.Name == "Head" then | |
| 1538 | c:ClearAllChildren() | |
| 1539 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
| 1540 | end | |
| 1541 | if c.ClassName == "MeshPart" then | |
| 1542 | c.TextureID = "" | |
| 1543 | end | |
| 1544 | if c:FindFirstChildOfClass("BodyPosition") then
| |
| 1545 | c:FindFirstChildOfClass("BodyPosition"):remove()
| |
| 1546 | end | |
| 1547 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1548 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1549 | end | |
| 1550 | c.Parent = NewCharacter | |
| 1551 | c.Name = "DeadPart" | |
| 1552 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
| 1553 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
| 1554 | end | |
| 1555 | end | |
| 1556 | Char:remove() | |
| 1557 | Debris:AddItem(NewCharacter,5) | |
| 1558 | end | |
| 1559 | ||
| 1560 | function ApplyClock(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
| 1561 | local CHILDREN = workspace:GetDescendants() | |
| 1562 | for index, CHILD in pairs(CHILDREN) do | |
| 1563 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1564 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1565 | if HUM then | |
| 1566 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1567 | if TORSO then | |
| 1568 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1569 | if INSTAKILL == true then | |
| 1570 | CHILD:BreakJoints() | |
| 1571 | else | |
| 1572 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
| 1573 | ApplyDamage(HUM,DMG,TORSO) | |
| 1574 | end | |
| 1575 | if FLING > 0 then | |
| 1576 | for _, c in pairs(CHILD:GetChildren()) do | |
| 1577 | if c:IsA("BasePart") then
| |
| 1578 | local bv = Instance.new("BodyVelocity")
| |
| 1579 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1580 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
| 1581 | bv.Parent = c | |
| 1582 | Debris:AddItem(bv,0.05) | |
| 1583 | end | |
| 1584 | end | |
| 1585 | end | |
| 1586 | end | |
| 1587 | end | |
| 1588 | end | |
| 1589 | end | |
| 1590 | end | |
| 1591 | end | |
| 1592 | ||
| 1593 | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) | |
| 1594 | local TORSO = Torso | |
| 1595 | local HUM = Humanoid | |
| 1596 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
| 1597 | coroutine.wrap(function() | |
| 1598 | VT = Vector3.new | |
| 1599 | MRANDOM = math.random | |
| 1600 | local A = TIME | |
| 1601 | local B = INTENSITY | |
| 1602 | local C = true | |
| 1603 | local HUMANOID = Humanoid | |
| 1604 | local TIMER = A or 35 | |
| 1605 | local SHAKE = B or 5 | |
| 1606 | local FADE = C or true | |
| 1607 | if HUMANOID then | |
| 1608 | local FADER = SHAKE / TIMER | |
| 1609 | for i = 1, TIMER do | |
| 1610 | wait() | |
| 1611 | HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10) | |
| 1612 | end | |
| 1613 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
| 1614 | end | |
| 1615 | ||
| 1616 | end)() | |
| 1617 | end | |
| 1618 | end | |
| 1619 | ||
| 1620 | function killnearest(position, range, maxstrength) | |
| 1621 | for i, v in ipairs(workspace:GetChildren()) do | |
| 1622 | local body = v:GetChildren() | |
| 1623 | for part = 1, #body do | |
| 1624 | if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then | |
| 1625 | if v.ClassName == "Model" then | |
| 1626 | v:BreakJoints() | |
| 1627 | end | |
| 1628 | local bv = Instance.new("BodyVelocity")
| |
| 1629 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
| 1630 | bv.velocity = CF(position, body[part].Position).lookVector * maxstrength | |
| 1631 | bv.Parent = body[part] | |
| 1632 | Debris:AddItem(bv, 0.2) | |
| 1633 | end | |
| 1634 | end | |
| 1635 | if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then | |
| 1636 | v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength | |
| 1637 | end | |
| 1638 | end | |
| 1639 | end | |
| 1640 | ||
| 1641 | --//=================================\\ | |
| 1642 | --|| ATTACK FUNCTIONS AND STUFF | |
| 1643 | --\\=================================// | |
| 1644 | ||
| 1645 | function TakeOnMe() | |
| 1646 | Speed = 16 | |
| 1647 | local MEME = CreateSound(1171341451, Effects, 2, 1, false) | |
| 1648 | ATTACK = true | |
| 1649 | Rooted = false | |
| 1650 | local DANCE = true | |
| 1651 | local KEY = Mouse.KeyDown:connect(function(NEWKEY) | |
| 1652 | if NEWKEY == "p" then | |
| 1653 | DANCE = false | |
| 1654 | end | |
| 1655 | end) | |
| 1656 | PLAYSONG = false | |
| 1657 | while true do | |
| 1658 | for i = 1, 15 do | |
| 1659 | Swait() | |
| 1660 | MEME.Parent = Effects | |
| 1661 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1662 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1663 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1664 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1665 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1666 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1667 | end | |
| 1668 | if DANCE == false then | |
| 1669 | break | |
| 1670 | end | |
| 1671 | for i = 1, 15 do | |
| 1672 | Swait() | |
| 1673 | MEME.Parent = Effects | |
| 1674 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1675 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1676 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1677 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1678 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1679 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1680 | end | |
| 1681 | end | |
| 1682 | PLAYSONG = true | |
| 1683 | KEY:Disconnect() | |
| 1684 | MEME:remove() | |
| 1685 | Speed = 25 | |
| 1686 | ATTACK = false | |
| 1687 | Rooted = false | |
| 1688 | end | |
| 1689 | ||
| 1690 | function Morning_Star() | |
| 1691 | ATTACK = true | |
| 1692 | Rooted = true | |
| 1693 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1694 | Swait() | |
| 1695 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1696 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1697 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1698 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1699 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1700 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1701 | end | |
| 1702 | coroutine.resume(coroutine.create(function() | |
| 1703 | local POS = Mouse.Hit.p | |
| 1704 | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,2000,0)) | |
| 1705 | MakeForm(RAY,"Cyl") | |
| 1706 | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,0,0)) | |
| 1707 | MakeForm(SPHERE,"Ball") | |
| 1708 | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Maroon", "Strike", VT(0,0,0)) | |
| 1709 | MakeForm(SHIELD,"Ball") | |
| 1710 | SHIELD.CFrame = CF(POS) | |
| 1711 | RAY.CFrame = CF(POS) | |
| 1712 | SPHERE.CFrame = CF(POS) | |
| 1713 | CreateSound(440145570, SPHERE, 10, 0.8, false) | |
| 1714 | CreateSound(415700134, SPHERE, 10, 0.8, false) | |
| 1715 | for i = 1, 200 do | |
| 1716 | Swait() | |
| 1717 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1718 | RAY.Size = RAY.Size + VT(0.05,0,0.05) | |
| 1719 | SPHERE.Size = SPHERE.Size + VT(2,2,2) | |
| 1720 | SHIELD.Size = SPHERE.Size + VT(3,3,3) | |
| 1721 | ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) | |
| 1722 | end | |
| 1723 | for i = 1, 45 do | |
| 1724 | Swait() | |
| 1725 | RAY.Transparency = RAY.Transparency + 1/45 | |
| 1726 | SPHERE.Transparency = RAY.Transparency | |
| 1727 | SHIELD.Transparency = SPHERE.Transparency + 1/45 | |
| 1728 | end | |
| 1729 | RAY:remove() | |
| 1730 | SHIELD:remove() | |
| 1731 | SPHERE:remove() | |
| 1732 | end)) | |
| 1733 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1734 | Swait() | |
| 1735 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed) | |
| 1736 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 1737 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1738 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1739 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1740 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1741 | end | |
| 1742 | ATTACK = false | |
| 1743 | Rooted = false | |
| 1744 | end | |
| 1745 | ||
| 1746 | function Taunt() | |
| 1747 | ATTACK = true | |
| 1748 | local LAUGH = nil | |
| 1749 | coroutine.resume(coroutine.create(function() | |
| 1750 | repeat | |
| 1751 | Swait() | |
| 1752 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1753 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1754 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1755 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1756 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1757 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1758 | until LAUGH ~= nil | |
| 1759 | repeat | |
| 1760 | Swait() | |
| 1761 | LAUGH.Parent = Head | |
| 1762 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1763 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1764 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(180), RAD(10), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1765 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1766 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1767 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1768 | until LAUGH.Playing == false | |
| 1769 | ATTACK = false | |
| 1770 | end)) | |
| 1771 | wait(0.1) | |
| 1772 | LAUGH = CreateSound(300208779, Head, 10, 1, false) | |
| 1773 | sick:Resume() | |
| 1774 | end | |
| 1775 | ||
| 1776 | function Shell() | |
| 1777 | ATTACK = true | |
| 1778 | Rooted = false | |
| 1779 | local GYRO = IT("BodyGyro",RootPart)
| |
| 1780 | GYRO.D = 750 | |
| 1781 | GYRO.P = 20000 | |
| 1782 | GYRO.MaxTorque = VT(0,40000000,0) | |
| 1783 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1784 | Swait() | |
| 1785 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 1786 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1787 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1788 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1789 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1790 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1791 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1792 | end | |
| 1793 | GYRO:remove() | |
| 1794 | CreateSound(696483710, Gun, 5, 1, false) | |
| 1795 | local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p) | |
| 1796 | SpawnTrail(Gun.CFrame*CF(1.5,0.5,0).p,AIMPOS) | |
| 1797 | WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1798 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 1799 | Swait() | |
| 1800 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1801 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1802 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(110), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1803 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1804 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1805 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1806 | end | |
| 1807 | ATTACK = false | |
| 1808 | Rooted = false | |
| 1809 | end | |
| 1810 | ||
| 1811 | function Teleport() | |
| 1812 | ATTACK = true | |
| 1813 | Rooted = false | |
| 1814 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1815 | Swait() | |
| 1816 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1817 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) | |
| 1818 | end | |
| 1819 | for e = 1, #BODY do | |
| 1820 | if BODY[e] ~= nil then | |
| 1821 | local STUFF = BODY[e] | |
| 1822 | local PART = STUFF[1] | |
| 1823 | if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
| |
| 1824 | local PRT = PART:Clone() | |
| 1825 | PRT.Anchored = true | |
| 1826 | PRT.CanCollide = false | |
| 1827 | PRT.Material = "Neon" | |
| 1828 | PRT.Color = C3(1,1,1) | |
| 1829 | PRT.Name = "WarpEffect" | |
| 1830 | PRT.Parent = Effects | |
| 1831 | PRT.CFrame = PART.CFrame | |
| 1832 | PRT:BreakJoints() | |
| 1833 | if PRT:FindFirstChildOfClass("Sound") then
| |
| 1834 | PRT:FindFirstChildOfClass("Sound"):remove()
| |
| 1835 | end | |
| 1836 | if PRT:FindFirstChildOfClass("Decal") then
| |
| 1837 | PRT:FindFirstChildOfClass("Decal"):remove()
| |
| 1838 | end | |
| 1839 | coroutine.resume(coroutine.create(function() | |
| 1840 | for i = 1, 100 do | |
| 1841 | Swait() | |
| 1842 | PRT.Transparency = PRT.Transparency + 1/100 | |
| 1843 | end | |
| 1844 | PRT:remove() | |
| 1845 | end)) | |
| 1846 | end | |
| 1847 | end | |
| 1848 | end | |
| 1849 | CreateSound(217767125, Torso, 10, 1) | |
| 1850 | local POS = RootPart.Orientation | |
| 1851 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) | |
| 1852 | RootPart.Orientation = POS | |
| 1853 | RootJoint.Parent = RootPart | |
| 1854 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1855 | Swait() | |
| 1856 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1857 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
| 1858 | end | |
| 1859 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 1860 | Swait() | |
| 1861 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1862 | end | |
| 1863 | ATTACK = false | |
| 1864 | Rooted = false | |
| 1865 | end | |
| 1866 | ||
| 1867 | function G() | |
| 1868 | ATTACK = true | |
| 1869 | Rooted = true | |
| 1870 | FORCEWINGS = true | |
| 1871 | CreateSound(1537955136, Torso, 5, 1, false) | |
| 1872 | for i=1, 15 do | |
| 1873 | Swait() | |
| 1874 | RootPart.CFrame = RootPart.CFrame * CF(0,0,0.8) | |
| 1875 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+i/15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed) | |
| 1876 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed) | |
| 1877 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1878 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1879 | end | |
| 1880 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 1881 | Swait() | |
| 1882 | RootPart.CFrame = RootPart.CFrame * CF(0,0,0.015) | |
| 1883 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed) | |
| 1884 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed) | |
| 1885 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1886 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1887 | end | |
| 1888 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1889 | Swait() | |
| 1890 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1891 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1892 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1893 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1894 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1895 | end | |
| 1896 | CreateSound(1537955679, Blade, 7, 0.7, false) | |
| 1897 | for i=0, 0.4, 0.1 / Animation_Speed do | |
| 1898 | Swait() | |
| 1899 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed) | |
| 1900 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1901 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1902 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1903 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1904 | end | |
| 1905 | local TORNADOBASE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(5,45/2,5)) | |
| 1906 | MakeForm(TORNADOBASE,"Ball") | |
| 1907 | TORNADOBASE.Mesh.Scale = VT(1,8,1) | |
| 1908 | local SWIRL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(0,0,0)) | |
| 1909 | CreateMesh("SpecialMesh", SWIRL, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
| |
| 1910 | local SWIRL2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(0,0,0)) | |
| 1911 | CreateMesh("SpecialMesh", SWIRL2, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
| |
| 1912 | CreateSound(415700134, TORNADOBASE, 3, 0.5, true) | |
| 1913 | coroutine.resume(coroutine.create(function() | |
| 1914 | local FRAME = RootPart.CFrame*CF(0,-5,-0.5) | |
| 1915 | for E = 1, 185 do | |
| 1916 | Swait() | |
| 1917 | FRAME = FRAME * CF(0,0,-0.8) | |
| 1918 | TORNADOBASE.CFrame = FRAME*CF(0,TORNADOBASE.Size.Y/2,0) | |
| 1919 | SWIRL.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(E*5), RAD(0)) | |
| 1920 | SWIRL2.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(-E*15), RAD(0)) | |
| 1921 | for i = 1, math.ceil(TORNADOBASE.Size.Y/6) do | |
| 1922 | ApplyAoE(TORNADOBASE.CFrame*CF(0,TORNADOBASE.Size.Y/2,0)*CF(0,-i*6,0).p,8,2,2,-35,0) | |
| 1923 | end | |
| 1924 | WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(10,8,10), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(FRAME.p) * ANGLES(RAD(0), RAD(E*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = TORNADOBASE.Color, SoundID = nil, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2})
| |
| 1925 | end | |
| 1926 | for i = 1, 15 do | |
| 1927 | Swait() | |
| 1928 | TORNADOBASE.Transparency = i/15 | |
| 1929 | SWIRL.Transparency = i/15 | |
| 1930 | SWIRL2.Transparency = i/15 | |
| 1931 | SWIRL.CFrame = SWIRL.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)) | |
| 1932 | SWIRL2.CFrame = SWIRL2.CFrame * ANGLES(RAD(0), RAD(-i*15), RAD(0)) | |
| 1933 | end | |
| 1934 | TORNADOBASE:remove() | |
| 1935 | SWIRL:remove() | |
| 1936 | SWIRL2:remove() | |
| 1937 | end)) | |
| 1938 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1939 | Swait() | |
| 1940 | Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed) | |
| 1941 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1942 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed) | |
| 1943 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1944 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) | |
| 1945 | end | |
| 1946 | FORCEWINGS = false | |
| 1947 | ATTACK = false | |
| 1948 | Rooted = false | |
| 1949 | end | |
| 1950 | ||
| 1951 | function Ruler() | |
| 1952 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
| 1953 | if HITFLOOR ~= nil then | |
| 1954 | do | |
| 1955 | local HITBODIES = {}
| |
| 1956 | ATTACK = true | |
| 1957 | Rooted = true | |
| 1958 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0)) | |
| 1959 | ABSOLUTE.Color = SKILLTEXTCOLOR | |
| 1960 | MakeForm(ABSOLUTE, "Ball") | |
| 1961 | CreateSound("814168787", ABSOLUTE, 10, 0.3)
| |
| 1962 | for i = 0, 4, 0.1 / Animation_Speed do | |
| 1963 | Swait() | |
| 1964 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
| 1965 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
| 1966 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
| 1967 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1)) | |
| 1968 | MakeForm(CHARGE, "Ball") | |
| 1969 | CHARGE.Color = C3(0, 0, 0) | |
| 1970 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15)) | |
| 1971 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
| 1972 | Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1) | |
| 1973 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1974 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1975 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1976 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1977 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1978 | end | |
| 1979 | CreateSound("907333406", Head, 10, 1)
| |
| 1980 | for i = 0, 2, 0.1 / Animation_Speed do | |
| 1981 | Swait() | |
| 1982 | Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1) | |
| 1983 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1984 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1985 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1986 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1987 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1988 | end | |
| 1989 | coroutine.resume(coroutine.create(function() | |
| 1990 | local PITS = {}
| |
| 1991 | CreateSound("178452217", ABSOLUTE, 10, 0.7)
| |
| 1992 | for i = 1, 6 do | |
| 1993 | for i = 1, 10 do | |
| 1994 | Swait() | |
| 1995 | Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
| |
| 1996 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
| 1997 | end | |
| 1998 | for i = 1, 10 do | |
| 1999 | Swait() | |
| 2000 | ABSOLUTE.Size = ABSOLUTE.Size * 1.12 | |
| 2001 | end | |
| 2002 | end | |
| 2003 | CreateSound("215395388", ABSOLUTE, 10, 0.6)
| |
| 2004 | CreateSound("215395388", ABSOLUTE, 10, 0.65)
| |
| 2005 | CreateSound("215395388", ABSOLUTE, 10, 0.7)
| |
| 2006 | for i = 1, 75 do | |
| 2007 | Swait() | |
| 2008 | local ICICLE = IT("CornerWedgePart", Effects)
| |
| 2009 | ICICLE.Locked = true | |
| 2010 | ICICLE.CanCollide = false | |
| 2011 | ICICLE.Anchored = true | |
| 2012 | ICICLE.Color = C3(0, 0, 0) | |
| 2013 | ICICLE.Material = "Neon" | |
| 2014 | ICICLE.Size = VT(i / 3, i * 2, i / 3) | |
| 2015 | ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25))) | |
| 2016 | table.insert(PITS, ICICLE) | |
| 2017 | killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100) | |
| 2018 | ABSOLUTE.Size = ABSOLUTE.Size * 1.03 | |
| 2019 | killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100) | |
| 2020 | for i = 1, 3 do | |
| 2021 | Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
| |
| 2022 | end | |
| 2023 | CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3)) | |
| 2024 | end | |
| 2025 | ABSOLUTE.Transparency = 0 | |
| 2026 | for i = 1, 10 do | |
| 2027 | Swait() | |
| 2028 | ABSOLUTE.Size = ABSOLUTE.Size * 0.9 | |
| 2029 | ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1 | |
| 2030 | end | |
| 2031 | Debris:AddItem(ABSOLUTE, 5) | |
| 2032 | Swait(50) | |
| 2033 | for i = 1, 10 do | |
| 2034 | Swait() | |
| 2035 | for e = 1, #PITS do | |
| 2036 | if PITS[e] ~= nil then | |
| 2037 | local E = PITS[e] | |
| 2038 | E.Transparency = E.Transparency + 0.1 | |
| 2039 | end | |
| 2040 | end | |
| 2041 | end | |
| 2042 | for e = 1, #PITS do | |
| 2043 | if PITS[e] ~= nil then | |
| 2044 | local E = PITS[e] | |
| 2045 | E:remove() | |
| 2046 | end | |
| 2047 | end | |
| 2048 | end)) | |
| 2049 | ATTACK = false | |
| 2050 | Rooted = false | |
| 2051 | end | |
| 2052 | end | |
| 2053 | end | |
| 2054 | ||
| 2055 | function Governor_Bomb() | |
| 2056 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0)) | |
| 2057 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "Laser01", VT(25, 25, 25)) | |
| 2058 | RAY.Color = SKILLTEXTCOLOR | |
| 2059 | MakeForm(RAY, "Ball") | |
| 2060 | local ECH = Mouse.Hit.p | |
| 2061 | CENTER.CFrame = CF(Mouse.Hit.p) | |
| 2062 | RAY.CFrame = CENTER.CFrame | |
| 2063 | CreateSound("814168787", CENTER, 10, 0.6)
| |
| 2064 | for i = 1, 80 do | |
| 2065 | Swait() | |
| 2066 | RAY.Size = RAY.Size * 0.98 | |
| 2067 | RAY.Transparency = RAY.Transparency - 0.016666666666666666 | |
| 2068 | end | |
| 2069 | killnearest(ECH, 25, 250) | |
| 2070 | MagicSphere(VT(1, 1, 1), 55, CF(ECH), SKILLTEXTCOLOR, VT(2, 2, 2)) | |
| 2071 | MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2)) | |
| 2072 | CreateSound("314970790", CENTER, 10, 1)
| |
| 2073 | Debris:AddItem(CENTER, 5) | |
| 2074 | RAY:remove() | |
| 2075 | end | |
| 2076 | ||
| 2077 | function Smite() | |
| 2078 | local RING, MESH, DELET = MakeRing() | |
| 2079 | local POS = Mouse.Hit.p | |
| 2080 | RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
| 2081 | for i = 1, 45 do | |
| 2082 | Swait() | |
| 2083 | MESH.Scale = MESH.Scale + VT(12, 0, 12) | |
| 2084 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2085 | end | |
| 2086 | local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character) | |
| 2087 | if HITFLOOR then | |
| 2088 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
| |
| 2089 | MakeForm(BEAM, "Cyl") | |
| 2090 | local DIST = (RING.Position - HITPOS).Magnitude | |
| 2091 | BEAM.Size = VT(0, DIST, 0) | |
| 2092 | BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
| 2093 | for i = 1, 5 do | |
| 2094 | WACKYEFFECT({
| |
| 2095 | EffectType = "Wave", | |
| 2096 | Size = VT(25, 0, 25), | |
| 2097 | Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6), | |
| 2098 | Transparency = 0, | |
| 2099 | Transparency2 = 1, | |
| 2100 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
| 2101 | MoveToPos = nil, | |
| 2102 | RotationX = 0, | |
| 2103 | RotationY = 3, | |
| 2104 | RotationZ = 0, | |
| 2105 | Material = "Neon", | |
| 2106 | Color = C3(1, 1, 1), | |
| 2107 | SoundID = nil, | |
| 2108 | SoundPitch = nil, | |
| 2109 | SoundVolume = nil | |
| 2110 | }) | |
| 2111 | WACKYEFFECT({
| |
| 2112 | EffectType = "Round Slash", | |
| 2113 | Size = VT(3, 0, 3) / 13, | |
| 2114 | Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5, | |
| 2115 | Transparency = 0, | |
| 2116 | Transparency2 = 1, | |
| 2117 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))), | |
| 2118 | MoveToPos = nil, | |
| 2119 | RotationX = 0, | |
| 2120 | RotationY = 0, | |
| 2121 | RotationZ = 0, | |
| 2122 | Material = "Neon", | |
| 2123 | Color = C3(1, 1, 1), | |
| 2124 | SoundID = nil, | |
| 2125 | SoundPitch = nil, | |
| 2126 | SoundVolume = nil | |
| 2127 | }) | |
| 2128 | WACKYEFFECT({
| |
| 2129 | Time = 35, | |
| 2130 | EffectType = "Sphere", | |
| 2131 | Size = VT(22, 22, 22), | |
| 2132 | Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5), | |
| 2133 | Transparency = 0, | |
| 2134 | Transparency2 = 1, | |
| 2135 | CFrame = CF(HITPOS), | |
| 2136 | MoveToPos = nil, | |
| 2137 | RotationX = 0, | |
| 2138 | RotationY = 0, | |
| 2139 | RotationZ = 0, | |
| 2140 | Material = "Neon", | |
| 2141 | Color = C3(1, 1, 1), | |
| 2142 | SoundID = 459523898, | |
| 2143 | SoundPitch = MRANDOM(9, 12) / 10, | |
| 2144 | SoundVolume = 10 | |
| 2145 | }) | |
| 2146 | end | |
| 2147 | SHAKECAM(HITPOS, 100, 8, 15) | |
| 2148 | ApplyAoE(HITPOS, 50) | |
| 2149 | for i = 1, 25 do | |
| 2150 | Swait() | |
| 2151 | BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5) | |
| 2152 | BEAM.Transparency = BEAM.Transparency + 0.04 | |
| 2153 | end | |
| 2154 | BEAM:remove() | |
| 2155 | end | |
| 2156 | wait(0.2) | |
| 2157 | DELET() | |
| 2158 | end | |
| 2159 | ||
| 2160 | --//=================================\\ | |
| 2161 | --|| ASSIGN THINGS TO KEYS | |
| 2162 | --\\=================================// | |
| 2163 | ||
| 2164 | function MouseDown(Mouse) | |
| 2165 | if ATTACK == false then | |
| 2166 | end | |
| 2167 | end | |
| 2168 | ||
| 2169 | function MouseUp(Mouse) | |
| 2170 | HOLD = false | |
| 2171 | end | |
| 2172 | ||
| 2173 | function KeyDown(Key) | |
| 2174 | KEYHOLD = true | |
| 2175 | if Key == "z" and ATTACK == false then | |
| 2176 | Morning_Star() | |
| 2177 | end | |
| 2178 | ||
| 2179 | if Key == "t" and ATTACK == false then | |
| 2180 | Taunt() | |
| 2181 | end | |
| 2182 | ||
| 2183 | if Key == "c" and ATTACK == false then | |
| 2184 | Shell() | |
| 2185 | end | |
| 2186 | ||
| 2187 | if Key == "q" and ATTACK == false then | |
| 2188 | Teleport() | |
| 2189 | end | |
| 2190 | ||
| 2191 | if Key == "e" and ATTACK == false then | |
| 2192 | G() | |
| 2193 | end | |
| 2194 | ||
| 2195 | if Key == "r" and ATTACK == false then | |
| 2196 | Ruler() | |
| 2197 | end | |
| 2198 | ||
| 2199 | if Key == "f" and ATTACK == false then | |
| 2200 | Governor_Bomb() | |
| 2201 | end | |
| 2202 | ||
| 2203 | if Key == "g" and ATTACK == false then | |
| 2204 | Smite() | |
| 2205 | end | |
| 2206 | ||
| 2207 | if Key == "p" and ATTACK == false then | |
| 2208 | TakeOnMe() | |
| 2209 | end | |
| 2210 | end | |
| 2211 | ||
| 2212 | function KeyUp(Key) | |
| 2213 | KEYHOLD = false | |
| 2214 | end | |
| 2215 | ||
| 2216 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 2217 | MouseDown(NEWKEY) | |
| 2218 | end) | |
| 2219 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 2220 | MouseUp(NEWKEY) | |
| 2221 | end) | |
| 2222 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 2223 | KeyDown(NEWKEY) | |
| 2224 | end) | |
| 2225 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 2226 | KeyUp(NEWKEY) | |
| 2227 | end) | |
| 2228 | ||
| 2229 | --//=================================\\ | |
| 2230 | --\\=================================// | |
| 2231 | ||
| 2232 | ||
| 2233 | function unanchor() | |
| 2234 | if UNANCHOR == true then | |
| 2235 | g = Character:GetChildren() | |
| 2236 | for i = 1, #g do | |
| 2237 | if g[i].ClassName == "Part" then | |
| 2238 | g[i].Anchored = false | |
| 2239 | end | |
| 2240 | end | |
| 2241 | end | |
| 2242 | end | |
| 2243 | ||
| 2244 | ||
| 2245 | --//=================================\\ | |
| 2246 | --|| WRAP THE WHOLE SCRIPT UP | |
| 2247 | --\\=================================// | |
| 2248 | ||
| 2249 | Humanoid.Changed:connect(function(Jump) | |
| 2250 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 2251 | Humanoid.Jump = false | |
| 2252 | end | |
| 2253 | end) | |
| 2254 | ||
| 2255 | local CONNECT = nil | |
| 2256 | ||
| 2257 | while true do | |
| 2258 | Swait() | |
| 2259 | ANIMATE.Parent = nil | |
| 2260 | if Character:FindFirstChildOfClass("Humanoid") == nil then
| |
| 2261 | Humanoid = IT("Humanoid",Character)
| |
| 2262 | end | |
| 2263 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 2264 | v:Stop(); | |
| 2265 | end | |
| 2266 | SINE = SINE + CHANGE | |
| 2267 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 2268 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 2269 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
| 2270 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
| 2271 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 2272 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2273 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2274 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2275 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2276 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 2277 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2278 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2279 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2280 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2281 | end | |
| 2282 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 2283 | ANIM = "Jump" | |
| 2284 | if ATTACK == false then | |
| 2285 | Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1) | |
| 2286 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2287 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 2288 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 2289 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
| 2290 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
| 2291 | end | |
| 2292 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 2293 | ANIM = "Fall" | |
| 2294 | if ATTACK == false then | |
| 2295 | Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1) | |
| 2296 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2297 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 2298 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 2299 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
| 2300 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
| 2301 | end | |
| 2302 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 2303 | ANIM = "Idle" | |
| 2304 | if ATTACK == false then | |
| 2305 | Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1) | |
| 2306 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2307 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2308 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2309 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2310 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2311 | end | |
| 2312 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 2313 | ANIM = "Walk" | |
| 2314 | if ATTACK == false then | |
| 2315 | Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1) | |
| 2316 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2317 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2318 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2319 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
| 2320 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
| 2321 | end | |
| 2322 | end | |
| 2323 | unanchor() | |
| 2324 | Humanoid.MaxHealth = 1.0E298 | |
| 2325 | Humanoid.Health = 1.0E298 | |
| 2326 | if Rooted == false then | |
| 2327 | Disable_Jump = false | |
| 2328 | Humanoid.WalkSpeed = Speed | |
| 2329 | elseif Rooted == true then | |
| 2330 | Disable_Jump = true | |
| 2331 | Humanoid.WalkSpeed = 0 | |
| 2332 | end | |
| 2333 | sick.Parent = Torso | |
| 2334 | sick:resume() | |
| 2335 | sick.Volume = 0.3 | |
| 2336 | sick.Pitch = 1 | |
| 2337 | sick.SoundId = "rbxassetid://1547875818" | |
| 2338 | - | sick.Name = "Hackmaster12" |
| 2338 | + | sick.Name = "Lava" |
| 2339 | end | |
| 2340 | ||
| 2341 | --//=================================\\ | |
| 2342 | --\\=================================// | |
| 2343 | ||
| 2344 | ||
| 2345 | ||
| 2346 | ||
| 2347 | ||
| 2348 | --//====================================================\\-- | |
| 2349 | --|| END OF SCRIPT | |
| 2350 | --\\====================================================//-- |