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 | --//====================================================\\-- | |
| 88 | --|| CREATED BY SHACKLUSTER | |
| 89 | --\\====================================================//-- | |
| 90 | ||
| 91 | script:ClearAllChildren() | |
| 92 | wait(0.2) | |
| 93 | ||
| 94 | Player = owner | |
| 95 | PlayerGui = Player.PlayerGui | |
| 96 | Cam = workspace.CurrentCamera | |
| 97 | Backpack = Player.Backpack | |
| 98 | Character = Player.Character | |
| 99 | Humanoid = Character.Humanoid | |
| 100 | RootPart = Character["HumanoidRootPart"] | |
| 101 | Torso = Character["Torso"] | |
| 102 | Head = Character["Head"] | |
| 103 | RightArm = Character["Right Arm"] | |
| 104 | LeftArm = Character["Left Arm"] | |
| 105 | RightLeg = Character["Right Leg"] | |
| 106 | LeftLeg = Character["Left Leg"] | |
| 107 | RootJoint = RootPart["RootJoint"] | |
| 108 | Neck = Torso["Neck"] | |
| 109 | RightShoulder = Torso["Right Shoulder"] | |
| 110 | LeftShoulder = Torso["Left Shoulder"] | |
| 111 | RightHip = Torso["Right Hip"] | |
| 112 | LeftHip = Torso["Left Hip"] | |
| 113 | local TIME = 0 | |
| 114 | local sick = Instance.new("Sound",Torso)
| |
| 115 | ||
| 116 | IT = Instance.new | |
| 117 | CF = CFrame.new | |
| 118 | VT = Vector3.new | |
| 119 | RAD = math.rad | |
| 120 | C3 = Color3.new | |
| 121 | UD2 = UDim2.new | |
| 122 | BRICKC = BrickColor.new | |
| 123 | ANGLES = CFrame.Angles | |
| 124 | EULER = CFrame.fromEulerAnglesXYZ | |
| 125 | COS = math.cos | |
| 126 | ACOS = math.acos | |
| 127 | SIN = math.sin | |
| 128 | ASIN = math.asin | |
| 129 | ABS = math.abs | |
| 130 | MRANDOM = math.random | |
| 131 | FLOOR = math.floor | |
| 132 | ||
| 133 | --//=================================\\ | |
| 134 | --|| USEFUL VALUES | |
| 135 | --\\=================================// | |
| 136 | ||
| 137 | Animation_Speed = 3 | |
| 138 | local FORCERESET = false | |
| 139 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 140 | local Speed = 16 | |
| 141 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 142 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 143 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 144 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 145 | local DAMAGEMULTIPLIER = 1 | |
| 146 | local ANIM = "Idle" | |
| 147 | local ATTACK = false | |
| 148 | local EQUIPPED = false | |
| 149 | local HOLD = false | |
| 150 | local COMBO = 1 | |
| 151 | local Rooted = false | |
| 152 | local SINE = 0 | |
| 153 | local KEYHOLD = false | |
| 154 | local CHANGE = 2 / Animation_Speed | |
| 155 | local WALKINGANIM = false | |
| 156 | local VALUE1 = false | |
| 157 | local VALUE2 = false | |
| 158 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 159 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 160 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 161 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 162 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 163 | WEAPONGUI.Name = "BanishV3Gui" | |
| 164 | local Weapon = IT("Model")
| |
| 165 | Weapon.Name = "Adds" | |
| 166 | local Effects = IT("Folder", Weapon)
| |
| 167 | Effects.Name = "Effects" | |
| 168 | local ANIMATOR = Humanoid.Animator | |
| 169 | local ANIMATE = Character:FindFirstChild("Animate")
| |
| 170 | local UNANCHOR = true | |
| 171 | local TOBANISH = {}
| |
| 172 | script.Parent = PlayerGui | |
| 173 | ||
| 174 | --//=================================\\ | |
| 175 | --\\=================================// | |
| 176 | ||
| 177 | ||
| 178 | --//=================================\\ | |
| 179 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 180 | --\\=================================// | |
| 181 | ||
| 182 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 183 | ArtificialHB.Name = "ArtificialHB" | |
| 184 | ||
| 185 | script:WaitForChild("ArtificialHB")
| |
| 186 | ||
| 187 | frame = Frame_Speed | |
| 188 | tf = 0 | |
| 189 | allowframeloss = false | |
| 190 | tossremainder = false | |
| 191 | lastframe = tick() | |
| 192 | script.ArtificialHB:Fire() | |
| 193 | ||
| 194 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 195 | tf = tf + s | |
| 196 | if tf >= frame then | |
| 197 | if allowframeloss then | |
| 198 | script.ArtificialHB:Fire() | |
| 199 | lastframe = tick() | |
| 200 | else | |
| 201 | for i = 1, math.floor(tf / frame) do | |
| 202 | script.ArtificialHB:Fire() | |
| 203 | end | |
| 204 | lastframe = tick() | |
| 205 | end | |
| 206 | if tossremainder then | |
| 207 | tf = 0 | |
| 208 | else | |
| 209 | tf = tf - frame * math.floor(tf / frame) | |
| 210 | end | |
| 211 | end | |
| 212 | end) | |
| 213 | ||
| 214 | --//=================================\\ | |
| 215 | --\\=================================// | |
| 216 | ||
| 217 | --//=================================\\ | |
| 218 | --|| SOME FUNCTIONS | |
| 219 | --\\=================================// | |
| 220 | ||
| 221 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 222 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 223 | end | |
| 224 | ||
| 225 | function PositiveAngle(NUMBER) | |
| 226 | if NUMBER >= 0 then | |
| 227 | NUMBER = 0 | |
| 228 | end | |
| 229 | return NUMBER | |
| 230 | end | |
| 231 | ||
| 232 | function NegativeAngle(NUMBER) | |
| 233 | if NUMBER <= 0 then | |
| 234 | NUMBER = 0 | |
| 235 | end | |
| 236 | return NUMBER | |
| 237 | end | |
| 238 | ||
| 239 | function Swait(NUMBER) | |
| 240 | if NUMBER == 0 or NUMBER == nil then | |
| 241 | ArtificialHB.Event:wait() | |
| 242 | else | |
| 243 | for i = 1, NUMBER do | |
| 244 | ArtificialHB.Event:wait() | |
| 245 | end | |
| 246 | end | |
| 247 | end | |
| 248 | ||
| 249 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 250 | local NEWMESH = IT(MESH) | |
| 251 | if MESH == "SpecialMesh" then | |
| 252 | NEWMESH.MeshType = MESHTYPE | |
| 253 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 254 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 255 | end | |
| 256 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 257 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 258 | end | |
| 259 | end | |
| 260 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 261 | NEWMESH.Scale = SCALE | |
| 262 | NEWMESH.Parent = PARENT | |
| 263 | return NEWMESH | |
| 264 | end | |
| 265 | ||
| 266 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 267 | local NEWPART = IT("Part")
| |
| 268 | NEWPART.formFactor = FORMFACTOR | |
| 269 | NEWPART.Reflectance = REFLECTANCE | |
| 270 | NEWPART.Transparency = TRANSPARENCY | |
| 271 | NEWPART.CanCollide = false | |
| 272 | NEWPART.Locked = true | |
| 273 | NEWPART.Anchored = true | |
| 274 | if ANCHOR == false then | |
| 275 | NEWPART.Anchored = false | |
| 276 | end | |
| 277 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 278 | NEWPART.Name = NAME | |
| 279 | NEWPART.Size = SIZE | |
| 280 | NEWPART.Position = Torso.Position | |
| 281 | NEWPART.Material = MATERIAL | |
| 282 | NEWPART:BreakJoints() | |
| 283 | NEWPART.Parent = PARENT | |
| 284 | return NEWPART | |
| 285 | end | |
| 286 | ||
| 287 | local function weldBetween(a, b) | |
| 288 | local weldd = Instance.new("ManualWeld")
| |
| 289 | weldd.Part0 = a | |
| 290 | weldd.Part1 = b | |
| 291 | weldd.C0 = CFrame.new() | |
| 292 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 293 | weldd.Parent = a | |
| 294 | return weldd | |
| 295 | end | |
| 296 | ||
| 297 | ||
| 298 | function QuaternionFromCFrame(cf) | |
| 299 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 300 | local trace = m00 + m11 + m22 | |
| 301 | if trace > 0 then | |
| 302 | local s = math.sqrt(1 + trace) | |
| 303 | local recip = 0.5 / s | |
| 304 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 305 | else | |
| 306 | local i = 0 | |
| 307 | if m11 > m00 then | |
| 308 | i = 1 | |
| 309 | end | |
| 310 | if m22 > (i == 0 and m00 or m11) then | |
| 311 | i = 2 | |
| 312 | end | |
| 313 | if i == 0 then | |
| 314 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 315 | local recip = 0.5 / s | |
| 316 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 317 | elseif i == 1 then | |
| 318 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 319 | local recip = 0.5 / s | |
| 320 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 321 | elseif i == 2 then | |
| 322 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 323 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 324 | end | |
| 325 | end | |
| 326 | end | |
| 327 | ||
| 328 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 329 | local xs, ys, zs = x + x, y + y, z + z | |
| 330 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 331 | local xx = x * xs | |
| 332 | local xy = x * ys | |
| 333 | local xz = x * zs | |
| 334 | local yy = y * ys | |
| 335 | local yz = y * zs | |
| 336 | local zz = z * zs | |
| 337 | 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)) | |
| 338 | end | |
| 339 | ||
| 340 | function QuaternionSlerp(a, b, t) | |
| 341 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 342 | local startInterp, finishInterp; | |
| 343 | if cosTheta >= 0.0001 then | |
| 344 | if (1 - cosTheta) > 0.0001 then | |
| 345 | local theta = ACOS(cosTheta) | |
| 346 | local invSinTheta = 1 / SIN(theta) | |
| 347 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 348 | finishInterp = SIN(t * theta) * invSinTheta | |
| 349 | else | |
| 350 | startInterp = 1 - t | |
| 351 | finishInterp = t | |
| 352 | end | |
| 353 | else | |
| 354 | if (1 + cosTheta) > 0.0001 then | |
| 355 | local theta = ACOS(-cosTheta) | |
| 356 | local invSinTheta = 1 / SIN(theta) | |
| 357 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 358 | finishInterp = SIN(t * theta) * invSinTheta | |
| 359 | else | |
| 360 | startInterp = t - 1 | |
| 361 | finishInterp = t | |
| 362 | end | |
| 363 | end | |
| 364 | 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 | |
| 365 | end | |
| 366 | ||
| 367 | function Clerp(a, b, t) | |
| 368 | local qa = {QuaternionFromCFrame(a)}
| |
| 369 | local qb = {QuaternionFromCFrame(b)}
| |
| 370 | local ax, ay, az = a.x, a.y, a.z | |
| 371 | local bx, by, bz = b.x, b.y, b.z | |
| 372 | local _t = 1 - t | |
| 373 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 374 | end | |
| 375 | ||
| 376 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 377 | local frame = IT("Frame")
| |
| 378 | frame.BackgroundTransparency = TRANSPARENCY | |
| 379 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 380 | frame.Position = POSITION | |
| 381 | frame.Size = SIZE | |
| 382 | frame.BackgroundColor3 = COLOR | |
| 383 | frame.BorderColor3 = BORDERCOLOR | |
| 384 | frame.Name = NAME | |
| 385 | frame.Parent = PARENT | |
| 386 | return frame | |
| 387 | end | |
| 388 | ||
| 389 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 390 | local label = IT("TextLabel")
| |
| 391 | label.BackgroundTransparency = 1 | |
| 392 | label.Size = UD2(1, 0, 1, 0) | |
| 393 | label.Position = UD2(0, 0, 0, 0) | |
| 394 | label.TextColor3 = TEXTCOLOR | |
| 395 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 396 | label.TextTransparency = TRANSPARENCY | |
| 397 | label.FontSize = TEXTFONTSIZE | |
| 398 | label.Font = TEXTFONT | |
| 399 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 400 | label.TextScaled = false | |
| 401 | label.Text = TEXT | |
| 402 | label.Name = NAME | |
| 403 | label.Parent = PARENT | |
| 404 | return label | |
| 405 | end | |
| 406 | ||
| 407 | function NoOutlines(PART) | |
| 408 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 409 | end | |
| 410 | ||
| 411 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 412 | local NEWWELD = IT(TYPE) | |
| 413 | NEWWELD.Part0 = PART0 | |
| 414 | NEWWELD.Part1 = PART1 | |
| 415 | NEWWELD.C0 = C0 | |
| 416 | NEWWELD.C1 = C1 | |
| 417 | NEWWELD.Parent = PARENT | |
| 418 | return NEWWELD | |
| 419 | end | |
| 420 | ||
| 421 | local S = IT("Sound")
| |
| 422 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 423 | local NEWSOUND = nil | |
| 424 | coroutine.resume(coroutine.create(function() | |
| 425 | NEWSOUND = S:Clone() | |
| 426 | NEWSOUND.Parent = PARENT | |
| 427 | NEWSOUND.Volume = VOLUME | |
| 428 | NEWSOUND.Pitch = PITCH | |
| 429 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 430 | NEWSOUND:play() | |
| 431 | if DOESLOOP == true then | |
| 432 | NEWSOUND.Looped = true | |
| 433 | else | |
| 434 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
| 435 | NEWSOUND:remove() | |
| 436 | end | |
| 437 | end)) | |
| 438 | return NEWSOUND | |
| 439 | end | |
| 440 | ||
| 441 | function CFrameFromTopBack(at, top, back) | |
| 442 | local right = top:Cross(back) | |
| 443 | 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) | |
| 444 | end | |
| 445 | ||
| 446 | --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})
| |
| 447 | function WACKYEFFECT(Table) | |
| 448 | local TYPE = (Table.EffectType or "Sphere") | |
| 449 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 450 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 451 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 452 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 453 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 454 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 455 | local ROTATION1 = (Table.RotationX or 0) | |
| 456 | local ROTATION2 = (Table.RotationY or 0) | |
| 457 | local ROTATION3 = (Table.RotationZ or 0) | |
| 458 | local MATERIAL = (Table.Material or "Neon") | |
| 459 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 460 | local TIME = (Table.Time or 45) | |
| 461 | local SOUNDID = (Table.SoundID or nil) | |
| 462 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 463 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 464 | coroutine.resume(coroutine.create(function() | |
| 465 | local PLAYSSOUND = false | |
| 466 | local SOUND = nil | |
| 467 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 468 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 469 | PLAYSSOUND = true | |
| 470 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 471 | end | |
| 472 | EFFECT.Color = COLOR | |
| 473 | local MSH = nil | |
| 474 | if TYPE == "Sphere" then | |
| 475 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 476 | elseif TYPE == "Block" then | |
| 477 | MSH = IT("BlockMesh",EFFECT)
| |
| 478 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 479 | elseif TYPE == "Wave" then | |
| 480 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 481 | elseif TYPE == "Ring" then | |
| 482 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 483 | elseif TYPE == "Slash" then | |
| 484 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 485 | elseif TYPE == "Round Slash" then | |
| 486 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 487 | elseif TYPE == "Swirl" then | |
| 488 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 489 | elseif TYPE == "Skull" then | |
| 490 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 491 | elseif TYPE == "Crystal" then | |
| 492 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 493 | end | |
| 494 | if MSH ~= nil then | |
| 495 | local MOVESPEED = nil | |
| 496 | if MOVEDIRECTION ~= nil then | |
| 497 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 498 | end | |
| 499 | local GROWTH = SIZE - ENDSIZE | |
| 500 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 501 | if TYPE == "Block" then | |
| 502 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 503 | else | |
| 504 | EFFECT.CFrame = CFRAME | |
| 505 | end | |
| 506 | for LOOP = 1, TIME+1 do | |
| 507 | Swait() | |
| 508 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 509 | if TYPE == "Wave" then | |
| 510 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 511 | end | |
| 512 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 513 | if TYPE == "Block" then | |
| 514 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 515 | else | |
| 516 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 517 | end | |
| 518 | if MOVEDIRECTION ~= nil then | |
| 519 | local ORI = EFFECT.Orientation | |
| 520 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 521 | EFFECT.Orientation = ORI | |
| 522 | end | |
| 523 | end | |
| 524 | if PLAYSSOUND == false then | |
| 525 | EFFECT:remove() | |
| 526 | else | |
| 527 | SOUND.Stopped:Connect(function() | |
| 528 | EFFECT:remove() | |
| 529 | end) | |
| 530 | end | |
| 531 | else | |
| 532 | if PLAYSSOUND == false then | |
| 533 | EFFECT:remove() | |
| 534 | else | |
| 535 | repeat Swait() until SOUND.Playing == false | |
| 536 | EFFECT:remove() | |
| 537 | end | |
| 538 | end | |
| 539 | end)) | |
| 540 | end | |
| 541 | ||
| 542 | function MakeForm(PART,TYPE) | |
| 543 | if TYPE == "Cyl" then | |
| 544 | local MSH = IT("CylinderMesh",PART)
| |
| 545 | elseif TYPE == "Ball" then | |
| 546 | local MSH = IT("SpecialMesh",PART)
| |
| 547 | MSH.MeshType = "Sphere" | |
| 548 | elseif TYPE == "Wedge" then | |
| 549 | local MSH = IT("SpecialMesh",PART)
| |
| 550 | MSH.MeshType = "Wedge" | |
| 551 | end | |
| 552 | end | |
| 553 | ||
| 554 | function SpawnTrail(FROM,TO,BIG) | |
| 555 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) | |
| 556 | MakeForm(TRAIL,"Cyl") | |
| 557 | local DIST = (FROM - TO).Magnitude | |
| 558 | if BIG == true then | |
| 559 | TRAIL.Size = VT(0.5,DIST,0.5) | |
| 560 | else | |
| 561 | TRAIL.Size = VT(0.25,DIST,0.25) | |
| 562 | end | |
| 563 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 564 | coroutine.resume(coroutine.create(function() | |
| 565 | for i = 1, 5 do | |
| 566 | Swait() | |
| 567 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
| 568 | end | |
| 569 | TRAIL:remove() | |
| 570 | end)) | |
| 571 | end | |
| 572 | ||
| 573 | Debris = game:GetService("Debris")
| |
| 574 | ||
| 575 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 576 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 577 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 578 | end | |
| 579 | ||
| 580 | function turnto(position) | |
| 581 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 582 | end | |
| 583 | ||
| 584 | --//=================================\\ | |
| 585 | --|| WEAPON CREATION | |
| 586 | --\\=================================// | |
| 587 | ||
| 588 | local Particle = IT("ParticleEmitter",nil)
| |
| 589 | Particle.Enabled = false | |
| 590 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
| |
| 591 | Particle.LightEmission = 0.5 | |
| 592 | Particle.Rate = 150 | |
| 593 | Particle.ZOffset = 0.2 | |
| 594 | Particle.Rotation = NumberRange.new(-180, 180) | |
| 595 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
| 596 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
| 597 | Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0)) | |
| 598 | ||
| 599 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
| |
| 600 | function ParticleEmitter(Table) | |
| 601 | local PRTCL = Particle:Clone() | |
| 602 | local Speed = Table.Speed or 5 | |
| 603 | local Drag = Table.Drag or 0 | |
| 604 | local Size1 = Table.Size1 or 1 | |
| 605 | local Size2 = Table.Size2 or 5 | |
| 606 | local Lifetime1 = Table.Lifetime1 or 1 | |
| 607 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
| 608 | local Parent = Table.Parent or Torso | |
| 609 | local Emit = Table.Emit or 100 | |
| 610 | local Offset = Table.Offset or 360 | |
| 611 | local Acel = Table.Acel or VT(0,0,0) | |
| 612 | local Enabled = Table.Enabled or false | |
| 613 | PRTCL.Parent = Parent | |
| 614 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
| 615 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
| 616 | PRTCL.Speed = NumberRange.new(Speed) | |
| 617 | PRTCL.VelocitySpread = Offset | |
| 618 | PRTCL.Drag = Drag | |
| 619 | PRTCL.Acceleration = Acel | |
| 620 | if Enabled == false then | |
| 621 | PRTCL:Emit(Emit) | |
| 622 | Debris:AddItem(PRTCL,Lifetime2) | |
| 623 | else | |
| 624 | PRTCL.Enabled = true | |
| 625 | end | |
| 626 | return PRTCL | |
| 627 | end | |
| 628 | ||
| 629 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
| 630 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
| |
| 631 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
| 632 | MakeForm(Part,"Wedge") | |
| 633 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
| |
| 634 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
| 635 | MakeForm(Part,"Wedge") | |
| 636 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
| |
| 637 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
| 638 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 639 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
| 640 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 641 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
| 642 | MakeForm(Part,"Cyl") | |
| 643 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 644 | for i = 1, 8 do | |
| 645 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
| 646 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
| |
| 647 | end | |
| 648 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
| 649 | MakeForm(Part,"Cyl") | |
| 650 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 651 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
| 652 | MakeForm(Part,"Ball") | |
| 653 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 654 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
| 655 | MakeForm(Part,"Wedge") | |
| 656 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
| |
| 657 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
| 658 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 659 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
| 660 | MakeForm(Part,"Cyl") | |
| 661 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 662 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
| 663 | MakeForm(Part,"Cyl") | |
| 664 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 665 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
| 666 | MakeForm(Part,"Cyl") | |
| 667 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 668 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
| 669 | MakeForm(Part,"Wedge") | |
| 670 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
| |
| 671 | local LASTPART = Handle | |
| 672 | for i = 1, 10 do | |
| 673 | if LASTPART == Handle then | |
| 674 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
| 675 | LASTPART = Part | |
| 676 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 677 | else | |
| 678 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
| 679 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
| |
| 680 | LASTPART = Part | |
| 681 | end | |
| 682 | end | |
| 683 | ||
| 684 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
| 685 | MakeForm(Barrel,"Cyl") | |
| 686 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 687 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
| 688 | MakeForm(Part,"Cyl") | |
| 689 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
| |
| 690 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
| 691 | MakeForm(Part,"Wedge") | |
| 692 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 693 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
| 694 | MakeForm(Hole,"Cyl") | |
| 695 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
| |
| 696 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
| 697 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
| |
| 698 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
| |
| 699 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
| 700 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
| |
| 701 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
| |
| 702 | coroutine.resume(coroutine.create(function() | |
| 703 | while wait() do | |
| 704 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
| 705 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
| 706 | end | |
| 707 | end)) | |
| 708 | ||
| 709 | 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)})
| |
| 710 | --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)})
| |
| 711 | ||
| 712 | for _, c in pairs(Weapon:GetDescendants()) do | |
| 713 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
| 714 | c.Material = "Glass" | |
| 715 | c.Color = C3(0,0,0) | |
| 716 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
| 717 | c.Color = C3(1,0,0) | |
| 718 | c.Material = "Neon" | |
| 719 | end | |
| 720 | end | |
| 721 | ||
| 722 | Weapon.Parent = Character | |
| 723 | for _, c in pairs(Weapon:GetChildren()) do | |
| 724 | if c.ClassName == "Part" then | |
| 725 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 726 | end | |
| 727 | end | |
| 728 | ||
| 729 | local SKILLTEXTCOLOR = C3(1,0,0) | |
| 730 | local SKILLFONT = "Antique" | |
| 731 | local SKILLTEXTSIZE = 7 | |
| 732 | ||
| 733 | Humanoid.Died:connect(function() | |
| 734 | ATTACK = true | |
| 735 | end) | |
| 736 | ||
| 737 | 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") | |
| 738 | --[[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") | |
| 739 | 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") | |
| 740 | 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") | |
| 741 | 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") | |
| 742 | ]] | |
| 743 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
| 744 | --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
| 745 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
| 746 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
| 747 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
| 748 | ]] | |
| 749 | function printbye(Name) | |
| 750 | 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, "}
| |
| 751 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
| 752 | end | |
| 753 | ||
| 754 | workspace.ChildAdded:connect(function(instance) | |
| 755 | for BANISH = 1, #TOBANISH do | |
| 756 | if TOBANISH[BANISH] ~= nil then | |
| 757 | if instance.Name == TOBANISH[BANISH] then | |
| 758 | coroutine.resume(coroutine.create(function() | |
| 759 | printbye(instance.Name) | |
| 760 | instance:ClearAllChildren() | |
| 761 | Debris:AddItem(instance,0.0005) | |
| 762 | end)) | |
| 763 | end | |
| 764 | end | |
| 765 | end | |
| 766 | end) | |
| 767 | ||
| 768 | --//=================================\\ | |
| 769 | --|| DAMAGING | |
| 770 | --\\=================================// | |
| 771 | ||
| 772 | function Banish(Foe) | |
| 773 | if Foe then | |
| 774 | coroutine.resume(coroutine.create(function() | |
| 775 | --if game.Players:FindFirstChild(Foe.Name) then | |
| 776 | table.insert(TOBANISH,Foe.Name) | |
| 777 | printbye(Foe.Name) | |
| 778 | --end | |
| 779 | Foe.Archivable = true | |
| 780 | local CLONE = Foe:Clone() | |
| 781 | Foe:Destroy() | |
| 782 | CLONE.Parent = Effects | |
| 783 | CLONE:BreakJoints() | |
| 784 | local MATERIALS = {"Glass","Neon"}
| |
| 785 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 786 | if c:IsA("BasePart") then
| |
| 787 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
| 788 | CreateSound(340722848, c, 10, 1, false) | |
| 789 | end | |
| 790 | c.Anchored = true | |
| 791 | c.Transparency = c.Transparency + 0.2 | |
| 792 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 793 | c.Color = C3(1,0,0) | |
| 794 | if c.ClassName == "MeshPart" then | |
| 795 | c.TextureID = "" | |
| 796 | end | |
| 797 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 798 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 799 | end | |
| 800 | if c:FindFirstChildOfClass("Decal") then
| |
| 801 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 802 | end | |
| 803 | c.Name = "Banished" | |
| 804 | c.CanCollide = false | |
| 805 | else | |
| 806 | c:remove() | |
| 807 | end | |
| 808 | end | |
| 809 | local A = false | |
| 810 | for i = 1, 35 do | |
| 811 | if A == false then | |
| 812 | A = true | |
| 813 | elseif A == true then | |
| 814 | A = false | |
| 815 | end | |
| 816 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 817 | if c:IsA("BasePart") then
| |
| 818 | c.Anchored = true | |
| 819 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 820 | c.Transparency = c.Transparency + 0.8/35 | |
| 821 | if A == false then | |
| 822 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 823 | elseif A == true then | |
| 824 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 825 | end | |
| 826 | end | |
| 827 | end | |
| 828 | Swait() | |
| 829 | end | |
| 830 | CLONE:remove() | |
| 831 | end)) | |
| 832 | end | |
| 833 | end | |
| 834 | ||
| 835 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
| 836 | local CHILDREN = workspace:GetDescendants() | |
| 837 | for index, CHILD in pairs(CHILDREN) do | |
| 838 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 839 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 840 | if HUM then | |
| 841 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 842 | if TORSO then | |
| 843 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 844 | if ISBANISH == true then | |
| 845 | Banish(CHILD) | |
| 846 | else | |
| 847 | if ISBANISH == "Gravity" then | |
| 848 | HUM.PlatformStand = true | |
| 849 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 850 | local grav = Instance.new("BodyPosition",TORSO)
| |
| 851 | grav.D = 15 | |
| 852 | grav.P = 20000 | |
| 853 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 854 | grav.position = TORSO.Position | |
| 855 | grav.Name = "V3BanishForce"..Player.Name | |
| 856 | else | |
| 857 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
| |
| 858 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
| 859 | end | |
| 860 | else | |
| 861 | HUM.PlatformStand = false | |
| 862 | end | |
| 863 | end | |
| 864 | elseif ISBANISH == "Gravity" then | |
| 865 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 866 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
| |
| 867 | HUM.PlatformStand = false | |
| 868 | end | |
| 869 | end | |
| 870 | end | |
| 871 | end | |
| 872 | end | |
| 873 | end | |
| 874 | end | |
| 875 | ||
| 876 | --//=================================\\ | |
| 877 | --|| ATTACK FUNCTIONS AND STUFF | |
| 878 | --\\=================================// | |
| 879 | ||
| 880 | function Shot() | |
| 881 | ATTACK = true | |
| 882 | Rooted = false | |
| 883 | for i=0, 0.4, 0.1 / Animation_Speed do | |
| 884 | Swait() | |
| 885 | turnto(Mouse.Hit.p) | |
| 886 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
| 887 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
| 888 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 889 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 890 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 891 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 892 | end | |
| 893 | repeat | |
| 894 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 895 | Swait() | |
| 896 | turnto(Mouse.Hit.p) | |
| 897 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
| 898 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
| 899 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 900 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 901 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 902 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 903 | end | |
| 904 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
| 905 | SpawnTrail(Hole.Position,POS) | |
| 906 | if HIT ~= nil then | |
| 907 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
| 908 | Banish(HIT.Parent) | |
| 909 | end | |
| 910 | end | |
| 911 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 912 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 913 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 914 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 915 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 916 | Swait() | |
| 917 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
| 918 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
| 919 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 920 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 921 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 922 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 923 | end | |
| 924 | until KEYHOLD == false | |
| 925 | ATTACK = false | |
| 926 | Rooted = false | |
| 927 | end | |
| 928 | ||
| 929 | function AttackTemplate() | |
| 930 | ATTACK = true | |
| 931 | Rooted = false | |
| 932 | for i=0, 1, 0.1 / Animation_Speed do | |
| 933 | Swait() | |
| 934 | 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) | |
| 935 | 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) | |
| 936 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 937 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 938 | 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) | |
| 939 | 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) | |
| 940 | end | |
| 941 | ATTACK = false | |
| 942 | Rooted = false | |
| 943 | end | |
| 944 | ||
| 945 | --//=================================\\ | |
| 946 | --|| ASSIGN THINGS TO KEYS | |
| 947 | --\\=================================// | |
| 948 | ||
| 949 | function MouseDown(Mouse) | |
| 950 | if ATTACK == false then | |
| 951 | end | |
| 952 | end | |
| 953 | ||
| 954 | function MouseUp(Mouse) | |
| 955 | HOLD = false | |
| 956 | end | |
| 957 | ||
| 958 | function KeyDown(Key) | |
| 959 | KEYHOLD = true | |
| 960 | if Key == "z" and ATTACK == false then | |
| 961 | Shot() | |
| 962 | end | |
| 963 | ||
| 964 | if Key == "b" and ATTACK == false then | |
| 965 | end | |
| 966 | ||
| 967 | if Key == "c" and ATTACK == false then | |
| 968 | end | |
| 969 | ||
| 970 | if Key == "v" and ATTACK == false then | |
| 971 | end | |
| 972 | ||
| 973 | if Key == "x" and ATTACK == false then | |
| 974 | end | |
| 975 | end | |
| 976 | ||
| 977 | function KeyUp(Key) | |
| 978 | KEYHOLD = false | |
| 979 | end | |
| 980 | ||
| 981 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 982 | MouseDown(NEWKEY) | |
| 983 | end) | |
| 984 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 985 | MouseUp(NEWKEY) | |
| 986 | end) | |
| 987 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 988 | KeyDown(NEWKEY) | |
| 989 | end) | |
| 990 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 991 | KeyUp(NEWKEY) | |
| 992 | end) | |
| 993 | ||
| 994 | --//=================================\\ | |
| 995 | --\\=================================// | |
| 996 | ||
| 997 | ||
| 998 | function unanchor() | |
| 999 | if UNANCHOR == true then | |
| 1000 | g = Character:GetChildren() | |
| 1001 | for i = 1, #g do | |
| 1002 | if g[i].ClassName == "Part" then | |
| 1003 | g[i].Anchored = false | |
| 1004 | end | |
| 1005 | end | |
| 1006 | end | |
| 1007 | end | |
| 1008 | ||
| 1009 | ||
| 1010 | --//=================================\\ | |
| 1011 | --|| WRAP THE WHOLE SCRIPT UP | |
| 1012 | --\\=================================// | |
| 1013 | ||
| 1014 | Humanoid.Changed:connect(function(Jump) | |
| 1015 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1016 | Humanoid.Jump = false | |
| 1017 | end | |
| 1018 | end) | |
| 1019 | ||
| 1020 | local CONNECT = nil | |
| 1021 | ||
| 1022 | while true do | |
| 1023 | Swait() | |
| 1024 | ANIMATE.Parent = nil | |
| 1025 | if Character:FindFirstChildOfClass("Humanoid") == nil then
| |
| 1026 | Humanoid = IT("Humanoid",Character)
| |
| 1027 | end | |
| 1028 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 1029 | v:Stop(); | |
| 1030 | end | |
| 1031 | SINE = SINE + CHANGE | |
| 1032 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1033 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 1034 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
| 1035 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
| 1036 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 1037 | 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) | |
| 1038 | 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) | |
| 1039 | 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) | |
| 1040 | 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) | |
| 1041 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 1042 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1043 | 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) | |
| 1044 | 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) | |
| 1045 | 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) | |
| 1046 | end | |
| 1047 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 1048 | ANIM = "Jump" | |
| 1049 | if ATTACK == false then | |
| 1050 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1051 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1052 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1053 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1054 | 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) | |
| 1055 | 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) | |
| 1056 | end | |
| 1057 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 1058 | ANIM = "Fall" | |
| 1059 | if ATTACK == false then | |
| 1060 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1061 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1062 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1063 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1064 | 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) | |
| 1065 | 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) | |
| 1066 | end | |
| 1067 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 1068 | ANIM = "Idle" | |
| 1069 | if ATTACK == false then | |
| 1070 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed) | |
| 1071 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
| 1072 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1073 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1074 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1075 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1076 | end | |
| 1077 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 1078 | ANIM = "Walk" | |
| 1079 | if ATTACK == false then | |
| 1080 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1081 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1082 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1083 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
| 1084 | 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) | |
| 1085 | 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) | |
| 1086 | end | |
| 1087 | end | |
| 1088 | unanchor() | |
| 1089 | Humanoid.MaxHealth = "inf" | |
| 1090 | Humanoid.Health = "inf" | |
| 1091 | if Rooted == false then | |
| 1092 | Disable_Jump = false | |
| 1093 | Humanoid.WalkSpeed = Speed | |
| 1094 | elseif Rooted == true then | |
| 1095 | Disable_Jump = true | |
| 1096 | Humanoid.WalkSpeed = 0 | |
| 1097 | end | |
| 1098 | sick.Parent = Torso | |
| 1099 | sick:resume() | |
| 1100 | sick.Volume = 8.2 | |
| 1101 | sick.Pitch = 1 | |
| 1102 | sick.SoundId = "rbxassetid://900318768" | |
| 1103 | sick.Name = "Dead" | |
| 1104 | end | |
| 1105 | ||
| 1106 | --//=================================\\ | |
| 1107 | --\\=================================// | |
| 1108 | ||
| 1109 | ||
| 1110 | ||
| 1111 | ||
| 1112 | ||
| 1113 | --//====================================================\\-- | |
| 1114 | --|| END OF SCRIPT | |
| 1115 | --\\====================================================//-- | |
| 1116 | ||
| 1117 | paly = owner | |
| 1118 | Player = owner | |
| 1119 | p = owner | |
| 1120 | char = paly.Character | |
| 1121 | vt = Vector3.new | |
| 1122 | rarm = char["Right Arm"] | |
| 1123 | hed = char.Head | |
| 1124 | larm = char["Left Arm"] | |
| 1125 | rleg = char["Right Leg"] | |
| 1126 | lleg = char["Left Leg"] | |
| 1127 | local maincolor = BrickColor.random() | |
| 1128 | local effolemode = false | |
| 1129 | local wrathmode = false | |
| 1130 | local noobmode = false | |
| 1131 | local randomname = "???" | |
| 1132 | local randomnamefem = "???" | |
| 1133 | local randomchanger = 6 | |
| 1134 | if paly.Name == "BINO2002" then | |
| 1135 | randomchanger = 6 | |
| 1136 | end | |
| 1137 | if randomchanger == 6 then | |
| 1138 | randomnamefem = "Sweet T" | |
| 1139 | effolemode = true | |
| 1140 | maincolor = BrickColor.new("Really black")
| |
| 1141 | ||
| 1142 | local torsmesh = Instance.new("CharacterMesh", char)
| |
| 1143 | torsmesh.BodyPart = "Torso" | |
| 1144 | torsmesh.MeshId = "27111894" | |
| 1145 | local dec2 = Instance.new("Decal", char)
| |
| 1146 | dec2.Face = "Front" | |
| 1147 | dec2.Texture = "rbxassetid://381091841" | |
| 1148 | dec2.Parent = char.Head | |
| 1149 | char.Head.face.Transparency = 1 | |
| 1150 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=0" | |
| 1151 | ||
| 1152 | for i,v in pairs(char:children()) do | |
| 1153 | if v:IsA("Hat") then
| |
| 1154 | v:Destroy() | |
| 1155 | end | |
| 1156 | end | |
| 1157 | for i,v in pairs(char:children()) do | |
| 1158 | if v:IsA("Accessory") then
| |
| 1159 | v:Destroy() | |
| 1160 | end | |
| 1161 | end | |
| 1162 | for i,v in pairs(char:children()) do | |
| 1163 | if v:IsA("Hair") then
| |
| 1164 | v:Destroy() | |
| 1165 | end | |
| 1166 | end | |
| 1167 | for i,v in pairs(char:children()) do | |
| 1168 | if v:IsA("Shirt") then
| |
| 1169 | v:Destroy() | |
| 1170 | end | |
| 1171 | end | |
| 1172 | for i,v in pairs(char:children()) do | |
| 1173 | if v:IsA("Pants") then
| |
| 1174 | v:Destroy() | |
| 1175 | end | |
| 1176 | end | |
| 1177 | ||
| 1178 | local eye12 = Instance.new("Part")
| |
| 1179 | eye12.Parent = char | |
| 1180 | eye12.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1181 | eye12.Archivable = true | |
| 1182 | eye12.Transparency = 0 | |
| 1183 | eye12.Shape = "Ball" | |
| 1184 | eye12.BrickColor = BrickColor.new("Lime green")
| |
| 1185 | eye12.Material = "Neon" | |
| 1186 | eye12.CanCollide = false | |
| 1187 | local mesh2 = Instance.new("SpecialMesh",eye12)
| |
| 1188 | mesh2.MeshType = "Sphere" | |
| 1189 | mesh2.Scale = Vector3.new(0.75, 1, 1) | |
| 1190 | local weld1en2 = Instance.new("Weld")
| |
| 1191 | weld1en2.Parent = hed | |
| 1192 | weld1en2.Part0 = hed | |
| 1193 | weld1en2.Part1 = eye12 | |
| 1194 | weld1en2.C1 = CFrame.new(0.115, -0.19, 0.5475) | |
| 1195 | local eye1 = Instance.new("Part")
| |
| 1196 | eye1.Parent = char | |
| 1197 | eye1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1198 | eye1.Archivable = true | |
| 1199 | eye1.Transparency = 0 | |
| 1200 | eye1.Shape = "Ball" | |
| 1201 | eye1.BrickColor = BrickColor.new("Lime green")
| |
| 1202 | eye1.Material = "Neon" | |
| 1203 | eye1.CanCollide = false | |
| 1204 | local mesh = Instance.new("SpecialMesh",eye1)
| |
| 1205 | mesh.MeshType = "Sphere" | |
| 1206 | mesh.Scale = Vector3.new(0.75, 1, 1) | |
| 1207 | local weld1en = Instance.new("Weld")
| |
| 1208 | weld1en.Parent = hed | |
| 1209 | weld1en.Part0 = hed | |
| 1210 | weld1en.Part1 = eye1 | |
| 1211 | weld1en.C1 = CFrame.new(-0.115, -0.19, 0.5475) | |
| 1212 | ||
| 1213 | local BC = char["Body Colors"] | |
| 1214 | BC.HeadColor = BrickColor.new("Pastel brown")
| |
| 1215 | BC.LeftArmColor = BrickColor.new("Pastel brown")
| |
| 1216 | BC.LeftLegColor = BrickColor.new("Pastel brown")
| |
| 1217 | BC.RightArmColor = BrickColor.new("Pastel brown")
| |
| 1218 | BC.RightLegColor = BrickColor.new("Pastel brown")
| |
| 1219 | BC.TorsoColor = BrickColor.new("Pastel brown")
| |
| 1220 | ||
| 1221 | ypcall(function() | |
| 1222 | shirt = Instance.new("Shirt", char)
| |
| 1223 | shirt.Name = "Shirt" | |
| 1224 | shirt2 = Instance.new("ShirtGraphic", char)
| |
| 1225 | shirt2.Name = "Shirt2" | |
| 1226 | pants = Instance.new("Pants", char)
| |
| 1227 | pants.Name = "Pants" | |
| 1228 | char.Shirt.ShirtTemplate = "rbxassetid://1464442028" | |
| 1229 | char.Pants.PantsTemplate = "rbxassetid://129459076" | |
| 1230 | char.Shirt2.Graphic = "rbxassetid://2804234022" | |
| 1231 | end) | |
| 1232 | Reaper2 = Instance.new("Model")
| |
| 1233 | Reaper2.Parent = Player.Character | |
| 1234 | Reaper2.Name = "Reaper2" | |
| 1235 | rh2 = Instance.new("Part")
| |
| 1236 | rh2.Parent = Reaper2 | |
| 1237 | rh2.BrickColor = maincolor | |
| 1238 | rh2.Locked = true | |
| 1239 | rh2.CanCollide = false | |
| 1240 | mesh2 = Instance.new("SpecialMesh")
| |
| 1241 | rh2.formFactor = "Symmetric" | |
| 1242 | mesh2.MeshType = "FileMesh" | |
| 1243 | mesh2.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 1244 | mesh2.Parent = rh2 | |
| 1245 | local weld2 = Instance.new("Weld")
| |
| 1246 | weld2.Parent = rh2 | |
| 1247 | rh2.Transparency = 0 | |
| 1248 | weld2.Part0 = rh2 | |
| 1249 | weld2.Part1 = Player.Character.Head | |
| 1250 | weld2.C0 = CFrame.new(0, -0.6, 0) | |
| 1251 | ||
| 1252 | Reaper3 = Instance.new("Model")
| |
| 1253 | Reaper3.Parent = Player.Character | |
| 1254 | Reaper3.Name = "Reaper3" | |
| 1255 | rh3 = Instance.new("Part")
| |
| 1256 | rh3.Parent = Reaper3 | |
| 1257 | rh3.BrickColor = BrickColor.new("Really black")
| |
| 1258 | rh3.Locked = true | |
| 1259 | rh3.CanCollide = false | |
| 1260 | mesh3 = Instance.new("SpecialMesh")
| |
| 1261 | rh3.formFactor = "Symmetric" | |
| 1262 | mesh3.MeshType = "FileMesh" | |
| 1263 | mesh3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 1264 | mesh3.Parent = rh3 | |
| 1265 | local weld3 = Instance.new("Weld")
| |
| 1266 | weld3.Parent = rh3 | |
| 1267 | rh3.Transparency = 0 | |
| 1268 | weld3.Part0 = rh3 | |
| 1269 | weld3.Part1 = Player.Character.Head | |
| 1270 | weld3.C0 = CFrame.new(0, -0.6, 0)*CFrame.Angles(0, 0, 0) | |
| 1271 | ||
| 1272 | local orbe = Instance.new("Part")
| |
| 1273 | orbe.Parent = char | |
| 1274 | orbe.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1275 | orbe.Archivable = true | |
| 1276 | orbe.Transparency = 1 | |
| 1277 | orbe.BrickColor = maincolor | |
| 1278 | orbe.Material = "Neon" | |
| 1279 | orbe.CanCollide = false | |
| 1280 | local weld1e = Instance.new("Weld")
| |
| 1281 | weld1e.Parent = rleg | |
| 1282 | weld1e.Part0 = rleg | |
| 1283 | weld1e.Part1 = orbe | |
| 1284 | weld1e.C1 = CFrame.new(0, 1.125, 0) | |
| 1285 | local pt1e = NumberSequenceKeypoint.new(0,0.85,0) | |
| 1286 | local pt2e = NumberSequenceKeypoint.new(1,0,0) | |
| 1287 | local effectoe = Instance.new("ParticleEmitter",orbe)
| |
| 1288 | effectoe.LightEmission = 1 | |
| 1289 | effectoe.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 1290 | effectoe.Color = ColorSequence.new(maincolor.Color) | |
| 1291 | effectoe.Rate = 10000 | |
| 1292 | effectoe.Lifetime = NumberRange.new(1) | |
| 1293 | effectoe.Size = NumberSequence.new({pt1e,pt2e})
| |
| 1294 | effectoe.Speed = NumberRange.new(0,0) | |
| 1295 | effectoe.RotSpeed = NumberRange.new(100,100) | |
| 1296 | ||
| 1297 | local orbze = Instance.new("Part")
| |
| 1298 | orbze.Parent = char | |
| 1299 | orbze.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1300 | orbze.Archivable = true | |
| 1301 | orbze.Transparency = 1 | |
| 1302 | orbze.BrickColor = maincolor | |
| 1303 | orbze.Material = "Neon" | |
| 1304 | orbze.CanCollide = false | |
| 1305 | local weldz1 = Instance.new("Weld")
| |
| 1306 | weldz1.Parent = lleg | |
| 1307 | weldz1.Part0 = lleg | |
| 1308 | weldz1.Part1 = orbze | |
| 1309 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
| 1310 | local effectone = Instance.new("ParticleEmitter",orbze)
| |
| 1311 | effectone.LightEmission = 1 | |
| 1312 | effectone.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 1313 | effectone.Color = ColorSequence.new(maincolor.Color) | |
| 1314 | effectone.Rate = 10000 | |
| 1315 | effectone.Lifetime = NumberRange.new(1) | |
| 1316 | effectone.Size = NumberSequence.new({pt1e,pt2e})
| |
| 1317 | effectone.Speed = NumberRange.new(0,0) | |
| 1318 | effectone.RotSpeed = NumberRange.new(100,100) | |
| 1319 | end | |
| 1320 | ||
| 1321 | if effolemode == true then | |
| 1322 | maincolor = BrickColor.new("Lime green")
| |
| 1323 | end | |
| 1324 | ||
| 1325 | local orb = Instance.new("Part")
| |
| 1326 | orb.Parent = char | |
| 1327 | orb.Size = Vector3.new(1, 1, 1) | |
| 1328 | orb.Archivable = true | |
| 1329 | orb.Transparency = 1 | |
| 1330 | orb.BrickColor = BrickColor.new("Bright orange")
| |
| 1331 | orb.Material = "Wood" | |
| 1332 | orb.CanCollide = false | |
| 1333 | local weld1 = Instance.new("Weld")
| |
| 1334 | weld1.Parent = rarm | |
| 1335 | weld1.Part0 = rarm | |
| 1336 | weld1.Part1 = orb | |
| 1337 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
| 1338 | local pt1 = NumberSequenceKeypoint.new(0,0.475,0) | |
| 1339 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 1340 | local effecto = Instance.new("ParticleEmitter",orb)
| |
| 1341 | effecto.LightEmission = 1 | |
| 1342 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 1343 | effecto.Color = ColorSequence.new(maincolor.Color) | |
| 1344 | effecto.Rate = 10000 | |
| 1345 | effecto.Lifetime = NumberRange.new(1) | |
| 1346 | effecto.Size = NumberSequence.new({pt1,pt2})
| |
| 1347 | effecto.Speed = NumberRange.new(0,0) | |
| 1348 | effecto.RotSpeed = NumberRange.new(100,100) | |
| 1349 | ||
| 1350 | local orbz = Instance.new("Part")
| |
| 1351 | orbz.Parent = char | |
| 1352 | orbz.Size = Vector3.new(1, 1, 1) | |
| 1353 | orbz.Archivable = true | |
| 1354 | orbz.Transparency = 1 | |
| 1355 | orbz.BrickColor = BrickColor.new("Bright orange")
| |
| 1356 | orbz.Material = "Wood" | |
| 1357 | orbz.CanCollide = false | |
| 1358 | local weldz1 = Instance.new("Weld")
| |
| 1359 | weldz1.Parent = larm | |
| 1360 | weldz1.Part0 = larm | |
| 1361 | weldz1.Part1 = orbz | |
| 1362 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
| 1363 | local effecton = Instance.new("ParticleEmitter",orbz)
| |
| 1364 | effecton.LightEmission = 1 | |
| 1365 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 1366 | effecton.Color = ColorSequence.new(maincolor.Color) | |
| 1367 | effecton.Rate = 10000 | |
| 1368 | effecton.Lifetime = NumberRange.new(1) | |
| 1369 | effecton.Size = NumberSequence.new({pt1,pt2})
| |
| 1370 | effecton.Speed = NumberRange.new(0,0) | |
| 1371 | effecton.RotSpeed = NumberRange.new(100,100) | |
| 1372 | ||
| 1373 | ||
| 1374 | p = owner | |
| 1375 | char = p.Character | |
| 1376 | torso = char.Torso | |
| 1377 | neck = char.Torso.Neck | |
| 1378 | hum = char.Humanoid | |
| 1379 | hum.MaxHealth = 10000 | |
| 1380 | wait() | |
| 1381 | hum.Health =hum.MaxHealth | |
| 1382 | ||
| 1383 | CV="Hot pink" | |
| 1384 | ||
| 1385 | local txt = Instance.new("BillboardGui", char)
| |
| 1386 | txt.Adornee = char .Head | |
| 1387 | txt.Name = "_status" | |
| 1388 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1389 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1390 | local text = Instance.new("TextLabel", txt)
| |
| 1391 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1392 | text.FontSize = "Size24" | |
| 1393 | text.TextScaled = true | |
| 1394 | text.TextTransparency = 0 | |
| 1395 | text.BackgroundTransparency = 1 | |
| 1396 | text.TextTransparency = 0 | |
| 1397 | text.TextStrokeTransparency = 0 | |
| 1398 | text.Font = "SciFi" | |
| 1399 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1400 | ||
| 1401 | v=Instance.new("Part")
| |
| 1402 | v.Name = "ColorBrick" | |
| 1403 | v.Parent=p.Character | |
| 1404 | v.FormFactor="Symmetric" | |
| 1405 | v.Anchored=true | |
| 1406 | v.CanCollide=false | |
| 1407 | v.BottomSurface="Smooth" | |
| 1408 | v.TopSurface="Smooth" | |
| 1409 | v.Size=Vector3.new(10,5,3) | |
| 1410 | v.Transparency=1 | |
| 1411 | v.CFrame=char.Torso.CFrame | |
| 1412 | v.BrickColor=BrickColor.new(CV) | |
| 1413 | v.Transparency=1 | |
| 1414 | text.TextColor3 = BrickColor.new("Lime green").Color
| |
| 1415 | v.Shape="Block" | |
| 1416 | text.Text = "Sweet T" | |
| 1417 | ||
| 1418 | ||
| 1419 | euler = CFrame.fromEulerAnglesXYZ | |
| 1420 | angles = CFrame.Angles | |
| 1421 | local player = "owner" | |
| 1422 | local Character = owner | |
| 1423 | it = Instance.new | |
| 1424 | vt = Vector3.new | |
| 1425 | bc = BrickColor.new | |
| 1426 | cf = CFrame.new | |
| 1427 | mr = math.rad | |
| 1428 | local Weapon = {}
| |
| 1429 | local p = owner | |
| 1430 | local char = p.Character | |
| 1431 | local larm = char["Left Arm"] | |
| 1432 | local rarm = char["Right Arm"] | |
| 1433 | local lleg = char["Left Leg"] | |
| 1434 | local rleg = char["Right Leg"] | |
| 1435 | local hed = char.Head | |
| 1436 | local torso = char.Torso | |
| 1437 | local hum = char.Humanoid | |
| 1438 | local cam = game.Workspace.CurrentCamera | |
| 1439 | local root = char.HumanoidRootPart | |
| 1440 | local deb = false | |
| 1441 | local shot = 0 | |
| 1442 | ||
| 1443 | local debris=game:service"Debris" | |
| 1444 | local l = game:GetService("Lighting")
| |
| 1445 | local rs = game:GetService("RunService").RenderStepped
| |
| 1446 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 1447 | math.randomseed(os.time()) | |
| 1448 | for i,v in pairs (hed:GetChildren()) do | |
| 1449 | if v:IsA("Sound") then
| |
| 1450 | v:Destroy() | |
| 1451 | end | |
| 1452 | end | |
| 1453 | ---------------------------------------------------- BeastClaw | |
| 1454 | NoOutline = function(Part) | |
| 1455 | Part.TopSurface = 10 | |
| 1456 | end | |
| 1457 | part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
| 1458 | local fp = it("Part")
| |
| 1459 | fp.formFactor = formfactor | |
| 1460 | fp.Parent = parent | |
| 1461 | fp.Reflectance = reflectance | |
| 1462 | fp.Transparency = transparency | |
| 1463 | fp.CanCollide = false | |
| 1464 | fp.Locked = true | |
| 1465 | fp.BrickColor = brickcolor | |
| 1466 | fp.Name = name | |
| 1467 | fp.Size = size | |
| 1468 | NoOutline(fp) | |
| 1469 | fp.Material = "Neon" | |
| 1470 | fp:BreakJoints() | |
| 1471 | return fp | |
| 1472 | end | |
| 1473 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
| 1474 | local mesh = it(Mesh) | |
| 1475 | mesh.Parent = part | |
| 1476 | if Mesh == "SpecialMesh" then | |
| 1477 | mesh.MeshType = meshtype | |
| 1478 | if meshid ~= "nil" then | |
| 1479 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
| 1480 | end | |
| 1481 | end | |
| 1482 | mesh.Offset = offset | |
| 1483 | mesh.Scale = scale | |
| 1484 | return mesh | |
| 1485 | end | |
| 1486 | weld = function(parent, part0, part1, c0) | |
| 1487 | local weld = it("Motor6D")
| |
| 1488 | weld.Parent = parent | |
| 1489 | weld.Part0 = part0 | |
| 1490 | weld.Part1 = part1 | |
| 1491 | weld.C0 = c0 | |
| 1492 | return weld | |
| 1493 | end | |
| 1494 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size, image) | |
| 1495 | local gui = it(GuiType) | |
| 1496 | gui.Parent = parent | |
| 1497 | gui.BackgroundTransparency = backtrans | |
| 1498 | gui.BackgroundColor3 = backcol | |
| 1499 | gui.SizeConstraint = "RelativeXY" | |
| 1500 | gui.Position = pos | |
| 1501 | gui.Size = size | |
| 1502 | if GuiType == "TextLabel" then | |
| 1503 | gui.Text = text | |
| 1504 | gui.TextXAlignment = "Center" | |
| 1505 | gui.TextYAlignment = "Center" | |
| 1506 | gui.Font = "SourceSans" | |
| 1507 | gui.FontSize = "Size14" | |
| 1508 | gui.TextWrapped = false | |
| 1509 | gui.TextStrokeTransparency = 0 | |
| 1510 | gui.TextColor = TorsoColor | |
| 1511 | else | |
| 1512 | if GuiType == "ImageLabel" then | |
| 1513 | gui.Image = "rbxassetid://" .. image | |
| 1514 | gui.ImageColor3 = backcol | |
| 1515 | end | |
| 1516 | end | |
| 1517 | return gui | |
| 1518 | end | |
| 1519 | local handle = nil | |
| 1520 | AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef) | |
| 1521 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
| 1522 | prt.Material = neon | |
| 1523 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
| 1524 | wld = weld(handle, prt, wldpar, ceef) | |
| 1525 | v = it("NumberValue", prt)
| |
| 1526 | v.Value = trans | |
| 1527 | v.Name = "MainTransparency" | |
| 1528 | return prt, msh, wld | |
| 1529 | end | |
| 1530 | AesthPartHand = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef, wldpare) | |
| 1531 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
| 1532 | prt.Material = neon | |
| 1533 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
| 1534 | wld = weld(wldpare, prt, wldpar, ceef) | |
| 1535 | v = it("NumberValue", prt)
| |
| 1536 | v.Value = trans | |
| 1537 | v.Name = "MainTransparency" | |
| 1538 | return prt, msh, wld | |
| 1539 | end | |
| 1540 | local modelzorzez = Instance.new("Model")
| |
| 1541 | modelzorzez.Parent = workspace.CurrentCamera | |
| 1542 | modelzorzez.Name = "none" | |
| 1543 | local Torso = Character.Character.Torso | |
| 1544 | local LeftArm = Character.Character["Left Arm"] | |
| 1545 | local RightArm = Character.Character["Right Arm"] | |
| 1546 | local LeftLeg = Character.Character["Left Leg"] | |
| 1547 | local RightLeg = Character.Character["Right Leg"] | |
| 1548 | local Head = Character.Character.Head | |
| 1549 | local RootPart = Character.Character.HumanoidRootPart | |
| 1550 | handle = part(3, modelzorzez, 0, 1, BrickColor.new("Really black"), "Handle", vt())
| |
| 1551 | local handlewld = weld(handle, handle, Torso, euler(0, 0, -0.8) * cf(0, 0, -0.7)) | |
| 1552 | ||
| 1553 | -- SAHHHH DUUDEEE | |
| 1554 | ||
| 1555 | ||
| 1556 | ||
| 1557 | ||
| 1558 | -- params : ... | |
| 1559 | ||
| 1560 | wait(0.016666666666667) | |
| 1561 | script.Archivable = false | |
| 1562 | Effects = {}
| |
| 1563 | local Player = owner | |
| 1564 | local Character = Player.Character | |
| 1565 | local Humanoid = Character.Humanoid | |
| 1566 | local m = Instance.new("Model", Character)
| |
| 1567 | m.Name = "WeaponModel" | |
| 1568 | local effect = Instance.new("Model", Character)
| |
| 1569 | effect.Name = "effecsfsafzx" | |
| 1570 | local demon = Instance.new("Model", Character)
| |
| 1571 | demon.Name = "demdemd" | |
| 1572 | local LeftArm = Character["Left Arm"] | |
| 1573 | local RightArm = Character["Right Arm"] | |
| 1574 | local LeftLeg = Character["Left Leg"] | |
| 1575 | local RightLeg = Character["Right Leg"] | |
| 1576 | local do2target = nil | |
| 1577 | local Head = Character.Head | |
| 1578 | local Torso = Character.Torso | |
| 1579 | TorsoColor = BrickColor.new("Lime green")
| |
| 1580 | z = Instance.new("Sound", Torso)
| |
| 1581 | z.SoundId = "rbxassetid://0" -- Put Music ID Here. | |
| 1582 | z.Looped = true | |
| 1583 | z.Pitch = 0 | |
| 1584 | z.Volume = 0 | |
| 1585 | wait(.1) | |
| 1586 | z:Play() | |
| 1587 | local cam = game.Workspace.CurrentCamera | |
| 1588 | local RootPart = Character.HumanoidRootPart | |
| 1589 | local RootJoint = RootPart.RootJoint | |
| 1590 | local equipped = false | |
| 1591 | local attack = false | |
| 1592 | local Anim = "Idle" | |
| 1593 | local idle = 0 | |
| 1594 | local attacktype = 1 | |
| 1595 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 1596 | local velocity = RootPart.Velocity.y | |
| 1597 | local sine = 0 | |
| 1598 | local change = 1 | |
| 1599 | local mana = 0 | |
| 1600 | local it = Instance.new | |
| 1601 | vt = Vector3.new | |
| 1602 | local grabbed = false | |
| 1603 | local cf = CFrame.new | |
| 1604 | local mr = math.rad | |
| 1605 | local angles = CFrame.Angles | |
| 1606 | local ud = UDim2.new | |
| 1607 | local c3 = Color3.new | |
| 1608 | clerp = function(a, b, t) | |
| 1609 | ||
| 1610 | return a:lerp(b, t) | |
| 1611 | end | |
| 1612 | ||
| 1613 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 1614 | local Create = RbxUtility.Create | |
| 1615 | RemoveOutlines = function(part) | |
| 1616 | ||
| 1617 | part.TopSurface = 10 | |
| 1618 | end | |
| 1619 | ||
| 1620 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1621 | ||
| 1622 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 1623 | RemoveOutlines(Part) | |
| 1624 | return Part | |
| 1625 | end | |
| 1626 | ||
| 1627 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1628 | ||
| 1629 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 1630 | if Mesh == "SpecialMesh" then | |
| 1631 | Msh.MeshType = MeshType | |
| 1632 | Msh.MeshId = MeshId | |
| 1633 | end | |
| 1634 | return Msh | |
| 1635 | end | |
| 1636 | ||
| 1637 | local co1 = 3 | |
| 1638 | local co2 = 10 | |
| 1639 | local co3 = 15 | |
| 1640 | local co4 = 30 | |
| 1641 | local cooldown1 = 0 | |
| 1642 | local cooldown2 = 0 | |
| 1643 | local cooldown3 = 0 | |
| 1644 | local cooldown4 = 0 | |
| 1645 | local maxEnergy = 100 | |
| 1646 | local Energy = 0 | |
| 1647 | local skill1stam = 1000 | |
| 1648 | local skill2stam = 1000 | |
| 1649 | local skill3stam = 1000 | |
| 1650 | local skill4stam = 1000 | |
| 1651 | local recovermana = 5 | |
| 1652 | local skillcolorscheme = BrickColor.new("White").Color
| |
| 1653 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 1654 | makeframe = function(par, trans, pos, size, color) | |
| 1655 | ||
| 1656 | local frame = Instance.new("Frame", par)
| |
| 1657 | frame.BackgroundTransparency = trans | |
| 1658 | frame.BorderSizePixel = 0 | |
| 1659 | frame.Position = pos | |
| 1660 | frame.Size = size | |
| 1661 | frame.BackgroundColor3 = color | |
| 1662 | return frame | |
| 1663 | end | |
| 1664 | ||
| 1665 | makelabel = function(par, text) | |
| 1666 | ||
| 1667 | local label = Instance.new("TextLabel", par)
| |
| 1668 | label.BackgroundTransparency = 1 | |
| 1669 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 1670 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 1671 | label.TextColor3 = Color3.new(255, 255, 255) | |
| 1672 | label.TextStrokeTransparency = 0 | |
| 1673 | label.FontSize = Enum.FontSize.Size32 | |
| 1674 | label.Font = Enum.Font.SourceSansLight | |
| 1675 | label.BorderSizePixel = 0 | |
| 1676 | label.TextScaled = true | |
| 1677 | label.Text = text | |
| 1678 | end | |
| 1679 | ||
| 1680 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1681 | ArtificialHB.Name = "Heartbeat" | |
| 1682 | script:WaitForChild("Heartbeat")
| |
| 1683 | frame = 0.033333333333333 | |
| 1684 | tf = 0 | |
| 1685 | allowframeloss = false | |
| 1686 | tossremainder = false | |
| 1687 | lastframe = tick() | |
| 1688 | script.Heartbeat:Fire() | |
| 1689 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1690 | ||
| 1691 | tf = tf + s | |
| 1692 | if frame <= tf then | |
| 1693 | if allowframeloss then | |
| 1694 | script.Heartbeat:Fire() | |
| 1695 | lastframe = tick() | |
| 1696 | else | |
| 1697 | for i = 1, math.floor(tf / frame) do | |
| 1698 | script.Heartbeat:Fire() | |
| 1699 | end | |
| 1700 | lastframe = tick() | |
| 1701 | end | |
| 1702 | if tossremainder then | |
| 1703 | tf = 0 | |
| 1704 | else | |
| 1705 | tf = tf - frame * math.floor(tf / frame) | |
| 1706 | end | |
| 1707 | end | |
| 1708 | end | |
| 1709 | ) | |
| 1710 | swait = function(num) | |
| 1711 | ||
| 1712 | if num == 0 or num == nil then | |
| 1713 | ArtificialHB.Event:wait() | |
| 1714 | else | |
| 1715 | for i = 0, num do | |
| 1716 | ArtificialHB.Event:wait() | |
| 1717 | end | |
| 1718 | end | |
| 1719 | end | |
| 1720 | ||
| 1721 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 1722 | ||
| 1723 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 1724 | return Weld | |
| 1725 | end | |
| 1726 | ||
| 1727 | rayCast = function(Position, Direction, Range, Ignore) | |
| 1728 | ||
| 1729 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 1730 | end | |
| 1731 | ||
| 1732 | CreateSound = function(id, par, vol, pit) | |
| 1733 | ||
| 1734 | coroutine.resume(coroutine.create(function() | |
| 1735 | ||
| 1736 | local sou = Instance.new("Sound", par or workspace)
| |
| 1737 | sou.Volume = vol | |
| 1738 | sou.Pitch = pit or 1 | |
| 1739 | sou.SoundId = id | |
| 1740 | swait() | |
| 1741 | sou:play() | |
| 1742 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 1743 | end | |
| 1744 | )) | |
| 1745 | end | |
| 1746 | ||
| 1747 | local getclosest = function(obj, distance) | |
| 1748 | ||
| 1749 | local last, lastx = distance + 1, nil | |
| 1750 | for i,v in pairs(workspace:GetChildren()) do | |
| 1751 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 1752 | local t = v.Torso | |
| 1753 | local dist = t.Position - obj.Position.magnitude | |
| 1754 | if dist <= distance and dist < last then | |
| 1755 | last = dist | |
| 1756 | lastx = v | |
| 1757 | end | |
| 1758 | end | |
| 1759 | end | |
| 1760 | return lastx | |
| 1761 | end | |
| 1762 | ||
| 1763 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
| 1764 | ||
| 1765 | if PartType == "Part" then | |
| 1766 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 1767 | RemoveOutlines(Part) | |
| 1768 | return Part | |
| 1769 | else | |
| 1770 | do | |
| 1771 | if PartType == "WedgePart" then | |
| 1772 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 1773 | RemoveOutlines(Part) | |
| 1774 | return Part | |
| 1775 | end | |
| 1776 | end | |
| 1777 | end | |
| 1778 | end | |
| 1779 | ||
| 1780 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Dirt brown", "Handle", Vector3.new(1, 2, 1)) | |
| 1781 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1782 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1783 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.598956585, -0.401195407, 0, 0, 1, 0.25881803, -0.965926111, 0, 0.965926111, 0.25881803, 0)) | |
| 1784 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.150000006))
| |
| 1785 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1786 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.858075142, -0.276378155, -0.49209857, 0.353552133, -0.866025269, 0.353555113, 0.707108736, -9.03335206e-07, -0.707104981, 0.612371027, 0.500000358, 0.61237365)) | |
| 1787 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001))
| |
| 1788 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1789 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142959999, -0.79026103, -0.577523232, 0, 0, 1, 0.0581610166, -0.998307228, 0, 0.998307228, 0.0581610166, 0)) | |
| 1790 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.100000001))
| |
| 1791 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1792 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.857914209, 0.258751988, -0.512362957, 0.353553236, -0.866025567, -0.353553236, -0.707106471, 3.09715034e-07, -0.707107246, 0.612372994, 0.499999791, -0.6123721)) | |
| 1793 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001))
| |
| 1794 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
| 1795 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.508293927, 0.581420183, 0.355297565, -1, 0, 0, 0, -0.694275975, -0.719708979, 0, -0.719708979, 0.694275975)) | |
| 1796 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
| |
| 1797 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
| 1798 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, -0.605236769, -0.322324991, 1, 0, 0, 0, 0.719708979, -0.694275975, 0, 0.694275975, 0.719708979)) | |
| 1799 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
| |
| 1800 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
| 1801 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.0117408261, -0.729162693, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
| 1802 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.208000004, 0.47299999, 0.47299999))
| |
| 1803 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 1804 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.123879015, -0.278857708, -0.00617899979, 0.965925336, -0.2588211, 0, 0.2588211, 0.965925336, 0, 0, 0, 1)) | |
| 1805 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999))
| |
| 1806 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.445813209, 0.210449979, 1.04200566)) | |
| 1807 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.223450184, 0.0305250883, -0.00618699985, -0.25881803, 0.965926111, 0, -0.965926111, -0.25881803, 0, 0, 0, 1)) | |
| 1808 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
| |
| 1809 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 1810 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.407537222, 0.0663063526, -0.00618699985, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352, 0, 0, 0, 1)) | |
| 1811 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999))
| |
| 1812 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.664211631, 0.210449979, 1.04200566)) | |
| 1813 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0544009209, 0.0101571083, -0.00617499975, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, 1)) | |
| 1814 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
| |
| 1815 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 1816 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.212381959, -0.663311005, -0.00618499983, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1817 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.730365157, 0.388499111, 1.00999999))
| |
| 1818 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 1819 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0184851885, 0.339620829, -0.0061809998, 0.715359032, -0.698757052, 0, 0.698757052, 0.715359032, 0, 0, 0, 1)) | |
| 1820 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.834142029, 0.388499111, 1.00999999))
| |
| 1821 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.627083898, 0.210449979, 1.04200566)) | |
| 1822 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280005217, -0.363016367, -0.00617299974, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
| 1823 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
| |
| 1824 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.329999983)) | |
| 1825 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.00543988496, -0.414242506, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
| 1826 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
| |
| 1827 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 1828 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.453824013, -0.291407824, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1829 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.83414197, 0.388499111, 1.00999999))
| |
| 1830 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1831 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51018995, -0.50767684, 0.297928989, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1832 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
| |
| 1833 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
| 1834 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117785633, -0.903934956, 0.39272213, 0.707106352, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707106352)) | |
| 1835 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 1836 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1837 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.677359819, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1838 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
| |
| 1839 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
| 1840 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0118038058, 0.689624906, 0.570050001, 0.707103848, 0, 0.707109809, -0.707109809, 0, 0.707103848, 0, -1, 0)) | |
| 1841 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 1842 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1843 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510767996, -0.508222818, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1844 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
| |
| 1845 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
| 1846 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285520971, -0.664801836, -0.00591700012, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1847 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1))
| |
| 1848 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.728394926, 0.35408181, 1.04200566)) | |
| 1849 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.159419954, -0.695495844, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1850 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 1851 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.796342552, 0.65287286, 1.04582763)) | |
| 1852 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.144507021, 0.270431995, -0.00702500017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1853 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 1854 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 1855 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0228680372, -0.903097868, -0.00617699977, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1856 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 1857 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1858 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.157143831, -0.295579016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1859 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
| |
| 1860 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.475480139, 0.404664904, 1.04200566)) | |
| 1861 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236273766, -0.56151557, -0.0061809998, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
| 1862 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 1863 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
| 1864 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000811070204, -0.902295828, 0.381639034, -0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, -0.707106829)) | |
| 1865 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 1866 | Part = CreatePart2(m, Enum.Material.Neon, 0, 0, "Part", "Really black", "Part", Vector3.new(1, 1, 1)) | |
| 1867 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.618730307, -0.382281303, 0, 0, 1, 0.36670509, -0.93033725, 0, 0.93033725, 0.36670509, 0)) | |
| 1868 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.709999979, 0.100000001))
| |
| 1869 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
| 1870 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000812500715, 0.678554535, 0.570062876, -0.707106829, 0, 0.707106829, -0.707106829, 0, -0.707106829, 0, -1, 0)) | |
| 1871 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 1872 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.274916351, 0.495625556, 1.04582763)) | |
| 1873 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.386464, 0.349603176, -0.00702300016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1874 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 1875 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
| 1876 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285515964, -0.215442896, -0.00591900013, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1877 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1))
| |
| 1878 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1879 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51019901, -0.156597853, 0.297930986, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1880 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
| |
| 1881 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(1.06224263, 1.11860847, 1.04200566)) | |
| 1882 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00774800777, 0.0171630383, -0.0061809998, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1883 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 1884 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1885 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510194004, -0.67681098, 0.297922999, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1886 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
| |
| 1887 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "WedgePart", TorsoColor, "ClawMaterial", Vector3.new(1.0507766, 0.342107773, 0.210450009)) | |
| 1888 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00591100007, -0.468749046, 0.193565369, 0, 0, 1, -0.700001419, -0.714141428, 0, 0.714141428, -0.700001419, 0)) | |
| 1889 | CreateMesh("SpecialMesh", ClawMaterial, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.961421788))
| |
| 1890 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1891 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00134065747, 0.207813978, 0.709334135, 0.707106829, 0, -0.707106829, 0, -1, 0, -0.707106829, 0, -0.707106829)) | |
| 1892 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788))
| |
| 1893 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
| 1894 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947299972, -0.114370823, -0.440932035, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1895 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.561885834, 0.961421788))
| |
| 1896 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.411995441, 0.210450009)) | |
| 1897 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00891099963, -0.798730135, 0.476718009, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
| 1898 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481))
| |
| 1899 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.04586256, 0.210449979, 0.27767837)) | |
| 1900 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00726700015, 0.0232260227, 0.391721964, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1901 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.764251173, 1))
| |
| 1902 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.385787576, 0.210450009)) | |
| 1903 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509499991, -0.792718172, 0.456955969, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 1904 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481))
| |
| 1905 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
| 1906 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509600015, -0.696686029, 0.42363596, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 1907 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788))
| |
| 1908 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 1909 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012203753, 0.206679821, 0.707822442, -0.707106352, 0, -0.707107365, 0, -1, 0, -0.707107365, 0, 0.707106352)) | |
| 1910 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788))
| |
| 1911 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
| 1912 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947900023, -0.695355177, 0.440928012, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
| 1913 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788))
| |
| 1914 | MotorOne = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorOne", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1915 | MotorOneWeld = CreateWeld(m, Handle, MotorOne, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.165818453, -0.00628910959, -0.978227913, -0.0732169896, -0.996971905, -0.0261989962, -0.542171299, 0.0618378855, -0.83798945, 0.837072074, -0.0471507274, -0.545057178)) | |
| 1916 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1917 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413149118, -0.00709122419, -1.08955288, 0.90752846, 5.51342964e-07, -0.419990718, -1.73971057e-06, 1, -2.44379044e-06, 0.419990718, 2.95042992e-06, 0.90752852)) | |
| 1918 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003))
| |
| 1919 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1920 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.205875158, -0.00710588694, -1.48987699, 0.747897685, -5.36441803e-07, -0.663814127, -1.66893005e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897744)) | |
| 1921 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 1922 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
| 1923 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151987076, 0.549069643, -0.614215612, -1.19581819e-06, 1, 1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 1924 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
| 1925 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151856542, -0.490994453, -0.295432806, -1.19581819e-06, 1, 1.37090683e-06, -0.961226821, -7.5250864e-07, -0.27575928, -0.27575931, -1.57952309e-06, 0.96122694)) | |
| 1926 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
| 1927 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015198648, 0.650615692, -0.406500697, -1.19581819e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
| 1928 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
| 1929 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152282119, 0.624634504, 0.129744053, -1.19581819e-06, 1, 1.37090683e-06, -0.832109034, -2.5331974e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
| 1930 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
| 1931 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0152042508, 0.944105864, 0.894237399, 1.19581819e-06, -1, -1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 1932 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1933 | ClawWeld = CreateWeld(m, MotorOne, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121058, -0.0170745254, -0.650540829, 1.00000012, 0, 3.7252903e-09, 0, 1, 0, 3.7252903e-09, 0, 1.00000024)) | |
| 1934 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981))
| |
| 1935 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 1936 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151966214, -1.64906764, 1.03426063, -1.19581819e-06, 1, 1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 1937 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 1938 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252064466, -1.54980397, -0.844281435, 1.19581819e-06, -1, -1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 1939 | MotorTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1940 | MotorTwoWeld = CreateWeld(m, Handle, MotorTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0479729176, -0.503670454, -0.786706924, 0.0261989962, -0.996971905, -0.0732169896, 0.83798945, 0.0618378855, -0.542171299, 0.545057178, -0.0471507274, 0.837072074)) | |
| 1941 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1942 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413152218, -0.00709152222, -1.08955348, 0.90752846, 5.66244125e-07, -0.419990689, -1.74157321e-06, 1, -2.47359276e-06, 0.419990718, 2.98023224e-06, 0.907528639)) | |
| 1943 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003))
| |
| 1944 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1945 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20587635, -0.00710582733, -1.4898783, 0.747897685, -5.36441803e-07, -0.663814127, -1.6707927e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897804)) | |
| 1946 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 1947 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
| 1948 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151982307, 0.549069643, -0.614216566, -1.19395554e-06, 1, 1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 1949 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
| 1950 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151848793, -0.490990877, -0.295432806, -1.19395554e-06, 1, 1.37090683e-06, -0.961226821, -7.74860382e-07, -0.27575931, -0.27575925, -1.63912773e-06, 0.961226881)) | |
| 1951 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
| 1952 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151979923, 0.650617838, -0.406501412, -1.19395554e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
| 1953 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
| 1954 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152257681, 0.624636889, 0.129745722, -1.19395554e-06, 1, 1.37090683e-06, -0.832109034, -2.38418579e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
| 1955 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
| 1956 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015203476, 0.944107533, 0.894238472, 1.19395554e-06, -1, -1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 1957 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1958 | ClawWeld = CreateWeld(m, MotorTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121142, -0.0170750618, -0.650540113, 1.00000012, -1.86264515e-09, 4.65661287e-09, -1.86264515e-09, 1, 0, 4.65661287e-09, 0, 1.00000024)) | |
| 1959 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981))
| |
| 1960 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 1961 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151972771, -1.64906967, 1.03426158, -1.19395554e-06, 1, 1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 1962 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 1963 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252062082, -1.54980803, -0.844281912, 1.19395554e-06, -1, -1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 1964 | MotorThumb = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumb", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1965 | MotorThumbWeld = CreateWeld(m, Handle, MotorThumb, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.436262846, -0.542311668, -0.983556807, -0.068211019, -0.995336354, 0.0682120249, -0.707106829, -7.08211871e-07, -0.707106709, 0.703809023, -0.0964656472, -0.703809083)) | |
| 1966 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1967 | ClawWeld = CreateWeld(m, MotorThumb, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607737899, 0.0110911727, 0.0515184402, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
| 1968 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005))
| |
| 1969 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1970 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723732, 0.990283549, 1.41561031e-06, -0.13906303, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.13906303, 8.94069672e-08, 0.990283489)) | |
| 1971 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 1972 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1973 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025633, 0.0210601687, -0.0396541655, 0.908135235, 2.08616257e-06, -0.418677092, -1.47148967e-06, 1.00000012, 1.75833702e-06, 0.418677121, -9.23871994e-07, 0.908135176)) | |
| 1974 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 1975 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 1976 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129690766, -0.393394113, 0.191975117, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
| 1977 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
| 1978 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775405, -0.706632137, 0.168079853, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
| 1979 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 1980 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299531221, -0.294105291, -0.00194394588, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
| 1981 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
| 1982 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598301, 0.0969114304, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
| 1983 | MotorThumbTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumbTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1984 | MotorThumbTwoWeld = CreateWeld(m, Handle, MotorThumbTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.444597721, 0.423756033, -0.897562623, -0.0682120249, -0.995336354, -0.068211019, 0.707106709, -7.08211871e-07, -0.707106829, 0.703809083, -0.0964656621, 0.703809023)) | |
| 1985 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
| 1986 | ClawWeld = CreateWeld(m, MotorThumbTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607738018, 0.0110911727, 0.0515185595, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
| 1987 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005))
| |
| 1988 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1989 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723612, 0.990283549, 1.42306089e-06, -0.139062777, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.139062807, 1.1920929e-07, 0.990283608)) | |
| 1990 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 1991 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
| 1992 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025394, 0.0210601091, -0.0396541059, 0.908135235, 2.08616257e-06, -0.418677092, -1.72480941e-06, 1, 1.16229057e-06, 0.418677121, -3.57627869e-07, 0.908135176)) | |
| 1993 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 1994 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 1995 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.012969017, -0.393394232, 0.191974878, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
| 1996 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
| 1997 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775107, -0.706632137, 0.168079972, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
| 1998 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 1999 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299596786, -0.29410553, -0.00194442272, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
| 2000 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
| 2001 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598063, 0.0969111919, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
| 2002 | MagniHit = CreatePart(m, Enum.Material.Neon, 0, 1, "Really black", "MagniHit", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 2003 | MagniHitWeld = CreateWeld(m, Character.HumanoidRootPart, MagniHit, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.01003361, -0.230025291, 0.070048213, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
| 2004 | local CBlade = {}
| |
| 2005 | local CBladeWelds = {}
| |
| 2006 | for _,c in pairs(m:children()) do | |
| 2007 | if c.className == "Part" then | |
| 2008 | table.insert(CBlade, R67_PC6072) | |
| 2009 | end | |
| 2010 | end | |
| 2011 | for _,c in pairs(m:children()) do | |
| 2012 | if c.className == "Weld" then | |
| 2013 | table.insert(CBladeWelds, R67_PC6072) | |
| 2014 | print(R66_PC6093) | |
| 2015 | end | |
| 2016 | end | |
| 2017 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
| 2018 | ||
| 2019 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
| 2020 | ||
| 2021 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
| 2022 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
| 2023 | ||
| 2024 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
| 2025 | ||
| 2026 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 2027 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
| |
| 2028 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
| 2029 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 2030 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 2031 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 2032 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
| |
| 2033 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 2034 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 2035 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
| |
| 2036 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
| 2037 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 2038 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 2039 | local DBlade = {}
| |
| 2040 | local DBladeWelds = {}
| |
| 2041 | for _,c in pairs(demon:children()) do | |
| 2042 | if c.className == "Part" then | |
| 2043 | table.insert(DBlade, c) | |
| 2044 | end | |
| 2045 | end | |
| 2046 | for _,c in pairs(demon:children()) do | |
| 2047 | if c.className == "Weld" then | |
| 2048 | table.insert(DBladeWelds, c) | |
| 2049 | print(c) | |
| 2050 | end | |
| 2051 | end | |
| 2052 | demon.Parent = nil | |
| 2053 | ||
| 2054 | paly = owner | |
| 2055 | char = paly.Character | |
| 2056 | torso = char.Torso | |
| 2057 | neck = char.Torso.Neck | |
| 2058 | hum = char.Humanoid | |
| 2059 | Player = owner | |
| 2060 | Character = Player.Character | |
| 2061 | tors = Character.Torso | |
| 2062 | lleg = Character["Left Leg"] | |
| 2063 | root = Character.HumanoidRootPart | |
| 2064 | hed = Character.Head | |
| 2065 | rleg = Character["Right Leg"] | |
| 2066 | rarm = Character["Right Arm"] | |
| 2067 | larm = Character["Left Arm"] | |
| 2068 | local Effects = {}
| |
| 2069 | attack = false | |
| 2070 | vt = Vector3.new | |
| 2071 | bc = BrickColor.new | |
| 2072 | br = BrickColor.random | |
| 2073 | it = Instance.new | |
| 2074 | cf = CFrame.new | |
| 2075 | euler = CFrame.fromEulerAnglesXYZ | |
| 2076 | angles = CFrame.Angles | |
| 2077 | matr = math.random | |
| 2078 | local basiccooldown = math.huge | |
| 2079 | local ultcooldown = math.huge | |
| 2080 | local secondcooldown = math.huge | |
| 2081 | local thirdcooldown = math.huge | |
| 2082 | ||
| 2083 | local boll = Instance.new("Part",game.Lighting)
| |
| 2084 | boll.Transparency = 0.5 | |
| 2085 | boll.Material = "Neon" | |
| 2086 | boll.BrickColor = tors.BrickColor | |
| 2087 | boll.Anchored = true | |
| 2088 | boll.Size = vt(1,1,1) | |
| 2089 | boll.Shape = "Ball" | |
| 2090 | boll.CanCollide = false | |
| 2091 | ||
| 2092 | local shur = Instance.new("Part",game.Lighting)
| |
| 2093 | shur.Transparency = 0 | |
| 2094 | shur.Material = "Neon" | |
| 2095 | shur.BrickColor = tors.BrickColor | |
| 2096 | shur.Anchored = true | |
| 2097 | shur.Size = vt(5,0.2,5) | |
| 2098 | shur.CanCollide = false | |
| 2099 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 2100 | ||
| 2101 | ||
| 2102 | local boll = Instance.new("Part",game.Lighting)
| |
| 2103 | boll.Transparency = 0.5 | |
| 2104 | boll.Material = "Neon" | |
| 2105 | boll.BrickColor = bc("Bright red")
| |
| 2106 | boll.Anchored = true | |
| 2107 | boll.Size = vt(1,1,1) | |
| 2108 | boll.Shape = "Ball" | |
| 2109 | boll.CanCollide = false | |
| 2110 | ||
| 2111 | local shur = Instance.new("Part",game.Lighting)
| |
| 2112 | shur.Transparency = 0 | |
| 2113 | shur.Material = "Neon" | |
| 2114 | shur.BrickColor = bc("Bright red")
| |
| 2115 | shur.Anchored = true | |
| 2116 | shur.Size = vt(5,0.2,5) | |
| 2117 | shur.CanCollide = false | |
| 2118 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 2119 | ||
| 2120 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 2121 | if hit.Parent==nil then | |
| 2122 | return | |
| 2123 | end | |
| 2124 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 2125 | for _,v in pairs(hit.Parent:children()) do | |
| 2126 | if v:IsA("Humanoid") then
| |
| 2127 | h=v | |
| 2128 | end | |
| 2129 | end | |
| 2130 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 2131 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 2132 | end | |
| 2133 | if hit.Parent.className=="Hat" then | |
| 2134 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 2135 | end | |
| 2136 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 2137 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 2138 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 2139 | return | |
| 2140 | end]] | |
| 2141 | -- hs(hit,1.2) | |
| 2142 | c=Instance.new("ObjectValue")
| |
| 2143 | c.Name="creator" | |
| 2144 | c.Value=owner | |
| 2145 | c.Parent=h | |
| 2146 | game:GetService("Debris"):AddItem(c,.5)
| |
| 2147 | Damage=math.random(minim,maxim) | |
| 2148 | -- h:TakeDamage(Damage) | |
| 2149 | blocked=false | |
| 2150 | block=hit.Parent:findFirstChild("Block")
| |
| 2151 | if block~=nil then | |
| 2152 | print(block.className) | |
| 2153 | if block.className=="NumberValue" then | |
| 2154 | if block.Value>0 then | |
| 2155 | blocked=true | |
| 2156 | if decreaseblock==nil then | |
| 2157 | block.Value=block.Value-1 | |
| 2158 | end | |
| 2159 | end | |
| 2160 | end | |
| 2161 | if block.className=="IntValue" then | |
| 2162 | if block.Value>0 then | |
| 2163 | blocked=true | |
| 2164 | if decreaseblock~=nil then | |
| 2165 | block.Value=block.Value-1 | |
| 2166 | end | |
| 2167 | end | |
| 2168 | end | |
| 2169 | end | |
| 2170 | if blocked==false then | |
| 2171 | -- h:TakeDamage(Damage) | |
| 2172 | h.Health=h.Health-Damage | |
| 2173 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
| 2174 | else | |
| 2175 | h.Health=h.Health-(Damage/2) | |
| 2176 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
| |
| 2177 | end | |
| 2178 | if Type=="Knockdown" then | |
| 2179 | hum=hit.Parent.Humanoid | |
| 2180 | hum.PlatformStand=true | |
| 2181 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 2182 | swait(1) | |
| 2183 | HHumanoid.PlatformStand=false | |
| 2184 | end),hum) | |
| 2185 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 2186 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 2187 | local bodvol=Instance.new("BodyVelocity")
| |
| 2188 | bodvol.velocity=angle*knockback | |
| 2189 | bodvol.P=5000 | |
| 2190 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 2191 | bodvol.Parent=hit | |
| 2192 | rl=Instance.new("BodyAngularVelocity")
| |
| 2193 | rl.P=3000 | |
| 2194 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 2195 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 2196 | rl.Parent=hit | |
| 2197 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 2198 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 2199 | elseif Type=="Normal" then | |
| 2200 | vp=Instance.new("BodyVelocity")
| |
| 2201 | vp.P=500 | |
| 2202 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 2203 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 2204 | if KnockbackType==1 then | |
| 2205 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 2206 | elseif KnockbackType==2 then | |
| 2207 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 2208 | end | |
| 2209 | if knockback>0 then | |
| 2210 | vp.Parent=hit.Parent.Torso | |
| 2211 | end | |
| 2212 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 2213 | elseif Type=="Up" then | |
| 2214 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 2215 | bodyVelocity.velocity=vt(0,10,0) | |
| 2216 | bodyVelocity.P=1000 | |
| 2217 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
| 2218 | bodyVelocity.Parent=hit | |
| 2219 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 2220 | rl=Instance.new("BodyAngularVelocity")
| |
| 2221 | rl.P=3000 | |
| 2222 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 2223 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 2224 | rl.Parent=hit | |
| 2225 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 2226 | elseif Type=="Snare" then | |
| 2227 | bp=Instance.new("BodyPosition")
| |
| 2228 | bp.P=2000 | |
| 2229 | bp.D=100 | |
| 2230 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 2231 | bp.position=hit.Parent.Torso.Position | |
| 2232 | bp.Parent=hit.Parent.Torso | |
| 2233 | game:GetService("Debris"):AddItem(bp,1)
| |
| 2234 | elseif Type=="Target" then | |
| 2235 | if Targetting==false then | |
| 2236 | ZTarget=hit.Parent.Torso | |
| 2237 | coroutine.resume(coroutine.create(function(Part) | |
| 2238 | swait(5) | |
| 2239 | end),ZTarget) | |
| 2240 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 2241 | targetgui=Instance.new("BillboardGui")
| |
| 2242 | targetgui.Parent=ZTarget | |
| 2243 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 2244 | targ=Instance.new("ImageLabel")
| |
| 2245 | targ.Parent=targetgui | |
| 2246 | targ.BackgroundTransparency=1 | |
| 2247 | targ.Image="rbxassetid://4834067" | |
| 2248 | targ.Size=UDim2.new(1,0,1,0) | |
| 2249 | cam.CameraType="Scriptable" | |
| 2250 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 2251 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 2252 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 2253 | Targetting=true | |
| 2254 | RocketTarget=ZTarget | |
| 2255 | for i=1,Property do | |
| 2256 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 2257 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 2258 | swait() | |
| 2259 | end | |
| 2260 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 2261 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 2262 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 2263 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 2264 | end | |
| 2265 | Targetting=false | |
| 2266 | RocketTarget=nil | |
| 2267 | targetgui.Parent=nil | |
| 2268 | cam.CameraType="Custom" | |
| 2269 | end | |
| 2270 | end | |
| 2271 | debounce=Instance.new("BoolValue")
| |
| 2272 | debounce.Name="DebounceHit" | |
| 2273 | debounce.Parent=hit.Parent | |
| 2274 | debounce.Value=true | |
| 2275 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 2276 | c=Instance.new("ObjectValue")
| |
| 2277 | c.Name="creator" | |
| 2278 | c.Value=Player | |
| 2279 | c.Parent=h | |
| 2280 | game:GetService("Debris"):AddItem(c,.5)
| |
| 2281 | CRIT=false | |
| 2282 | hitDeb=true | |
| 2283 | AttackPos=6 | |
| 2284 | end | |
| 2285 | end | |
| 2286 | ||
| 2287 | showDamage=function(Char,Dealt,du,Color) | |
| 2288 | m=Instance.new("Model")
| |
| 2289 | m.Name=tostring(Dealt) | |
| 2290 | h=Instance.new("Humanoid")
| |
| 2291 | h.Health=0 | |
| 2292 | h.MaxHealth=0 | |
| 2293 | h.Parent=m | |
| 2294 | c=Instance.new("Part")
| |
| 2295 | c.Transparency=0 | |
| 2296 | c.Material = "Neon" | |
| 2297 | c.BrickColor=bc("New Yeller")
| |
| 2298 | c.Name="Head" | |
| 2299 | c.TopSurface=0 | |
| 2300 | c.BottomSurface=0 | |
| 2301 | local tick = Instance.new("Sound",c)
| |
| 2302 | tick.SoundId = "rbxassetid://12221976" | |
| 2303 | tick.Volume = 5 | |
| 2304 | tick.Pitch = 4 | |
| 2305 | tick:Play() | |
| 2306 | c.formFactor="Plate" | |
| 2307 | c.Size=Vector3.new(1,.4,1) | |
| 2308 | ms=Instance.new("CylinderMesh")
| |
| 2309 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 2310 | if CRIT==true then | |
| 2311 | ms.Scale=Vector3.new(1,1.25,1) | |
| 2312 | end | |
| 2313 | ms.Parent=c | |
| 2314 | c.Reflectance=0 | |
| 2315 | Instance.new("BodyGyro").Parent=c
| |
| 2316 | c.Parent=m | |
| 2317 | if Char:findFirstChild("Head")~=nil then
| |
| 2318 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 2319 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 2320 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 2321 | end | |
| 2322 | f=Instance.new("BodyPosition")
| |
| 2323 | f.P=2000 | |
| 2324 | f.D=100 | |
| 2325 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 2326 | f.position=c.Position+Vector3.new(0,3,0) | |
| 2327 | f.Parent=c | |
| 2328 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 2329 | c.CanCollide=false | |
| 2330 | m.Parent=workspace | |
| 2331 | c.CanCollide=false | |
| 2332 | p:Destroy() | |
| 2333 | end | |
| 2334 | ||
| 2335 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
| 2336 | for _, c in pairs(workspace:children()) do | |
| 2337 | local hum = c:findFirstChild("Humanoid")
| |
| 2338 | if hum ~= nil then | |
| 2339 | local head = c:findFirstChild("Torso")
| |
| 2340 | if head ~= nil then | |
| 2341 | local targ = head.Position - Part.Position | |
| 2342 | local mag = targ.magnitude | |
| 2343 | if mag <= magni and c.Name ~= Player.Name then | |
| 2344 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
| 2345 | end | |
| 2346 | end | |
| 2347 | end | |
| 2348 | end | |
| 2349 | end | |
| 2350 | ||
| 2351 | function Explode(rad,par) | |
| 2352 | local expart = Instance.new("Part",script.Parent)
| |
| 2353 | local expart2 = Instance.new("Part",script.Parent)
| |
| 2354 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2355 | partMesh.MeshType = "Sphere" | |
| 2356 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2357 | partMesh2.MeshType = "Sphere" | |
| 2358 | local expld = Instance.new("Explosion", script.Parent)
| |
| 2359 | local plode = Instance.new("Sound",expart)
| |
| 2360 | plode.SoundId = "rbxassetid://165970126" | |
| 2361 | plode.Volume = 1 | |
| 2362 | plode.Pitch = 1 | |
| 2363 | plode.Looped = false | |
| 2364 | plode:Play() | |
| 2365 | expld.BlastRadius = rad | |
| 2366 | expld.Position = par.Position | |
| 2367 | partMesh.Scale = vt(rad,rad,rad) | |
| 2368 | expart.Size = vt(1,1,1)*1.5 | |
| 2369 | expart.Transparency = 0 | |
| 2370 | expart.Anchored = true | |
| 2371 | expart.Material = "Neon" | |
| 2372 | expart.BrickColor = bc("White")
| |
| 2373 | expart.CFrame = par.CFrame | |
| 2374 | partMesh2.Scale = vt(rad,rad,rad) | |
| 2375 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
| 2376 | expart2.Transparency = 0.5 | |
| 2377 | expart2.Anchored = true | |
| 2378 | expart2.Material = "Neon" | |
| 2379 | expart2.BrickColor = bc("New Yeller")
| |
| 2380 | expart2.CFrame = par.CFrame | |
| 2381 | local value = 1*rad/6.5 | |
| 2382 | par:Destroy() | |
| 2383 | for i = 0, 100 do | |
| 2384 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2385 | expart.CFrame = expart.CFrame | |
| 2386 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 2387 | expart2.CFrame = expart.CFrame | |
| 2388 | value = value - 0.035*rad/6.5 | |
| 2389 | if value < 1 then | |
| 2390 | value = 0.25 | |
| 2391 | expart.Transparency = expart.Transparency + 0.025 | |
| 2392 | expart2.Transparency = expart2.Transparency + 0.025 | |
| 2393 | end | |
| 2394 | wait() | |
| 2395 | end | |
| 2396 | plode.Parent = nil | |
| 2397 | expart.Parent = nil | |
| 2398 | expart2.Parent = nil | |
| 2399 | expld.Parent = nil | |
| 2400 | end | |
| 2401 | ||
| 2402 | function ExplodeMass(rad,par) | |
| 2403 | local expart = Instance.new("Part",script.Parent)
| |
| 2404 | local expart2 = Instance.new("Part",script.Parent)
| |
| 2405 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2406 | partMesh.MeshType = "Sphere" | |
| 2407 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2408 | partMesh2.MeshType = "Sphere" | |
| 2409 | local expld = Instance.new("Explosion", script.Parent)
| |
| 2410 | local plode = Instance.new("Sound",workspace)
| |
| 2411 | plode.SoundId = "rbxassetid://579687077" | |
| 2412 | plode.Volume = 1 | |
| 2413 | plode.Pitch = 0.85 | |
| 2414 | plode.Looped = false | |
| 2415 | plode:Play() | |
| 2416 | local plodez = Instance.new("Sound",workspace)
| |
| 2417 | plodez.SoundId = "rbxassetid://288641686" | |
| 2418 | plodez.Volume = 1 | |
| 2419 | plodez.Pitch = 0.75 | |
| 2420 | plodez.Looped = false | |
| 2421 | plodez:Play() | |
| 2422 | local plodeza = Instance.new("Sound",workspace)
| |
| 2423 | plodeza.SoundId = "rbxassetid://197161452" | |
| 2424 | plodeza.Volume = 0.85 | |
| 2425 | plodeza.Pitch = 0.65 | |
| 2426 | plodeza.Looped = false | |
| 2427 | plodeza:Play() | |
| 2428 | local plodezar = Instance.new("Sound",workspace)
| |
| 2429 | plodezar.SoundId = "rbxassetid://197161452" | |
| 2430 | plodezar.Volume = 0.85 | |
| 2431 | plodezar.Pitch = 0.25 | |
| 2432 | plodezar.Looped = false | |
| 2433 | plodezar:Play() | |
| 2434 | expld.BlastRadius = rad | |
| 2435 | expld.Position = par.Position | |
| 2436 | wait(0.5) | |
| 2437 | par:Destroy() | |
| 2438 | plode.Parent = nil | |
| 2439 | expart.Parent = nil | |
| 2440 | expart2.Parent = nil | |
| 2441 | expld.Parent = nil | |
| 2442 | end | |
| 2443 | function ExplodeMassen(rad,par) | |
| 2444 | local expart = Instance.new("Part",script.Parent)
| |
| 2445 | local expart2 = Instance.new("Part",script.Parent)
| |
| 2446 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 2447 | partMesh.MeshType = "Sphere" | |
| 2448 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 2449 | partMesh2.MeshType = "Sphere" | |
| 2450 | local expld = Instance.new("Explosion", script.Parent)
| |
| 2451 | local plode = Instance.new("Sound",workspace)
| |
| 2452 | plode.SoundId = "rbxassetid://579687077" | |
| 2453 | plode.Volume = 1 | |
| 2454 | plode.Pitch = 0.85 | |
| 2455 | plode.Looped = false | |
| 2456 | plode:Play() | |
| 2457 | local plodez = Instance.new("Sound",workspace)
| |
| 2458 | plodez.SoundId = "rbxassetid://288641686" | |
| 2459 | plodez.Volume = 1 | |
| 2460 | plodez.Pitch = 0.75 | |
| 2461 | plodez.Looped = false | |
| 2462 | plodez:Play() | |
| 2463 | local plodeza = Instance.new("Sound",workspace)
| |
| 2464 | plodeza.SoundId = "rbxassetid://197161452" | |
| 2465 | plodeza.Volume = 0.85 | |
| 2466 | plodeza.Pitch = 0.65 | |
| 2467 | plodeza.Looped = false | |
| 2468 | plodeza:Play() | |
| 2469 | local plodezar = Instance.new("Sound",workspace)
| |
| 2470 | plodezar.SoundId = "rbxassetid://197161452" | |
| 2471 | plodezar.Volume = 0.85 | |
| 2472 | plodezar.Pitch = 0.25 | |
| 2473 | plodezar.Looped = false | |
| 2474 | plodezar:Play() | |
| 2475 | expld.BlastRadius = rad | |
| 2476 | expld.Position = par.Position | |
| 2477 | partMesh.Scale = vt(rad,rad,rad) | |
| 2478 | expart.Size = vt(1,1,1)*1.5 | |
| 2479 | expart.Transparency = 0 | |
| 2480 | expart.Anchored = true | |
| 2481 | expart.Material = "Neon" | |
| 2482 | expart.BrickColor = bc("White")
| |
| 2483 | expart.CFrame = par.CFrame | |
| 2484 | partMesh2.Scale = vt(rad,rad,rad) | |
| 2485 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
| 2486 | expart2.Transparency = 0.5 | |
| 2487 | expart2.Anchored = true | |
| 2488 | expart2.Material = "Neon" | |
| 2489 | expart2.BrickColor = tors.BrickColor | |
| 2490 | expart2.CFrame = par.CFrame | |
| 2491 | local value = 1*rad/10 | |
| 2492 | par:Destroy() | |
| 2493 | for i = 0, 300 do | |
| 2494 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 2495 | expart.CFrame = expart.CFrame | |
| 2496 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 2497 | expart2.CFrame = expart.CFrame | |
| 2498 | value = value - 0.0175*rad/10 | |
| 2499 | if value <= 0 then | |
| 2500 | expart.Transparency = expart.Transparency + 0.0125 | |
| 2501 | expart2.Transparency = expart2.Transparency + 0.0125 | |
| 2502 | value = 0.25 | |
| 2503 | end | |
| 2504 | wait() | |
| 2505 | end | |
| 2506 | plode.Parent = nil | |
| 2507 | expart.Parent = nil | |
| 2508 | expart2.Parent = nil | |
| 2509 | expld.Parent = nil | |
| 2510 | end | |
| 2511 | local Ultramode = false | |
| 2512 | ||
| 2513 | function Transform() | |
| 2514 | if basiccooldown >= 5 then | |
| 2515 | hum.WalkSpeed = 0 | |
| 2516 | local sparta = Instance.new("Part",workspace)
| |
| 2517 | local msher = Instance.new("SpecialMesh",sparta)
| |
| 2518 | msher.MeshType = "Sphere" | |
| 2519 | msher.Scale = vt(1,1,1) | |
| 2520 | wit = BrickColor.new("Really black").Color
| |
| 2521 | local glowz = Instance.new("ParticleEmitter")
| |
| 2522 | glowz.LightEmission = 1 | |
| 2523 | glowz.Parent = sparta | |
| 2524 | glowz.Texture = "rbxassetid://284205403" | |
| 2525 | glowz.Color = ColorSequence.new(wit) | |
| 2526 | glowz.Size = NumberSequence.new(15) | |
| 2527 | glowz.Speed = NumberRange.new(100,250) | |
| 2528 | glowz.LockedToPart = false | |
| 2529 | glowz.Transparency = NumberSequence.new(0.75) | |
| 2530 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 2531 | glowz.Lifetime = NumberRange.new(1) | |
| 2532 | glowz.Rate = 50000 | |
| 2533 | glowz.VelocitySpread = 9001 | |
| 2534 | local sa2 = Instance.new("Sound",sparta)
| |
| 2535 | sa2.SoundId = "rbxassetid://93724183" | |
| 2536 | sa2.Pitch = 0.5 | |
| 2537 | sa2.Volume = 5 | |
| 2538 | sa2.Looped = false | |
| 2539 | sa2:Play() | |
| 2540 | local saz2 = Instance.new("Sound",sparta)
| |
| 2541 | saz2.SoundId = "rbxassetid://199145659" | |
| 2542 | saz2.Pitch = 0.45 | |
| 2543 | saz2.Volume = 5*2 | |
| 2544 | saz2.Looped = false | |
| 2545 | local plode = Instance.new("Sound",sparta)
| |
| 2546 | plode.SoundId = "rbxassetid://153274423" | |
| 2547 | plode.Volume = 5 | |
| 2548 | plode.Pitch = 1 | |
| 2549 | plode.Looped = false | |
| 2550 | local ploder = Instance.new("Sound",sparta)
| |
| 2551 | ploder.SoundId = "rbxassetid://130972023" | |
| 2552 | ploder.Volume = 5 | |
| 2553 | ploder.Pitch = 1 | |
| 2554 | ploder.Looped = false | |
| 2555 | sparta.Size = vt(1,1,1) | |
| 2556 | sparta.BrickColor = BrickColor.new("Really black")
| |
| 2557 | sparta.Material = "Neon" | |
| 2558 | sparta.Transparency = 0 | |
| 2559 | sparta.Anchored = true | |
| 2560 | sparta.CanCollide = false | |
| 2561 | sparta.CFrame = tors.CFrame | |
| 2562 | sparta.Rotation = vt(0,0,0) | |
| 2563 | local value2 = 2 | |
| 2564 | for i = 0, 24 do | |
| 2565 | value2 = value2 - 0.065 | |
| 2566 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2567 | wait() | |
| 2568 | end | |
| 2569 | for i = 0, 10 do | |
| 2570 | value2 = value2 + 0.06575 | |
| 2571 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2572 | wait() | |
| 2573 | end | |
| 2574 | for i = 0, 10 do | |
| 2575 | value2 = value2 - 0.2 | |
| 2576 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2577 | wait() | |
| 2578 | end | |
| 2579 | for i = 0, 10 do | |
| 2580 | value2 = value2 + 0.275 | |
| 2581 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2582 | wait() | |
| 2583 | end | |
| 2584 | for i = 0, 10 do | |
| 2585 | value2 = value2 - 0.4 | |
| 2586 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2587 | wait() | |
| 2588 | end | |
| 2589 | for i = 0, 10 do | |
| 2590 | value2 = value2 + 0.475 | |
| 2591 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2592 | wait() | |
| 2593 | end | |
| 2594 | for i = 0, 10 do | |
| 2595 | value2 = value2 - 0.6 | |
| 2596 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2597 | wait() | |
| 2598 | end | |
| 2599 | for i = 0, 10 do | |
| 2600 | value2 = value2 + 0.675 | |
| 2601 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2602 | wait() | |
| 2603 | end | |
| 2604 | for i = 0, 10 do | |
| 2605 | value2 = value2 - 0.7 | |
| 2606 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2607 | wait() | |
| 2608 | end | |
| 2609 | for i = 0, 10 do | |
| 2610 | value2 = value2 + 0.775 | |
| 2611 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2612 | wait() | |
| 2613 | end | |
| 2614 | saz2:Play() | |
| 2615 | wait(2.75) | |
| 2616 | plode:Play() | |
| 2617 | ploder:Play() | |
| 2618 | Ultramode = true | |
| 2619 | for i = 0, 75 do | |
| 2620 | value2 = value2 - 0.0575 | |
| 2621 | glowz.Rate = 0 | |
| 2622 | sparta.Transparency = sparta.Transparency + 0.025 | |
| 2623 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
| 2624 | wait() | |
| 2625 | end | |
| 2626 | hum.WalkSpeed = 99 | |
| 2627 | sparta:Destroy() | |
| 2628 | end | |
| 2629 | end | |
| 2630 | ||
| 2631 | ||
| 2632 | function Blaze2() | |
| 2633 | if ultcooldown >= 30 then | |
| 2634 | local sloc = Instance.new("Part",workspace)
| |
| 2635 | local msh = Instance.new("SpecialMesh",sloc)
| |
| 2636 | msh.MeshType = "Sphere" | |
| 2637 | sloc.Size = vt(1,1,1) | |
| 2638 | sloc.Transparency = 1 | |
| 2639 | sloc.BrickColor = tors.BrickColor | |
| 2640 | sloc.Position = hed.Position + vt(0,0.1,0) | |
| 2641 | sloc.CanCollide = false | |
| 2642 | sloc.Shape = "Ball" | |
| 2643 | sloc.Anchored = true | |
| 2644 | sloc.Material = "Neon" | |
| 2645 | local s = Instance.new("Sound",char)
| |
| 2646 | s.SoundId = "rbxassetid://289315275" | |
| 2647 | s.Pitch = 1 | |
| 2648 | s.Volume = 2.75 | |
| 2649 | s.Looped = false | |
| 2650 | s:Play() | |
| 2651 | local s2 = Instance.new("Sound",char)
| |
| 2652 | s2.SoundId = "rbxassetid://671759140" | |
| 2653 | s2.Pitch = 0.425 | |
| 2654 | s2.Volume = 1 | |
| 2655 | s2.Looped = false | |
| 2656 | s2:Play() | |
| 2657 | local val = 0.65*5 | |
| 2658 | for i = 0 , 75 do | |
| 2659 | sloc.Transparency = sloc.Transparency - 0.035 | |
| 2660 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 2661 | val = val - 0.0075*5 | |
| 2662 | wait() | |
| 2663 | end | |
| 2664 | wait(2) | |
| 2665 | local sen = Instance.new("Sound",char)
| |
| 2666 | sen.SoundId = "rbxassetid://289315275" | |
| 2667 | sen.Pitch = 1 | |
| 2668 | sen.Volume = 2.75 | |
| 2669 | sen.Looped = false | |
| 2670 | sen:Play() | |
| 2671 | local tick = Instance.new("Sound",char)
| |
| 2672 | tick.SoundId = "rbxassetid://446876721" | |
| 2673 | tick.Volume = 2.5 | |
| 2674 | tick.Pitch = 0.5 | |
| 2675 | tick:Play() | |
| 2676 | msh.Scale = msh.Scale - vt(1,1,1) | |
| 2677 | sloc.Transparency = sloc.Transparency + 0.015 | |
| 2678 | local spart = Instance.new("Part",workspace)
| |
| 2679 | local msh2 = Instance.new("SpecialMesh",spart)
| |
| 2680 | msh2.MeshType = "Sphere" | |
| 2681 | spart.Size = vt(2,2,2) | |
| 2682 | spart.Shape = "Ball" | |
| 2683 | spart.BrickColor = tors.BrickColor | |
| 2684 | spart.Material = "Neon" | |
| 2685 | spart.Transparency = 0 | |
| 2686 | spart.Anchored = false | |
| 2687 | msh2.Scale = msh.Scale/2 | |
| 2688 | spart.Rotation = hed.Rotation | |
| 2689 | spart.CanCollide = false | |
| 2690 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
| 2691 | local bv = Instance.new("BodyVelocity")
| |
| 2692 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2693 | bv.velocity = mouse.Hit.lookVector * 125 | |
| 2694 | bv.Parent = spart | |
| 2695 | sloc:Destroy() | |
| 2696 | wait(0.00001) | |
| 2697 | pewdiepie=spart.Touched:connect(function(hit) | |
| 2698 | ExplodeMassen(100,spart) | |
| 2699 | end) | |
| 2700 | wait(5) | |
| 2701 | sloc:Destroy() | |
| 2702 | tick:Destroy() | |
| 2703 | s:Destroy() | |
| 2704 | sen:Destroy() | |
| 2705 | s2:Destroy() | |
| 2706 | end | |
| 2707 | if ultcooldown < 1 then | |
| 2708 | for i = 0, 29 do | |
| 2709 | ultcooldown = ultcooldown + 1 | |
| 2710 | wait(1) | |
| 2711 | end | |
| 2712 | end | |
| 2713 | end | |
| 2714 | ||
| 2715 | function Blaze() | |
| 2716 | if ultcooldown >= 30 then | |
| 2717 | local ff = Instance.new("ForceField",char)
| |
| 2718 | local s = Instance.new("Sound",char)
| |
| 2719 | s.SoundId = "rbxassetid://289315275" | |
| 2720 | s.Pitch = 1 | |
| 2721 | s.Volume = 2.75 | |
| 2722 | s.Looped = false | |
| 2723 | s:Play() | |
| 2724 | local s2 = Instance.new("Sound",char)
| |
| 2725 | s2.SoundId = "rbxassetid://671759140" | |
| 2726 | s2.Pitch = 0.425 | |
| 2727 | s2.Volume = 1 | |
| 2728 | s2.Looped = false | |
| 2729 | s2:Play() | |
| 2730 | local spart = boll:Clone() | |
| 2731 | local spart2 = shur:Clone() | |
| 2732 | local msh = Instance.new("SpecialMesh",spart)
| |
| 2733 | msh.MeshType = "Sphere" | |
| 2734 | spart.Parent = workspace | |
| 2735 | spart.Transparency = 1 | |
| 2736 | spart.Anchored = true | |
| 2737 | spart.Position = tors.Position + vt(0,1,0) | |
| 2738 | spart.Size = spart.Size + vt(1,1,1) | |
| 2739 | for i = 0, 10 do | |
| 2740 | spart.BrickColor = tors.BrickColor | |
| 2741 | spart.Transparency = spart.Transparency + -0.05 | |
| 2742 | spart.Position = tors.Position + vt(0,1,0) | |
| 2743 | spart.Size = spart.Size + vt(3,3,3) | |
| 2744 | wait(0) | |
| 2745 | end | |
| 2746 | for i = 0, 5 do | |
| 2747 | spart.BrickColor = tors.BrickColor | |
| 2748 | spart.Transparency = spart.Transparency + -0.05 | |
| 2749 | spart.Position = tors.Position + vt(0,1,0) | |
| 2750 | spart.Size = spart.Size + vt(2.5,2.5,2.5) | |
| 2751 | wait(0) | |
| 2752 | end | |
| 2753 | for i = 0, 5 do | |
| 2754 | spart.BrickColor = tors.BrickColor | |
| 2755 | spart.Transparency = spart.Transparency + -0.05 | |
| 2756 | spart.Position = tors.Position + vt(0,1,0) | |
| 2757 | spart.Size = spart.Size + vt(1,1,1) | |
| 2758 | wait(0) | |
| 2759 | end | |
| 2760 | for i = 0, 10 do | |
| 2761 | spart.BrickColor = tors.BrickColor | |
| 2762 | wait(0.1) | |
| 2763 | end | |
| 2764 | for i = 0, 20 do | |
| 2765 | spart.BrickColor = tors.BrickColor | |
| 2766 | spart.Transparency = spart.Transparency + 0.05 | |
| 2767 | spart.Position = tors.Position + vt(0,1,0) | |
| 2768 | spart.Size = spart.Size + vt(-5,-5,-5) | |
| 2769 | wait(0) | |
| 2770 | end | |
| 2771 | local sp = spart:Clone() | |
| 2772 | sp.Parent = workspace | |
| 2773 | sp.Position = spart.Position | |
| 2774 | local sp2 = sp:Clone() | |
| 2775 | sp2.Parent = workspace | |
| 2776 | sp2.Transparency = 0.5 | |
| 2777 | local msh2 = sp2.Mesh | |
| 2778 | msh2.Scale = vt(1250,1250,1250) | |
| 2779 | wit = tors.BrickColor.Color | |
| 2780 | local glowz = Instance.new("ParticleEmitter")
| |
| 2781 | glowz.LightEmission = 0.75 | |
| 2782 | glowz.Parent = sp2 | |
| 2783 | glowz.Texture = "rbxassetid://284205403" | |
| 2784 | glowz.Color = ColorSequence.new(wit) | |
| 2785 | glowz.Size = NumberSequence.new(50) | |
| 2786 | glowz.Speed = NumberRange.new(425,450) | |
| 2787 | glowz.LockedToPart = false | |
| 2788 | glowz.Transparency = NumberSequence.new(0.75) | |
| 2789 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 2790 | glowz.Lifetime = NumberRange.new(1) | |
| 2791 | glowz.Rate = 50000 | |
| 2792 | glowz.VelocitySpread = 9001 | |
| 2793 | spart2.Parent = workspace | |
| 2794 | spart2.Mesh.Scale = vt(25, 90000, 25) | |
| 2795 | spart2.Position = tors.Position | |
| 2796 | local seen = Instance.new("Sound",char)
| |
| 2797 | seen.SoundId = "rbxassetid://445796828" | |
| 2798 | seen.Pitch = 0.75 | |
| 2799 | seen.Volume = 1.75 | |
| 2800 | seen.Looped = true | |
| 2801 | seen:Play() | |
| 2802 | local sen = Instance.new("Sound",char)
| |
| 2803 | sen.SoundId = "rbxassetid://289315275" | |
| 2804 | sen.Pitch = 0.98 | |
| 2805 | sen.Volume = 2.65 | |
| 2806 | sen.Looped = false | |
| 2807 | sen:Play() | |
| 2808 | local tick = Instance.new("Sound",char)
| |
| 2809 | tick.SoundId = "rbxassetid://446876721" | |
| 2810 | tick.Volume = 5 | |
| 2811 | tick.Pitch = 0.5 | |
| 2812 | tick:Play() | |
| 2813 | local seena = Instance.new("Sound",char)
| |
| 2814 | seena.SoundId = "rbxassetid://300916057" | |
| 2815 | seena.Pitch = 0.5 | |
| 2816 | seena.Volume = 2.5 | |
| 2817 | seena.Looped = false | |
| 2818 | seena:Play() | |
| 2819 | spart.Transparency = 0 | |
| 2820 | ExplodeMass(1000,sp) | |
| 2821 | for i = 0, 450 do | |
| 2822 | spart2.Position = spart.Position + vt(math.random(-1,1),0,math.random(-1,1)) | |
| 2823 | sp2.Position = spart.Position | |
| 2824 | spart2.Mesh.Scale = spart2.Mesh.Scale + vt(0.035, 0, 0.035) | |
| 2825 | spart2.BrickColor = tors.BrickColor | |
| 2826 | msh2.Scale = msh2.Scale + vt(3.5,3.5,3.5) | |
| 2827 | msh.Scale = msh.Scale + vt(50,50,50) | |
| 2828 | sp2.Transparency = sp2.Transparency + 0.0005 | |
| 2829 | spart.Transparency = spart.Transparency + 0.0025 | |
| 2830 | spart2.Transparency = spart2.Transparency + 0.0025 | |
| 2831 | wait(0) | |
| 2832 | end | |
| 2833 | spart:Destroy() | |
| 2834 | seena:Destroy() | |
| 2835 | ff:Destroy() | |
| 2836 | seen:Destroy() | |
| 2837 | sen:Destroy() | |
| 2838 | tick:Destroy() | |
| 2839 | spart2:Destroy() | |
| 2840 | s:Destroy() | |
| 2841 | sp:Destroy() | |
| 2842 | sp2:Destroy() | |
| 2843 | s2:Destroy() | |
| 2844 | end | |
| 2845 | if ultcooldown < 1 then | |
| 2846 | for i = 0, 29 do | |
| 2847 | ultcooldown = ultcooldown + 1 | |
| 2848 | wait(1) | |
| 2849 | end | |
| 2850 | end | |
| 2851 | end | |
| 2852 | ||
| 2853 | -- sin | |
| 2854 | Player=owner | |
| 2855 | Character=Player.Character | |
| 2856 | PlayerGui=Player.PlayerGui | |
| 2857 | Backpack=Player.Backpack | |
| 2858 | Torso=Character.Torso | |
| 2859 | Head=Character.Head | |
| 2860 | Humanoid=Character.Humanoid | |
| 2861 | m=Instance.new('Model',Character)
| |
| 2862 | LeftArm=Character["Left Arm"] | |
| 2863 | LeftLeg=Character["Left Leg"] | |
| 2864 | RightArm=Character["Right Arm"] | |
| 2865 | RightLeg=Character["Right Leg"] | |
| 2866 | LS=Torso["Left Shoulder"] | |
| 2867 | LH=Torso["Left Hip"] | |
| 2868 | RS=Torso["Right Shoulder"] | |
| 2869 | RH=Torso["Right Hip"] | |
| 2870 | Face = Head.face | |
| 2871 | Neck=Torso.Neck | |
| 2872 | it=Instance.new | |
| 2873 | attacktype=1 | |
| 2874 | vt=Vector3.new | |
| 2875 | cf=CFrame.new | |
| 2876 | euler=CFrame.fromEulerAnglesXYZ | |
| 2877 | angles=CFrame.Angles | |
| 2878 | cloaked=false | |
| 2879 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 2880 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 2881 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 2882 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 2883 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 2884 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 2885 | RootPart=Character.HumanoidRootPart | |
| 2886 | RootJoint=RootPart.RootJoint | |
| 2887 | RootCF=euler(-1.57,0,3.14) | |
| 2888 | attack = false | |
| 2889 | attackdebounce = false | |
| 2890 | deb=false | |
| 2891 | equipped=true | |
| 2892 | hand=false | |
| 2893 | MMouse=nil | |
| 2894 | combo=0 | |
| 2895 | mana=0 | |
| 2896 | trispeed=1 | |
| 2897 | pathtrans=.7 | |
| 2898 | attackmode='none' | |
| 2899 | local idle=0 | |
| 2900 | local Anim="Idle" | |
| 2901 | local Effects={}
| |
| 2902 | local gun=false | |
| 2903 | local shoot=false | |
| 2904 | player=nil | |
| 2905 | cloak=false | |
| 2906 | lightcolor='Bright blue' | |
| 2907 | ||
| 2908 | local Color1=BrickColor.new("Lime green")
| |
| 2909 | ||
| 2910 | local fengui=it("GuiMain")
| |
| 2911 | fengui.Parent=Player.PlayerGui | |
| 2912 | fengui.Name="WeaponGUI" | |
| 2913 | local fenframe=it("Frame")
| |
| 2914 | fenframe.Parent=fengui | |
| 2915 | fenframe.BackgroundColor3=Color3.new(255,255,255) | |
| 2916 | fenframe.BackgroundTransparency=1 | |
| 2917 | fenframe.BorderColor3=Color3.new(17,17,17) | |
| 2918 | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
| 2919 | fenframe.Position=UDim2.new(0.4,0,0.1,0) | |
| 2920 | local fenbarmana1=it("TextLabel")
| |
| 2921 | fenbarmana1.Parent=fenframe | |
| 2922 | fenbarmana1.Text=" " | |
| 2923 | fenbarmana1.BackgroundTransparency=0 | |
| 2924 | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) | |
| 2925 | fenbarmana1.SizeConstraint="RelativeXY" | |
| 2926 | fenbarmana1.TextXAlignment="Center" | |
| 2927 | fenbarmana1.TextYAlignment="Center" | |
| 2928 | fenbarmana1.Position=UDim2.new(0,0,0,0) | |
| 2929 | fenbarmana1.Size=UDim2.new(4,0,0.2,0) | |
| 2930 | local fenbarmana2=it("TextLabel")
| |
| 2931 | fenbarmana2.Parent=fenframe | |
| 2932 | fenbarmana2.Text=" " | |
| 2933 | fenbarmana2.BackgroundTransparency=0 | |
| 2934 | fenbarmana2.BackgroundColor3=Torso.Color | |
| 2935 | fenbarmana2.SizeConstraint="RelativeXY" | |
| 2936 | fenbarmana2.TextXAlignment="Center" | |
| 2937 | fenbarmana2.TextYAlignment="Center" | |
| 2938 | fenbarmana2.Position=UDim2.new(0,0,0,0) | |
| 2939 | fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0) | |
| 2940 | local fenbarmana3=it("TextLabel")
| |
| 2941 | fenbarmana3.Parent=fenframe | |
| 2942 | fenbarmana3.Text=" " | |
| 2943 | fenbarmana3.BackgroundTransparency=0 | |
| 2944 | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) | |
| 2945 | fenbarmana3.SizeConstraint="RelativeXY" | |
| 2946 | fenbarmana3.TextXAlignment="Center" | |
| 2947 | fenbarmana3.TextYAlignment="Center" | |
| 2948 | fenbarmana3.Position=UDim2.new(0,0,0,0) | |
| 2949 | fenbarmana3.Size=UDim2.new(0,0,0.2,0) | |
| 2950 | local fenbarmana4=it("TextLabel")
| |
| 2951 | fenbarmana4.Parent=fenframe | |
| 2952 | fenbarmana4.Text="Energy("..mana..")"
| |
| 2953 | fenbarmana4.BackgroundTransparency=1 | |
| 2954 | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) | |
| 2955 | fenbarmana4.SizeConstraint="RelativeXY" | |
| 2956 | fenbarmana4.TextXAlignment="Center" | |
| 2957 | fenbarmana4.TextYAlignment="Center" | |
| 2958 | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) | |
| 2959 | fenbarmana4.Size=UDim2.new(4,0,0.2,0) | |
| 2960 | fenbarmana4.FontSize="Size9" | |
| 2961 | fenbarmana4.TextStrokeTransparency=0 | |
| 2962 | fenbarmana4.TextColor=BrickColor.new("White")
| |
| 2963 | ||
| 2964 | --save shoulders | |
| 2965 | RSH, LSH=nil, nil | |
| 2966 | --welds | |
| 2967 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 2968 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 2969 | LH=Torso["Left Hip"] | |
| 2970 | RH=Torso["Right Hip"] | |
| 2971 | TorsoColor=BrickColor.new("Lime green")
| |
| 2972 | function NoOutline(Part) | |
| 2973 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 2974 | end | |
| 2975 | player=Player | |
| 2976 | ch=Character | |
| 2977 | RSH=ch.Torso["Right Shoulder"] | |
| 2978 | LSH=ch.Torso["Left Shoulder"] | |
| 2979 | -- | |
| 2980 | RSH.Parent=nil | |
| 2981 | LSH.Parent=nil | |
| 2982 | -- | |
| 2983 | RW.Name="Right Shoulder" | |
| 2984 | RW.Part0=ch.Torso | |
| 2985 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 2986 | RW.C1=cf(0, 0.5, 0) | |
| 2987 | RW.Part1=ch["Right Arm"] | |
| 2988 | RW.Parent=ch.Torso | |
| 2989 | -- | |
| 2990 | LW.Name="Left Shoulder" | |
| 2991 | LW.Part0=ch.Torso | |
| 2992 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 2993 | LW.C1=cf(0, 0.5, 0) | |
| 2994 | LW.Part1=ch["Left Arm"] | |
| 2995 | LW.Parent=ch.Torso | |
| 2996 | ||
| 2997 | ||
| 2998 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 2999 | local fp=it("Part")
| |
| 3000 | fp.formFactor=formfactor | |
| 3001 | fp.Parent=parent | |
| 3002 | fp.Reflectance=reflectance | |
| 3003 | fp.Transparency=transparency | |
| 3004 | fp.CanCollide=false | |
| 3005 | fp.Locked=true | |
| 3006 | fp.BrickColor=brickcolor | |
| 3007 | fp.Name=name | |
| 3008 | fp.Size=size | |
| 3009 | fp.Position=Torso.Position | |
| 3010 | NoOutline(fp) | |
| 3011 | fp.Material="Neon" | |
| 3012 | fp:BreakJoints() | |
| 3013 | return fp | |
| 3014 | end | |
| 3015 | ||
| 3016 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 3017 | local mesh=it(Mesh) | |
| 3018 | mesh.Parent=part | |
| 3019 | if Mesh=="SpecialMesh" then | |
| 3020 | mesh.MeshType=meshtype | |
| 3021 | if meshid~="nil" then | |
| 3022 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 3023 | end | |
| 3024 | end | |
| 3025 | mesh.Offset=offset | |
| 3026 | mesh.Scale=scale | |
| 3027 | return mesh | |
| 3028 | end | |
| 3029 | ||
| 3030 | function weld(parent,part0,part1,c0) | |
| 3031 | local weld=it("Weld")
| |
| 3032 | weld.Parent=parent | |
| 3033 | weld.Part0=part0 | |
| 3034 | weld.Part1=part1 | |
| 3035 | weld.C0=c0 | |
| 3036 | return weld | |
| 3037 | end | |
| 3038 | ||
| 3039 | local Color1=BrickColor.new("Lime green")
| |
| 3040 | ||
| 3041 | local bodvel=Instance.new("BodyVelocity")
| |
| 3042 | local bg=Instance.new("BodyGyro")
| |
| 3043 | ||
| 3044 | function swait(num) | |
| 3045 | if num==0 or num==nil then | |
| 3046 | game:service'RunService'.Stepped:wait(0) | |
| 3047 | else | |
| 3048 | for i=0,num do | |
| 3049 | game:service'RunService'.Stepped:wait(0) | |
| 3050 | end | |
| 3051 | end | |
| 3052 | end | |
| 3053 | ||
| 3054 | ||
| 3055 | so = function(id,par,vol,pit) | |
| 3056 | coroutine.resume(coroutine.create(function() | |
| 3057 | local sou = Instance.new("Sound",par or workspace)
| |
| 3058 | sou.Volume=vol | |
| 3059 | sou.Pitch=pit or 1 | |
| 3060 | sou.SoundId=id | |
| 3061 | swait() | |
| 3062 | sou:play() | |
| 3063 | game:GetService("Debris"):AddItem(sou,6)
| |
| 3064 | end)) | |
| 3065 | end | |
| 3066 | ||
| 3067 | function clerp(a,b,t) | |
| 3068 | local qa = {QuaternionFromCFrame(a)}
| |
| 3069 | local qb = {QuaternionFromCFrame(b)}
| |
| 3070 | local ax, ay, az = a.x, a.y, a.z | |
| 3071 | local bx, by, bz = b.x, b.y, b.z | |
| 3072 | local _t = 1-t | |
| 3073 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 3074 | end | |
| 3075 | ||
| 3076 | function QuaternionFromCFrame(cf) | |
| 3077 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 3078 | local trace = m00 + m11 + m22 | |
| 3079 | if trace > 0 then | |
| 3080 | local s = math.sqrt(1 + trace) | |
| 3081 | local recip = 0.5/s | |
| 3082 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 3083 | else | |
| 3084 | local i = 0 | |
| 3085 | if m11 > m00 then | |
| 3086 | i = 1 | |
| 3087 | end | |
| 3088 | if m22 > (i == 0 and m00 or m11) then | |
| 3089 | i = 2 | |
| 3090 | end | |
| 3091 | if i == 0 then | |
| 3092 | local s = math.sqrt(m00-m11-m22+1) | |
| 3093 | local recip = 0.5/s | |
| 3094 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 3095 | elseif i == 1 then | |
| 3096 | local s = math.sqrt(m11-m22-m00+1) | |
| 3097 | local recip = 0.5/s | |
| 3098 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 3099 | elseif i == 2 then | |
| 3100 | local s = math.sqrt(m22-m00-m11+1) | |
| 3101 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 3102 | end | |
| 3103 | end | |
| 3104 | end | |
| 3105 | ||
| 3106 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 3107 | local xs, ys, zs = x + x, y + y, z + z | |
| 3108 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 3109 | local xx = x*xs | |
| 3110 | local xy = x*ys | |
| 3111 | local xz = x*zs | |
| 3112 | local yy = y*ys | |
| 3113 | local yz = y*zs | |
| 3114 | local zz = z*zs | |
| 3115 | 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)) | |
| 3116 | end | |
| 3117 | ||
| 3118 | function QuaternionSlerp(a, b, t) | |
| 3119 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 3120 | local startInterp, finishInterp; | |
| 3121 | if cosTheta >= 0.0001 then | |
| 3122 | if (1 - cosTheta) > 0.0001 then | |
| 3123 | local theta = math.acos(cosTheta) | |
| 3124 | local invSinTheta = 1/math.sin(theta) | |
| 3125 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 3126 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 3127 | else | |
| 3128 | startInterp = 1-t | |
| 3129 | finishInterp = t | |
| 3130 | end | |
| 3131 | else | |
| 3132 | if (1+cosTheta) > 0.0001 then | |
| 3133 | local theta = math.acos(-cosTheta) | |
| 3134 | local invSinTheta = 1/math.sin(theta) | |
| 3135 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 3136 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 3137 | else | |
| 3138 | startInterp = t-1 | |
| 3139 | finishInterp = t | |
| 3140 | end | |
| 3141 | end | |
| 3142 | 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 | |
| 3143 | end | |
| 3144 | ||
| 3145 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 3146 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 3147 | end | |
| 3148 | ||
| 3149 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 3150 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3151 | prt.Anchored=true | |
| 3152 | prt.CFrame=cframe | |
| 3153 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 3154 | --http://www.roblox.com/asset/?id=4770560 | |
| 3155 | game:GetService("Debris"):AddItem(prt,2)
| |
| 3156 | CF=prt.CFrame | |
| 3157 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 3158 | for i=0,1,0.2 do | |
| 3159 | wait() | |
| 3160 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 3161 | end | |
| 3162 | for i=0,1,delay do | |
| 3163 | wait() | |
| 3164 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
| 3165 | Mesh.Scale=Mesh.Scale | |
| 3166 | end | |
| 3167 | for i=0,1,0.1 do | |
| 3168 | wait() | |
| 3169 | Part.Transparency=i | |
| 3170 | end | |
| 3171 | Part.Parent=nil | |
| 3172 | end),prt,msh,CF) | |
| 3173 | end | |
| 3174 | ||
| 3175 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 3176 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3177 | prt.Anchored=true | |
| 3178 | prt.CFrame=cframe | |
| 3179 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 3180 | game:GetService("Debris"):AddItem(prt,5)
| |
| 3181 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 3182 | for i=0,1,delay do | |
| 3183 | wait() | |
| 3184 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 3185 | Part.Transparency=i | |
| 3186 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3187 | end | |
| 3188 | Part.Parent=nil | |
| 3189 | end),prt,msh) | |
| 3190 | end | |
| 3191 | ||
| 3192 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 3193 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3194 | prt.Anchored=false | |
| 3195 | prt.CFrame=cframe | |
| 3196 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 3197 | local wld=weld(prt,prt,Parent,cframe) | |
| 3198 | game:GetService("Debris"):AddItem(prt,5)
| |
| 3199 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 3200 | for i=0,1,delay do | |
| 3201 | wait() | |
| 3202 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 3203 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 3204 | Part.Transparency=i | |
| 3205 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3206 | end | |
| 3207 | Part.Parent=nil | |
| 3208 | end),prt,msh,wld) | |
| 3209 | end | |
| 3210 | ||
| 3211 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 3212 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3213 | prt.Anchored=false | |
| 3214 | prt.CFrame=cframe | |
| 3215 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 3216 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 3217 | game:GetService("Debris"):AddItem(prt,5)
| |
| 3218 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 3219 | for i=0,1,delay do | |
| 3220 | wait() | |
| 3221 | Weld.C0=euler(i*20,0,0) | |
| 3222 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 3223 | Part.Transparency=i | |
| 3224 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3225 | end | |
| 3226 | Part.Parent=nil | |
| 3227 | end),prt,msh,wld) | |
| 3228 | end | |
| 3229 | ||
| 3230 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 3231 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3232 | prt.Anchored=true | |
| 3233 | prt.CFrame=cframe | |
| 3234 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 3235 | game:GetService("Debris"):AddItem(prt,2)
| |
| 3236 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 3237 | for i=0,1,delay do | |
| 3238 | wait() | |
| 3239 | Part.CFrame=Part.CFrame | |
| 3240 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3241 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3242 | prt2.Anchored=true | |
| 3243 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 3244 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 3245 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 3246 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 3247 | for i=0,1,0.1 do | |
| 3248 | wait() | |
| 3249 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 3250 | end | |
| 3251 | Part.Parent=nil | |
| 3252 | end),prt2,msh2) | |
| 3253 | end | |
| 3254 | for i=0,1,delay*2 do | |
| 3255 | wait() | |
| 3256 | Part.CFrame=Part.CFrame | |
| 3257 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 3258 | end | |
| 3259 | Part.Parent=nil | |
| 3260 | end),prt,msh) | |
| 3261 | end | |
| 3262 | ||
| 3263 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 3264 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3265 | prt.Anchored=true | |
| 3266 | prt.CFrame=cframe | |
| 3267 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 3268 | game:GetService("Debris"):AddItem(prt,2)
| |
| 3269 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 3270 | for i=0,1,delay do | |
| 3271 | wait() | |
| 3272 | Part.CFrame=Part.CFrame | |
| 3273 | Part.Transparency=i | |
| 3274 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3275 | end | |
| 3276 | Part.Parent=nil | |
| 3277 | end),prt,msh) | |
| 3278 | end | |
| 3279 | ||
| 3280 | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) | |
| 3281 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3282 | prt.Anchored=true | |
| 3283 | prt.CFrame=cframe*euler(x2,y2,z2) | |
| 3284 | --"http://www.roblox.com/asset/?id=168892465" | |
| 3285 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
| |
| 3286 | game:GetService("Debris"):AddItem(prt,2)
| |
| 3287 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 3288 | for i=0,1,0.03 do | |
| 3289 | wait() | |
| 3290 | Part.CFrame=Part.CFrame | |
| 3291 | Part.Transparency=i | |
| 3292 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3293 | end | |
| 3294 | Part.Parent=nil | |
| 3295 | end),prt,msh) | |
| 3296 | end | |
| 3297 | ||
| 3298 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 3299 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3300 | prt.Anchored=true | |
| 3301 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 3302 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 3303 | game:GetService("Debris"):AddItem(prt,2)
| |
| 3304 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 3305 | CF=Part.CFrame | |
| 3306 | Numbb=0 | |
| 3307 | randnumb=math.random()/10 | |
| 3308 | rand1=math.random()/10 | |
| 3309 | for i=0,1,rand1 do | |
| 3310 | wait() | |
| 3311 | CF=CF*cf(0,math.random()/2,0) | |
| 3312 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 3313 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 3314 | Part.Transparency=i | |
| 3315 | Numbb=Numbb+randnumb | |
| 3316 | end | |
| 3317 | Part.Parent=nil | |
| 3318 | end),prt,CF,Numbb,randnumb) | |
| 3319 | end | |
| 3320 | ||
| 3321 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 3322 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3323 | prt.Anchored=true | |
| 3324 | prt.CFrame=cframe | |
| 3325 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 3326 | game:GetService("Debris"):AddItem(prt,5)
| |
| 3327 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 3328 | for i=0,1,delay do | |
| 3329 | wait() | |
| 3330 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 3331 | Part.Transparency=i | |
| 3332 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3333 | end | |
| 3334 | Part.Parent=nil | |
| 3335 | end),prt,msh) | |
| 3336 | end | |
| 3337 | ||
| 3338 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 3339 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3340 | prt.Anchored=true | |
| 3341 | prt.CFrame=cframe | |
| 3342 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 3343 | game:GetService("Debris"):AddItem(prt,2)
| |
| 3344 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 3345 | for i=0,1,delay do | |
| 3346 | wait() | |
| 3347 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 3348 | Part.Transparency=i | |
| 3349 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 3350 | end | |
| 3351 | Part.Parent=nil | |
| 3352 | end),prt,msh) | |
| 3353 | end | |
| 3354 | ||
| 3355 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 3356 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 3357 | prt.Anchored=true | |
| 3358 | prt.CFrame=cframe*cf(x,y,z) | |
| 3359 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 3360 | game:GetService("Debris"):AddItem(prt,5)
| |
| 3361 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 3362 | local num=math.random() | |
| 3363 | local num2=math.random(-3,2)+math.random() | |
| 3364 | local numm=0 | |
| 3365 | for i=0,1,delay*2 do | |
| 3366 | swait() | |
| 3367 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 3368 | Part.Transparency=i | |
| 3369 | numm=numm+0.01 | |
| 3370 | end | |
| 3371 | Part.Parent=nil | |
| 3372 | Mesh.Parent=nil | |
| 3373 | end),prt,msh,x,y,z) | |
| 3374 | end | |
| 3375 | ||
| 3376 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 3377 | if hit.Parent==nil then | |
| 3378 | return | |
| 3379 | end | |
| 3380 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 3381 | for _,v in pairs(hit.Parent:children()) do | |
| 3382 | if v:IsA("Humanoid") then
| |
| 3383 | h=v | |
| 3384 | end | |
| 3385 | end | |
| 3386 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 3387 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 3388 | end | |
| 3389 | if hit.Parent.className=="Hat" then | |
| 3390 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 3391 | end | |
| 3392 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 3393 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 3394 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 3395 | return | |
| 3396 | end]] | |
| 3397 | -- hs(hit,1.2) | |
| 3398 | c=Instance.new("ObjectValue")
| |
| 3399 | c.Name="creator" | |
| 3400 | c.Value=owner | |
| 3401 | c.Parent=h | |
| 3402 | game:GetService("Debris"):AddItem(c,.5)
| |
| 3403 | Damage=math.random(minim,maxim) | |
| 3404 | -- h:TakeDamage(Damage) | |
| 3405 | blocked=false | |
| 3406 | block=hit.Parent:findFirstChild("Block")
| |
| 3407 | if block~=nil then | |
| 3408 | print(block.className) | |
| 3409 | if block.className=="NumberValue" then | |
| 3410 | if block.Value>0 then | |
| 3411 | blocked=true | |
| 3412 | if decreaseblock==nil then | |
| 3413 | block.Value=block.Value-1 | |
| 3414 | end | |
| 3415 | end | |
| 3416 | end | |
| 3417 | if block.className=="IntValue" then | |
| 3418 | if block.Value>0 then | |
| 3419 | blocked=true | |
| 3420 | if decreaseblock~=nil then | |
| 3421 | block.Value=block.Value-1 | |
| 3422 | end | |
| 3423 | end | |
| 3424 | end | |
| 3425 | end | |
| 3426 | if blocked==false then | |
| 3427 | -- h:TakeDamage(Damage) | |
| 3428 | h.Health=h.Health-Damage | |
| 3429 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
| 3430 | else | |
| 3431 | h.Health=h.Health-(Damage/2) | |
| 3432 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
| |
| 3433 | end | |
| 3434 | if Type=="Knockdown" then | |
| 3435 | hum=hit.Parent.Humanoid | |
| 3436 | hum.PlatformStand=true | |
| 3437 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 3438 | swait(1) | |
| 3439 | HHumanoid.PlatformStand=false | |
| 3440 | end),hum) | |
| 3441 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 3442 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 3443 | local bodvol=Instance.new("BodyVelocity")
| |
| 3444 | bodvol.velocity=angle*knockback | |
| 3445 | bodvol.P=5000 | |
| 3446 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 3447 | bodvol.Parent=hit | |
| 3448 | rl=Instance.new("BodyAngularVelocity")
| |
| 3449 | rl.P=3000 | |
| 3450 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 3451 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 3452 | rl.Parent=hit | |
| 3453 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 3454 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 3455 | elseif Type=="Normal" then | |
| 3456 | vp=Instance.new("BodyVelocity")
| |
| 3457 | vp.P=500 | |
| 3458 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 3459 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 3460 | if KnockbackType==1 then | |
| 3461 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 3462 | elseif KnockbackType==2 then | |
| 3463 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 3464 | end | |
| 3465 | if knockback>0 then | |
| 3466 | vp.Parent=hit.Parent.Torso | |
| 3467 | end | |
| 3468 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 3469 | elseif Type=="Up" then | |
| 3470 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 3471 | bodyVelocity.velocity=vt(0,10,0) | |
| 3472 | bodyVelocity.P=1000 | |
| 3473 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
| 3474 | bodyVelocity.Parent=hit | |
| 3475 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 3476 | rl=Instance.new("BodyAngularVelocity")
| |
| 3477 | rl.P=3000 | |
| 3478 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 3479 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 3480 | rl.Parent=hit | |
| 3481 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 3482 | elseif Type=="Snare" then | |
| 3483 | bp=Instance.new("BodyPosition")
| |
| 3484 | bp.P=2000 | |
| 3485 | bp.D=100 | |
| 3486 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 3487 | bp.position=hit.Parent.Torso.Position | |
| 3488 | bp.Parent=hit.Parent.Torso | |
| 3489 | game:GetService("Debris"):AddItem(bp,1)
| |
| 3490 | elseif Type=="Target" then | |
| 3491 | if Targetting==false then | |
| 3492 | ZTarget=hit.Parent.Torso | |
| 3493 | coroutine.resume(coroutine.create(function(Part) | |
| 3494 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 3495 | swait(5) | |
| 3496 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 3497 | end),ZTarget) | |
| 3498 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 3499 | targetgui=Instance.new("BillboardGui")
| |
| 3500 | targetgui.Parent=ZTarget | |
| 3501 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 3502 | targ=Instance.new("ImageLabel")
| |
| 3503 | targ.Parent=targetgui | |
| 3504 | targ.BackgroundTransparency=1 | |
| 3505 | targ.Image="rbxassetid://4834067" | |
| 3506 | targ.Size=UDim2.new(1,0,1,0) | |
| 3507 | cam.CameraType="Scriptable" | |
| 3508 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 3509 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 3510 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 3511 | Targetting=true | |
| 3512 | RocketTarget=ZTarget | |
| 3513 | for i=1,Property do | |
| 3514 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 3515 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 3516 | swait() | |
| 3517 | end | |
| 3518 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 3519 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 3520 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 3521 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 3522 | end | |
| 3523 | Targetting=false | |
| 3524 | RocketTarget=nil | |
| 3525 | targetgui.Parent=nil | |
| 3526 | cam.CameraType="Custom" | |
| 3527 | end | |
| 3528 | end | |
| 3529 | debounce=Instance.new("BoolValue")
| |
| 3530 | debounce.Name="DebounceHit" | |
| 3531 | debounce.Parent=hit.Parent | |
| 3532 | debounce.Value=true | |
| 3533 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 3534 | c=Instance.new("ObjectValue")
| |
| 3535 | c.Name="creator" | |
| 3536 | c.Value=Player | |
| 3537 | c.Parent=h | |
| 3538 | game:GetService("Debris"):AddItem(c,.5)
| |
| 3539 | CRIT=false | |
| 3540 | hitDeb=true | |
| 3541 | AttackPos=6 | |
| 3542 | end | |
| 3543 | end | |
| 3544 | ||
| 3545 | showDamage=function(Char,Dealt,du,Color) | |
| 3546 | m=Instance.new("Model")
| |
| 3547 | m.Name=tostring(Dealt) | |
| 3548 | h=Instance.new("Humanoid")
| |
| 3549 | h.Health=0 | |
| 3550 | h.MaxHealth=0 | |
| 3551 | h.Parent=m | |
| 3552 | c=Instance.new("Part")
| |
| 3553 | c.Transparency=0 | |
| 3554 | c.BrickColor=TorsoColor | |
| 3555 | c.Name="Head" | |
| 3556 | c.TopSurface=0 | |
| 3557 | c.BottomSurface=0 | |
| 3558 | c.formFactor="Plate" | |
| 3559 | c.Size=Vector3.new(1,.4,1) | |
| 3560 | ms=Instance.new("CylinderMesh")
| |
| 3561 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 3562 | so("http://www.roblox.com/asset/?id=199149269",c,1,1)
| |
| 3563 | if CRIT==true then | |
| 3564 | ms.Scale=Vector3.new(1,1.25,1) | |
| 3565 | end | |
| 3566 | ms.Parent=c | |
| 3567 | c.Reflectance=0 | |
| 3568 | Instance.new("BodyGyro").Parent=c
| |
| 3569 | c.Parent=m | |
| 3570 | if Char:findFirstChild("Head")~=nil then
| |
| 3571 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 3572 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 3573 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 3574 | end | |
| 3575 | f=Instance.new("BodyPosition")
| |
| 3576 | f.P=2000 | |
| 3577 | f.D=100 | |
| 3578 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 3579 | f.position=c.Position+Vector3.new(0,3,0) | |
| 3580 | f.Parent=c | |
| 3581 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 3582 | c.CanCollide=false | |
| 3583 | m.Parent=workspace | |
| 3584 | c.CanCollide=false | |
| 3585 | end | |
| 3586 | ||
| 3587 | Player=owner | |
| 3588 | Character=Player.Character | |
| 3589 | ||
| 3590 | m=Instance.new('Model',Character)
| |
| 3591 | ||
| 3592 | ||
| 3593 | local function weldBetween(a, b) | |
| 3594 | local weldd = Instance.new("ManualWeld")
| |
| 3595 | weldd.Part0 = a | |
| 3596 | weldd.Part1 = b | |
| 3597 | weldd.C0 = CFrame.new() | |
| 3598 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 3599 | weldd.Parent = a | |
| 3600 | return weldd | |
| 3601 | end | |
| 3602 | ||
| 3603 | it=Instance.new | |
| 3604 | ||
| 3605 | function nooutline(part) | |
| 3606 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 3607 | end | |
| 3608 | ||
| 3609 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 3610 | local fp=it("Part")
| |
| 3611 | fp.formFactor=formfactor | |
| 3612 | fp.Parent=parent | |
| 3613 | fp.Reflectance=reflectance | |
| 3614 | fp.Transparency=transparency | |
| 3615 | fp.CanCollide=false | |
| 3616 | fp.Locked=true | |
| 3617 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 3618 | fp.Name=name | |
| 3619 | fp.Size=size | |
| 3620 | fp.Position=Character.Torso.Position | |
| 3621 | nooutline(fp) | |
| 3622 | fp.Material=material | |
| 3623 | fp:BreakJoints() | |
| 3624 | return fp | |
| 3625 | end | |
| 3626 | ||
| 3627 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 3628 | local mesh=it(Mesh) | |
| 3629 | mesh.Parent=part | |
| 3630 | if Mesh=="SpecialMesh" then | |
| 3631 | mesh.MeshType=meshtype | |
| 3632 | mesh.MeshId=meshid | |
| 3633 | end | |
| 3634 | mesh.Offset=offset | |
| 3635 | mesh.Scale=scale | |
| 3636 | return mesh | |
| 3637 | end | |
| 3638 | ||
| 3639 | function weld(parent,part0,part1,c0,c1) | |
| 3640 | local weld=it("Weld")
| |
| 3641 | weld.Parent=parent | |
| 3642 | weld.Part0=part0 | |
| 3643 | weld.Part1=part1 | |
| 3644 | weld.C0=c0 | |
| 3645 | weld.C1=c1 | |
| 3646 | return weld | |
| 3647 | end | |
| 3648 | ||
| 3649 | local modelzorz=Instance.new("Model")
| |
| 3650 | modelzorz.Parent=Character | |
| 3651 | modelzorz.Name="Claw1" | |
| 3652 | ||
| 3653 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
| 3654 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
| 3655 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 3656 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3657 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
| 3658 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3659 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
| 3660 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3661 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3662 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
| 3663 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3664 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
| 3665 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3666 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
| 3667 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3668 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
| 3669 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3670 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
| 3671 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3672 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
| 3673 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3674 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
| 3675 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3676 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
| 3677 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3678 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
| 3679 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3680 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3681 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
| 3682 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3683 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
| 3684 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3685 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
| 3686 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
| 3687 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
| |
| 3688 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3689 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
| 3690 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3691 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3692 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
| 3693 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3694 | ||
| 3695 | local modelzorz2=Instance.new("Model")
| |
| 3696 | modelzorz2.Parent=Character | |
| 3697 | modelzorz2.Name="Claw2" | |
| 3698 | ||
| 3699 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
| 3700 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
| 3701 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 3702 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3703 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
| 3704 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3705 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
| 3706 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3707 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
| 3708 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3709 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
| 3710 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3711 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3712 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
| 3713 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3714 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3715 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
| 3716 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3717 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
| 3718 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3719 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3720 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
| 3721 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3722 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
| 3723 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3724 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3725 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
| 3726 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 3727 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
| 3728 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 3729 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3730 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
| 3731 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3732 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
| 3733 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3734 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
| 3735 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
| 3736 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
| 3737 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
| |
| 3738 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 3739 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
| 3740 | ||
| 3741 | local modelzorz3=Instance.new("Model")
| |
| 3742 | modelzorz3.Parent=Character | |
| 3743 | modelzorz3.Name="Eye" | |
| 3744 | ||
| 3745 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 3746 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 3747 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
| |
| 3748 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 3749 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 3750 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
| |
| 3751 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 3752 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 3753 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
| |
| 3754 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
| 3755 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
| 3756 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
| |
| 3757 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
| 3758 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
| 3759 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
| |
| 3760 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 3761 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
| 3762 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 3763 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 3764 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 3765 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
| 3766 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 3767 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
| 3768 | local moosick = it("Sound",Character)
| |
| 3769 | moosick.SoundId = "rbxassetid://2595535704" | |
| 3770 | --142653441, 175067863 | |
| 3771 | moosick.Looped = true | |
| 3772 | moosick.Pitch = 0.9775 | |
| 3773 | moosick.Volume = 1.5 | |
| 3774 | moosick:Play() | |
| 3775 | ||
| 3776 | anim = Character:findFirstChild("Animate")
| |
| 3777 | if anim then | |
| 3778 | anim:Destroy() | |
| 3779 | end | |
| 3780 | ||
| 3781 | local particleemitter = Instance.new("ParticleEmitter", Handle)
| |
| 3782 | particleemitter.VelocitySpread = 180 | |
| 3783 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 3784 | particleemitter.Speed = NumberRange.new(2) | |
| 3785 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
| |
| 3786 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 3787 | particleemitter.Rate = 100 | |
| 3788 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 3789 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 3790 | particleemitter.LightEmission = 0.8 | |
| 3791 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
| 3792 | ||
| 3793 | local particleemitter = Instance.new("ParticleEmitter", Handle2)
| |
| 3794 | particleemitter.VelocitySpread = 180 | |
| 3795 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 3796 | particleemitter.Speed = NumberRange.new(2) | |
| 3797 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
| |
| 3798 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 3799 | particleemitter.Rate = 100 | |
| 3800 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 3801 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 3802 | particleemitter.LightEmission = 0.8 | |
| 3803 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
| 3804 | ||
| 3805 | local particleemitter = Instance.new("ParticleEmitter", handle)
| |
| 3806 | particleemitter.VelocitySpread = 180 | |
| 3807 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 3808 | particleemitter.Speed = NumberRange.new(2) | |
| 3809 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
| |
| 3810 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 3811 | particleemitter.Rate = 100 | |
| 3812 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 3813 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 3814 | particleemitter.LightEmission = 0.8 | |
| 3815 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
| 3816 | ||
| 3817 | local light = Instance.new("PointLight", Character.Torso)
| |
| 3818 | light.Color = Color3.new(255,255,255) | |
| 3819 | light.Brightness = 5 | |
| 3820 | light.Range = 15 | |
| 3821 | ||
| 3822 | particleemitter.Enabled = true | |
| 3823 | ||
| 3824 | local Footsteps = it("Sound",Character.Torso)
| |
| 3825 | Footsteps.SoundId = "rbxassetid://142665235" | |
| 3826 | Footsteps.Looped = true | |
| 3827 | Footsteps.Pitch = 0.8 | |
| 3828 | Footsteps.Volume = 0.3 | |
| 3829 | ||
| 3830 | local Footsteps2 = it("Sound",Character.Torso)
| |
| 3831 | Footsteps2.SoundId = "rbxassetid://142665235" | |
| 3832 | Footsteps2.Looped = true | |
| 3833 | Footsteps2.Pitch = 1 | |
| 3834 | Footsteps2.Volume = 0.4 | |
| 3835 | ||
| 3836 | local cam = game.Workspace.CurrentCamera | |
| 3837 | ||
| 3838 | --cam.CameraSubject = Character | |
| 3839 | ||
| 3840 | for i,v in pairs(Head:children()) do | |
| 3841 | if v:IsA("Sound") then
| |
| 3842 | v:Destroy() | |
| 3843 | end | |
| 3844 | end | |
| 3845 | ||
| 3846 | mouse.Button1Down:connect(function() | |
| 3847 | if attack==false and attacktype==1 then | |
| 3848 | attacktype=2 | |
| 3849 | attackone() | |
| 3850 | elseif attack==false and attacktype==2 then | |
| 3851 | attacktype=3 | |
| 3852 | attacktwo() | |
| 3853 | elseif attack==false and attacktype==3 then | |
| 3854 | attacktype=4 | |
| 3855 | attackthree() | |
| 3856 | elseif attack==false and attacktype==4 then | |
| 3857 | attacktype=1 | |
| 3858 | attackfour() | |
| 3859 | end | |
| 3860 | end) | |
| 3861 | ||
| 3862 | mouse.KeyDown:connect(function(k) | |
| 3863 | k=k:lower() | |
| 3864 | if k=='e' then | |
| 3865 | if attack==false and mana>=20 then | |
| 3866 | Push() | |
| 3867 | end | |
| 3868 | elseif k=='g' then | |
| 3869 | if attack==false and mana>=50 then | |
| 3870 | Twirl() | |
| 3871 | end | |
| 3872 | elseif k=='v' then | |
| 3873 | if attack==false and mana>=25 then | |
| 3874 | MagicJump() | |
| 3875 | end | |
| 3876 | elseif k=='c' then | |
| 3877 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
| 3878 | attack=true | |
| 3879 | for i = 1, 40 do | |
| 3880 | swait() | |
| 3881 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
| 3882 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
| 3883 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
| 3884 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
| 3885 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
| 3886 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
| 3887 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
| 3888 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
| 3889 | end | |
| 3890 | Blaze() | |
| 3891 | attack = false | |
| 3892 | end | |
| 3893 | elseif k=='x' then | |
| 3894 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
| 3895 | attack=true | |
| 3896 | for i = 1, 15 do | |
| 3897 | swait() | |
| 3898 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
| 3899 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
| 3900 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
| 3901 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
| 3902 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
| 3903 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
| 3904 | RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35) | |
| 3905 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
| 3906 | end | |
| 3907 | so("http://www.roblox.com/asset/?id=163619849",workspace,2.5,0.35)
| |
| 3908 | so("http://www.roblox.com/asset/?id=299058146",workspace,2.5,0.65)
| |
| 3909 | for i = 0, 30 do | |
| 3910 | BlastEffect(BrickColor.new("Really black"),cf(tors.Position) * euler(0, math.random(-50, 50), 0) ,.9,5,.9,5,0.2,5)
| |
| 3911 | wait(0.1) | |
| 3912 | end | |
| 3913 | local parteffected = Instance.new("Part",tors)
| |
| 3914 | parteffected.Transparency = 1 | |
| 3915 | parteffected.Position = tors.Position | |
| 3916 | parteffected.CanCollide = false | |
| 3917 | parteffected.Anchored = true | |
| 3918 | so("http://www.roblox.com/asset/?id=153832545",workspace,0.5,0.5)
| |
| 3919 | so("http://www.roblox.com/asset/?id=165970126",workspace,1,0.4)
| |
| 3920 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,.9,.9,15,5,15)
| |
| 3921 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,15,15,15,0.05)
| |
| 3922 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,22.5,22.5,22.5,0.05)
| |
| 3923 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,25,.9,30,5,30)
| |
| 3924 | local sbs = Instance.new("BodyPosition", RootPart)
| |
| 3925 | sbs.P = 3000 | |
| 3926 | sbs.D = 1000 | |
| 3927 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
| 3928 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 2000, 0) | |
| 3929 | for i = 1, 40 do | |
| 3930 | swait() | |
| 3931 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
| 3932 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
| 3933 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
| 3934 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
| 3935 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
| 3936 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
| 3937 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
| 3938 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
| 3939 | end | |
| 3940 | wait(3) | |
| 3941 | Blaze2() | |
| 3942 | attack = false | |
| 3943 | parteffected:Destroy() | |
| 3944 | sbs:Destroy() | |
| 3945 | end | |
| 3946 | elseif k=='q' then | |
| 3947 | if attack==false then | |
| 3948 | idle=1000 | |
| 3949 | end | |
| 3950 | elseif k=='h' then | |
| 3951 | if attack==false then | |
| 3952 | mana=100 | |
| 3953 | end | |
| 3954 | elseif k=='y' then | |
| 3955 | if attack==false and mana>=100 then | |
| 3956 | Shred() | |
| 3957 | end | |
| 3958 | elseif k=='f' then | |
| 3959 | if attack==false and mana>=40 then | |
| 3960 | Spin() | |
| 3961 | end | |
| 3962 | elseif k=='r' then | |
| 3963 | if attack==false and mana>=20 then | |
| 3964 | Clap() | |
| 3965 | end | |
| 3966 | elseif k=='t' then | |
| 3967 | if attack==false then | |
| 3968 | Hai() | |
| 3969 | end | |
| 3970 | elseif k=='0' then | |
| 3971 | if attack==false then | |
| 3972 | Humanoid.WalkSpeed=(24) | |
| 3973 | end | |
| 3974 | elseif k=='j' then | |
| 3975 | if attack==false then | |
| 3976 | Humanoid.Health = 10 | |
| 3977 | print("Congrats, you commited suicide.")
| |
| 3978 | end | |
| 3979 | end | |
| 3980 | end) | |
| 3981 | ||
| 3982 | mouse.KeyDown:connect(function(k) | |
| 3983 | if k == "z" and Ultramode == false then | |
| 3984 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
| 3985 | attack = true | |
| 3986 | for i = 1, 15 do | |
| 3987 | swait() | |
| 3988 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
| 3989 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
| 3990 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
| 3991 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
| 3992 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
| 3993 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
| 3994 | RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35) | |
| 3995 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
| 3996 | end | |
| 3997 | m:Destroy() | |
| 3998 | local m = Instance.new("Model", Character)
| |
| 3999 | m.Name = "WeaponModel" | |
| 4000 | local parta = Instance.new("Part",Character)
| |
| 4001 | parta.Size = vt(10,10,10) | |
| 4002 | parta.BrickColor = BrickColor.new("Really black")
| |
| 4003 | parta.Material = "Neon" | |
| 4004 | parta.Shape = "Ball" | |
| 4005 | parta.Transparency = 0 | |
| 4006 | parta.Anchored = true | |
| 4007 | parta.CanCollide = false | |
| 4008 | parta.CFrame = tors.CFrame | |
| 4009 | Transform() | |
| 4010 | parta:Destroy() | |
| 4011 | ||
| 4012 | local modelzorzz=Instance.new("Model")
| |
| 4013 | modelzorzz.Parent=Character | |
| 4014 | modelzorzz.Name="Claw1" | |
| 4015 | ||
| 4016 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
| 4017 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
| 4018 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 4019 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4020 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
| 4021 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4022 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
| 4023 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4024 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4025 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
| 4026 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4027 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
| 4028 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4029 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
| 4030 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4031 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
| 4032 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4033 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
| 4034 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4035 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
| 4036 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4037 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
| 4038 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4039 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
| 4040 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4041 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
| 4042 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4043 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4044 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
| 4045 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4046 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
| 4047 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4048 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
| 4049 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
| 4050 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
| |
| 4051 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4052 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
| 4053 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4054 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4055 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
| 4056 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4057 | ||
| 4058 | local modelzorzz2=Instance.new("Model")
| |
| 4059 | modelzorzz2.Parent=Character | |
| 4060 | modelzorzz2.Name="Claw2" | |
| 4061 | ||
| 4062 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
| 4063 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
| 4064 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 4065 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4066 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
| 4067 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4068 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
| 4069 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4070 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
| 4071 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4072 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
| 4073 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4074 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4075 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
| 4076 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4077 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4078 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
| 4079 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4080 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
| 4081 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4082 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4083 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
| 4084 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4085 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
| 4086 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4087 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4088 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
| 4089 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 4090 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
| 4091 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2))
| |
| 4092 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4093 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
| 4094 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4095 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
| 4096 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4097 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
| 4098 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
| 4099 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
| 4100 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
| |
| 4101 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 4102 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
| 4103 | ||
| 4104 | local modelzorzz3=Instance.new("Model")
| |
| 4105 | modelzorzz3.Parent=Character | |
| 4106 | modelzorzz3.Name="Eye" | |
| 4107 | ||
| 4108 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 4109 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 4110 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
| |
| 4111 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 4112 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 4113 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
| |
| 4114 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 4115 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 4116 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
| |
| 4117 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
| 4118 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
| 4119 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
| |
| 4120 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
| 4121 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
| 4122 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
| |
| 4123 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 4124 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
| 4125 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 4126 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 4127 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 4128 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
| 4129 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 4130 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
| 4131 | ||
| 4132 | p = owner | |
| 4133 | char = p.Character | |
| 4134 | torso = char.Torso | |
| 4135 | neck = char.Torso.Neck | |
| 4136 | hum = char.Humanoid | |
| 4137 | hum.MaxHealth = 1527500 | |
| 4138 | wait() | |
| 4139 | hum.Health =hum.MaxHealth | |
| 4140 | ||
| 4141 | local particleemitter = Instance.new("ParticleEmitter", Handle)
| |
| 4142 | particleemitter.VelocitySpread = 180 | |
| 4143 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 4144 | particleemitter.Speed = NumberRange.new(2) | |
| 4145 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
| |
| 4146 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 4147 | particleemitter.Rate = 100 | |
| 4148 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 4149 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 4150 | particleemitter.LightEmission = 0.8 | |
| 4151 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
| 4152 | ||
| 4153 | local particleemitter = Instance.new("ParticleEmitter", Handle2)
| |
| 4154 | particleemitter.VelocitySpread = 180 | |
| 4155 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 4156 | particleemitter.Speed = NumberRange.new(2) | |
| 4157 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
| |
| 4158 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 4159 | particleemitter.Rate = 100 | |
| 4160 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 4161 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 4162 | particleemitter.LightEmission = 0.8 | |
| 4163 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
| 4164 | ||
| 4165 | local particleemitter = Instance.new("ParticleEmitter", handle)
| |
| 4166 | particleemitter.VelocitySpread = 180 | |
| 4167 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 4168 | particleemitter.Speed = NumberRange.new(2) | |
| 4169 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
| |
| 4170 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 4171 | particleemitter.Rate = 100 | |
| 4172 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 4173 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 4174 | particleemitter.LightEmission = 0.8 | |
| 4175 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
| 4176 | ||
| 4177 | particleemitter.Enabled = true | |
| 4178 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),75,75,75,35,35,35,0.025)
| |
| 4179 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),76,76,76,36,36,36,0.025)
| |
| 4180 | so("http://www.roblox.com/asset/?id=150829983",Character,3,0.475)
| |
| 4181 | so("http://www.roblox.com/asset/?id=231917742",Character,3,0.75)
| |
| 4182 | for i=0,1,0.005 do | |
| 4183 | swait() | |
| 4184 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
| 4185 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
| 4186 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
| 4187 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
| 4188 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
| 4189 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
| 4190 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
| 4191 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
| 4192 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
| 4193 | end | |
| 4194 | for i=0,1,0.04 do | |
| 4195 | swait() | |
| 4196 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
| 4197 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4198 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4199 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 4200 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
| 4201 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
| 4202 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 4203 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
| 4204 | end | |
| 4205 | attack = false | |
| 4206 | end | |
| 4207 | end | |
| 4208 | end) | |
| 4209 | ||
| 4210 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 4211 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 4212 | prt.Anchored=true | |
| 4213 | prt.CFrame=cframe | |
| 4214 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 4215 | game:GetService("Debris"):AddItem(prt,2)
| |
| 4216 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 4217 | for i=0,1,delay do | |
| 4218 | wait() | |
| 4219 | Part.CFrame=Part.CFrame | |
| 4220 | Part.Transparency=i | |
| 4221 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 4222 | end | |
| 4223 | Part.Parent=nil | |
| 4224 | end),prt,msh) | |
| 4225 | end | |
| 4226 | ||
| 4227 | TrailDeb = false | |
| 4228 | ||
| 4229 | function equipanim() | |
| 4230 | attack=true | |
| 4231 | Humanoid.WalkSpeed = 0 | |
| 4232 | if TrailDeb == false then | |
| 4233 | TrailDeb = true | |
| 4234 | end | |
| 4235 | ||
| 4236 | ||
| 4237 | coroutine.wrap(function() | |
| 4238 | local Old = handle.CFrame.p | |
| 4239 | while wait()do | |
| 4240 | if not TrailDeb then break end | |
| 4241 | local New = handle.CFrame.p | |
| 4242 | local Mag =(Old -New).magnitude | |
| 4243 | local Dis =(Old +New)/2 | |
| 4244 | local Trail = Instance.new("Part",Character)
| |
| 4245 | Trail.Material = "Neon" | |
| 4246 | Trail.Anchored = true | |
| 4247 | Trail.CanCollide = false | |
| 4248 | Trail.BrickColor = TorsoColor | |
| 4249 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4250 | Trail.TopSurface = 0 | |
| 4251 | Trail.BottomSurface = 0 | |
| 4252 | Trail.formFactor = "Custom" | |
| 4253 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4254 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4255 | ms.Scale = Vector3.new(1,1,1) | |
| 4256 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4257 | TM.Scale = Vector3.new(1,1,1) | |
| 4258 | Old = New | |
| 4259 | coroutine.wrap(function() | |
| 4260 | for i = 1,0,-0.1 do | |
| 4261 | wait() | |
| 4262 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4263 | end | |
| 4264 | Trail:remove() | |
| 4265 | end)() | |
| 4266 | coroutine.wrap(function() | |
| 4267 | for i = 1,10 do | |
| 4268 | wait() | |
| 4269 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4270 | end end)()end end)() | |
| 4271 | coroutine.wrap(function() | |
| 4272 | local Old = Handle.CFrame.p | |
| 4273 | while wait()do | |
| 4274 | if not TrailDeb then break end | |
| 4275 | local New = Handle.CFrame.p | |
| 4276 | local Mag =(Old -New).magnitude | |
| 4277 | local Dis =(Old +New)/2 | |
| 4278 | local Trail = Instance.new("Part",Character)
| |
| 4279 | Trail.Material = "Neon" | |
| 4280 | Trail.Anchored = true | |
| 4281 | Trail.CanCollide = false | |
| 4282 | Trail.BrickColor = TorsoColor | |
| 4283 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4284 | Trail.TopSurface = 0 | |
| 4285 | Trail.BottomSurface = 0 | |
| 4286 | Trail.formFactor = "Custom" | |
| 4287 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4288 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4289 | ms.Scale = Vector3.new(1,1,1) | |
| 4290 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4291 | TM.Scale = Vector3.new(1,1,1) | |
| 4292 | Old = New | |
| 4293 | coroutine.wrap(function() | |
| 4294 | for i = 1,0,-0.1 do | |
| 4295 | wait() | |
| 4296 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4297 | end | |
| 4298 | Trail:remove() | |
| 4299 | end)() | |
| 4300 | coroutine.wrap(function() | |
| 4301 | for i = 1,10 do | |
| 4302 | wait() | |
| 4303 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4304 | end end)()end end)() | |
| 4305 | coroutine.wrap(function() | |
| 4306 | local Old = Handle2.CFrame.p | |
| 4307 | while wait()do | |
| 4308 | if not TrailDeb then break end | |
| 4309 | local New = Handle2.CFrame.p | |
| 4310 | local Mag =(Old -New).magnitude | |
| 4311 | local Dis =(Old +New)/2 | |
| 4312 | local Trail = Instance.new("Part",Character)
| |
| 4313 | Trail.Material = "Neon" | |
| 4314 | Trail.Anchored = true | |
| 4315 | Trail.CanCollide = false | |
| 4316 | Trail.BrickColor = TorsoColor | |
| 4317 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4318 | Trail.TopSurface = 0 | |
| 4319 | Trail.BottomSurface = 0 | |
| 4320 | Trail.formFactor = "Custom" | |
| 4321 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4322 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4323 | ms.Scale = Vector3.new(1,1,1) | |
| 4324 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4325 | TM.Scale = Vector3.new(1,1,1) | |
| 4326 | Old = New | |
| 4327 | coroutine.wrap(function() | |
| 4328 | for i = 1,0,-0.1 do | |
| 4329 | wait() | |
| 4330 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4331 | end | |
| 4332 | Trail:remove() | |
| 4333 | end)() | |
| 4334 | coroutine.wrap(function() | |
| 4335 | for i = 1,10 do | |
| 4336 | wait() | |
| 4337 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4338 | end end)()end end)() | |
| 4339 | so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
| |
| 4340 | for i=0,1,0.005 do | |
| 4341 | swait() | |
| 4342 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2) | |
| 4343 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
| 4344 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 4345 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 4346 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 4347 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
| 4348 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
| 4349 | end | |
| 4350 | for i=0,1,0.005 do | |
| 4351 | swait() | |
| 4352 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2) | |
| 4353 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
| 4354 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 4355 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 4356 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 4357 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
| 4358 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
| 4359 | end | |
| 4360 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
| |
| 4361 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
| |
| 4362 | for i=0,1,0.005 do | |
| 4363 | swait() | |
| 4364 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
| 4365 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
| 4366 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
| 4367 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
| 4368 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
| 4369 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
| 4370 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
| 4371 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
| 4372 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
| 4373 | end | |
| 4374 | for i=0,1,0.04 do | |
| 4375 | swait() | |
| 4376 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
| 4377 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4378 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4379 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 4380 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
| 4381 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
| 4382 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 4383 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
| 4384 | end | |
| 4385 | --dmgstop() | |
| 4386 | attack=false | |
| 4387 | Humanoid.WalkSpeed = 12 | |
| 4388 | if TrailDeb == true then | |
| 4389 | TrailDeb = false | |
| 4390 | end | |
| 4391 | end | |
| 4392 | ||
| 4393 | function attackone() | |
| 4394 | attack=true | |
| 4395 | if TrailDeb == false then | |
| 4396 | TrailDeb = true | |
| 4397 | end | |
| 4398 | ||
| 4399 | ||
| 4400 | coroutine.wrap(function() | |
| 4401 | local Old = Handle.CFrame.p | |
| 4402 | while wait()do | |
| 4403 | if not TrailDeb then break end | |
| 4404 | local New = Handle.CFrame.p | |
| 4405 | local Mag =(Old -New).magnitude | |
| 4406 | local Dis =(Old +New)/2 | |
| 4407 | local Trail = Instance.new("Part",Character)
| |
| 4408 | Trail.Material = "Neon" | |
| 4409 | Trail.Anchored = true | |
| 4410 | Trail.CanCollide = false | |
| 4411 | Trail.BrickColor = TorsoColor | |
| 4412 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4413 | Trail.TopSurface = 0 | |
| 4414 | Trail.BottomSurface = 0 | |
| 4415 | Trail.formFactor = "Custom" | |
| 4416 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4417 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4418 | ms.Scale = Vector3.new(1,1,1) | |
| 4419 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4420 | TM.Scale = Vector3.new(1,1,1) | |
| 4421 | Old = New | |
| 4422 | coroutine.wrap(function() | |
| 4423 | for i = 1,0,-0.1 do | |
| 4424 | wait() | |
| 4425 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4426 | end | |
| 4427 | Trail:remove() | |
| 4428 | end)() | |
| 4429 | coroutine.wrap(function() | |
| 4430 | for i = 1,10 do | |
| 4431 | wait() | |
| 4432 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4433 | end end)()end end)() | |
| 4434 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 4435 | for i=0,1,0.08 do | |
| 4436 | swait() | |
| 4437 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
| 4438 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
| 4439 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4440 | Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 4441 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4442 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
| 4443 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 4444 | end | |
| 4445 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
| |
| 4446 | so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
| |
| 4447 | for i=0,1,0.1 do | |
| 4448 | swait() | |
| 4449 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
| 4450 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 4451 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4452 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
| 4453 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4454 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
| 4455 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 4456 | end | |
| 4457 | --dmgstop() | |
| 4458 | attack=false | |
| 4459 | con1:disconnect() | |
| 4460 | if TrailDeb == true then | |
| 4461 | TrailDeb = false | |
| 4462 | end | |
| 4463 | end | |
| 4464 | ||
| 4465 | function attacktwo() | |
| 4466 | attack=true | |
| 4467 | if TrailDeb == false then | |
| 4468 | TrailDeb = true | |
| 4469 | end | |
| 4470 | ||
| 4471 | ||
| 4472 | coroutine.wrap(function() | |
| 4473 | local Old = Handle2.CFrame.p | |
| 4474 | while wait()do | |
| 4475 | if not TrailDeb then break end | |
| 4476 | local New = Handle2.CFrame.p | |
| 4477 | local Mag =(Old -New).magnitude | |
| 4478 | local Dis =(Old +New)/2 | |
| 4479 | local Trail = Instance.new("Part",Character)
| |
| 4480 | Trail.Material = "Neon" | |
| 4481 | Trail.Anchored = true | |
| 4482 | Trail.CanCollide = false | |
| 4483 | Trail.BrickColor = TorsoColor | |
| 4484 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4485 | Trail.TopSurface = 0 | |
| 4486 | Trail.BottomSurface = 0 | |
| 4487 | Trail.formFactor = "Custom" | |
| 4488 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4489 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4490 | ms.Scale = Vector3.new(1,1,1) | |
| 4491 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4492 | TM.Scale = Vector3.new(1,1,1) | |
| 4493 | Old = New | |
| 4494 | coroutine.wrap(function() | |
| 4495 | for i = 1,0,-0.1 do | |
| 4496 | wait() | |
| 4497 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4498 | end | |
| 4499 | Trail:remove() | |
| 4500 | end)() | |
| 4501 | coroutine.wrap(function() | |
| 4502 | for i = 1,10 do | |
| 4503 | wait() | |
| 4504 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4505 | end end)()end end)() | |
| 4506 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 4507 | for i=0,1,0.08 do | |
| 4508 | swait() | |
| 4509 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
| 4510 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 4511 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4512 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
| 4513 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4514 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
| 4515 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
| 4516 | end | |
| 4517 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
| |
| 4518 | so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
| |
| 4519 | for i=0,1,0.1 do | |
| 4520 | swait() | |
| 4521 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 4522 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
| 4523 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4524 | Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) | |
| 4525 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4526 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
| 4527 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
| 4528 | end | |
| 4529 | --dmgstop() | |
| 4530 | attack=false | |
| 4531 | con1:disconnect() | |
| 4532 | if TrailDeb == true then | |
| 4533 | TrailDeb = false | |
| 4534 | end | |
| 4535 | end | |
| 4536 | ||
| 4537 | function attackthree() | |
| 4538 | attack=true | |
| 4539 | if TrailDeb == false then | |
| 4540 | TrailDeb = true | |
| 4541 | end | |
| 4542 | ||
| 4543 | ||
| 4544 | coroutine.wrap(function() | |
| 4545 | local Old = Handle.CFrame.p | |
| 4546 | while wait()do | |
| 4547 | if not TrailDeb then break end | |
| 4548 | local New = Handle.CFrame.p | |
| 4549 | local Mag =(Old -New).magnitude | |
| 4550 | local Dis =(Old +New)/2 | |
| 4551 | local Trail = Instance.new("Part",Character)
| |
| 4552 | Trail.Material = "Neon" | |
| 4553 | Trail.Anchored = true | |
| 4554 | Trail.CanCollide = false | |
| 4555 | Trail.BrickColor = TorsoColor | |
| 4556 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4557 | Trail.TopSurface = 0 | |
| 4558 | Trail.BottomSurface = 0 | |
| 4559 | Trail.formFactor = "Custom" | |
| 4560 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4561 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4562 | ms.Scale = Vector3.new(1,1,1) | |
| 4563 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4564 | TM.Scale = Vector3.new(1,1,1) | |
| 4565 | Old = New | |
| 4566 | coroutine.wrap(function() | |
| 4567 | for i = 1,0,-0.1 do | |
| 4568 | wait() | |
| 4569 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4570 | end | |
| 4571 | Trail:remove() | |
| 4572 | end)() | |
| 4573 | coroutine.wrap(function() | |
| 4574 | for i = 1,10 do | |
| 4575 | wait() | |
| 4576 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4577 | end end)()end end)() | |
| 4578 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) | |
| 4579 | for i=0,1,0.08 do | |
| 4580 | swait() | |
| 4581 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 4582 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 4583 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4584 | Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) | |
| 4585 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4586 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3) | |
| 4587 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 4588 | end | |
| 4589 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 4590 | so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
| |
| 4591 | for i=0,1,0.05 do | |
| 4592 | swait() | |
| 4593 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 4594 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 4595 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4596 | Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) | |
| 4597 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4598 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) | |
| 4599 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 4600 | end | |
| 4601 | --dmgstop() | |
| 4602 | attack=false | |
| 4603 | con1:disconnect() | |
| 4604 | if TrailDeb == true then | |
| 4605 | TrailDeb = false | |
| 4606 | end | |
| 4607 | end | |
| 4608 | ||
| 4609 | function attackfour() | |
| 4610 | attack=true | |
| 4611 | if TrailDeb == false then | |
| 4612 | TrailDeb = true | |
| 4613 | end | |
| 4614 | ||
| 4615 | ||
| 4616 | coroutine.wrap(function() | |
| 4617 | local Old = Handle2.CFrame.p | |
| 4618 | while wait()do | |
| 4619 | if not TrailDeb then break end | |
| 4620 | local New = Handle2.CFrame.p | |
| 4621 | local Mag =(Old -New).magnitude | |
| 4622 | local Dis =(Old +New)/2 | |
| 4623 | local Trail = Instance.new("Part",Character)
| |
| 4624 | Trail.Material = "Neon" | |
| 4625 | Trail.Anchored = true | |
| 4626 | Trail.CanCollide = false | |
| 4627 | Trail.BrickColor = TorsoColor | |
| 4628 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4629 | Trail.TopSurface = 0 | |
| 4630 | Trail.BottomSurface = 0 | |
| 4631 | Trail.formFactor = "Custom" | |
| 4632 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4633 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4634 | ms.Scale = Vector3.new(1,1,1) | |
| 4635 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4636 | TM.Scale = Vector3.new(1,1,1) | |
| 4637 | Old = New | |
| 4638 | coroutine.wrap(function() | |
| 4639 | for i = 1,0,-0.1 do | |
| 4640 | wait() | |
| 4641 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4642 | end | |
| 4643 | Trail:remove() | |
| 4644 | end)() | |
| 4645 | coroutine.wrap(function() | |
| 4646 | for i = 1,10 do | |
| 4647 | wait() | |
| 4648 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4649 | end end)()end end)() | |
| 4650 | coroutine.wrap(function() | |
| 4651 | local Old = Handle.CFrame.p | |
| 4652 | while wait()do | |
| 4653 | if not TrailDeb then break end | |
| 4654 | local New = Handle.CFrame.p | |
| 4655 | local Mag =(Old -New).magnitude | |
| 4656 | local Dis =(Old +New)/2 | |
| 4657 | local Trail = Instance.new("Part",Character)
| |
| 4658 | Trail.Material = "Neon" | |
| 4659 | Trail.Anchored = true | |
| 4660 | Trail.CanCollide = false | |
| 4661 | Trail.BrickColor = TorsoColor | |
| 4662 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4663 | Trail.TopSurface = 0 | |
| 4664 | Trail.BottomSurface = 0 | |
| 4665 | Trail.formFactor = "Custom" | |
| 4666 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4667 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4668 | ms.Scale = Vector3.new(1,1,1) | |
| 4669 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4670 | TM.Scale = Vector3.new(1,1,1) | |
| 4671 | Old = New | |
| 4672 | coroutine.wrap(function() | |
| 4673 | for i = 1,0,-0.1 do | |
| 4674 | wait() | |
| 4675 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4676 | end | |
| 4677 | Trail:remove() | |
| 4678 | end)() | |
| 4679 | coroutine.wrap(function() | |
| 4680 | for i = 1,10 do | |
| 4681 | wait() | |
| 4682 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4683 | end end)()end end)() | |
| 4684 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 4685 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 4686 | for i=0,1,0.08 do | |
| 4687 | swait() | |
| 4688 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
| 4689 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4690 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4691 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 4692 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
| 4693 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
| 4694 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 4695 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
| 4696 | end | |
| 4697 | if anim then | |
| 4698 | anim.Disabled=true | |
| 4699 | end | |
| 4700 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
| |
| 4701 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
| |
| 4702 | for i=0,1,0.04 do | |
| 4703 | swait() | |
| 4704 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
| 4705 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) | |
| 4706 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4707 | Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4708 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 4709 | RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 4710 | LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 4711 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 4712 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 4713 | end | |
| 4714 | --dmgstop() | |
| 4715 | attack=false | |
| 4716 | con1:disconnect() | |
| 4717 | con2:disconnect() | |
| 4718 | if anim then | |
| 4719 | anim.Disabled=false | |
| 4720 | end | |
| 4721 | if TrailDeb == true then | |
| 4722 | TrailDeb = false | |
| 4723 | end | |
| 4724 | end | |
| 4725 | ||
| 4726 | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
| 4727 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 4728 | prt.Anchored = true | |
| 4729 | prt.CFrame = cframe | |
| 4730 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 4731 | coroutine.resume(coroutine.create(function() | |
| 4732 | for i = 0, 1, 0.05 do | |
| 4733 | wait() | |
| 4734 | prt.Transparency = i | |
| 4735 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
| 4736 | end | |
| 4737 | prt.Parent = nil | |
| 4738 | end)) | |
| 4739 | end | |
| 4740 | ||
| 4741 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
| 4742 | for _, c in pairs(workspace:children()) do | |
| 4743 | local hum = c:findFirstChild("Humanoid")
| |
| 4744 | if hum ~= nil then | |
| 4745 | local head = c:findFirstChild("Torso")
| |
| 4746 | if head ~= nil then | |
| 4747 | local targ = head.Position - Part.Position | |
| 4748 | local mag = targ.magnitude | |
| 4749 | if mag <= magni and c.Name ~= Player.Name then | |
| 4750 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
| 4751 | end | |
| 4752 | end | |
| 4753 | end | |
| 4754 | end | |
| 4755 | end | |
| 4756 | ||
| 4757 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 4758 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 4759 | prt.Anchored = true | |
| 4760 | prt.CFrame = cframe | |
| 4761 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 4762 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 4763 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 4764 | for i = 0, 1, delay do | |
| 4765 | swait() | |
| 4766 | Part.CFrame = Part.CFrame | |
| 4767 | Part.Transparency = i | |
| 4768 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 4769 | end | |
| 4770 | Part.Parent = nil | |
| 4771 | end), prt, msh) | |
| 4772 | end | |
| 4773 | ||
| 4774 | function MagicJump() | |
| 4775 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
| 4776 | attack=true | |
| 4777 | mana=mana-25 | |
| 4778 | --[[ Humanoid.WalkSpeed = 0 | |
| 4779 | for i=0,1,0.01 do | |
| 4780 | swait() | |
| 4781 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1) | |
| 4782 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1) | |
| 4783 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
| 4784 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1) | |
| 4785 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1) | |
| 4786 | RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1) | |
| 4787 | LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1) | |
| 4788 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1) | |
| 4789 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1) | |
| 4790 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1) | |
| 4791 | end]]-- | |
| 4792 | Humanoid.Jump = true | |
| 4793 | Torso.Velocity = vt(0, 150, 0) | |
| 4794 | Humanoid.WalkSpeed = 64 | |
| 4795 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
| |
| 4796 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
| |
| 4797 | for i=0,1,0.05 do | |
| 4798 | swait() | |
| 4799 | Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3) | |
| 4800 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 4801 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3) | |
| 4802 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
| 4803 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
| 4804 | RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
| 4805 | LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
| 4806 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
| 4807 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2) | |
| 4808 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2) | |
| 4809 | end | |
| 4810 | for i=0,1,0.02 do | |
| 4811 | swait() | |
| 4812 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
| 4813 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 4814 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
| 4815 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
| 4816 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 4817 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
| 4818 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 4819 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
| 4820 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
| 4821 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4822 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
| 4823 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
| 4824 | end | |
| 4825 | Humanoid.WalkSpeed = 0 | |
| 4826 | swait(8) | |
| 4827 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
| |
| 4828 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
| |
| 4829 | local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) | |
| 4830 | if hit~=nil then | |
| 4831 | swait(2) | |
| 4832 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
| |
| 4833 | ref.Anchored=true | |
| 4834 | ref.CFrame=cf(pos) | |
| 4835 | game:GetService("Debris"):AddItem(ref,3)
| |
| 4836 | for i=1,10 do | |
| 4837 | local Col=BrickColor.new("Really black")
| |
| 4838 | local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
| 4839 | groundpart.Anchored=true | |
| 4840 | groundpart.CanCollide=false | |
| 4841 | groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 4842 | local Col2=TorsoColor | |
| 4843 | local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
| 4844 | groundpart2.Anchored=true | |
| 4845 | groundpart2.CanCollide=false | |
| 4846 | groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 4847 | game:GetService("Debris"):AddItem(groundpart,5)
| |
| 4848 | game:GetService("Debris"):AddItem(groundpart2,5)
| |
| 4849 | end | |
| 4850 | BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4) | |
| 4851 | BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
| |
| 4852 | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
| |
| 4853 | MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05) | |
| 4854 | for i=0,1,0.06 do | |
| 4855 | swait() | |
| 4856 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
| 4857 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 4858 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3) | |
| 4859 | RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3) | |
| 4860 | LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3) | |
| 4861 | RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 4862 | LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 4863 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 4864 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
| 4865 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
| 4866 | end | |
| 4867 | end | |
| 4868 | swait(20) | |
| 4869 | Humanoid.WalkSpeed = 12 | |
| 4870 | --dmgstop() | |
| 4871 | attack=false | |
| 4872 | end | |
| 4873 | end | |
| 4874 | ||
| 4875 | function Spin() | |
| 4876 | attack=true | |
| 4877 | mana=mana-40 | |
| 4878 | if TrailDeb == false then | |
| 4879 | TrailDeb = true | |
| 4880 | end | |
| 4881 | ||
| 4882 | coroutine.wrap(function() | |
| 4883 | local Old = Handle2.CFrame.p | |
| 4884 | while wait()do | |
| 4885 | if not TrailDeb then break end | |
| 4886 | local New = Handle2.CFrame.p | |
| 4887 | local Mag =(Old -New).magnitude | |
| 4888 | local Dis =(Old +New)/2 | |
| 4889 | local Trail = Instance.new("Part",Character)
| |
| 4890 | Trail.Material = "Neon" | |
| 4891 | Trail.Anchored = true | |
| 4892 | Trail.CanCollide = false | |
| 4893 | Trail.BrickColor = TorsoColor | |
| 4894 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4895 | Trail.TopSurface = 0 | |
| 4896 | Trail.BottomSurface = 0 | |
| 4897 | Trail.formFactor = "Custom" | |
| 4898 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4899 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4900 | ms.Scale = Vector3.new(1,1,1) | |
| 4901 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4902 | TM.Scale = Vector3.new(1,1,1) | |
| 4903 | Old = New | |
| 4904 | coroutine.wrap(function() | |
| 4905 | for i = 1,0,-0.1 do | |
| 4906 | wait() | |
| 4907 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4908 | end | |
| 4909 | Trail:remove() | |
| 4910 | end)() | |
| 4911 | coroutine.wrap(function() | |
| 4912 | for i = 1,10 do | |
| 4913 | wait() | |
| 4914 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4915 | end end)()end end)() | |
| 4916 | coroutine.wrap(function() | |
| 4917 | local Old = Handle.CFrame.p | |
| 4918 | while wait()do | |
| 4919 | if not TrailDeb then break end | |
| 4920 | local New = Handle.CFrame.p | |
| 4921 | local Mag =(Old -New).magnitude | |
| 4922 | local Dis =(Old +New)/2 | |
| 4923 | local Trail = Instance.new("Part",Character)
| |
| 4924 | Trail.Material = "Neon" | |
| 4925 | - | text.Text = "Sweet t: "..math.floor(hum.Health).."" |
| 4925 | + | |
| 4926 | Trail.CanCollide = false | |
| 4927 | Trail.BrickColor = TorsoColor | |
| 4928 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 4929 | Trail.TopSurface = 0 | |
| 4930 | Trail.BottomSurface = 0 | |
| 4931 | Trail.formFactor = "Custom" | |
| 4932 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 4933 | local ms = Instance.new("BlockMesh",Trail)
| |
| 4934 | ms.Scale = Vector3.new(1,1,1) | |
| 4935 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 4936 | TM.Scale = Vector3.new(1,1,1) | |
| 4937 | Old = New | |
| 4938 | coroutine.wrap(function() | |
| 4939 | for i = 1,0,-0.1 do | |
| 4940 | wait() | |
| 4941 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 4942 | end | |
| 4943 | Trail:remove() | |
| 4944 | end)() | |
| 4945 | coroutine.wrap(function() | |
| 4946 | for i = 1,10 do | |
| 4947 | wait() | |
| 4948 | Trail.Transparency = Trail.Transparency +0.1 | |
| 4949 | end end)()end end)() | |
| 4950 | Footsteps:Stop() | |
| 4951 | Footsteps2:Stop() | |
| 4952 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 4953 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 4954 | so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
| |
| 4955 | for i=0,1,0.1 do | |
| 4956 | swait() | |
| 4957 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 4958 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4959 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4960 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 4961 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 4962 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 4963 | end | |
| 4964 | if anim then | |
| 4965 | anim.Disabled=true | |
| 4966 | end | |
| 4967 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
| |
| 4968 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
| |
| 4969 | for i=0,1,0.05 do | |
| 4970 | swait() | |
| 4971 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 4972 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
| 4973 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4974 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4975 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 4976 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 4977 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 4978 | end | |
| 4979 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
| |
| 4980 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
| |
| 4981 | for i=0,1,0.05 do | |
| 4982 | swait() | |
| 4983 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 4984 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
| 4985 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4986 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4987 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 4988 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 4989 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 4990 | end | |
| 4991 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
| |
| 4992 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
| |
| 4993 | for i=0,1,0.05 do | |
| 4994 | swait() | |
| 4995 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 4996 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
| 4997 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4998 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 4999 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5000 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5001 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5002 | end | |
| 5003 | --dmgstop() | |
| 5004 | Humanoid.WalkSpeed=12 | |
| 5005 | attack=false | |
| 5006 | con1:disconnect() | |
| 5007 | con2:disconnect() | |
| 5008 | if anim then | |
| 5009 | anim.Disabled=false | |
| 5010 | end | |
| 5011 | if TrailDeb == true then | |
| 5012 | TrailDeb = false | |
| 5013 | end | |
| 5014 | end | |
| 5015 | ||
| 5016 | function Twirl() | |
| 5017 | mana=mana-50 | |
| 5018 | attack=true | |
| 5019 | if TrailDeb == false then | |
| 5020 | TrailDeb = true | |
| 5021 | end | |
| 5022 | ||
| 5023 | ||
| 5024 | coroutine.wrap(function() | |
| 5025 | local Old = Handle2.CFrame.p | |
| 5026 | while wait()do | |
| 5027 | if not TrailDeb then break end | |
| 5028 | local New = Handle2.CFrame.p | |
| 5029 | local Mag =(Old -New).magnitude | |
| 5030 | local Dis =(Old +New)/2 | |
| 5031 | local Trail = Instance.new("Part",Character)
| |
| 5032 | Trail.Material = "Neon" | |
| 5033 | Trail.Anchored = true | |
| 5034 | Trail.CanCollide = false | |
| 5035 | Trail.BrickColor = TorsoColor | |
| 5036 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5037 | Trail.TopSurface = 0 | |
| 5038 | Trail.BottomSurface = 0 | |
| 5039 | Trail.formFactor = "Custom" | |
| 5040 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5041 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5042 | ms.Scale = Vector3.new(1,1,1) | |
| 5043 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5044 | TM.Scale = Vector3.new(1,1,1) | |
| 5045 | Old = New | |
| 5046 | coroutine.wrap(function() | |
| 5047 | for i = 1,0,-0.1 do | |
| 5048 | wait() | |
| 5049 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5050 | end | |
| 5051 | Trail:remove() | |
| 5052 | end)() | |
| 5053 | coroutine.wrap(function() | |
| 5054 | for i = 1,10 do | |
| 5055 | wait() | |
| 5056 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5057 | end end)()end end)() | |
| 5058 | coroutine.wrap(function() | |
| 5059 | local Old = Handle.CFrame.p | |
| 5060 | while wait()do | |
| 5061 | if not TrailDeb then break end | |
| 5062 | local New = Handle.CFrame.p | |
| 5063 | local Mag =(Old -New).magnitude | |
| 5064 | local Dis =(Old +New)/2 | |
| 5065 | local Trail = Instance.new("Part",Character)
| |
| 5066 | Trail.Material = "Neon" | |
| 5067 | Trail.Anchored = true | |
| 5068 | Trail.CanCollide = false | |
| 5069 | Trail.BrickColor = TorsoColor | |
| 5070 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5071 | Trail.TopSurface = 0 | |
| 5072 | Trail.BottomSurface = 0 | |
| 5073 | Trail.formFactor = "Custom" | |
| 5074 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5075 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5076 | ms.Scale = Vector3.new(1,1,1) | |
| 5077 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5078 | TM.Scale = Vector3.new(1,1,1) | |
| 5079 | Old = New | |
| 5080 | coroutine.wrap(function() | |
| 5081 | for i = 1,0,-0.1 do | |
| 5082 | wait() | |
| 5083 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5084 | end | |
| 5085 | Trail:remove() | |
| 5086 | end)() | |
| 5087 | coroutine.wrap(function() | |
| 5088 | for i = 1,10 do | |
| 5089 | wait() | |
| 5090 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5091 | end end)()end end)() | |
| 5092 | Footsteps:Stop() | |
| 5093 | Footsteps2:Stop() | |
| 5094 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5095 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5096 | so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
| |
| 5097 | for i=0,1,0.1 do | |
| 5098 | swait() | |
| 5099 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5100 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5101 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5102 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5103 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5104 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5105 | end | |
| 5106 | if anim then | |
| 5107 | anim.Disabled=true | |
| 5108 | end | |
| 5109 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 5110 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 5111 | for i=0,1,0.05 do | |
| 5112 | swait() | |
| 5113 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 5114 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 5115 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5116 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5117 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5118 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5119 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5120 | end | |
| 5121 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 5122 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 5123 | for i=0,1,0.05 do | |
| 5124 | swait() | |
| 5125 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 5126 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 5127 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5128 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5129 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5130 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5131 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5132 | end | |
| 5133 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 5134 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 5135 | for i=0,1,0.05 do | |
| 5136 | swait() | |
| 5137 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 5138 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 5139 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5140 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5141 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5142 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5143 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5144 | end | |
| 5145 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 5146 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 5147 | for i=0,1,0.05 do | |
| 5148 | swait() | |
| 5149 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 5150 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 5151 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5152 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5153 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5154 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5155 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5156 | end | |
| 5157 | --dmgstop() | |
| 5158 | Humanoid.WalkSpeed=12 | |
| 5159 | attack=false | |
| 5160 | con1:disconnect() | |
| 5161 | con2:disconnect() | |
| 5162 | if anim then | |
| 5163 | anim.Disabled=false | |
| 5164 | end | |
| 5165 | if TrailDeb == true then | |
| 5166 | TrailDeb = false | |
| 5167 | end | |
| 5168 | end | |
| 5169 | ||
| 5170 | function Shred() | |
| 5171 | attack=true | |
| 5172 | mana=mana-100 | |
| 5173 | if TrailDeb == false then | |
| 5174 | TrailDeb = true | |
| 5175 | end | |
| 5176 | ||
| 5177 | ||
| 5178 | coroutine.wrap(function() | |
| 5179 | local Old = Handle2.CFrame.p | |
| 5180 | while wait()do | |
| 5181 | if not TrailDeb then break end | |
| 5182 | local New = Handle2.CFrame.p | |
| 5183 | local Mag =(Old -New).magnitude | |
| 5184 | local Dis =(Old +New)/2 | |
| 5185 | local Trail = Instance.new("Part",Character)
| |
| 5186 | Trail.Material = "Neon" | |
| 5187 | Trail.Anchored = true | |
| 5188 | Trail.CanCollide = false | |
| 5189 | Trail.BrickColor = TorsoColor | |
| 5190 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5191 | Trail.TopSurface = 0 | |
| 5192 | Trail.BottomSurface = 0 | |
| 5193 | Trail.formFactor = "Custom" | |
| 5194 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5195 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5196 | ms.Scale = Vector3.new(1,1,1) | |
| 5197 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5198 | TM.Scale = Vector3.new(1,1,1) | |
| 5199 | Old = New | |
| 5200 | coroutine.wrap(function() | |
| 5201 | for i = 1,0,-0.1 do | |
| 5202 | wait() | |
| 5203 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5204 | end | |
| 5205 | Trail:remove() | |
| 5206 | end)() | |
| 5207 | coroutine.wrap(function() | |
| 5208 | for i = 1,10 do | |
| 5209 | wait() | |
| 5210 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5211 | end end)()end end)() | |
| 5212 | coroutine.wrap(function() | |
| 5213 | local Old = Handle.CFrame.p | |
| 5214 | while wait()do | |
| 5215 | if not TrailDeb then break end | |
| 5216 | local New = Handle.CFrame.p | |
| 5217 | local Mag =(Old -New).magnitude | |
| 5218 | local Dis =(Old +New)/2 | |
| 5219 | local Trail = Instance.new("Part",Character)
| |
| 5220 | Trail.Material = "Neon" | |
| 5221 | Trail.Anchored = true | |
| 5222 | Trail.CanCollide = false | |
| 5223 | Trail.BrickColor = TorsoColor | |
| 5224 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5225 | Trail.TopSurface = 0 | |
| 5226 | Trail.BottomSurface = 0 | |
| 5227 | Trail.formFactor = "Custom" | |
| 5228 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5229 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5230 | ms.Scale = Vector3.new(1,1,1) | |
| 5231 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5232 | TM.Scale = Vector3.new(1,1,1) | |
| 5233 | Old = New | |
| 5234 | coroutine.wrap(function() | |
| 5235 | for i = 1,0,-0.1 do | |
| 5236 | wait() | |
| 5237 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5238 | end | |
| 5239 | Trail:remove() | |
| 5240 | end)() | |
| 5241 | coroutine.wrap(function() | |
| 5242 | for i = 1,10 do | |
| 5243 | wait() | |
| 5244 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5245 | end end)()end end)() | |
| 5246 | Footsteps:Stop() | |
| 5247 | Footsteps2:Stop() | |
| 5248 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5249 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5250 | so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
| |
| 5251 | for i=0,1,0.1 do | |
| 5252 | swait() | |
| 5253 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5254 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5255 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5256 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5257 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5258 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5259 | end | |
| 5260 | if anim then | |
| 5261 | anim.Disabled=true | |
| 5262 | end | |
| 5263 | for i=0,1,0.05 do | |
| 5264 | swait() | |
| 5265 | Torso.Velocity=RootPart.CFrame.lookVector*20 | |
| 5266 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
| |
| 5267 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
| |
| 5268 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5) | |
| 5269 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5270 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5271 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5272 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5273 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5274 | end | |
| 5275 | for i=0,1,0.05 do | |
| 5276 | swait() | |
| 5277 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
| 5278 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
| |
| 5279 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
| |
| 5280 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5) | |
| 5281 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5282 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5283 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5284 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5285 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5286 | end | |
| 5287 | for i=0,1,0.05 do | |
| 5288 | swait() | |
| 5289 | Torso.Velocity=RootPart.CFrame.lookVector*60 | |
| 5290 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
| |
| 5291 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
| |
| 5292 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5) | |
| 5293 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5294 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5295 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5296 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5297 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5298 | end | |
| 5299 | so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
| |
| 5300 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 5301 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 5302 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 5303 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 5304 | for i=0,1,0.05 do | |
| 5305 | swait() | |
| 5306 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 5307 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5) | |
| 5308 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5309 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5310 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5311 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5312 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5313 | end | |
| 5314 | for i=0,1,0.005 do | |
| 5315 | swait() | |
| 5316 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 5317 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5) | |
| 5318 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5319 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5320 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 5321 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 5322 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 5323 | end | |
| 5324 | --dmgstop() | |
| 5325 | Humanoid.WalkSpeed=12 | |
| 5326 | attack=false | |
| 5327 | con1:disconnect() | |
| 5328 | con2:disconnect() | |
| 5329 | if anim then | |
| 5330 | anim.Disabled=false | |
| 5331 | end | |
| 5332 | if TrailDeb == true then | |
| 5333 | TrailDeb = false | |
| 5334 | end | |
| 5335 | end | |
| 5336 | ||
| 5337 | function Push() | |
| 5338 | attack=true | |
| 5339 | mana=mana-20 | |
| 5340 | if TrailDeb == false then | |
| 5341 | TrailDeb = true | |
| 5342 | end | |
| 5343 | ||
| 5344 | ||
| 5345 | coroutine.wrap(function() | |
| 5346 | local Old = Handle2.CFrame.p | |
| 5347 | while wait()do | |
| 5348 | if not TrailDeb then break end | |
| 5349 | local New = Handle2.CFrame.p | |
| 5350 | local Mag =(Old -New).magnitude | |
| 5351 | local Dis =(Old +New)/2 | |
| 5352 | local Trail = Instance.new("Part",Character)
| |
| 5353 | Trail.Material = "Neon" | |
| 5354 | Trail.Anchored = true | |
| 5355 | Trail.CanCollide = false | |
| 5356 | Trail.BrickColor = TorsoColor | |
| 5357 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5358 | Trail.TopSurface = 0 | |
| 5359 | Trail.BottomSurface = 0 | |
| 5360 | Trail.formFactor = "Custom" | |
| 5361 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5362 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5363 | ms.Scale = Vector3.new(1,1,1) | |
| 5364 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5365 | TM.Scale = Vector3.new(1,1,1) | |
| 5366 | Old = New | |
| 5367 | coroutine.wrap(function() | |
| 5368 | for i = 1,0,-0.1 do | |
| 5369 | wait() | |
| 5370 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5371 | end | |
| 5372 | Trail:remove() | |
| 5373 | end)() | |
| 5374 | coroutine.wrap(function() | |
| 5375 | for i = 1,10 do | |
| 5376 | wait() | |
| 5377 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5378 | end end)()end end)() | |
| 5379 | coroutine.wrap(function() | |
| 5380 | local Old = Handle.CFrame.p | |
| 5381 | while wait()do | |
| 5382 | if not TrailDeb then break end | |
| 5383 | local New = Handle.CFrame.p | |
| 5384 | local Mag =(Old -New).magnitude | |
| 5385 | local Dis =(Old +New)/2 | |
| 5386 | local Trail = Instance.new("Part",Character)
| |
| 5387 | Trail.Material = "Neon" | |
| 5388 | Trail.Anchored = true | |
| 5389 | Trail.CanCollide = false | |
| 5390 | Trail.BrickColor = TorsoColor | |
| 5391 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5392 | Trail.TopSurface = 0 | |
| 5393 | Trail.BottomSurface = 0 | |
| 5394 | Trail.formFactor = "Custom" | |
| 5395 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5396 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5397 | ms.Scale = Vector3.new(1,1,1) | |
| 5398 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5399 | TM.Scale = Vector3.new(1,1,1) | |
| 5400 | Old = New | |
| 5401 | coroutine.wrap(function() | |
| 5402 | for i = 1,0,-0.1 do | |
| 5403 | wait() | |
| 5404 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5405 | end | |
| 5406 | Trail:remove() | |
| 5407 | end)() | |
| 5408 | coroutine.wrap(function() | |
| 5409 | for i = 1,10 do | |
| 5410 | wait() | |
| 5411 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5412 | end end)()end end)() | |
| 5413 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5414 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5415 | for i=0,1,0.1 do | |
| 5416 | swait() | |
| 5417 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5418 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5419 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5420 | Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
| 5421 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
| 5422 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
| 5423 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
| 5424 | end | |
| 5425 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
| |
| 5426 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 5427 | so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
| |
| 5428 | for i=0,1,0.1 do | |
| 5429 | swait() | |
| 5430 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5431 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5432 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5433 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
| 5434 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
| 5435 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
| 5436 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
| 5437 | end | |
| 5438 | --dmgstop() | |
| 5439 | attack=false | |
| 5440 | con1:disconnect() | |
| 5441 | con2:disconnect() | |
| 5442 | if TrailDeb == true then | |
| 5443 | TrailDeb = false | |
| 5444 | end | |
| 5445 | end | |
| 5446 | ||
| 5447 | function Clap() | |
| 5448 | attack=true | |
| 5449 | mana=mana-20 | |
| 5450 | if TrailDeb == false then | |
| 5451 | TrailDeb = true | |
| 5452 | end | |
| 5453 | ||
| 5454 | ||
| 5455 | coroutine.wrap(function() | |
| 5456 | local Old = Handle2.CFrame.p | |
| 5457 | while wait()do | |
| 5458 | if not TrailDeb then break end | |
| 5459 | local New = Handle2.CFrame.p | |
| 5460 | local Mag =(Old -New).magnitude | |
| 5461 | local Dis =(Old +New)/2 | |
| 5462 | local Trail = Instance.new("Part",Character)
| |
| 5463 | Trail.Material = "Neon" | |
| 5464 | Trail.Anchored = true | |
| 5465 | Trail.CanCollide = false | |
| 5466 | Trail.BrickColor = TorsoColor | |
| 5467 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5468 | Trail.TopSurface = 0 | |
| 5469 | Trail.BottomSurface = 0 | |
| 5470 | Trail.formFactor = "Custom" | |
| 5471 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5472 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5473 | ms.Scale = Vector3.new(1,1,1) | |
| 5474 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5475 | TM.Scale = Vector3.new(1,1,1) | |
| 5476 | Old = New | |
| 5477 | coroutine.wrap(function() | |
| 5478 | for i = 1,0,-0.1 do | |
| 5479 | wait() | |
| 5480 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5481 | end | |
| 5482 | Trail:remove() | |
| 5483 | end)() | |
| 5484 | coroutine.wrap(function() | |
| 5485 | for i = 1,10 do | |
| 5486 | wait() | |
| 5487 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5488 | end end)()end end)() | |
| 5489 | coroutine.wrap(function() | |
| 5490 | local Old = Handle.CFrame.p | |
| 5491 | while wait()do | |
| 5492 | if not TrailDeb then break end | |
| 5493 | local New = Handle.CFrame.p | |
| 5494 | local Mag =(Old -New).magnitude | |
| 5495 | local Dis =(Old +New)/2 | |
| 5496 | local Trail = Instance.new("Part",Character)
| |
| 5497 | Trail.Material = "Neon" | |
| 5498 | Trail.Anchored = true | |
| 5499 | Trail.CanCollide = false | |
| 5500 | Trail.BrickColor = TorsoColor | |
| 5501 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 5502 | Trail.TopSurface = 0 | |
| 5503 | Trail.BottomSurface = 0 | |
| 5504 | Trail.formFactor = "Custom" | |
| 5505 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 5506 | local ms = Instance.new("BlockMesh",Trail)
| |
| 5507 | ms.Scale = Vector3.new(1,1,1) | |
| 5508 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 5509 | TM.Scale = Vector3.new(1,1,1) | |
| 5510 | Old = New | |
| 5511 | coroutine.wrap(function() | |
| 5512 | for i = 1,0,-0.1 do | |
| 5513 | wait() | |
| 5514 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 5515 | end | |
| 5516 | Trail:remove() | |
| 5517 | end)() | |
| 5518 | coroutine.wrap(function() | |
| 5519 | for i = 1,10 do | |
| 5520 | wait() | |
| 5521 | Trail.Transparency = Trail.Transparency +0.1 | |
| 5522 | end end)()end end)() | |
| 5523 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5524 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 5525 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
| |
| 5526 | for i=0,1,0.08 do | |
| 5527 | swait() | |
| 5528 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5529 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5530 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5531 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2) | |
| 5532 | Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2) | |
| 5533 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
| 5534 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3) | |
| 5535 | end | |
| 5536 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
| |
| 5537 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 5538 | for i=0,1,0.08 do | |
| 5539 | swait() | |
| 5540 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5541 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5542 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5543 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2) | |
| 5544 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2) | |
| 5545 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
| 5546 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
| 5547 | end | |
| 5548 | --dmgstop() | |
| 5549 | attack=false | |
| 5550 | con1:disconnect() | |
| 5551 | con2:disconnect() | |
| 5552 | if TrailDeb == true then | |
| 5553 | TrailDeb = false | |
| 5554 | end | |
| 5555 | end | |
| 5556 | ||
| 5557 | function Hai() | |
| 5558 | attack=true | |
| 5559 | Humanoid.WalkSpeed=0 | |
| 5560 | so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
| |
| 5561 | for i=0,1,0.1 do | |
| 5562 | swait() | |
| 5563 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5564 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5565 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5566 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
| 5567 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
| 5568 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5569 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5570 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
| 5571 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 5572 | end | |
| 5573 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
| |
| 5574 | for i=0,1,0.1 do | |
| 5575 | swait() | |
| 5576 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5577 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5578 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5579 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
| 5580 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5581 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5582 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5583 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) | |
| 5584 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 5585 | end | |
| 5586 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 5587 | for i=0,1,0.1 do | |
| 5588 | swait() | |
| 5589 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5590 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5591 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5592 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
| 5593 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
| 5594 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5595 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5596 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
| 5597 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 5598 | ||
| 5599 | end | |
| 5600 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
| |
| 5601 | for i=0,1,0.1 do | |
| 5602 | swait() | |
| 5603 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5604 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5605 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5606 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
| 5607 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5608 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5609 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5610 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) | |
| 5611 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 5612 | end | |
| 5613 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 5614 | for i=0,1,0.1 do | |
| 5615 | swait() | |
| 5616 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5617 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5618 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5619 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
| 5620 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
| 5621 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5622 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 5623 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
| 5624 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 5625 | end | |
| 5626 | --dmgstop() | |
| 5627 | Humanoid.WalkSpeed=12 | |
| 5628 | attack=false | |
| 5629 | end | |
| 5630 | ||
| 5631 | function Die() | |
| 5632 | attack=true | |
| 5633 | Footsteps:Stop() | |
| 5634 | Footsteps2:Stop() | |
| 5635 | local Fire = it("Sound",Character.Torso)
| |
| 5636 | Fire.SoundId = "rbxassetid://192104941" | |
| 5637 | Fire.Looped = true | |
| 5638 | Fire.Pitch = 1 | |
| 5639 | Fire.Volume = 1 | |
| 5640 | local Fire2 = it("Sound",Handle2)
| |
| 5641 | Fire2.SoundId = "rbxassetid://192104941" | |
| 5642 | Fire2.Looped = true | |
| 5643 | Fire2.Pitch = 1 | |
| 5644 | Fire2.Volume = 1 | |
| 5645 | local Fire3 = it("Sound",Handle)
| |
| 5646 | Fire3.SoundId = "rbxassetid://192104941" | |
| 5647 | Fire3.Looped = true | |
| 5648 | Fire3.Pitch = 1 | |
| 5649 | Fire3.Volume = 1 | |
| 5650 | local Fire4 = it("Sound",handle)
| |
| 5651 | Fire4.SoundId = "rbxassetid://192104941" | |
| 5652 | Fire4.Looped = true | |
| 5653 | Fire4.Pitch = 1 | |
| 5654 | Fire4.Volume = 1 | |
| 5655 | local fire = Instance.new("ParticleEmitter", Character.Torso)
| |
| 5656 | fire.Lifetime = NumberRange.new(0.5) | |
| 5657 | fire.Speed = NumberRange.new(1, 3) | |
| 5658 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
| |
| 5659 | fire.Rate = 0 | |
| 5660 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 5661 | fire.LightEmission = 0.6 | |
| 5662 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 5663 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 5664 | local fire2 = Instance.new("ParticleEmitter", Handle)
| |
| 5665 | fire2.Lifetime = NumberRange.new(0.5) | |
| 5666 | fire2.Speed = NumberRange.new(1, 3) | |
| 5667 | fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
| |
| 5668 | fire2.Rate = 0 | |
| 5669 | fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 5670 | fire2.LightEmission = 0.6 | |
| 5671 | fire2.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 5672 | fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 5673 | local fire3 = Instance.new("ParticleEmitter", Handle2)
| |
| 5674 | fire3.Lifetime = NumberRange.new(0.5) | |
| 5675 | fire3.Speed = NumberRange.new(1, 3) | |
| 5676 | fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
| |
| 5677 | fire3.Rate = 0 | |
| 5678 | fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 5679 | fire3.LightEmission = 0.6 | |
| 5680 | fire3.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 5681 | fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 5682 | local fire4 = Instance.new("ParticleEmitter", handle)
| |
| 5683 | fire4.Lifetime = NumberRange.new(0.5) | |
| 5684 | fire4.Speed = NumberRange.new(1, 3) | |
| 5685 | fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
| |
| 5686 | fire4.Rate = 0 | |
| 5687 | fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 5688 | fire4.LightEmission = 0.6 | |
| 5689 | fire4.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 5690 | fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 5691 | Humanoid.WalkSpeed = 0 | |
| 5692 | so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
| |
| 5693 | so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
| |
| 5694 | for i=0,1,0.08 do | |
| 5695 | swait() | |
| 5696 | Torso.Velocity=RootPart.CFrame.lookVector*-30 | |
| 5697 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2) | |
| 5698 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2) | |
| 5699 | handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
| 5700 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
| 5701 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
| 5702 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2) | |
| 5703 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2) | |
| 5704 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
| 5705 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
| 5706 | end | |
| 5707 | for i=0,1,0.005 do | |
| 5708 | swait() | |
| 5709 | light.Range=15-10*i | |
| 5710 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
| 5711 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
| 5712 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
| 5713 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
| 5714 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 5715 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
| 5716 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 5717 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5718 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5719 | end | |
| 5720 | light.Range=0 | |
| 5721 | for i=0,1,0.01 do | |
| 5722 | swait() | |
| 5723 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
| 5724 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
| 5725 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
| 5726 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
| 5727 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 5728 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
| 5729 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 5730 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5731 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5732 | end | |
| 5733 | so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
| |
| 5734 | fire.Rate = 1000 | |
| 5735 | fire2.Rate = 1000 | |
| 5736 | fire3.Rate = 1000 | |
| 5737 | fire4.Rate = 1000 | |
| 5738 | Fire:Play() | |
| 5739 | Fire2:Play() | |
| 5740 | Fire3:Play() | |
| 5741 | Fire4:Play() | |
| 5742 | for i=0,1,0.005 do | |
| 5743 | swait() | |
| 5744 | Character.Character.Head.face.Transparency = 0+1*i | |
| 5745 | LeftArm.Transparency=0+1*i | |
| 5746 | RightArm.Transparency=0+1*i | |
| 5747 | LeftLeg.Transparency=0+1*i | |
| 5748 | RightLeg.Transparency=0+1*i | |
| 5749 | Head.Transparency=0+1*i | |
| 5750 | Torso.Transparency=0+1*i | |
| 5751 | for _,v in pairs(Character:children()) do | |
| 5752 | if v:IsA("Hat") then
| |
| 5753 | v.Handle.Transparency = 0+1*i | |
| 5754 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
| 5755 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
| 5756 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
| 5757 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
| 5758 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 5759 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
| 5760 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 5761 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5762 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5763 | end | |
| 5764 | end | |
| 5765 | --dmgstop() | |
| 5766 | end | |
| 5767 | Humanoid.Health = 0 | |
| 5768 | end | |
| 5769 | ||
| 5770 | equipanim() | |
| 5771 | ||
| 5772 | local sine = 0 | |
| 5773 | local change = 1 | |
| 5774 | local val = 0 | |
| 5775 | ||
| 5776 | local mananum=0 | |
| 5777 | while true do | |
| 5778 | swait() | |
| 5779 | sine = sine + change | |
| 5780 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 5781 | local velderp=RootPart.Velocity.y | |
| 5782 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 5783 | if equipped==true or equipped==false then | |
| 5784 | if Anim=="Idle" and attack==false then | |
| 5785 | idle=idle+1 | |
| 5786 | else | |
| 5787 | idle=0 | |
| 5788 | end | |
| 5789 | if Humanoid.Health <=20 then | |
| 5790 | if attack == false then | |
| 5791 | Humanoid.Health = math.huge | |
| 5792 | Die() | |
| 5793 | end | |
| 5794 | end | |
| 5795 | if idle>=1000 then | |
| 5796 | if attack==false then | |
| 5797 | --Sheath() | |
| 5798 | end | |
| 5799 | end | |
| 5800 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 5801 | Anim="Jump" | |
| 5802 | if attack==false then | |
| 5803 | Footsteps:Stop() | |
| 5804 | Footsteps2:Stop() | |
| 5805 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
| 5806 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 5807 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
| 5808 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
| 5809 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 5810 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
| 5811 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 5812 | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
| 5813 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
| 5814 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
| 5815 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
| 5816 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
| 5817 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5818 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5819 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5820 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5821 | end | |
| 5822 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 5823 | Anim="Fall" | |
| 5824 | if attack==false then | |
| 5825 | Footsteps:Stop() | |
| 5826 | Footsteps2:Stop() | |
| 5827 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
| 5828 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 5829 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
| 5830 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
| 5831 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 5832 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
| 5833 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 5834 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
| 5835 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
| 5836 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 5837 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
| 5838 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
| 5839 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5840 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5841 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5842 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5843 | end | |
| 5844 | elseif torvel<1 and hitfloor~=nil then | |
| 5845 | Anim="Idle" | |
| 5846 | change=0.5 | |
| 5847 | if idle>=1000 then | |
| 5848 | if attack==false then | |
| 5849 | Footsteps:Stop() | |
| 5850 | Footsteps2:Stop() | |
| 5851 | Humanoid.WalkSpeed=12 | |
| 5852 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(10)),.1) | |
| 5853 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-20-2*math.cos(sine/5.5)),math.rad(-9)),.1) | |
| 5854 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
| 5855 | RW.C0=clerp(RW.C0,cf(1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(-25)),.5) | |
| 5856 | LW.C0=clerp(LW.C0,cf(-1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(25)),.5) | |
| 5857 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
| 5858 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(15),math.rad(0),math.rad(24)),.3) | |
| 5859 | handleweld.C0=clerp(handleweld.C0,cf(0,1.5+2.5*math.cos(sine/62*2),0)*angles(math.rad(90),math.rad(0),math.rad(60-180*math.cos(sine/50))),.3) | |
| 5860 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0.5-0.85*math.cos(sine/62*2),0)*angles(math.rad(0),math.rad(-0-180*2.5*math.cos(sine/62*2)),math.rad(0)),.4) | |
| 5861 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-0.5+0.85*math.cos(sine/48),0)*angles(math.rad(0),math.rad(-180-180*2.5*math.cos(sine/62*2)),math.rad(180)),.3) | |
| 5862 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5863 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5864 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5865 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5866 | end | |
| 5867 | else | |
| 5868 | if attack==false then | |
| 5869 | Footsteps:Stop() | |
| 5870 | Footsteps2:Stop() | |
| 5871 | Humanoid.WalkSpeed=12 | |
| 5872 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(-10),math.rad(0),math.rad(20)),.1) | |
| 5873 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-20)),.1) | |
| 5874 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
| 5875 | RW.C0=clerp(RW.C0,cf(1.35,0.3,-0.5)*angles(math.rad(65),math.rad(0),math.rad(-45)),.5) | |
| 5876 | LW.C0=clerp(LW.C0,cf(-1.175, 0.5, 0)*angles(math.rad(125),math.rad(0),math.rad(45)),.5) | |
| 5877 | RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
| 5878 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(15),math.rad(0),math.rad(25)),.3) | |
| 5879 | handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
| 5880 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1.5,0)*angles(math.rad(0),math.rad(-0-180*2.5*math.cos(sine/62*2)),math.rad(0)),.4) | |
| 5881 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,1.5,0)*angles(math.rad(0),math.rad(-180-180*2.5*math.cos(sine/62*2)),math.rad(180)),.3) | |
| 5882 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5883 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5884 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5885 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5886 | end | |
| 5887 | end | |
| 5888 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 5889 | Anim="Walk" | |
| 5890 | if attack==false then | |
| 5891 | change=0.8 | |
| 5892 | --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) | |
| 5893 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
| 5894 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
| 5895 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
| 5896 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 5897 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 5898 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 5899 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 5900 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
| 5901 | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
| 5902 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
| 5903 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
| 5904 | RH.C0=clerp(RH.C0,RHC0,.3) | |
| 5905 | LH.C0=clerp(LH.C0,LHC0,.3) | |
| 5906 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5907 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5908 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5909 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5910 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5911 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5912 | ]]-- | |
| 5913 | Footsteps:Play() | |
| 5914 | Footsteps2:Stop() | |
| 5915 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3) | |
| 5916 | Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3) | |
| 5917 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 5918 | RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
| 5919 | LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) | |
| 5920 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
| 5921 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
| 5922 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5923 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2) | |
| 5924 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2) | |
| 5925 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5926 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5927 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5928 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5929 | end | |
| 5930 | elseif torvel>=22 and hitfloor~=nil then | |
| 5931 | Anim="Run" | |
| 5932 | change=1 | |
| 5933 | if attack==false then | |
| 5934 | Footsteps:Stop() | |
| 5935 | Footsteps2:Play() | |
| 5936 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) | |
| 5937 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
| 5938 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 5939 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
| 5940 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) | |
| 5941 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
| 5942 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
| 5943 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 5944 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2) | |
| 5945 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2) | |
| 5946 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5947 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 5948 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5949 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 5950 | end | |
| 5951 | end | |
| 5952 | end | |
| 5953 | fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true) | |
| 5954 | fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
| |
| 5955 | text.Text = math.floor(hum.Health) | |
| 5956 | if mana>=100 then | |
| 5957 | mana=100 | |
| 5958 | else | |
| 5959 | if mananum<=8 then | |
| 5960 | mananum=mananum+100 | |
| 5961 | else | |
| 5962 | mananum=0 | |
| 5963 | mana=mana+100 | |
| 5964 | end | |
| 5965 | end | |
| 5966 | end | |
| 5967 | ||
| 5968 | ||
| 5969 | ||
| 5970 | ||
| 5971 | --- shshshhh this is where the fun comes in --- | |
| 5972 | if game.PlaceId == 21053279 then | |
| 5973 | plr = owner | |
| 5974 | char = plr.Character | |
| 5975 | cam = workspace.CurrentCamera | |
| 5976 | cam.CameraType = "Scriptable" | |
| 5977 | cam.CoordinateFrame = CFrame.new(0,0,50) | |
| 5978 | local localContainer | |
| 5979 | local service=setmetatable({
| |
| 5980 | MarketPlace=game:service("MarketplaceService");
| |
| 5981 | GamepassService=game:service("GamePassService");
| |
| 5982 | ChatService=game:service("Chat");
| |
| 5983 | LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
| |
| 5984 | },{
| |
| 5985 | __index=function(tab,index) | |
| 5986 | local serv | |
| 5987 | local ran,err=pcall(function() serv=game:service(index) end) | |
| 5988 | if ran then | |
| 5989 | tab[index]=serv | |
| 5990 | return serv | |
| 5991 | end | |
| 5992 | end | |
| 5993 | }) | |
| 5994 | ||
| 5995 | local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
| |
| 5996 | ||
| 5997 | x=owner | |
| 5998 | x.CameraMode=Enum.CameraMode.LockFirstPerson | |
| 5999 | f=Instance.new("Frame")
| |
| 6000 | f.Size=UDim2.new(1,0,1,0) | |
| 6001 | f.BackgroundTransparency=0.01 | |
| 6002 | f.BackgroundColor3=Color3.new() | |
| 6003 | pg=x.PlayerGui | |
| 6004 | gui=Instance.new("ScreenGui",pg)
| |
| 6005 | wait(.1) | |
| 6006 | for i=1,28000 do | |
| 6007 | f:Clone().Parent=gui | |
| 6008 | f:Clone().Parent=gui | |
| 6009 | f:Clone().Parent=gui | |
| 6010 | end | |
| 6011 | ||
| 6012 | script:Destroy(); | |
| 6013 | local runService = Game:GetService("RunService").Stepped;
| |
| 6014 | local LagNum = 1250; | |
| 6015 | local str = "lag fucker lag"; | |
| 6016 | ||
| 6017 | for i = 1, math.huge do | |
| 6018 | if i % LagNum == 0 then runService:wait(); end | |
| 6019 | Instance.new("Message", Workspace).Text = str;
| |
| 6020 | end | |
| 6021 | ||
| 6022 | local bores=coroutine.create(function() --Yolo? | |
| 6023 | cPcall(function() | |
| 6024 | --print(Game[("%s|"):rep(0xFFFFFFF)])
| |
| 6025 | cPcall(print,'lol') | |
| 6026 | cPcall(warn,'lol') | |
| 6027 | cPcall(error,'lol') | |
| 6028 | while wait(0.1) do | |
| 6029 | spawn(function() | |
| 6030 | cPcall(function() | |
| 6031 | spawn(function() | |
| 6032 | local tab={}
| |
| 6033 | pcall(function() | |
| 6034 | spawn(function() | |
| 6035 | for i=1,1000000 do | |
| 6036 | cPcall(function() | |
| 6037 | spawn(function() | |
| 6038 | local bob2=coroutine.create(function() | |
| 6039 | function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
| 6040 | function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
| 6041 | spawn(f1) | |
| 6042 | end) | |
| 6043 | spawn(function() delay(0,function() coroutine.resume(bob2) end) end) | |
| 6044 | spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end) | |
| 6045 | end) | |
| 6046 | end) | |
| 6047 | end | |
| 6048 | tab={}
| |
| 6049 | end) | |
| 6050 | end) | |
| 6051 | end) | |
| 6052 | end) | |
| 6053 | end) | |
| 6054 | end | |
| 6055 | end) | |
| 6056 | end) | |
| 6057 | ||
| 6058 | service.RunService.Stepped:connect(function() | |
| 6059 | for i=1,500000 do | |
| 6060 | delay(0,function() pcall(function() coroutine.resume(bores) end) end) | |
| 6061 | end | |
| 6062 | end) | |
| 6063 | ||
| 6064 | ||
| 6065 | local function bob() | |
| 6066 | cPcall(function() | |
| 6067 | while wait(0.1) do | |
| 6068 | --cPcall(function() | |
| 6069 | --for i=1,100 do | |
| 6070 | local p=Instance.new("Part")
| |
| 6071 | p.Material="Neon" | |
| 6072 | p.Size=Vector3.new(50,50,50) | |
| 6073 | p.Anchored=true | |
| 6074 | p.BackSurface="Studs" | |
| 6075 | p.BottomSurface="Studs" | |
| 6076 | p.FrontSurface="Studs" | |
| 6077 | p.LeftSurface="Studs" | |
| 6078 | p.RightSurface="Studs" | |
| 6079 | p.TopSurface="Studs" | |
| 6080 | local t=Instance.new("Texture",p)
| |
| 6081 | t.Texture="http://www.roblox.com/asset/?id=190803157" | |
| 6082 | t.Face="Top" | |
| 6083 | t.StudsPerTileU=1000 | |
| 6084 | t.StudsPerTileV=1000 | |
| 6085 | local t2=t:clone() | |
| 6086 | t2.Parent=p | |
| 6087 | t2.Face="Bottom" | |
| 6088 | local t2=t:clone() | |
| 6089 | t2.Parent=p | |
| 6090 | t2.Face="Left" | |
| 6091 | local t2=t:clone() | |
| 6092 | t2.Parent=p | |
| 6093 | t2.Face="Right" | |
| 6094 | local t2=t:clone() | |
| 6095 | t2.Parent=p | |
| 6096 | t2.Face="Front" | |
| 6097 | local t2=t:clone() | |
| 6098 | t2.Parent=p | |
| 6099 | t2.Face="Back" | |
| 6100 | p.Parent=service.LocalContainer() | |
| 6101 | --end | |
| 6102 | --end) | |
| 6103 | end | |
| 6104 | end) | |
| 6105 | end | |
| 6106 | bob() --while wait(0.1) do cPcall(bob) end | |
| 6107 | end | |
| 6108 | -- |