SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Player=game:GetService("Players").LocalPlayer
|
| 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 | - | mouse=Player:GetMouse() |
| 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 | Player=owner | |
| 89 | Character=Player.Character | |
| 90 | PlayerGui=Player.PlayerGui | |
| 91 | Backpack=Player.Backpack | |
| 92 | Torso=Character.Torso | |
| 93 | Head=Character.Head | |
| 94 | Humanoid=Character.Humanoid | |
| 95 | LeftArm=Character["Left Arm"] | |
| 96 | LeftLeg=Character["Left Leg"] | |
| 97 | RightArm=Character["Right Arm"] | |
| 98 | RightLeg=Character["Right Leg"] | |
| 99 | LS=Torso["Left Shoulder"] | |
| 100 | LH=Torso["Left Hip"] | |
| 101 | RS=Torso["Right Shoulder"] | |
| 102 | RH=Torso["Right Hip"] | |
| 103 | Face = Head.face | |
| 104 | Neck=Torso.Neck | |
| 105 | it=Instance.new | |
| 106 | attacktype=1 | |
| 107 | vt=Vector3.new | |
| 108 | cf=CFrame.new | |
| 109 | euler=CFrame.fromEulerAnglesXYZ | |
| 110 | angles=CFrame.Angles | |
| 111 | cloaked=false | |
| 112 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 113 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 114 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 115 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 116 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 117 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 118 | RootPart=Character.HumanoidRootPart | |
| 119 | RootJoint=RootPart.RootJoint | |
| 120 | RootCF=euler(-1.57,0,3.14) | |
| 121 | attack = false | |
| 122 | attackdebounce = false | |
| 123 | deb=false | |
| 124 | equipped=true | |
| 125 | hand=false | |
| 126 | MMouse=nil | |
| 127 | combo=0 | |
| 128 | mana=0 | |
| 129 | trispeed=.2 | |
| 130 | attackmode='none' | |
| 131 | local idle=0 | |
| 132 | local Anim="Idle" | |
| 133 | local Effects={}
| |
| 134 | local gun=false | |
| 135 | local shoot=false | |
| 136 | player=nil | |
| 137 | mana=0 | |
| 138 | cam = workspace.CurrentCamera | |
| 139 | ZTarget = nil | |
| 140 | RocketTarget = nil | |
| 141 | local m = Instance.new("Model",Character)
| |
| 142 | m.Name = "WeaponModel" | |
| 143 | ||
| 144 | --save shoulders | |
| 145 | RSH, LSH=nil, nil | |
| 146 | --welds | |
| 147 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 148 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 149 | LH=Torso["Left Hip"] | |
| 150 | RH=Torso["Right Hip"] | |
| 151 | TorsoColor=Torso.BrickColor | |
| 152 | function NoOutline(Part) | |
| 153 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 154 | end | |
| 155 | player=Player | |
| 156 | ch=Character | |
| 157 | RSH=ch.Torso["Right Shoulder"] | |
| 158 | LSH=ch.Torso["Left Shoulder"] | |
| 159 | -- | |
| 160 | RSH.Parent=nil | |
| 161 | LSH.Parent=nil | |
| 162 | -- | |
| 163 | RW.Name="Right Shoulder" | |
| 164 | RW.Part0=ch.Torso | |
| 165 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 166 | RW.C1=cf(0, 0.5, 0) | |
| 167 | RW.Part1=ch["Right Arm"] | |
| 168 | RW.Parent=ch.Torso | |
| 169 | -- | |
| 170 | LW.Name="Left Shoulder" | |
| 171 | LW.Part0=ch.Torso | |
| 172 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 173 | LW.C1=cf(0, 0.5, 0) | |
| 174 | LW.Part1=ch["Left Arm"] | |
| 175 | LW.Parent=ch.Torso | |
| 176 | ||
| 177 | function swait(num) | |
| 178 | if num==0 or num==nil then | |
| 179 | game:service'RunService'.Heartbeat:wait(0) | |
| 180 | else | |
| 181 | for i=0,num do | |
| 182 | game:service'RunService'.Heartbeat:wait(0) | |
| 183 | end | |
| 184 | end | |
| 185 | end | |
| 186 | ||
| 187 | function nooutline(part) | |
| 188 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 189 | end | |
| 190 | ||
| 191 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 192 | local fp=it("Part")
| |
| 193 | fp.formFactor=formfactor | |
| 194 | fp.Parent=parent | |
| 195 | fp.Reflectance=reflectance | |
| 196 | fp.Transparency=transparency | |
| 197 | fp.CanCollide=false | |
| 198 | fp.Locked=true | |
| 199 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 200 | fp.Name=name | |
| 201 | fp.Size=size | |
| 202 | fp.Position=Character.Torso.Position | |
| 203 | nooutline(fp) | |
| 204 | fp.Material=material | |
| 205 | fp:BreakJoints() | |
| 206 | return fp | |
| 207 | end | |
| 208 | ||
| 209 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 210 | local mesh=it(Mesh) | |
| 211 | mesh.Parent=part | |
| 212 | if Mesh=="SpecialMesh" then | |
| 213 | mesh.MeshType=meshtype | |
| 214 | mesh.MeshId=meshid | |
| 215 | end | |
| 216 | mesh.Offset=offset | |
| 217 | mesh.Scale=scale | |
| 218 | return mesh | |
| 219 | end | |
| 220 | ||
| 221 | function weld(parent,part0,part1,c0,c1) | |
| 222 | local weld=it("Weld")
| |
| 223 | weld.Parent=parent | |
| 224 | weld.Part0=part0 | |
| 225 | weld.Part1=part1 | |
| 226 | weld.C0=c0 | |
| 227 | weld.C1=c1 | |
| 228 | return weld | |
| 229 | end | |
| 230 | ||
| 231 | ||
| 232 | local function CFrameFromTopBack(at, top, back) | |
| 233 | local right = top:Cross(back) | |
| 234 | return CFrame.new(at.x, at.y, at.z, | |
| 235 | right.x, top.x, back.x, | |
| 236 | right.y, top.y, back.y, | |
| 237 | right.z, top.z, back.z) | |
| 238 | end | |
| 239 | ||
| 240 | function Triangle(a, b, c) | |
| 241 | local edg1 = (c-a):Dot((b-a).unit) | |
| 242 | local edg2 = (a-b):Dot((c-b).unit) | |
| 243 | local edg3 = (b-c):Dot((a-c).unit) | |
| 244 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 245 | a, b, c = a, b, c | |
| 246 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 247 | a, b, c = b, c, a | |
| 248 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 249 | a, b, c = c, a, b | |
| 250 | else | |
| 251 | assert(false, "unreachable") | |
| 252 | end | |
| 253 | ||
| 254 | local len1 = (c-a):Dot((b-a).unit) | |
| 255 | local len2 = (b-a).magnitude - len1 | |
| 256 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 257 | ||
| 258 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 259 | ||
| 260 | local list = {}
| |
| 261 | ||
| 262 | local TrailColor = ("Really black")
| |
| 263 | ||
| 264 | if len1 > 0.01 then | |
| 265 | local w1 = Instance.new('WedgePart', m)
| |
| 266 | game:GetService("Debris"):AddItem(w1,5)
| |
| 267 | w1.Material = "SmoothPlastic" | |
| 268 | w1.FormFactor = 'Custom' | |
| 269 | w1.BrickColor = BrickColor.new(TrailColor) | |
| 270 | w1.Transparency = 0 | |
| 271 | w1.Reflectance = 0 | |
| 272 | w1.Material = "SmoothPlastic" | |
| 273 | w1.CanCollide = false | |
| 274 | NoOutline(w1) | |
| 275 | local sz = Vector3.new(0.2, width, len1) | |
| 276 | w1.Size = sz | |
| 277 | local sp = Instance.new("SpecialMesh",w1)
| |
| 278 | sp.MeshType = "Wedge" | |
| 279 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 280 | w1:BreakJoints() | |
| 281 | w1.Anchored = true | |
| 282 | w1.Parent = workspace | |
| 283 | w1.Transparency = 0.7 | |
| 284 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 285 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 286 | table.insert(list,w1) | |
| 287 | end | |
| 288 | ||
| 289 | if len2 > 0.01 then | |
| 290 | local w2 = Instance.new('WedgePart', m)
| |
| 291 | game:GetService("Debris"):AddItem(w2,5)
| |
| 292 | w2.Material = "SmoothPlastic" | |
| 293 | w2.FormFactor = 'Custom' | |
| 294 | w2.BrickColor = BrickColor.new(TrailColor) | |
| 295 | w2.Transparency = 0 | |
| 296 | w2.Reflectance = 0 | |
| 297 | w2.Material = "SmoothPlastic" | |
| 298 | w2.CanCollide = false | |
| 299 | NoOutline(w2) | |
| 300 | local sz = Vector3.new(0.2, width, len2) | |
| 301 | w2.Size = sz | |
| 302 | local sp = Instance.new("SpecialMesh",w2)
| |
| 303 | sp.MeshType = "Wedge" | |
| 304 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 305 | w2:BreakJoints() | |
| 306 | w2.Anchored = true | |
| 307 | w2.Parent = workspace | |
| 308 | w2.Transparency = 0.7 | |
| 309 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 310 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 311 | table.insert(list,w2) | |
| 312 | end | |
| 313 | return unpack(list) | |
| 314 | end | |
| 315 | ||
| 316 | ||
| 317 | so = function(id,par,vol,pit) | |
| 318 | coroutine.resume(coroutine.create(function() | |
| 319 | local sou = Instance.new("Sound",par or workspace)
| |
| 320 | sou.Volume=vol | |
| 321 | sou.Pitch=pit or 1 | |
| 322 | sou.SoundId=id | |
| 323 | swait() | |
| 324 | sou:play() | |
| 325 | game:GetService("Debris"):AddItem(sou,6)
| |
| 326 | end)) | |
| 327 | end | |
| 328 | ||
| 329 | function clerp(a,b,t) | |
| 330 | local qa = {QuaternionFromCFrame(a)}
| |
| 331 | local qb = {QuaternionFromCFrame(b)}
| |
| 332 | local ax, ay, az = a.x, a.y, a.z | |
| 333 | local bx, by, bz = b.x, b.y, b.z | |
| 334 | local _t = 1-t | |
| 335 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 336 | end | |
| 337 | ||
| 338 | function QuaternionFromCFrame(cf) | |
| 339 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 340 | local trace = m00 + m11 + m22 | |
| 341 | if trace > 0 then | |
| 342 | local s = math.sqrt(1 + trace) | |
| 343 | local recip = 0.5/s | |
| 344 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 345 | else | |
| 346 | local i = 0 | |
| 347 | if m11 > m00 then | |
| 348 | i = 1 | |
| 349 | - | c.Value=game:service("Players").LocalPlayer
|
| 349 | + | |
| 350 | if m22 > (i == 0 and m00 or m11) then | |
| 351 | i = 2 | |
| 352 | end | |
| 353 | if i == 0 then | |
| 354 | local s = math.sqrt(m00-m11-m22+1) | |
| 355 | local recip = 0.5/s | |
| 356 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 357 | elseif i == 1 then | |
| 358 | local s = math.sqrt(m11-m22-m00+1) | |
| 359 | local recip = 0.5/s | |
| 360 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 361 | elseif i == 2 then | |
| 362 | local s = math.sqrt(m22-m00-m11+1) | |
| 363 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 364 | end | |
| 365 | end | |
| 366 | end | |
| 367 | ||
| 368 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 369 | local xs, ys, zs = x + x, y + y, z + z | |
| 370 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 371 | local xx = x*xs | |
| 372 | local xy = x*ys | |
| 373 | local xz = x*zs | |
| 374 | local yy = y*ys | |
| 375 | local yz = y*zs | |
| 376 | local zz = z*zs | |
| 377 | 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)) | |
| 378 | end | |
| 379 | ||
| 380 | function QuaternionSlerp(a, b, t) | |
| 381 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 382 | local startInterp, finishInterp; | |
| 383 | if cosTheta >= 0.0001 then | |
| 384 | if (1 - cosTheta) > 0.0001 then | |
| 385 | local theta = math.acos(cosTheta) | |
| 386 | local invSinTheta = 1/math.sin(theta) | |
| 387 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 388 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 389 | else | |
| 390 | startInterp = 1-t | |
| 391 | finishInterp = t | |
| 392 | end | |
| 393 | else | |
| 394 | if (1+cosTheta) > 0.0001 then | |
| 395 | local theta = math.acos(-cosTheta) | |
| 396 | local invSinTheta = 1/math.sin(theta) | |
| 397 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 398 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 399 | else | |
| 400 | startInterp = t-1 | |
| 401 | finishInterp = t | |
| 402 | end | |
| 403 | end | |
| 404 | 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 | |
| 405 | end | |
| 406 | ||
| 407 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 408 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 409 | end | |
| 410 | ||
| 411 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 412 | if hit.Parent==nil then | |
| 413 | return | |
| 414 | end | |
| 415 | local h=hit.Parent:FindFirstChild("Humanoid")
| |
| 416 | for _,v in pairs(hit.Parent:children()) do | |
| 417 | if v:IsA("Humanoid") then
| |
| 418 | h=v | |
| 419 | end | |
| 420 | end | |
| 421 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 422 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 423 | end | |
| 424 | if hit.Parent.className=="Hat" then | |
| 425 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 426 | end | |
| 427 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 428 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 429 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 430 | return | |
| 431 | end]] | |
| 432 | -- hs(hit,1.2) | |
| 433 | local c=Instance.new("ObjectValue")
| |
| 434 | c.Name="creator" | |
| 435 | c.Value=owner | |
| 436 | c.Parent=h | |
| 437 | game:GetService("Debris"):AddItem(c,.5)
| |
| 438 | local Damage=math.random(minim,maxim) | |
| 439 | -- h:TakeDamage(Damage) | |
| 440 | local blocked=false | |
| 441 | local block=hit.Parent:findFirstChild("Block")
| |
| 442 | if block~=nil then | |
| 443 | print(block.className) | |
| 444 | if block.className=="NumberValue" then | |
| 445 | if block.Value>0 then | |
| 446 | blocked=true | |
| 447 | if decreaseblock==nil then | |
| 448 | block.Value=block.Value-1 | |
| 449 | end | |
| 450 | end | |
| 451 | end | |
| 452 | if block.className=="IntValue" then | |
| 453 | if block.Value>0 then | |
| 454 | blocked=true | |
| 455 | if decreaseblock~=nil then | |
| 456 | block.Value=block.Value-1 | |
| 457 | end | |
| 458 | end | |
| 459 | end | |
| 460 | end | |
| 461 | if blocked==false then | |
| 462 | -- h:TakeDamage(Damage) | |
| 463 | h.Health=h.Health-Damage | |
| 464 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
| 465 | else | |
| 466 | h.Health=h.Health-(Damage/2) | |
| 467 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
| |
| 468 | end | |
| 469 | if Type=="Knockdown" then | |
| 470 | local hum=hit.Parent.Humanoid | |
| 471 | hum.PlatformStand=true | |
| 472 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 473 | swait(1) | |
| 474 | HHumanoid.PlatformStand=false | |
| 475 | end),hum) | |
| 476 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 477 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 478 | local bodvol=Instance.new("BodyVelocity")
| |
| 479 | bodvol.velocity=angle*knockback | |
| 480 | bodvol.P=5000 | |
| 481 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 482 | bodvol.Parent=hit | |
| 483 | local rl=Instance.new("BodyAngularVelocity")
| |
| 484 | rl.P=3000 | |
| 485 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 486 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 487 | rl.Parent=hit | |
| 488 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 489 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 490 | elseif Type=="Normal" then | |
| 491 | local vp=Instance.new("BodyVelocity")
| |
| 492 | vp.P=500 | |
| 493 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 494 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 495 | if KnockbackType==1 then | |
| 496 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 497 | elseif KnockbackType==2 then | |
| 498 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 499 | end | |
| 500 | if knockback>0 then | |
| 501 | vp.Parent=hit.Parent.Torso | |
| 502 | end | |
| 503 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 504 | elseif Type=="Up" then | |
| 505 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 506 | bodyVelocity.velocity=vt(0,60,0) | |
| 507 | bodyVelocity.P=5000 | |
| 508 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 509 | bodyVelocity.Parent=hit | |
| 510 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 511 | local rl=Instance.new("BodyAngularVelocity")
| |
| 512 | rl.P=3000 | |
| 513 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 514 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 515 | rl.Parent=hit | |
| 516 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 517 | elseif Type=="Snare" then | |
| 518 | local bp=Instance.new("BodyPosition")
| |
| 519 | bp.P=2000 | |
| 520 | bp.D=100 | |
| 521 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 522 | bp.position=hit.Parent.Torso.Position | |
| 523 | bp.Parent=hit.Parent.Torso | |
| 524 | game:GetService("Debris"):AddItem(bp,1)
| |
| 525 | elseif Type=="Target" then | |
| 526 | local Targetting = false | |
| 527 | if Targetting==false then | |
| 528 | ZTarget=hit.Parent.Torso | |
| 529 | coroutine.resume(coroutine.create(function(Part) | |
| 530 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 531 | swait(5) | |
| 532 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 533 | end),ZTarget) | |
| 534 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 535 | local targetgui=Instance.new("BillboardGui")
| |
| 536 | targetgui.Parent=ZTarget | |
| 537 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 538 | local targ=Instance.new("ImageLabel")
| |
| 539 | targ.Parent=targetgui | |
| 540 | targ.BackgroundTransparency=1 | |
| 541 | targ.Image="rbxassetid://4834067" | |
| 542 | targ.Size=UDim2.new(1,0,1,0) | |
| 543 | cam.CameraType="Scriptable" | |
| 544 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 545 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 546 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 547 | Targetting=true | |
| 548 | RocketTarget=ZTarget | |
| 549 | for i=1,Property do | |
| 550 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 551 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 552 | swait() | |
| 553 | end | |
| 554 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 555 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 556 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 557 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 558 | end | |
| 559 | Targetting=false | |
| 560 | RocketTarget=nil | |
| 561 | targetgui.Parent=nil | |
| 562 | cam.CameraType="Custom" | |
| 563 | end | |
| 564 | end | |
| 565 | local debounce=Instance.new("BoolValue")
| |
| 566 | debounce.Name="DebounceHit" | |
| 567 | debounce.Parent=hit.Parent | |
| 568 | debounce.Value=true | |
| 569 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 570 | c=Instance.new("ObjectValue")
| |
| 571 | c.Name="creator" | |
| 572 | c.Value=Player | |
| 573 | c.Parent=h | |
| 574 | game:GetService("Debris"):AddItem(c,.5)
| |
| 575 | end | |
| 576 | end | |
| 577 | ||
| 578 | ||
| 579 | function ShowDamage(Pos, Text, Time, Color) | |
| 580 | local Rate = (1 / 30) | |
| 581 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 582 | local Text = (Text or "") | |
| 583 | local Time = (Time or 2) | |
| 584 | local Color = (Color or Color3.new(1, 0, 0)) | |
| 585 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
| |
| 586 | EffectPart.Anchored = true | |
| 587 | local BillboardGui = Instance.new("BillboardGui")
| |
| 588 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
| 589 | BillboardGui.Adornee = EffectPart | |
| 590 | local TextLabel = Instance.new("TextLabel")
| |
| 591 | TextLabel.BackgroundTransparency = 1 | |
| 592 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 593 | TextLabel.Text = Text | |
| 594 | TextLabel.TextColor3 = Color | |
| 595 | TextLabel.TextScaled = true | |
| 596 | TextLabel.Font = Enum.Font.ArialBold | |
| 597 | TextLabel.Parent = BillboardGui | |
| 598 | BillboardGui.Parent = EffectPart | |
| 599 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
| 600 | EffectPart.Parent = game:GetService("Workspace")
| |
| 601 | Delay(0, function() | |
| 602 | local Frames = (Time / Rate) | |
| 603 | for Frame = 1, Frames do | |
| 604 | wait(Rate) | |
| 605 | local Percent = (Frame / Frames) | |
| 606 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 607 | TextLabel.TextTransparency = Percent | |
| 608 | end | |
| 609 | if EffectPart and EffectPart.Parent then | |
| 610 | EffectPart:Destroy() | |
| 611 | end | |
| 612 | end) | |
| 613 | end | |
| 614 | ||
| 615 | --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end) | |
| 616 | ||
| 617 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.399999976, 5.19999981, 0.399999976)) | |
| 618 | Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, -5.69614329e-008, 5.96046448e-008, 5.69614222e-008, 0.999999881, 6.38557296e-008, -5.9604556e-008, -6.38557367e-008, 1),CFrame.new(0.00374984741, 1.86080933, -1.12269855, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007)) | |
| 619 | mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 620 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Hitbox",Vector3.new(0.399999976, 5.79999971, 1.19999993)) | |
| 621 | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(0, 4.58221436, 1.54972076e-006, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007)) | |
| 622 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.549069703, 0.200000003)) | |
| 623 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.7038269, -4.17234802, 0.521482468, -0.00134061801, -0.965925872, -0.258815825, 0.127585664, 0.256535649, -0.958076835, 0.991826713, -0.0343056135, 0.122894369)) | |
| 624 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188102",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 625 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.505991995, 0.200000003)) | |
| 626 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.0048789978, -6.39959717, -0.0483512878, -0.00134025724, -0.999999166, 3.77781362e-010, -1.4289509e-006, 1.52977009e-009, -1, 0.999999166, -0.00134026876, -1.42327076e-006)) | |
| 627 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366190087",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 628 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.536077976, 0.200000003)) | |
| 629 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.70379639, -4.74310303, -0.0496940613, -0.00134061789, -0.965925515, -0.258816719, 9.96684539e-005, 0.258816808, -0.965926409, 0.999999166, -0.00132074545, -0.000250696496)) | |
| 630 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366187724",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 631 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.366502315, 0.200000003)) | |
| 632 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(6.41351318, 1.12187362, 0.0872383118, 1.4289509e-006, -1.83359816e-009, 1, 0.0450558141, 0.998984575, -6.22948448e-008, -0.998984516, 0.0450558215, 1.4219072e-006)) | |
| 633 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366186808",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 634 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.272141635, 0.200000003)) | |
| 635 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.68979645, 3.77229309, -0.443828583, -0.0013399038, -0.965925515, 0.258816719, -0.110641979, 0.257371128, 0.95995754, -0.99385941, -0.027349731, -0.107216768)) | |
| 636 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189977",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 637 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright blue","Part",Vector3.new(0.34188652, 0.341886491, 0.341886491)) | |
| 638 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.0048789978, -5.64064026, -0.0483398438, -0.00134025724, -0.999999166, 3.77781362e-010, -1.4289509e-006, 1.52977009e-009, -1, 0.999999166, -0.00134026876, -1.42327076e-006)) | |
| 639 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366190286",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 640 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.544283271, 0.200000003)) | |
| 641 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.68979645, -4.18066406, 0.443828583, -0.0013399038, -0.965925515, 0.258816719, 0.110641979, -0.257371128, -0.95995754, 0.99385941, 0.027349731, 0.107216768)) | |
| 642 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189509",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 643 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.50530827, 0.200000003)) | |
| 644 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(5.83914185, 3.16908264, -0.0102233887, 1.33372578e-006, 0.258821219, 0.965925336, -0.00719921896, -0.965900242, 0.258814514, 0.999974191, -0.00695426436, 0.00186202815)) | |
| 645 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188798",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 646 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.252995998, 0.200000003)) | |
| 647 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(5.49203491, -4.05382919, 0.000431060791, 0.000857862935, -0.342018634, 0.939692795, 0.00978991855, -0.93964529, -0.342010289, 0.99995172, 0.00949290115, 0.00254225265)) | |
| 648 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366187331",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 649 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.536077976, 0.200000003)) | |
| 650 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.68981552, -4.74194336, -0.0941734314, -0.0013399038, -0.965925515, 0.258816719, -0.00951948017, -0.258792907, -0.965885937, 0.999953866, -0.0037580065, -0.00884834584)) | |
| 651 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189770",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 652 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.274876744, 0.200000003)) | |
| 653 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.7038002, 3.76046753, -0.521482468, -0.00134061801, -0.965925872, -0.258815825, -0.127585664, -0.256535649, 0.958076835, -0.991826713, 0.0343056135, -0.122894369)) | |
| 654 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188387",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 655 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.366502315, 0.200000003)) | |
| 656 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(6.41294861, 1.11096418, -0.0871925354, 1.4289509e-006, -1.83359816e-009, 1, 0.0424318425, -0.999099433, -6.22238758e-008, 0.999099374, 0.0424318314, -1.42191016e-006)) | |
| 657 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188623",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 658 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.50530827, 0.200000003)) | |
| 659 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(5.82444763, 3.1806221, -0.000411987305, 1.42099032e-006, -0.258821219, 0.965925217, -0.00982686318, 0.965878606, 0.258808762, -0.99995172, -0.00949237309, -0.00254203402)) | |
| 660 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366187079",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 661 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 662 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(6.12332153, -2.99322701, 0.0102005005, -0.000627051399, 0.173652589, 0.984806776, 0.00717565231, 0.984782457, -0.173643723, -0.999974132, 0.00695775915, -0.00186358555)) | |
| 663 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189081",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 664 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 1.60000002, 0.399999976)) | |
| 665 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 2.92131805, -4.32131958, 1, 1.08324627e-007, -2.16275893e-007, 2.41579585e-007, -0.707107067, 0.707106471, -7.2315359e-008, -0.707106531, -0.707107067)) | |
| 666 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 667 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 668 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(4.49303436, 1.52587891e-005, 1.74960327, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
| 669 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00399995, 0.699999988))
| |
| 670 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 671 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.74960327, 7.62939453e-006, 4.49303436, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
| 672 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00399995, 0.699999988))
| |
| 673 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 1.39999998, 0.399999976)) | |
| 674 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -3.42132568, -1.92131042, 1, 1.30831239e-007, -1.86473642e-007, -3.53272753e-008, -0.70710665, -0.707106888, -2.36420846e-007, 0.707106888, -0.70710665)) | |
| 675 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 676 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 1.39999998, 0.399999976)) | |
| 677 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 3.42131805, -1.92132568, 1, -2.11684181e-007, -1.26868997e-007, -4.79209916e-008, -0.707106709, 0.707106829, -2.35375424e-007, -0.707106829, -0.707106709)) | |
| 678 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 679 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 680 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.72132874, 1.52587891e-005, 4.52131653, -5.63450442e-008, -0.707106948, -0.70710659, 1, -1.11538469e-007, 2.6172529e-008, -8.53239754e-008, -0.70710665, 0.707106948)) | |
| 681 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 682 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 683 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, 0, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
| 684 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.998000026, 1))
| |
| 685 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 1.60000002, 0.399999976)) | |
| 686 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 2.92131042, 4.32132721, 1, -1.75202331e-007, 8.17472525e-008, 6.20649274e-008, 0.707106948, 0.70710665, -1.69638383e-007, -0.70710665, 0.707106948)) | |
| 687 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 688 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 689 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.72131348, 1.52587891e-005, 4.52132416, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
| 690 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 691 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 692 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, 1.52587891e-005, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 693 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 694 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 695 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, 0, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 696 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.779999971, 1.00399995, 0.779999971))
| |
| 697 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 698 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, -7.62939453e-006, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
| 699 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.779999971, 1.00399995, 0.779999971))
| |
| 700 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 701 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.93847656, -9.91821289e-005, -1.73847961, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 702 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 703 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 704 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.73847961, -0.000129699707, -2.93849945, 3.30619088e-008, -0.707107186, -0.707106411, 1, 1.32102684e-008, 2.78642904e-008, 1.69039538e-009, -0.707106411, 0.707107246)) | |
| 705 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 1.00399995, 0.75))
| |
| 706 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 707 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.73847961, -9.15527344e-005, -2.93849945, 3.30619088e-008, -0.707107186, -0.707106411, 1, 1.32102684e-008, 2.78642904e-008, 1.69039538e-009, -0.707106411, 0.707107246)) | |
| 708 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 709 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 710 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.93847656, -0.000129699707, -1.73847961, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 711 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 1.00399995, 0.75))
| |
| 712 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 713 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000137329102, -2.87993622, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 714 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 1.00399995, 0.75))
| |
| 715 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 716 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -9.91821289e-005, -2.87993622, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 717 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 718 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 0.799999952, 0.200000003)) | |
| 719 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000102996826, -2.33849335, -2.83850098, 1, -1.75202388e-007, 2.60561166e-007, -6.43755129e-008, 0.707107186, 0.707106471, -2.96079065e-007, -0.707106411, 0.707107186)) | |
| 720 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 721 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 0.799999952, 0.200000003)) | |
| 722 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, 2.33850098, -2.83849335, 1, 1.2310764e-007, 2.00956563e-007, 4.29951967e-008, 0.70710659, -0.707107067, -2.33165792e-007, 0.707107067, 0.707106531)) | |
| 723 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 724 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 0.599999964, 0.200000003)) | |
| 725 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.15527344e-005, -2.43848419, 1.83848572, 1, -2.11684238e-007, -1.26868997e-007, -4.79209774e-008, -0.70710659, 0.707107008, -2.35375509e-007, -0.707107067, -0.70710659)) | |
| 726 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 727 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.399999976, 0.599999964, 0.200000003)) | |
| 728 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.53674316e-005, 2.43848419, 1.83849335, 1, 8.66257324e-008, -1.86473642e-007, -6.65851871e-008, -0.707107067, -0.70710659, -2.05162905e-007, 0.70710659, -0.707107067)) | |
| 729 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 730 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
| 731 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 732 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 733 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
| 734 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 735 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.779999971, 1.00399995, 0.779999971))
| |
| 736 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Bright yellow","Part",Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
| 737 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.00487947464, -6.86695862, -0.788124084, -0.00134025724, -0.999999166, 3.77781362e-010, -0.11690025, 0.000156677488, -0.993143737, 0.993142784, -0.0013310794, -0.11690034)) | |
| 738 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366190426",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256))
| |
| 739 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 5)) | |
| 740 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(0, 0.100021601, -0.100006104, 1, -4.42883561e-008, 8.17472667e-008, 3.29249588e-008, 1, 0, -7.6065966e-008, 0, 1)) | |
| 741 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 742 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 5)) | |
| 743 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-7.62939453e-006, -0.0999908447, -0.100006104, 1, -4.42883561e-008, 8.17472667e-008, 3.29249588e-008, 1, 0, -7.6065966e-008, 0, 1)) | |
| 744 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 745 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
| 746 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(7.62939453e-006, -2.02130127, 3.42131042, 1, -3.71378803e-008, 2.21426184e-008, 2.98652765e-008, 0.707107127, -0.707106471, 6.58542376e-009, 0.707106471, 0.707107127)) | |
| 747 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 748 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 749 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.72132874, 1.52587891e-005, 4.52131653, -5.63450442e-008, -0.707106948, -0.70710659, 1, -1.11538469e-007, 2.6172529e-008, -8.53239754e-008, -0.70710665, 0.707106948)) | |
| 750 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 751 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 752 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, -2.28881836e-005, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 753 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.540000021, 1.00600004, 0.540000021))
| |
| 754 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
| 755 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 4.22131348, -2.82132721, 1, -5.14387608e-008, 8.17472667e-008, -8.21243304e-008, -0.707107127, 0.707106471, 2.54492676e-008, -0.707106471, -0.707107067)) | |
| 756 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 757 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.60000014)) | |
| 758 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -4.42131805, -2.92131805, 1, -5.7362314e-008, 2.00956563e-007, 1.05554292e-007, -0.70710659, -0.707107008, 1.70606626e-007, 0.707107008, -0.70710665)) | |
| 759 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 760 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
| 761 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -1.82131195, -3.42131042, 1, -1.84917042e-008, 2.21426131e-008, 6.59936461e-009, -0.707106948, -0.70710665, 1.6680417e-008, 0.70710665, -0.707106948)) | |
| 762 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 763 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 764 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.72131348, 1.52587891e-005, 4.52132416, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
| 765 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 766 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.60000014)) | |
| 767 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 4.42131805, -2.92131042, 1, -5.14387608e-008, 8.17472667e-008, -8.21243304e-008, -0.707107127, 0.707106471, 2.54492676e-008, -0.707106471, -0.707107067)) | |
| 768 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 769 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 770 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.8203125, -7.62939453e-006, 4.42233276, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
| 771 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.360000014, 1.00600004, 0.360000014))
| |
| 772 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
| 773 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -1.82130432, 3.42131042, 1, -3.71378803e-008, 2.21426184e-008, 2.98652765e-008, 0.707107127, -0.707106471, 6.58542376e-009, 0.707106471, 0.707107127)) | |
| 774 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 775 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
| 776 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.90734863e-005, -2.02132416, -3.42131805, 1, -2.13717362e-006, 2.00956563e-007, -1.36509493e-006, -0.707106948, -0.70710665, 1.64125504e-006, 0.70710665, -0.707106888)) | |
| 777 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 778 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
| 779 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -4.22133636, -2.82131195, 1, -4.30616183e-008, 8.17472667e-008, 3.13728066e-008, -0.707106471, -0.707107067, 7.62007772e-008, 0.707107127, -0.707106471)) | |
| 780 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1))
| |
| 781 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 782 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, 1.52587891e-005, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 783 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 784 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 785 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, -3.81469727e-005, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
| 786 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.540000021, 1.00600004, 0.540000021))
| |
| 787 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
| 788 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(4.4223175, 7.62939453e-006, 1.82032013, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
| 789 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.360000014, 1.00600004, 0.360000014))
| |
| 790 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
| 791 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, 0, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
| 792 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 793 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
| 794 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83847046, -9.15527344e-005, -2.03849792, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 795 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001))
| |
| 796 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.800000012, 0.400000006, 0.200000018)) | |
| 797 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.6000061, -9.91821289e-005, 0, 2.81561853e-007, 0, 1, 1, -2.43037192e-007, -2.75880552e-007, 2.31673781e-007, 1, -5.68434189e-014)) | |
| 798 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001))
| |
| 799 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
| 800 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 801 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1.00600004, 0.300000012))
| |
| 802 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
| 803 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.91821289e-005, -1.63848877, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 804 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001))
| |
| 805 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
| 806 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -4.57763672e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
| 807 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 808 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
| 809 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, 2.03847504, 3.49213707e-008, 0.707106709, -0.707106829, 1, -4.94104739e-008, 1.70204615e-008, -1.88853875e-008, -0.707106829, -0.707106709)) | |
| 810 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001))
| |
| 811 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.800000012, 0.400000006, 0.200000018)) | |
| 812 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.1920929e-007, -7.62939453e-006, -2.6000061, -4.80362132e-008, -1, -5.96046448e-008, 1, -5.93995821e-008, 2.00956563e-007, -1.95275234e-007, -5.96046448e-008, 1)) | |
| 813 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001))
| |
| 814 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
| 815 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.15527344e-005, -1.87385559, 2.50312805, 1, -5.4973583e-008, 2.21426237e-008, -4.24769979e-008, -0.707106471, 0.707107067, -1.91971878e-008, -0.707107067, -0.707106471)) | |
| 816 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 817 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
| 818 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.91821289e-005, -1.80315399, 2.50314331, 1, -5.4973583e-008, 2.21426237e-008, -4.24769979e-008, -0.707106471, 0.707107067, -1.91971878e-008, -0.707107067, -0.707106471)) | |
| 819 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 820 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
| 821 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83849335, -9.91821289e-005, 1.63847351, 3.49213707e-008, 0.707106709, -0.707106829, 1, -4.94104739e-008, 1.70204615e-008, -1.88853875e-008, -0.707106829, -0.707106709)) | |
| 822 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001))
| |
| 823 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
| 824 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.15527344e-005, 1.87384033, 2.50312805, 1, -7.00857896e-008, 8.17472738e-008, 1.22637118e-008, -0.707107186, -0.707106352, 9.53098009e-008, 0.707106411, -0.707107246)) | |
| 825 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 826 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 827 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000129699707, -2.77993774, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 828 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987))
| |
| 829 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 830 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.93847656, -0.000129699707, -1.73847961, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 831 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 832 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
| 833 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, 2.87386322, -2.27385712, 1, -3.36030155e-008, 2.21426184e-008, 2.73657292e-008, 0.70710659, -0.707107067, 4.08589074e-009, 0.707107008, 0.70710659)) | |
| 834 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 835 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
| 836 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.91821289e-005, 1.8031311, 2.50313568, 1, -7.00857896e-008, 8.17472738e-008, 1.22637118e-008, -0.707107186, -0.707106352, 9.53098009e-008, 0.707106411, -0.707107246)) | |
| 837 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 838 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
| 839 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, 2.80315399, -2.27384949, 1, -3.36030155e-008, 2.21426184e-008, 2.73657292e-008, 0.70710659, -0.707107067, 4.08589074e-009, 0.707107008, 0.70710659)) | |
| 840 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 841 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 842 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000137329102, -2.87993622, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 843 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 844 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
| 845 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.91821289e-005, -2.87384033, -2.27384949, 1, -1.84909084e-008, 8.1747288e-008, -4.87468412e-008, 0.707107186, 0.707106352, -5.88267284e-008, -0.707106411, 0.707107246)) | |
| 846 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 847 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
| 848 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, -2.8031311, -2.27385712, 1, -1.84909084e-008, 8.1747288e-008, -4.87468412e-008, 0.707107186, 0.707106352, -5.88267284e-008, -0.707106411, 0.707107246)) | |
| 849 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1))
| |
| 850 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
| 851 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.73847961, -0.000129699707, -2.93849945, 3.30619088e-008, -0.707107186, -0.707106411, 1, 1.32102684e-008, 2.78642904e-008, 1.69039538e-009, -0.707106411, 0.707107246)) | |
| 852 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012))
| |
| 853 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 854 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.87993622, -0.000137329102, -2.77992249, -7.96248685e-008, -0.707106411, 0.707107246, 1, -1.08422427e-007, 2.12288125e-008, 5.76374362e-008, 0.707107186, 0.707106352)) | |
| 855 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987))
| |
| 856 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 857 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87993622, -0.00012588501, 2.9799118, -9.7821129e-009, 0.707106471, -0.707107186, 1, -9.19525149e-008, -8.87417357e-008, -1.23752272e-007, -0.707107186, -0.707106411)) | |
| 858 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987))
| |
| 859 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 860 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000129699707, -2.97993469, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
| 861 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987))
| |
| 862 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0.40000000596046,0,"New Yeller","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
| 863 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.61967468, 0.0208930969, 0.388954163, 1.99454848e-006, -0.500001967, -0.866024256, 1, 5.25948326e-006, -7.3434984e-007, 4.93469815e-006, -0.866024315, 0.500001967)) | |
| 864 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981))
| |
| 865 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0.40000000596046,0,"New Yeller","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
| 866 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.49655151, -0.02085495, 0.328704834, -4.4098274e-006, 0.500002146, -0.866024196, -1, -5.25264568e-006, 2.04716162e-006, -3.53233304e-006, 0.866024196, 0.500002146)) | |
| 867 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981))
| |
| 868 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0.40000000596046,0,"New Yeller","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
| 869 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.47428894, -0.0208587646, -3.10037637, -1.42895101e-006, -3.70694409e-007, -1, -1, -3.60905688e-006, 1.42327121e-006, -3.62042033e-006, 1, -3.70689264e-007)) | |
| 870 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981))
| |
| 871 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0.40000000596046,0,"New Yeller","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
| 872 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-4.83097839, 0.0208816528, -6.22212982, -3.97769418e-006, 0.500002563, -0.866023958, 1, 5.0941826e-006, -1.63966331e-006, 3.5988478e-006, -0.866023958, -0.500002503)) | |
| 873 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981))
| |
| 874 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0.40000000596046,0,"New Yeller","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
| 875 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-4.71723938, -0.0208587646, -6.14561462, 1.47300841e-006, -0.500002384, -0.866024017, -1, -5.03130013e-006, 1.20483423e-006, -4.97232941e-006, 0.866024077, -0.500002384)) | |
| 876 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981))
| |
| 877 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0.40000000596046,0,"New Yeller","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
| 878 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.61105347, 0.0208778381, -3.10975885, -1.42895112e-006, 3.74361605e-007, -1, 1, 3.56889359e-006, -1.4232686e-006, 3.58025613e-006, -1, -3.74366721e-007)) | |
| 879 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981))
| |
| 880 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright yellow","Part",Vector3.new(0.399999976, 0.399999976, 0.399999976)) | |
| 881 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(0, 3.30000305, -1.90734863e-006, -0.744700134, -0.667399347, -5.07537834e-008, 7.83254563e-008, -1.76896435e-008, -1, 0.667399347, -0.744700074, 6.92395261e-008)) | |
| 882 | mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(1.35000002, 1.35000002, 1.35000002))
| |
| 883 | ||
| 884 | function attackone() | |
| 885 | attack = true | |
| 886 | local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end) | |
| 887 | for i = 0,1,0.1 do | |
| 888 | swait() | |
| 889 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
| 890 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(80)),.3) | |
| 891 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
| 892 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-30)), 0.3) | |
| 893 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 894 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 895 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
| 896 | end | |
| 897 | so("rbxassetid://199145887",Hitbox,1,1)
| |
| 898 | for i = 0,1,0.1 do | |
| 899 | swait() | |
| 900 | local blcf = Hitbox.CFrame*cf(0,0,0) | |
| 901 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 902 | local h = 5 | |
| 903 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 904 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 905 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 906 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 907 | scfr = blcf | |
| 908 | elseif not scfr then | |
| 909 | scfr = blcf | |
| 910 | end | |
| 911 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 912 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.3) | |
| 913 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
| 914 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
| 915 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 916 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 917 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(100)),.3) | |
| 918 | end | |
| 919 | attack = false | |
| 920 | con:disconnect() | |
| 921 | scfr = nil | |
| 922 | end | |
| 923 | ||
| 924 | function attacktwo() | |
| 925 | attack = true | |
| 926 | local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end) | |
| 927 | for i = 0,1,0.1 do | |
| 928 | swait() | |
| 929 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
| 930 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-2),math.rad(-50)),.3) | |
| 931 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3) | |
| 932 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3) | |
| 933 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 934 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 935 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(20)),.3) | |
| 936 | end | |
| 937 | so("rbxassetid://199145913",Hitbox,1,1)
| |
| 938 | for i = 0,1,0.1 do | |
| 939 | swait() | |
| 940 | local blcf = Hitbox.CFrame*cf(0,0,0) | |
| 941 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 942 | local h = 5 | |
| 943 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 944 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 945 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 946 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 947 | scfr = blcf | |
| 948 | elseif not scfr then | |
| 949 | scfr = blcf | |
| 950 | end | |
| 951 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
| 952 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(60)),.3) | |
| 953 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, .3) * angles(math.rad(0), math.rad(-10), math.rad(70)), 0.3) | |
| 954 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3) | |
| 955 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 956 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 957 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(60)),.3) | |
| 958 | end | |
| 959 | attack = false | |
| 960 | con:disconnect() | |
| 961 | scfr = nil | |
| 962 | end | |
| 963 | ||
| 964 | function attackthree() | |
| 965 | attack = true | |
| 966 | local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end) | |
| 967 | so("http://roblox.com/asset/?id=153092348",Torso,1,.8)
| |
| 968 | for i = 0,1,0.1 do | |
| 969 | swait() | |
| 970 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 971 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(-80)),.3) | |
| 972 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(130), math.rad(80)), 0.3) | |
| 973 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(0), math.rad(-20)), 0.3) | |
| 974 | 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) | |
| 975 | 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) | |
| 976 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(40)),.3) | |
| 977 | Torso.Velocity=Head.CFrame.lookVector*100 | |
| 978 | end | |
| 979 | so("http://roblox.com/asset/?id=199145327",Torso,1,.9)
| |
| 980 | for i = 0,1,0.1 do | |
| 981 | swait() | |
| 982 | local blcf = Hitbox.CFrame*cf(0,0,0) | |
| 983 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 984 | local h = 5 | |
| 985 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 986 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 987 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 988 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 989 | scfr = blcf | |
| 990 | elseif not scfr then | |
| 991 | scfr = blcf | |
| 992 | end | |
| 993 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),-7*i),.3) | |
| 994 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3) | |
| 995 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.3) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
| 996 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-40)), 0.3) | |
| 997 | 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) | |
| 998 | 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) | |
| 999 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
| 1000 | end | |
| 1001 | attack = false | |
| 1002 | con:disconnect() | |
| 1003 | scfr = nil | |
| 1004 | end | |
| 1005 | ||
| 1006 | function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type) | |
| 1007 | for _,c in pairs(workspace:children()) do | |
| 1008 | local hum=c:findFirstChild("Humanoid")
| |
| 1009 | if hum~=nil then | |
| 1010 | local head=c:findFirstChild("Torso")
| |
| 1011 | if head~=nil then | |
| 1012 | local targ=head.Position-Part.Position | |
| 1013 | local mag=targ.magnitude | |
| 1014 | if mag<=magni and c.Name~=Player.Name then | |
| 1015 | Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3) | |
| 1016 | end | |
| 1017 | end | |
| 1018 | end | |
| 1019 | end | |
| 1020 | end | |
| 1021 | ||
| 1022 | function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1023 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt()) | |
| 1024 | prt.Anchored=true | |
| 1025 | prt.CFrame=cframe | |
| 1026 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 1027 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1028 | table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
| |
| 1029 | end | |
| 1030 | ||
| 1031 | function attackfour() | |
| 1032 | attack = true | |
| 1033 | Humanoid.WalkSpeed = 0 | |
| 1034 | for i = 0,1,0.1 do | |
| 1035 | swait() | |
| 1036 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1037 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 1038 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3) | |
| 1039 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 1040 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
| 1041 | 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) | |
| 1042 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
| 1043 | end | |
| 1044 | MagniDamage(Hitbox,LeftLeg,20,30,50,math.random(30,40),"Knockdown",true) | |
| 1045 | so("http://roblox.com/asset/?id=199145264",LeftLeg,1,1.1)
| |
| 1046 | so("http://roblox.com/asset/?id=200632561",LeftLeg,1,1)
| |
| 1047 | MagicWave(BrickColor.new("New Yeller"),cf(LeftLeg.Position),.7,.7,.7,.7,.7,.7,.05)
| |
| 1048 | MagicWave(BrickColor.new("Really black"),cf(LeftLeg.Position),.6,.6,.6,.6,.6,.6,.05)
| |
| 1049 | for i = 0,1,0.1 do | |
| 1050 | swait() | |
| 1051 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1052 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1053 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3) | |
| 1054 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 1055 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
| 1056 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 1057 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-10)),.3) | |
| 1058 | end | |
| 1059 | attack = false | |
| 1060 | Humanoid.WalkSpeed = 16 | |
| 1061 | end | |
| 1062 | ||
| 1063 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1064 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt()) | |
| 1065 | prt.Anchored=true | |
| 1066 | prt.CFrame=cframe | |
| 1067 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1068 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1069 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1070 | for i=0,1,delay do | |
| 1071 | wait() | |
| 1072 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1073 | Part.Transparency=i | |
| 1074 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1075 | end | |
| 1076 | Part.Parent=nil | |
| 1077 | end),prt,msh) | |
| 1078 | end | |
| 1079 | ||
| 1080 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1081 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt()) | |
| 1082 | prt.Anchored=true | |
| 1083 | prt.CFrame=cframe | |
| 1084 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1085 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1086 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1087 | local wld=nil | |
| 1088 | for i=0,1,delay do | |
| 1089 | wait() | |
| 1090 | Part.CFrame=Part.CFrame | |
| 1091 | Part.Transparency=i | |
| 1092 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1093 | end | |
| 1094 | Part.Parent=nil | |
| 1095 | end),prt,msh) | |
| 1096 | end | |
| 1097 | ||
| 1098 | function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1099 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2)) | |
| 1100 | prt.Anchored=true | |
| 1101 | prt.CFrame=cframe | |
| 1102 | msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1103 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1104 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1105 | for i=0,1,delay do | |
| 1106 | wait() | |
| 1107 | Part.CFrame=Part.CFrame | |
| 1108 | Part.Transparency=i | |
| 1109 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1110 | end | |
| 1111 | Part.Parent=nil | |
| 1112 | end),prt,msh) | |
| 1113 | end | |
| 1114 | ||
| 1115 | function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1116 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1117 | prt.Anchored=true | |
| 1118 | prt.CFrame=cframe | |
| 1119 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
| |
| 1120 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1121 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1122 | for i=0,1,delay do | |
| 1123 | wait() | |
| 1124 | Part.CFrame=Part.CFrame | |
| 1125 | Part.Transparency=i | |
| 1126 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1127 | end | |
| 1128 | Part.Parent=nil | |
| 1129 | end),prt,msh) | |
| 1130 | end | |
| 1131 | ||
| 1132 | local n = 0 | |
| 1133 | ||
| 1134 | function Blast() | |
| 1135 | n=2 | |
| 1136 | attack = true | |
| 1137 | for i=0,1,0.1 do | |
| 1138 | swait() | |
| 1139 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),.3) | |
| 1140 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(30)),.3) | |
| 1141 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
| 1142 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
| 1143 | 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) | |
| 1144 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1145 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
| 1146 | end | |
| 1147 | so("http://roblox.com/asset/?id=160772554",Torso,1,0.6)
| |
| 1148 | so("http://roblox.com/asset/?id=161006069",Torso,1,0.6)
| |
| 1149 | local charging=true | |
| 1150 | for _,c in pairs(workspace:children()) do | |
| 1151 | if c.className=="Model" then | |
| 1152 | if c:findFirstChild("Torso")~=nil and c:findFirstChild("Humanoid")~=nil and c.Name~="Vanta" then
| |
| 1153 | print(c) | |
| 1154 | local Tors=c:findFirstChild("Torso")
| |
| 1155 | coroutine.resume(coroutine.create(function(Part) | |
| 1156 | local ef=part(3,Character,"SmoothPlastic",0,0.5,BrickColor.new("Really black"),"Laser",vt(0.2,0.2,0.2))
| |
| 1157 | ef.Anchored=true | |
| 1158 | local emsh=mesh("SpecialMesh",ef,"Head","",vt(0,0,0),vt(1,1,1))
| |
| 1159 | game:GetService("Debris"):AddItem(ef,5)
| |
| 1160 | while charging==true do | |
| 1161 | wait() | |
| 1162 | local TheHit=Part.Position | |
| 1163 | local MouseLook=cf((LeftArm.Position+TheHit)/2,TheHit) | |
| 1164 | - | orb.CFrame=cf(Player:GetMouse().Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10))) |
| 1164 | + | |
| 1165 | local mag=(LeftArm.Position-pos).magnitude | |
| 1166 | ef.CFrame=CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0) | |
| 1167 | emsh.Scale=vt(1,mag*5,1) | |
| 1168 | end | |
| 1169 | ef.Parent=nil | |
| 1170 | local TheHit=Part.Position | |
| 1171 | local MouseLook=cf((Torso.Position+TheHit)/2,TheHit) | |
| 1172 | wait() | |
| 1173 | local hit,pos = rayCast(Torso.Position,MouseLook.lookVector,999,Character) | |
| 1174 | local mag=(Torso.Position-pos).magnitude | |
| 1175 | if hit~=nil then | |
| 1176 | Damagefunc(hit,hit,20,40,50,"Knockdown",RootPart,0) | |
| 1177 | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,6,6,6,0.02)
| |
| 1178 | MagicBlock(BrickColor.new("Really black"),cf(pos),5,5,5,7,7,7,0.02)
| |
| 1179 | MagicCylinder(BrickColor.new("Really black"),CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0),5,mag*5,5,0.5,0,0.5,0.01)
| |
| 1180 | so("http://roblox.com/asset/?id=183763515",hit,1,1)
| |
| 1181 | so("http://roblox.com/asset/?id=183763512",hit,1,1)
| |
| 1182 | end | |
| 1183 | end),Tors) | |
| 1184 | end | |
| 1185 | end | |
| 1186 | end | |
| 1187 | wait(1) | |
| 1188 | n=2 | |
| 1189 | --[[for i=0,1,0.2 do | |
| 1190 | wait() | |
| 1191 | Neck.C0=cf(0,1,0)*euler(-0.4+0.2*i*n,0,0) | |
| 1192 | RW.C0=cf(1+0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.4+0.17*i*n,0,-1.2+2.77*i*n) | |
| 1193 | LW.C0=cf(-1-0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.6-0.03*i*n,0,1.4-2.97*i*n) | |
| 1194 | n=n-0.2 | |
| 1195 | end]]-- | |
| 1196 | charging=false | |
| 1197 | wait(1) | |
| 1198 | n=2 | |
| 1199 | --[[for i=0,1,0.1 do | |
| 1200 | wait() | |
| 1201 | Neck.C0=cf(0,1,0)*euler(-0.2,0,0) | |
| 1202 | RW.C0=cf(1.5,0.5,0)*euler(1.57-1.57*i*n,0,1.57-1.37*i*n) | |
| 1203 | LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.57*i*n,0,-1.57+1.37*i*n) | |
| 1204 | n=n-0.1 | |
| 1205 | end]]-- | |
| 1206 | attack = false | |
| 1207 | end | |
| 1208 | ||
| 1209 | function PlaySound(id, pitch, parent, volume) | |
| 1210 | if volume == nil then volume=tonumber(1) end | |
| 1211 | local epicsound = Instance.new("Sound")
| |
| 1212 | epicsound.Name = "Epicosound" | |
| 1213 | epicsound.SoundId = "rbxassetid://"..id | |
| 1214 | epicsound.Volume = volume | |
| 1215 | epicsound.Pitch = pitch | |
| 1216 | epicsound.Looped = false | |
| 1217 | epicsound.Parent = parent | |
| 1218 | wait() | |
| 1219 | epicsound:Play() | |
| 1220 | game:service'Debris':AddItem(epicsound, 8) | |
| 1221 | end | |
| 1222 | ||
| 1223 | Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
| |
| 1224 | ||
| 1225 | Shot = function(part) | |
| 1226 | local shot=math.random(1, #Shots) | |
| 1227 | PlaySound(Shots[shot], 1, part) | |
| 1228 | end | |
| 1229 | ||
| 1230 | function CelestialStorm() | |
| 1231 | local n=2 | |
| 1232 | attack = true | |
| 1233 | for i=0,1,0.1 do | |
| 1234 | swait() | |
| 1235 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1236 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(0)),.3) | |
| 1237 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
| 1238 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(-20)), 0.3) | |
| 1239 | 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) | |
| 1240 | 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) | |
| 1241 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
| 1242 | end | |
| 1243 | for i=1,math.random(5,10) do | |
| 1244 | wait(.05) | |
| 1245 | MagicBlock(BrickColor.new("New Yeller"),LeftArm.CFrame*cf(0,-1,0),5,5,5,2,2,2,0.1)
| |
| 1246 | local orb=part(3,Character,"SmoothPlastic",0,0.5,BrickColor.new("New Yeller"),"Orb",vt())
| |
| 1247 | orb.Anchored=true | |
| 1248 | Shot(orb) | |
| 1249 | local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
| |
| 1250 | orb.CFrame=Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10))) | |
| 1251 | MagicCircle(BrickColor.new("New Yeller"),orb.CFrame,10,10,10,1,1,1,0.1)
| |
| 1252 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 1253 | wait(1) | |
| 1254 | Part.Parent=nil | |
| 1255 | local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(Part.Position-(Part.Position+vt(0,-1,0))).magnitude/100 | |
| 1256 | local TheHit=Part.Position+vt(0,-1,0) | |
| 1257 | local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread) | |
| 1258 | local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character) | |
| 1259 | local mag=(Part.Position-pos).magnitude | |
| 1260 | MagicCylinder(BrickColor.new("New Yeller"),CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05)
| |
| 1261 | MagicBlock(BrickColor.new("New Yeller"),Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
| |
| 1262 | MagicBlock(BrickColor.new("New Yeller"),cf(pos),15,15,15,6,6,6,0.1)
| |
| 1263 | MagicRing(BrickColor.new("New Yeller"),cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05)
| |
| 1264 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("New Yeller"),"Effect",vt())
| |
| 1265 | ref.CFrame=cf(pos) | |
| 1266 | so("http://roblox.com/asset/?id=231917788",ref,1,1.4)
| |
| 1267 | coroutine.resume(coroutine.create(function(Part) | |
| 1268 | wait(1) | |
| 1269 | Part.Parent=nil | |
| 1270 | end),ref) | |
| 1271 | MagniDamage(ref,ref,15,5,10,0,"Normal",RootPart) | |
| 1272 | if hit~=nil then | |
| 1273 | Damagefunc(ref,hit,20,40,1,"Knockdown",RootPart,0) | |
| 1274 | end | |
| 1275 | end),orb,omsh) | |
| 1276 | end | |
| 1277 | wait(0.5) | |
| 1278 | local n=2 | |
| 1279 | for i=0,1,0.1 do | |
| 1280 | wait() | |
| 1281 | --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0) | |
| 1282 | RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n) | |
| 1283 | RW.C1=cf(0,0.5,0)*euler(0,0,0) | |
| 1284 | LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3) | |
| 1285 | LW.C1=cf(0,0.5,0)*euler(0,0,0)]] | |
| 1286 | n=n-0.1 | |
| 1287 | end | |
| 1288 | attack = false | |
| 1289 | end | |
| 1290 | ||
| 1291 | ||
| 1292 | ||
| 1293 | mouse.Button1Down:connect(function() | |
| 1294 | if attack == false and attacktype == 1 then | |
| 1295 | attacktype = 2 | |
| 1296 | attackone() | |
| 1297 | elseif attack == false and attacktype == 2 then | |
| 1298 | attacktype = 3 | |
| 1299 | attacktwo() | |
| 1300 | elseif attack == false and attacktype == 3 then | |
| 1301 | attacktype = 4 | |
| 1302 | attackthree() | |
| 1303 | elseif attack == false and attacktype == 4 then | |
| 1304 | attacktype = 1 | |
| 1305 | attackfour() | |
| 1306 | end | |
| 1307 | end) | |
| 1308 | ||
| 1309 | mouse.KeyDown:connect(function(k) | |
| 1310 | k=k:lower() | |
| 1311 | if attack == false and k == 'q' then | |
| 1312 | CelestialStorm() | |
| 1313 | elseif attack == false and k == 'e' then | |
| 1314 | Blast() | |
| 1315 | end | |
| 1316 | end) | |
| 1317 | ||
| 1318 | ||
| 1319 | local sine = 0 | |
| 1320 | local change = 1 | |
| 1321 | local val = 0 | |
| 1322 | local donum=0 | |
| 1323 | ||
| 1324 | while true do | |
| 1325 | swait() | |
| 1326 | sine = sine + change | |
| 1327 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 1328 | local velderp=RootPart.Velocity.y | |
| 1329 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 1330 | if equipped==true or equipped==false then | |
| 1331 | if attack==false then | |
| 1332 | idle=idle+1 | |
| 1333 | else | |
| 1334 | idle=0 | |
| 1335 | end | |
| 1336 | if idle>=500 then | |
| 1337 | if attack==false then | |
| 1338 | end | |
| 1339 | end | |
| 1340 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 1341 | Anim="Jump" | |
| 1342 | if attack==false then | |
| 1343 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1344 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1345 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3) | |
| 1346 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3) | |
| 1347 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1348 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1349 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3) | |
| 1350 | end | |
| 1351 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 1352 | Anim="Fall" | |
| 1353 | if attack==false then | |
| 1354 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 1355 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 1356 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(50)), 0.3) | |
| 1357 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-50)), 0.3) | |
| 1358 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1359 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1360 | end | |
| 1361 | elseif torvel<1 and hitfloor~=nil then | |
| 1362 | Anim="Idle" | |
| 1363 | if attack==false then | |
| 1364 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3) | |
| 1365 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(30)),.3) | |
| 1366 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
| 1367 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-20)), 0.3) | |
| 1368 | 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) | |
| 1369 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1370 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
| 1371 | end | |
| 1372 | elseif torvel>2 and hitfloor~=nil then | |
| 1373 | Anim="Walk" | |
| 1374 | if attack==false then | |
| 1375 | change=3 | |
| 1376 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1377 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1378 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15)*math.cos(sine/13), math.rad(0), math.rad(10)), 0.3) | |
| 1379 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15)*math.cos(sine/13), math.rad(0), math.rad(-10)), 0.3) | |
| 1380 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 1381 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 1382 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3) | |
| 1383 | end | |
| 1384 | end | |
| 1385 | end | |
| 1386 | if #Effects>0 then | |
| 1387 | for e=1,#Effects do | |
| 1388 | if Effects[e]~=nil then | |
| 1389 | local Thing=Effects[e] | |
| 1390 | if Thing~=nil then | |
| 1391 | local Part=Thing[1] | |
| 1392 | local Mode=Thing[2] | |
| 1393 | local Delay=Thing[3] | |
| 1394 | local IncX=Thing[4] | |
| 1395 | local IncY=Thing[5] | |
| 1396 | local IncZ=Thing[6] | |
| 1397 | if Thing[1].Transparency<=1 then | |
| 1398 | if Thing[2]=="Block1" then | |
| 1399 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1400 | Mesh=Thing[1].Mesh | |
| 1401 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1402 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1403 | elseif Thing[2]=="Cylinder" then | |
| 1404 | Mesh=Thing[1].Mesh | |
| 1405 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1406 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1407 | elseif Thing[2]=="Blood" then | |
| 1408 | Mesh=Thing[7] | |
| 1409 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
| 1410 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1411 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1412 | elseif Thing[2]=="Elec" then | |
| 1413 | Mesh=Thing[1].Mesh | |
| 1414 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
| 1415 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1416 | elseif Thing[2]=="Disappear" then | |
| 1417 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1418 | end | |
| 1419 | else | |
| 1420 | Part.Parent=nil | |
| 1421 | table.remove(Effects,e) | |
| 1422 | end | |
| 1423 | end | |
| 1424 | end | |
| 1425 | end | |
| 1426 | end | |
| 1427 | end |