SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has convert to FE by who i don't know? | |
| 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,game,owner = owner,game | |
| 6 | local RealPlayer = Player | |
| 7 | do | |
| 8 | print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
| |
| 9 | local rp = RealPlayer | |
| 10 | script.Parent = rp.Character | |
| 11 | ||
| 12 | --RemoteEvent for communicating | |
| 13 | local Event = Instance.new("RemoteEvent")
| |
| 14 | Event.Name = "UserInput_Event" | |
| 15 | ||
| 16 | --Fake event to make stuff like Mouse.KeyDown work | |
| 17 | local function fakeEvent() | |
| 18 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 19 | t.connect = t.Connect | |
| 20 | return t | |
| 21 | end | |
| 22 | ||
| 23 | --Creating fake input objects with fake variables | |
| 24 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 25 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 26 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 27 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 28 | end} | |
| 29 | --Merged 2 functions into one by checking amount of arguments | |
| 30 | CAS.UnbindAction = CAS.BindAction | |
| 31 | ||
| 32 | --This function will trigger the events that have been :Connect()'ed | |
| 33 | local function te(self,ev,...) | |
| 34 | local t = m[ev] | |
| 35 | if t and t._fakeEvent then | |
| 36 | for _,f in pairs(t.Functions) do | |
| 37 | f(...) | |
| 38 | end | |
| 39 | end | |
| 40 | end | |
| 41 | m.TrigEvent = te | |
| 42 | UIS.TrigEvent = te | |
| 43 | ||
| 44 | Event.OnServerEvent:Connect(function(plr,io) | |
| 45 | if plr~=rp then return end | |
| 46 | m.Target = io.Target | |
| 47 | m.Hit = io.Hit | |
| 48 | if not io.isMouse then | |
| 49 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 50 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 51 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 52 | end | |
| 53 | for _,t in pairs(CAS.Actions) do | |
| 54 | for _,k in pairs(t.Keys) do | |
| 55 | if k==io.KeyCode then | |
| 56 | t.Function(t.Name,io.UserInputState,io) | |
| 57 | end | |
| 58 | end | |
| 59 | end | |
| 60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 62 | end | |
| 63 | end) | |
| 64 | Event.Parent = NLS([==[ | |
| 65 | local Player = game:GetService("Players").LocalPlayer
| |
| 66 | local Event = script:WaitForChild("UserInput_Event")
| |
| 67 | ||
| 68 | local Mouse = Player:GetMouse() | |
| 69 | local UIS = game:GetService("UserInputService")
| |
| 70 | local input = function(io,a) | |
| 71 | if a then return end | |
| 72 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 73 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 74 | end | |
| 75 | UIS.InputBegan:Connect(input) | |
| 76 | UIS.InputEnded:Connect(input) | |
| 77 | ||
| 78 | local h,t | |
| 79 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 80 | --If player is not moving their mouse, client won't fire events | |
| 81 | while wait(1/30) do | |
| 82 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 83 | h,t=Mouse.Hit,Mouse.Target | |
| 84 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 85 | end | |
| 86 | end]==],Player.Character) | |
| 87 | ||
| 88 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 89 | --Real game object | |
| 90 | local _rg = game | |
| 91 | ||
| 92 | --Metatable for fake service | |
| 93 | local fsmt = {
| |
| 94 | __index = function(self,k) | |
| 95 | local s = rawget(self,"_RealService") | |
| 96 | if s then return s[k] end | |
| 97 | end, | |
| 98 | __newindex = function(self,k,v) | |
| 99 | local s = rawget(self,"_RealService") | |
| 100 | if s then s[k]=v end | |
| 101 | end, | |
| 102 | __call = function(self,...) | |
| 103 | local s = rawget(self,"_RealService") | |
| 104 | if s then return s(...) end | |
| 105 | end | |
| 106 | } | |
| 107 | local function FakeService(t,RealService) | |
| 108 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 109 | return setmetatable(t,fsmt) | |
| 110 | end | |
| 111 | ||
| 112 | --Fake game object | |
| 113 | local g = {
| |
| 114 | GetService = function(self,s) | |
| 115 | return self[s] | |
| 116 | end, | |
| 117 | Players = FakeService({
| |
| 118 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 119 | },"Players"), | |
| 120 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 121 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 122 | } | |
| 123 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 124 | g.service = g.GetService | |
| 125 | ||
| 126 | g.RunService = FakeService({
| |
| 127 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 128 | BindToRenderStep = function(self,name,_,fun) | |
| 129 | ||
| 130 | end, | |
| 131 | UnbindFromRenderStep = function(self,name) | |
| 132 | self._btrs[name]:Disconnect() | |
| 133 | end, | |
| 134 | },"RunService") | |
| 135 | ||
| 136 | setmetatable(g,{
| |
| 137 | __index=function(self,s) | |
| 138 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 139 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 140 | end, | |
| 141 | __newindex = fsmt.__newindex, | |
| 142 | __call = fsmt.__call | |
| 143 | }) | |
| 144 | --Changing owner to fake player object to support owner:GetMouse() | |
| 145 | game,owner = g,g.Players.LocalPlayer | |
| 146 | end | |
| 147 | Player=game:GetService("Players").LocalPlayer
| |
| 148 | Character=Player.Character | |
| 149 | PlayerGui=Player.PlayerGui | |
| 150 | Backpack=Player.Backpack | |
| 151 | Torso=Character.Torso | |
| 152 | Head=Character.Head | |
| 153 | Humanoid=Character.Humanoid | |
| 154 | m=Instance.new('Model',Character)
| |
| 155 | LeftArm=Character["Left Arm"] | |
| 156 | LeftLeg=Character["Left Leg"] | |
| 157 | RightArm=Character["Right Arm"] | |
| 158 | RightLeg=Character["Right Leg"] | |
| 159 | LS=Torso["Left Shoulder"] | |
| 160 | LH=Torso["Left Hip"] | |
| 161 | RS=Torso["Right Shoulder"] | |
| 162 | RH=Torso["Right Hip"] | |
| 163 | Face = Head.face | |
| 164 | Neck=Torso.Neck | |
| 165 | it=Instance.new | |
| 166 | attacktype=1 | |
| 167 | vt=Vector3.new | |
| 168 | cf=CFrame.new | |
| 169 | euler=CFrame.fromEulerAnglesXYZ | |
| 170 | angles=CFrame.Angles | |
| 171 | cloaked=false | |
| 172 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 173 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 174 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 175 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 176 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 177 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 178 | RootPart=Character.HumanoidRootPart | |
| 179 | RootJoint=RootPart.RootJoint | |
| 180 | RootCF=euler(-1.57,0,3.14) | |
| 181 | attack = false | |
| 182 | attackdebounce = false | |
| 183 | deb=false | |
| 184 | equipped=true | |
| 185 | hand=false | |
| 186 | MMouse=nil | |
| 187 | combo=0 | |
| 188 | mana=0 | |
| 189 | trispeed=.2 | |
| 190 | attackmode='none' | |
| 191 | local idle=0 | |
| 192 | local Anim="Idle" | |
| 193 | local Effects={}
| |
| 194 | local gun=false | |
| 195 | local shoot=false | |
| 196 | player=nil | |
| 197 | mana=0 | |
| 198 | ||
| 199 | mouse=Player:GetMouse() | |
| 200 | --save shoulders | |
| 201 | RSH, LSH=nil, nil | |
| 202 | --welds | |
| 203 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 204 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 205 | LH=Torso["Left Hip"] | |
| 206 | RH=Torso["Right Hip"] | |
| 207 | TorsoColor=Torso.BrickColor | |
| 208 | function NoOutline(Part) | |
| 209 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 210 | end | |
| 211 | player=Player | |
| 212 | ch=Character | |
| 213 | RSH=ch.Torso["Right Shoulder"] | |
| 214 | LSH=ch.Torso["Left Shoulder"] | |
| 215 | -- | |
| 216 | RSH.Parent=nil | |
| 217 | LSH.Parent=nil | |
| 218 | -- | |
| 219 | RW.Name="Right Shoulder" | |
| 220 | RW.Part0=ch.Torso | |
| 221 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 222 | RW.C1=cf(0, 0.5, 0) | |
| 223 | RW.Part1=ch["Right Arm"] | |
| 224 | RW.Parent=ch.Torso | |
| 225 | -- | |
| 226 | LW.Name="Left Shoulder" | |
| 227 | LW.Part0=ch.Torso | |
| 228 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 229 | LW.C1=cf(0, 0.5, 0) | |
| 230 | LW.Part1=ch["Left Arm"] | |
| 231 | LW.Parent=ch.Torso | |
| 232 | ||
| 233 | Player=game:GetService('Players').LocalPlayer
| |
| 234 | Character=Player.Character | |
| 235 | Mouse=Player:GetMouse() | |
| 236 | m=Instance.new('Model',Character)
| |
| 237 | ||
| 238 | ||
| 239 | local function weldBetween(a, b) | |
| 240 | local weldd = Instance.new("ManualWeld")
| |
| 241 | weldd.Part0 = a | |
| 242 | weldd.Part1 = b | |
| 243 | weldd.C0 = CFrame.new() | |
| 244 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 245 | weldd.Parent = a | |
| 246 | return weldd | |
| 247 | end | |
| 248 | ||
| 249 | it=Instance.new | |
| 250 | ||
| 251 | function nooutline(part) | |
| 252 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 253 | end | |
| 254 | ||
| 255 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 256 | local fp=it("Part")
| |
| 257 | fp.formFactor=formfactor | |
| 258 | fp.Parent=parent | |
| 259 | fp.Reflectance=reflectance | |
| 260 | fp.Transparency=transparency | |
| 261 | fp.CanCollide=false | |
| 262 | fp.Locked=true | |
| 263 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 264 | fp.Name=name | |
| 265 | fp.Size=size | |
| 266 | fp.Position=Character.Torso.Position | |
| 267 | nooutline(fp) | |
| 268 | fp.Material=material | |
| 269 | fp:BreakJoints() | |
| 270 | return fp | |
| 271 | end | |
| 272 | ||
| 273 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 274 | local mesh=it(Mesh) | |
| 275 | mesh.Parent=part | |
| 276 | if Mesh=="SpecialMesh" then | |
| 277 | mesh.MeshType=meshtype | |
| 278 | mesh.MeshId=meshid | |
| 279 | end | |
| 280 | mesh.Offset=offset | |
| 281 | mesh.Scale=scale | |
| 282 | return mesh | |
| 283 | end | |
| 284 | ||
| 285 | function weld(parent,part0,part1,c0,c1) | |
| 286 | local weld=it("Weld")
| |
| 287 | weld.Parent=parent | |
| 288 | weld.Part0=part0 | |
| 289 | weld.Part1=part1 | |
| 290 | weld.C0=c0 | |
| 291 | weld.C1=c1 | |
| 292 | return weld | |
| 293 | end | |
| 294 | ||
| 295 | ||
| 296 | Player=game:GetService('Players').LocalPlayer
| |
| 297 | Character=Player.Character | |
| 298 | Mouse=Player:GetMouse() | |
| 299 | m=Instance.new('Model',Character)
| |
| 300 | ||
| 301 | ||
| 302 | local function weldBetween(a, b) | |
| 303 | local weldd = Instance.new("ManualWeld")
| |
| 304 | weldd.Part0 = a | |
| 305 | weldd.Part1 = b | |
| 306 | weldd.C0 = CFrame.new() | |
| 307 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 308 | weldd.Parent = a | |
| 309 | return weldd | |
| 310 | end | |
| 311 | ||
| 312 | it=Instance.new | |
| 313 | ||
| 314 | function nooutline(part) | |
| 315 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 316 | end | |
| 317 | ||
| 318 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 319 | local fp=it("Part")
| |
| 320 | fp.formFactor=formfactor | |
| 321 | fp.Parent=parent | |
| 322 | fp.Reflectance=reflectance | |
| 323 | fp.Transparency=transparency | |
| 324 | fp.CanCollide=false | |
| 325 | fp.Locked=true | |
| 326 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 327 | fp.Name=name | |
| 328 | fp.Size=size | |
| 329 | fp.Position=Character.Torso.Position | |
| 330 | nooutline(fp) | |
| 331 | fp.Material=material | |
| 332 | fp:BreakJoints() | |
| 333 | return fp | |
| 334 | end | |
| 335 | ||
| 336 | function swait(num) | |
| 337 | if num==0 or num==nil then | |
| 338 | game:service'RunService'.Heartbeat:wait(0) | |
| 339 | else | |
| 340 | for i=0,num do | |
| 341 | game:service'RunService'.Heartbeat:wait(0) | |
| 342 | end | |
| 343 | end | |
| 344 | end | |
| 345 | ||
| 346 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 347 | local mesh=it(Mesh) | |
| 348 | mesh.Parent=part | |
| 349 | if Mesh=="SpecialMesh" then | |
| 350 | mesh.MeshType=meshtype | |
| 351 | mesh.MeshId=meshid | |
| 352 | end | |
| 353 | mesh.Offset=offset | |
| 354 | mesh.Scale=scale | |
| 355 | return mesh | |
| 356 | end | |
| 357 | ||
| 358 | function weld(parent,part0,part1,c0,c1) | |
| 359 | local weld=it("Weld")
| |
| 360 | weld.Parent=parent | |
| 361 | weld.Part0=part0 | |
| 362 | weld.Part1=part1 | |
| 363 | weld.C0=c0 | |
| 364 | weld.C1=c1 | |
| 365 | return weld | |
| 366 | end | |
| 367 | ||
| 368 | ||
| 369 | local function CFrameFromTopBack(at, top, back) | |
| 370 | local right = top:Cross(back) | |
| 371 | return CFrame.new(at.x, at.y, at.z, | |
| 372 | right.x, top.x, back.x, | |
| 373 | right.y, top.y, back.y, | |
| 374 | right.z, top.z, back.z) | |
| 375 | end | |
| 376 | ||
| 377 | function Triangle(a, b, c) | |
| 378 | local edg1 = (c-a):Dot((b-a).unit) | |
| 379 | local edg2 = (a-b):Dot((c-b).unit) | |
| 380 | local edg3 = (b-c):Dot((a-c).unit) | |
| 381 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 382 | a, b, c = a, b, c | |
| 383 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 384 | a, b, c = b, c, a | |
| 385 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 386 | a, b, c = c, a, b | |
| 387 | else | |
| 388 | assert(false, "unreachable") | |
| 389 | end | |
| 390 | ||
| 391 | local len1 = (c-a):Dot((b-a).unit) | |
| 392 | local len2 = (b-a).magnitude - len1 | |
| 393 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 394 | ||
| 395 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 396 | ||
| 397 | local list = {}
| |
| 398 | ||
| 399 | local Color = BrickColor.new("Dark grey")
| |
| 400 | ||
| 401 | if len1 > 0.01 then | |
| 402 | local w1 = Instance.new('WedgePart', m)
| |
| 403 | game:GetService("Debris"):AddItem(w1,5)
| |
| 404 | w1.Material = "SmoothPlastic" | |
| 405 | w1.FormFactor = 'Custom' | |
| 406 | w1.BrickColor = BrickColor.new(Color) | |
| 407 | w1.Transparency = 0 | |
| 408 | w1.Reflectance = 0 | |
| 409 | w1.Material = "SmoothPlastic" | |
| 410 | w1.CanCollide = false | |
| 411 | NoOutline(w1) | |
| 412 | local sz = Vector3.new(0.2, width, len1) | |
| 413 | w1.Size = sz | |
| 414 | local sp = Instance.new("SpecialMesh",w1)
| |
| 415 | sp.MeshType = "Wedge" | |
| 416 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 417 | w1:BreakJoints() | |
| 418 | w1.Anchored = true | |
| 419 | w1.Parent = workspace | |
| 420 | w1.Transparency = 0.7 | |
| 421 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 422 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 423 | table.insert(list,w1) | |
| 424 | end | |
| 425 | ||
| 426 | if len2 > 0.01 then | |
| 427 | local w2 = Instance.new('WedgePart', m)
| |
| 428 | game:GetService("Debris"):AddItem(w2,5)
| |
| 429 | w2.Material = "SmoothPlastic" | |
| 430 | w2.FormFactor = 'Custom' | |
| 431 | w2.BrickColor = BrickColor.new(Color) | |
| 432 | w2.Transparency = 0 | |
| 433 | w2.Reflectance = 0 | |
| 434 | w2.Material = "SmoothPlastic" | |
| 435 | w2.CanCollide = false | |
| 436 | NoOutline(w2) | |
| 437 | local sz = Vector3.new(0.2, width, len2) | |
| 438 | w2.Size = sz | |
| 439 | local sp = Instance.new("SpecialMesh",w2)
| |
| 440 | sp.MeshType = "Wedge" | |
| 441 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 442 | w2:BreakJoints() | |
| 443 | w2.Anchored = true | |
| 444 | w2.Parent = workspace | |
| 445 | w2.Transparency = 0.7 | |
| 446 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 447 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 448 | table.insert(list,w2) | |
| 449 | end | |
| 450 | return unpack(list) | |
| 451 | end | |
| 452 | ||
| 453 | ||
| 454 | so = function(id,par,vol,pit) | |
| 455 | coroutine.resume(coroutine.create(function() | |
| 456 | local sou = Instance.new("Sound",par or workspace)
| |
| 457 | sou.Volume=vol | |
| 458 | sou.Pitch=pit or 1 | |
| 459 | sou.SoundId=id | |
| 460 | swait() | |
| 461 | sou:play() | |
| 462 | game:GetService("Debris"):AddItem(sou,6)
| |
| 463 | end)) | |
| 464 | end | |
| 465 | ||
| 466 | function clerp(a,b,t) | |
| 467 | local qa = {QuaternionFromCFrame(a)}
| |
| 468 | local qb = {QuaternionFromCFrame(b)}
| |
| 469 | local ax, ay, az = a.x, a.y, a.z | |
| 470 | local bx, by, bz = b.x, b.y, b.z | |
| 471 | local _t = 1-t | |
| 472 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 473 | end | |
| 474 | ||
| 475 | function QuaternionFromCFrame(cf) | |
| 476 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 477 | local trace = m00 + m11 + m22 | |
| 478 | if trace > 0 then | |
| 479 | local s = math.sqrt(1 + trace) | |
| 480 | local recip = 0.5/s | |
| 481 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 482 | else | |
| 483 | local i = 0 | |
| 484 | if m11 > m00 then | |
| 485 | i = 1 | |
| 486 | end | |
| 487 | if m22 > (i == 0 and m00 or m11) then | |
| 488 | i = 2 | |
| 489 | end | |
| 490 | if i == 0 then | |
| 491 | local s = math.sqrt(m00-m11-m22+1) | |
| 492 | local recip = 0.5/s | |
| 493 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 494 | elseif i == 1 then | |
| 495 | local s = math.sqrt(m11-m22-m00+1) | |
| 496 | local recip = 0.5/s | |
| 497 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 498 | elseif i == 2 then | |
| 499 | local s = math.sqrt(m22-m00-m11+1) | |
| 500 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 501 | end | |
| 502 | end | |
| 503 | end | |
| 504 | ||
| 505 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 506 | local xs, ys, zs = x + x, y + y, z + z | |
| 507 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 508 | local xx = x*xs | |
| 509 | local xy = x*ys | |
| 510 | local xz = x*zs | |
| 511 | local yy = y*ys | |
| 512 | local yz = y*zs | |
| 513 | local zz = z*zs | |
| 514 | 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)) | |
| 515 | end | |
| 516 | ||
| 517 | function QuaternionSlerp(a, b, t) | |
| 518 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 519 | local startInterp, finishInterp; | |
| 520 | if cosTheta >= 0.0001 then | |
| 521 | if (1 - cosTheta) > 0.0001 then | |
| 522 | local theta = math.acos(cosTheta) | |
| 523 | local invSinTheta = 1/math.sin(theta) | |
| 524 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 525 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 526 | else | |
| 527 | startInterp = 1-t | |
| 528 | finishInterp = t | |
| 529 | end | |
| 530 | else | |
| 531 | if (1+cosTheta) > 0.0001 then | |
| 532 | local theta = math.acos(-cosTheta) | |
| 533 | local invSinTheta = 1/math.sin(theta) | |
| 534 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 535 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 536 | else | |
| 537 | startInterp = t-1 | |
| 538 | finishInterp = t | |
| 539 | end | |
| 540 | end | |
| 541 | 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 | |
| 542 | end | |
| 543 | ||
| 544 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 545 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 546 | end | |
| 547 | ||
| 548 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 549 | if hit.Parent==nil then | |
| 550 | return | |
| 551 | end | |
| 552 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 553 | for _,v in pairs(hit.Parent:children()) do | |
| 554 | if v:IsA("Humanoid") then
| |
| 555 | h=v | |
| 556 | end | |
| 557 | end | |
| 558 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 559 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 560 | end | |
| 561 | if hit.Parent.className=="Hat" then | |
| 562 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 563 | end | |
| 564 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 565 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 566 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 567 | return | |
| 568 | end]] | |
| 569 | -- hs(hit,1.2) | |
| 570 | c=Instance.new("ObjectValue")
| |
| 571 | c.Name="creator" | |
| 572 | c.Value=game:service("Players").LocalPlayer
| |
| 573 | c.Parent=h | |
| 574 | game:GetService("Debris"):AddItem(c,.5)
| |
| 575 | Damage=math.random(minim,maxim) | |
| 576 | -- h:TakeDamage(Damage) | |
| 577 | blocked=false | |
| 578 | block=hit.Parent:findFirstChild("Block")
| |
| 579 | if block~=nil then | |
| 580 | print(block.className) | |
| 581 | if block.className=="NumberValue" then | |
| 582 | if block.Value>0 then | |
| 583 | blocked=true | |
| 584 | if decreaseblock==nil then | |
| 585 | block.Value=block.Value-1 | |
| 586 | end | |
| 587 | end | |
| 588 | end | |
| 589 | if block.className=="IntValue" then | |
| 590 | if block.Value>0 then | |
| 591 | blocked=true | |
| 592 | if decreaseblock~=nil then | |
| 593 | block.Value=block.Value-1 | |
| 594 | end | |
| 595 | end | |
| 596 | end | |
| 597 | end | |
| 598 | if blocked==false then | |
| 599 | -- h:TakeDamage(Damage) | |
| 600 | h.Health=h.Health-Damage | |
| 601 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark stone grey"))
| |
| 602 | else | |
| 603 | h.Health=h.Health-(Damage/2) | |
| 604 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
| |
| 605 | end | |
| 606 | if Type=="Knockdown" then | |
| 607 | hum=hit.Parent.Humanoid | |
| 608 | hum.PlatformStand=true | |
| 609 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 610 | swait(1) | |
| 611 | HHumanoid.PlatformStand=false | |
| 612 | end),hum) | |
| 613 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 614 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 615 | local bodvol=Instance.new("BodyVelocity")
| |
| 616 | bodvol.velocity=angle*knockback | |
| 617 | bodvol.P=5000 | |
| 618 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 619 | bodvol.Parent=hit | |
| 620 | rl=Instance.new("BodyAngularVelocity")
| |
| 621 | rl.P=3000 | |
| 622 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 623 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 624 | rl.Parent=hit | |
| 625 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 626 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 627 | elseif Type=="Normal" then | |
| 628 | vp=Instance.new("BodyVelocity")
| |
| 629 | vp.P=500 | |
| 630 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 631 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 632 | if KnockbackType==1 then | |
| 633 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 634 | elseif KnockbackType==2 then | |
| 635 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 636 | end | |
| 637 | if knockback>0 then | |
| 638 | vp.Parent=hit.Parent.Torso | |
| 639 | end | |
| 640 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 641 | elseif Type=="Up" then | |
| 642 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 643 | bodyVelocity.velocity=vt(0,60,0) | |
| 644 | bodyVelocity.P=5000 | |
| 645 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 646 | bodyVelocity.Parent=hit | |
| 647 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 648 | rl=Instance.new("BodyAngularVelocity")
| |
| 649 | rl.P=3000 | |
| 650 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 651 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 652 | rl.Parent=hit | |
| 653 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 654 | elseif Type=="Snare" then | |
| 655 | bp=Instance.new("BodyPosition")
| |
| 656 | bp.P=2000 | |
| 657 | bp.D=100 | |
| 658 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 659 | bp.position=hit.Parent.Torso.Position | |
| 660 | bp.Parent=hit.Parent.Torso | |
| 661 | game:GetService("Debris"):AddItem(bp,1)
| |
| 662 | elseif Type=="Target" then | |
| 663 | if Targetting==false then | |
| 664 | ZTarget=hit.Parent.Torso | |
| 665 | coroutine.resume(coroutine.create(function(Part) | |
| 666 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 667 | swait(5) | |
| 668 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 669 | end),ZTarget) | |
| 670 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 671 | targetgui=Instance.new("BillboardGui")
| |
| 672 | targetgui.Parent=ZTarget | |
| 673 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 674 | targ=Instance.new("ImageLabel")
| |
| 675 | targ.Parent=targetgui | |
| 676 | targ.BackgroundTransparency=1 | |
| 677 | targ.Image="rbxassetid://4834067" | |
| 678 | targ.Size=UDim2.new(1,0,1,0) | |
| 679 | cam.CameraType="Scriptable" | |
| 680 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 681 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 682 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 683 | Targetting=true | |
| 684 | RocketTarget=ZTarget | |
| 685 | for i=1,Property do | |
| 686 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 687 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 688 | swait() | |
| 689 | end | |
| 690 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 691 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 692 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 693 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 694 | end | |
| 695 | Targetting=false | |
| 696 | RocketTarget=nil | |
| 697 | targetgui.Parent=nil | |
| 698 | cam.CameraType="Custom" | |
| 699 | end | |
| 700 | end | |
| 701 | debounce=Instance.new("BoolValue")
| |
| 702 | debounce.Name="DebounceHit" | |
| 703 | debounce.Parent=hit.Parent | |
| 704 | debounce.Value=true | |
| 705 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 706 | c=Instance.new("ObjectValue")
| |
| 707 | c.Name="creator" | |
| 708 | c.Value=Player | |
| 709 | c.Parent=h | |
| 710 | game:GetService("Debris"):AddItem(c,.5)
| |
| 711 | CRIT=false | |
| 712 | hitDeb=true | |
| 713 | AttackPos=6 | |
| 714 | end | |
| 715 | end | |
| 716 | ||
| 717 | showDamage=function(Char,Dealt,du,Color) | |
| 718 | m=Instance.new("Model")
| |
| 719 | m.Name=tostring(Dealt) | |
| 720 | h=Instance.new("Humanoid")
| |
| 721 | h.Health=0 | |
| 722 | h.MaxHealth=0 | |
| 723 | h.Parent=m | |
| 724 | c=Instance.new("Part")
| |
| 725 | c.Transparency=0 | |
| 726 | c.BrickColor=Color | |
| 727 | c.Name="Head" | |
| 728 | c.TopSurface=0 | |
| 729 | c.BottomSurface=0 | |
| 730 | c.formFactor="Plate" | |
| 731 | c.Size=Vector3.new(1,.4,1) | |
| 732 | ms=Instance.new("CylinderMesh")
| |
| 733 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 734 | if CRIT==true then | |
| 735 | ms.Scale=Vector3.new(1,1.25,1) | |
| 736 | end | |
| 737 | ms.Parent=c | |
| 738 | c.Reflectance=0 | |
| 739 | Instance.new("BodyGyro").Parent=c
| |
| 740 | c.Parent=m | |
| 741 | if Char:findFirstChild("Head")~=nil then
| |
| 742 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 743 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 744 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 745 | end | |
| 746 | f=Instance.new("BodyPosition")
| |
| 747 | f.P=2000 | |
| 748 | f.D=100 | |
| 749 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 750 | f.position=c.Position+Vector3.new(0,3,0) | |
| 751 | f.Parent=c | |
| 752 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 753 | c.CanCollide=false | |
| 754 | m.Parent=workspace | |
| 755 | c.CanCollide=false | |
| 756 | end | |
| 757 | ||
| 758 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Dark stone grey","Handle",Vector3.new(0.232000008, 0.812000036, 0.34799999)) | |
| 759 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0146102905, -0.318485737, 0.839184284, 1.00000632, -4.93172472e-008, -0.000935511896, -0.000935515272, -6.51810888e-006, -1.00000536, 4.32263612e-008, 0.999999762, -6.51843266e-006)) | |
| 760 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Dark stone grey","Hitbox",Vector3.new(5.11999989, 1.03200006, 0.800000012)) | |
| 761 | Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.26914215, -2.28439808, -0.0138931274, 5.5279628e-008, 0.000357966754, -0.999999583, -0.000903482374, 1.00000536, 0.000357964687, 1.00000632, 0.000903477019, 3.78699411e-007)) | |
| 762 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.200000003, 0.232000008)) | |
| 763 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0174179077, -4.69187212, -0.754995346, -1.0000025, 0.000546428899, -0.00286973943, -0.00286977179, -2.13581079e-005, 0.999995589, 0.000546361669, 1.00000572, 2.29263151e-005)) | |
| 764 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 765 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.579999983, 0.927999973)) | |
| 766 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00373840332, -2.08894491, 2.90544128, 1.00000536, 0.00170327828, -1.6089453e-007, -0.00170328422, 1.00000441, 1.36183207e-005, 1.84098781e-007, -1.36177896e-005, 0.999999642)) | |
| 767 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 768 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.231999993)) | |
| 769 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79949474, -0.180219173, -0.227863312, -0.00172967673, 1.00001013, 2.24112646e-005, 6.46309104e-007, 2.24120486e-005, -0.999999523, -1.00001204, -0.00172966474, -6.85080067e-007)) | |
| 770 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 771 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.200000003, 0.696000099)) | |
| 772 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.74123478, -0.409946442, 4.40184164, -0.00107316044, 1.00000525, 1.4551938e-005, 1.0000062, 0.00107315509, 7.93131278e-007, 7.77512412e-007, 1.45525482e-005, -0.999999642)) | |
| 773 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 774 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.579999983, 0.927999914)) | |
| 775 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000267028809, -0.582561016, -1.50176382, 1.00001347, -3.86033207e-007, -3.92623845e-009, 3.77418473e-007, 1.00001156, 2.45045476e-006, 3.94029254e-009, -2.44983767e-006, 0.999999285)) | |
| 776 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 777 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00412750244, 1.45268583, -1.05011797, 1.00001216, 0.00172310648, 2.03311345e-007, 0.00172311824, -1.00001025, 6.49886579e-006, 2.14497248e-007, -6.49923504e-006, -0.999999285)) | |
| 778 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 779 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(3.13199997, 0.231999978, 0.69599998)) | |
| 780 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.80415058, -0.524322987, -0.00103759766, 9.72363068e-007, 2.15515029e-005, -0.999999285, -0.00172366935, 1.00001025, 2.15501732e-005, 1.00001216, 0.00172365736, 1.0095107e-006)) | |
| 781 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.231999993, 0.232000008)) | |
| 782 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00213241577, 0.754931927, -3.58990145, -1.00000894, 0.00341619202, 7.19290369e-007, -0.00341618108, -1.00000799, -2.25470994e-005, 6.42287603e-007, -2.25490967e-005, 0.999999642)) | |
| 783 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 784 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.231999993)) | |
| 785 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79969883, -0.180217266, 0.23601532, -0.00172980642, 1.00001013, 2.24137202e-005, 6.46412275e-007, 2.24145024e-005, -0.999999285, -1.00001204, -0.00172979443, -6.85189946e-007)) | |
| 786 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 787 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 788 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00409317017, 1.45303392, 2.21011066, -1.00001216, -0.00168438489, -1.55491065e-007, 0.00168439688, -1.00001025, 6.03345643e-006, -1.6564087e-007, 6.03390299e-006, 0.999999285)) | |
| 789 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 790 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.928000152, 0.34799999)) | |
| 791 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164337158, 0.00995254517, 0.378734589, 1.00000417, -0.000275396451, 0.000659934303, -0.000271914061, 0.707111299, 0.70709461, -0.000661380531, -0.707101762, 0.707109511)) | |
| 792 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.463999957, 0.452400029)) | |
| 793 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0109825134, -0.0555400848, 0.707753658, 1.00001204, 0.00170851196, -1.88033137e-005, -0.0017085236, 1.00001013, 1.71195006e-005, 1.88328195e-005, -1.70869171e-005, 0.999999285)) | |
| 794 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.812000036, 0.200000003, 0.200000003)) | |
| 795 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.96466255, -0.414768219, 0.721370459, -0.00134572294, 0.500003576, 0.866025984, 1.00001371, 0.000263436057, 0.00140178087, 0.000472741085, 0.866039276, -0.499996334)) | |
| 796 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 797 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.60000002384186,"Pastel Blue","Part",Vector3.new(2.31999993, 0.34799999, 0.200000003)) | |
| 798 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2697916, -1.39367867, 0.285621643, 9.60484385e-007, 2.34255967e-005, -0.999999404, -0.00169333746, 1.00001848, 2.34244617e-005, 1.00002027, 0.00169331662, 1.00015268e-006)) | |
| 799 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999904, 0.231999978, 0.69599998)) | |
| 801 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.02214336, -0.756259918, -0.00161361694, 9.72405815e-007, 2.15511936e-005, -0.999999046, -0.00172374037, 1.00001574, 2.15500022e-005, 1.00001884, 0.00172372279, 1.00955594e-006)) | |
| 802 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.812000036, 0.34799999)) | |
| 803 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164260864, 0.299938202, -0.537542105, 1.00001764, -0.000275420141, 0.000659916259, -0.000271896773, 0.707119524, 0.707094133, -0.000661385478, -0.707109988, 0.707109034)) | |
| 804 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.695999742, 0.463999987)) | |
| 805 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39053106, -0.458235741, -0.011390686, -0.000440491422, 1.00001991, 1.48311792e-005, -5.82179155e-007, -1.48307363e-005, 0.999999404, 1.00002158, 0.000440472504, 5.88722855e-007)) | |
| 806 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 807 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 808 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0137062073, 0.00253915787, -1.46745825, -1.00000048, 0.00355784409, 1.83245029e-005, 0.00355784269, 0.999999583, 2.01142084e-005, -1.82529657e-005, 2.0179079e-005, -0.999999642)) | |
| 809 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 810 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 811 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0136070251, 0.113649845, 0.986213684, -1.00001204, -0.00167019933, -1.89533148e-005, 0.0016702119, -1.00001013, -2.11289407e-005, -1.89182501e-005, -2.11601837e-005, 0.999999285)) | |
| 812 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 813 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.812000036, 0.200000003, 0.200000003)) | |
| 814 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.96466923, 0.397167206, 0.721361637, -0.0013458092, 0.50001061, 0.86602205, 1.00001383, 0.00026367465, 0.00140174653, 0.000472528627, 0.866035402, -0.500003278)) | |
| 815 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 816 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 0.928000033)) | |
| 817 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56735134, -0.408821106, 3.24180651, -0.000670250331, 1.00001955, 1.51960503e-005, 1.00002134, 0.000670230889, 6.58439376e-007, 6.48245248e-007, 1.51957993e-005, -0.999999404)) | |
| 818 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 819 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.60000002384186,"Pastel Blue","Part",Vector3.new(2.31999993, 0.34799999, 0.200000003)) | |
| 820 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.26982021, -1.39350224, -0.295120239, 1.08945255e-006, 2.34336403e-005, -0.999999404, -0.00210836693, 1.00001788, 2.34318177e-005, 1.00001955, 0.00210834551, 1.13885642e-006)) | |
| 821 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 822 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999904, 0.231999978, 0.69599998)) | |
| 823 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.02117348, 1.4526372, 0.0043182373, -8.55062524e-007, -7.5024268e-006, -0.999999642, 0.00172491686, -1.00000417, 7.50057416e-006, -1.00000513, -0.00172491092, 8.67988547e-007)) | |
| 824 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 825 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.170059204, -2.2058959, 4.45978069, -1.00001419, -0.00135475828, -4.16571709e-007, -0.00135477353, 1.00001323, 4.34294707e-005, 3.57724417e-007, 4.34299582e-005, -0.999999642)) | |
| 826 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
| |
| 827 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.200000003, 0.34800005)) | |
| 828 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00218582153, -0.812090874, 2.42410946, 1.0000062, -0.000122337253, -0.000491121027, -0.000139618875, 0.866030037, -0.499999434, 0.000486493052, 0.500002682, 0.866024911)) | |
| 829 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 830 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.34799999, 0.200000003)) | |
| 831 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00135040283, 0.462905884, 3.42825031, -1.00001216, -0.00170107209, -3.2242329e-007, 0.00170108408, -1.00001025, -4.80908056e-007, -3.21594428e-007, -4.80819381e-007, 0.999999285)) | |
| 832 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 833 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 1.27600002, 0.69599998)) | |
| 834 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00625753403, -1.16150713, -0.00413131714, 9.68375389e-007, 2.27232595e-005, -0.999999404, -0.00171916001, 1.00001824, 2.27220989e-005, 1.00002003, 0.00171913893, 1.0074408e-006)) | |
| 835 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 836 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.174598694, -2.20604086, 4.45978403, -1.0000217, 3.07324808e-006, 3.6950091e-008, 3.05491267e-006, 1.00001991, 4.44986144e-005, -3.68387809e-008, 4.44985162e-005, -0.999999404)) | |
| 837 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
| |
| 838 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.231999993, 0.34800005)) | |
| 839 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.7220459e-005, -0.171551704, 2.84820986, 1.00001347, 1.32246059e-005, -1.8708166e-005, -1.32331043e-005, 1.00001156, 9.19823833e-007, 1.87084588e-005, -9.18944352e-007, 0.999999285)) | |
| 840 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.812000155, 0.200000003, 0.231999993)) | |
| 841 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90776682, -1.85868549, -0.00782012939, 1.8466252e-006, 2.3490722e-005, -0.999999404, -0.00454348512, 1.0000093, 2.34826093e-005, 1.00001109, 0.00454345904, 1.95331836e-006)) | |
| 842 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 843 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.232000038, 0.463999987)) | |
| 844 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.69186592, -0.987005711, -0.00565719604, 1.16656577e-006, 2.24069317e-005, -0.999999642, -0.0023512831, 1.00000334, 2.24043106e-005, 1.00000429, 0.00235127681, 1.21924631e-006)) | |
| 845 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
| |
| 846 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.463999987, 0.34799999)) | |
| 847 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.008228302, -2.14741659, -0.0642538071, -1.00000715, 0.00357599347, 3.75979994e-007, 0.00357599184, 1.00000525, 2.70939381e-007, -3.75028975e-007, 2.71639692e-007, -0.999999285)) | |
| 848 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 849 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.200000003)) | |
| 850 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000347137451, -1.8586607, -0.167779922, 1.00002146, -7.44219869e-006, -3.64530095e-008, 7.4239797e-006, 1.00001967, 2.38242046e-006, 3.6459241e-008, -2.38146504e-006, 0.999999404)) | |
| 851 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 852 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 853 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0133476257, 0.114125729, -1.46745729, 1.00000048, -0.00355736027, 1.89384191e-005, -0.00355735887, -0.999999583, 2.02438559e-006, 1.8931225e-005, -2.09207792e-006, -0.999999642)) | |
| 854 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 855 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.74000013, 0.232000083, 0.69599998)) | |
| 856 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.64782763, -2.03162193, -0.00580215454, 1.18259686e-006, 2.35495809e-005, -0.999999404, -0.00240779901, 1.00001693, 2.35471889e-005, 1.00001872, 0.00240777642, 1.23929362e-006)) | |
| 857 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.232000008, 0.463999987)) | |
| 858 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.26977873, -1.68380308, -0.00464248657, 1.04666037e-006, 2.36031628e-005, -0.999999285, -0.00197039847, 1.00000978, 2.36014093e-005, 1.00001168, 0.00197038613, 1.09316613e-006)) | |
| 859 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.579999983, 1.15999985)) | |
| 860 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000141143799, -0.00238656998, -1.38578653, 1.00001347, -2.6228372e-007, -3.18987103e-009, 2.53668986e-007, 1.00001156, 2.2798049e-006, 3.2041374e-009, -2.27918736e-006, 0.999999285)) | |
| 861 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34800005, 0.200000003, 0.200000003)) | |
| 862 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.12457228, 0.377754211, -2.04072428, -0.00161815656, 2.28647568e-005, 0.999998331, 1.00000501, -0.000935775577, 0.00161816564, 0.000935807999, 1.00000536, -2.13500443e-005)) | |
| 863 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 864 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.69599998, 0.34800005)) | |
| 865 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00218963623, -1.21802139, 2.42397022, 1.00000656, -0.000122337195, -0.000491121318, -0.000139618875, 0.866030455, -0.499999672, 0.000486493111, 0.500002742, 0.866025031)) | |
| 866 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.59740001)) | |
| 867 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.012588501, -0.230174541, 1.22678614, 1.00001204, 0.00170156895, -1.85436711e-005, -0.00170158059, 1.00001013, 1.60903783e-005, 1.85713052e-005, -1.60583568e-005, 0.999999285)) | |
| 868 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 869 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000187, 0.200000003, 0.200000003)) | |
| 870 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.28582335, -2.20614576, 0.16740036, 1.29392276e-006, 2.35486077e-005, -0.999999285, -0.00276590372, 1.00000787, 2.35452953e-005, 1.00000978, 0.00276589021, 1.3590477e-006)) | |
| 871 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 872 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.579999983, 0.927999735, 0.463999987)) | |
| 873 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39041233, -1.27023077, -0.011089325, -0.000441556913, 1.00001168, 1.47172686e-005, -5.82458881e-007, -1.47170649e-005, 0.999999285, 1.00001359, 0.0004415476, 5.88964099e-007)) | |
| 874 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 875 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.200000003, 0.928000033)) | |
| 876 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56732988, 0.403812408, 3.24179888, -0.000671263493, 1.00000596, 1.39352715e-005, 1.00000691, 0.000671258371, 6.59181296e-007, 6.49824415e-007, 1.39354743e-005, -0.999999642)) | |
| 877 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 878 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.27600002, 0.69599998)) | |
| 879 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.180254936, -1.16150093, -0.0041885376, 9.68362087e-007, 2.2722732e-005, -0.999999285, -0.00171916536, 1.00001013, 2.27213986e-005, 1.00001204, 0.00171915337, 1.00742602e-006)) | |
| 880 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
| |
| 881 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.231999993, 0.916400015)) | |
| 882 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164260864, 0.589895248, 0.094648838, 1.00001764, -0.000275413156, 0.000659923593, -0.000271906902, 0.707119524, 0.707094133, -0.000661385711, -0.707109988, 0.707109034)) | |
| 883 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.34799999, 0.200000003)) | |
| 884 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00074005127, -0.113721371, 2.02377272, 1.00001466, -2.03231466e-005, 3.07392952e-007, -2.03155214e-005, -1.00001335, -1.85632734e-006, 3.07421914e-007, 1.85568797e-006, -0.999999404)) | |
| 885 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 886 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.232000008, 0.200000003)) | |
| 887 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000648498535, 0.523108482, 3.42824936, -1.00001204, -0.00170232763, -3.22026239e-007, 0.00170233962, -1.00001013, -4.4727858e-007, -3.21253964e-007, -4.47188995e-007, 0.999999285)) | |
| 888 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 889 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.232000008, 0.231999993)) | |
| 890 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00292205811, -2.03163147, 4.63377762, -1.00001311, -0.000978587777, -2.91069369e-007, -0.000978597905, 1.00001121, 4.45006881e-005, 2.4750986e-007, 4.45008554e-005, -0.999999285)) | |
| 891 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 892 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.62399995, 0.927999794, 0.928000033)) | |
| 893 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1038084, 0.702246666, -0.00408935547, -0.00171928364, 1.00001013, 1.46179427e-005, -5.92813478e-007, -1.46185203e-005, 0.999999285, 1.00001204, 0.00171927165, 6.17952878e-007)) | |
| 894 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 895 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.463999987)) | |
| 896 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.180233479, -1.85741377, -0.00400161743, 9.68401537e-007, 2.21498412e-005, -0.999999285, -0.00171989296, 1.00001013, 2.2148517e-005, 1.00001204, 0.00171988097, 1.00649675e-006)) | |
| 897 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.580000103, 1))
| |
| 898 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.34799999, 0.200000003)) | |
| 899 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00061416626, 0.113962173, -0.515907764, 1.00000679, 8.48609488e-007, -1.58665658e-009, -8.52916855e-007, 1.00000584, 8.92841399e-007, 1.59491531e-009, -8.9252535e-007, 0.999999642)) | |
| 900 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 901 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 0.200000003)) | |
| 902 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000152587891, 0.350605965, -0.979739666, -1.00001347, 3.24973371e-007, -3.23643548e-007, -3.16358637e-007, -1.00001156, -4.67361169e-005, -3.23648152e-007, -4.67360405e-005, 0.999999285)) | |
| 903 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 904 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.231999978)) | |
| 905 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0134773254, -2.03588963, 0.0627288818, 1.0000118, 0.00168008753, -0.000919409504, -0.000919448154, 1.43879734e-005, -0.999998927, -0.00168008532, 1.00001025, 1.59331266e-005)) | |
| 906 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 907 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.34799999, 0.34799999)) | |
| 908 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00144577026, 0.465278625, 2.25577259, 1.00000525, -0.00357661862, 2.83521615e-007, -0.00357662095, -1.00000381, -2.32054535e-005, 3.66508516e-007, 2.32040093e-005, -0.999999404)) | |
| 909 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 910 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.231999993, 0.69599998)) | |
| 911 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4577775, -0.755722523, -0.00420379639, 9.68686891e-007, 2.31499107e-005, -0.999999285, -0.00171863148, 1.00001037, 2.31485628e-005, 1.00001228, 0.00171861949, 1.00847365e-006)) | |
| 912 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.927999914, 0.231999978, 0.69599998)) | |
| 913 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.63014698, -0.756272316, -0.00161361694, 9.72395696e-007, 2.15512227e-005, -0.999999285, -0.00172371534, 1.00001013, 2.15498931e-005, 1.00001204, 0.00172370335, 1.00954367e-006)) | |
| 914 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 915 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000984191895, -0.756361485, 0.354147911, 1.00001216, 0.00168376672, -1.40138248e-008, -0.00168377871, 1.00001025, 2.1083024e-005, 4.95281753e-008, -2.10825874e-005, 0.999999285)) | |
| 916 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 917 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.200000003, 0.231999844)) | |
| 918 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.19616699e-005, -0.350408554, -0.921793938, 1.00001347, 8.28295015e-008, -2.89782998e-009, -9.14442353e-008, 1.00001156, 2.05126844e-006, 2.91285485e-009, -2.05064771e-006, 0.999999285)) | |
| 919 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 920 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.463999987)) | |
| 921 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00622749329, -1.85754061, -0.00392532349, 9.6856877e-007, 2.22277413e-005, -0.999999285, -0.00171961775, 1.00001037, 2.2226408e-005, 1.00001228, 0.00171960576, 1.00679244e-006)) | |
| 922 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
| |
| 923 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(3.13199997, 0.231999978, 0.69599998)) | |
| 924 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.804111, 1.68473339, 0.00412750244, -8.36535833e-007, -6.4935798e-006, -0.999999285, 0.00172392465, -1.00001013, 6.49140156e-006, -1.00001204, -0.00172391266, 8.47700733e-007)) | |
| 925 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 926 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00101089478, -0.756358147, 3.25414419, 1.00001884, 0.00168378535, -1.40127501e-008, -0.00168380293, 1.00001574, 2.10829876e-005, 4.953597e-008, -2.1082411e-005, 0.999999046)) | |
| 927 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 928 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 929 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00154876709, -0.345762253, -0.747890472, -1.00000513, 0.00184790534, -9.90573952e-008, -0.00184790278, -1.00000417, -3.50944756e-005, -1.63901603e-007, -3.50941227e-005, 0.999999642)) | |
| 930 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 931 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.231999993)) | |
| 932 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00116729736, 0.582655907, 0.921771049, 1.0000118, -0.0018872465, 3.00768534e-007, -0.00188724138, -1.00000989, -2.33032779e-006, 3.05155339e-007, 2.32914181e-006, -0.999999285)) | |
| 933 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 934 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.34799999, 0.69599998)) | |
| 935 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.26979065, -1.04566193, -0.00424575806, 9.68193035e-007, 2.35501375e-005, -0.999999285, -0.00171805895, 1.00001037, 2.35487987e-005, 1.00001228, 0.00171804742, 1.00865361e-006)) | |
| 936 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000187, 0.200000003, 0.200000003)) | |
| 937 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.28582954, -2.20552588, -0.181804657, 1.45761271e-006, 2.37911408e-005, -0.999999285, -0.00329261925, 1.00000644, 2.37865734e-005, 1.00000834, 0.00329260482, 1.53593442e-006)) | |
| 938 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 939 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 0.928000033)) | |
| 940 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56748581, 0.403205872, 3.24181366, -0.000669696892, 1.00001156, 1.54301233e-005, 1.00001347, 0.000669687288, 6.58446311e-007, 6.48107061e-007, 1.54301015e-005, -0.999999285)) | |
| 941 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 942 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.232000008, 0.34799999)) | |
| 943 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00191497803, -2.03143692, -2.60386896, 1.00001359, 0.000368760899, 2.53006078e-007, -0.000368769979, 1.00001168, 2.77856907e-006, -2.51969908e-007, -2.77804475e-006, 0.999999285)) | |
| 944 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 945 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.231999993, 0.231999993)) | |
| 946 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79963732, -0.0062046051, -0.227901459, -0.00172873132, 1.00001025, 2.30093628e-005, 6.45988621e-007, 2.30101468e-005, -0.999999285, -1.00001216, -0.00172871957, -6.85771909e-007)) | |
| 947 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 948 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 949 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000247955322, -1.85837555, 0.515717983, -1.00001347, 0.00037799112, 1.62256811e-007, 0.000377983262, 1.00001156, 4.46234044e-005, -1.45407441e-007, 4.4623368e-005, -0.999999285)) | |
| 950 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 951 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.231999993, 0.200000003)) | |
| 952 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00257110596, -1.6831336, 3.42826033, 1.00001204, 0.00170258048, -1.60158933e-007, -0.00170259248, 1.00001013, 1.46196398e-005, 1.8506725e-007, -1.46188831e-005, 0.999999285)) | |
| 953 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 954 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.200000003)) | |
| 955 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000370025635, -1.8587203, -1.44380522, 1.00001359, -8.11205246e-006, -3.67194701e-008, 8.10361234e-006, 1.00001168, 2.74641434e-006, 3.67127662e-008, -2.74579975e-006, 0.999999285)) | |
| 956 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 957 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.231999993, 0.200000003)) | |
| 958 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.27035666, -1.68360662, 0.293216705, -6.99449004e-007, 0.000311892974, 0.999999285, -0.00104407989, 1.00001121, -0.000311888987, -1.00001323, -0.00104407, -3.73821621e-007)) | |
| 959 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 960 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.928000152, 0.464000016, 0.463999987)) | |
| 961 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.16985369, -0.871246338, -0.0051651001, 1.16509625e-006, 2.38373486e-005, -0.999998808, -0.00235050265, 1.00001895, 2.38351458e-005, 1.00002158, 0.00235049031, 1.22111521e-006)) | |
| 962 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.200000003, 1.04399979)) | |
| 963 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000732421875, 0.345625401, -1.32782841, 1.00001347, 1.57987233e-006, -3.28700223e-009, -1.58848707e-006, 1.00001156, 1.30031594e-006, 3.30395888e-009, -1.29968794e-006, 0.999999285)) | |
| 964 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 965 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000172, 0.200000003, 0.231999993)) | |
| 966 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.341750622, -1.85878611, -0.00778961182, 1.84655323e-006, 2.3751556e-005, -0.999999285, -0.00454270514, 1.00000131, 2.3743276e-005, 1.00000322, 0.00454268791, 1.9544193e-006)) | |
| 967 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 968 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 1.2759999)) | |
| 969 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -0.466629028, -0.399776936, 1.00001347, -3.22703272e-007, -3.16622373e-009, 3.14088538e-007, 1.00001156, 2.64065238e-006, 3.18028226e-009, -2.6400412e-006, 0.999999285)) | |
| 970 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 971 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 972 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0040397644, 1.45275879, 0.354114056, -1.00001884, -0.00168373343, -1.7531282e-007, 0.00168375147, -1.00001597, 6.02276077e-006, -1.85434587e-007, 6.02347882e-006, 0.999999166)) | |
| 973 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 974 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.231999993, 0.231999993)) | |
| 975 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79963207, -0.00620794296, 0.236164093, -0.00172861468, 1.00001025, 2.30448168e-005, 6.46028013e-007, 2.30456026e-005, -0.999999285, -1.00001216, -0.00172860292, -6.85869907e-007)) | |
| 976 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 977 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.62399995, 1.27599967, 0.928000033)) | |
| 978 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.10384512, 2.7322464, -0.00403213501, -0.00171939307, 1.00001013, 1.46226739e-005, -5.92917615e-007, -1.46232505e-005, 0.999999285, 1.00001204, 0.00171938131, 6.18066792e-007)) | |
| 979 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 980 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 981 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000701904297, -0.345462322, 1.90779448, 1.00001347, -2.00413051e-005, 3.0602007e-007, -2.00327486e-005, -1.00001156, -2.15015098e-006, 3.06052669e-007, 2.14952706e-006, -0.999999285)) | |
| 982 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 983 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.04400015, 0.811999977, 0.69599998)) | |
| 984 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.2278223, -1.50939083, -0.00476455688, 1.06762559e-006, 2.37910026e-005, -0.999999285, -0.00203778502, 1.00000966, 2.37891327e-005, 1.00001156, 0.00203777291, 1.11610427e-006)) | |
| 985 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.200000003, 0.928000033)) | |
| 986 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56723642, -0.411323547, 3.2417984, -0.000671109243, 1.0000056, 1.40209831e-005, 1.00000656, 0.000671104353, 6.59014859e-007, 6.49602271e-007, 1.40211887e-005, -0.999999642)) | |
| 987 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 988 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 989 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00456619263, 1.45251989, 3.25319099, -1.00000548, -0.00168398093, -1.74997453e-007, 0.0016839871, -1.00000453, 7.01806357e-006, -1.86809473e-007, 7.01812223e-006, 0.999999642)) | |
| 990 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 991 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 992 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0012512207, 0.756712437, 0.921786785, 1.00001192, -0.00188787864, 2.99965563e-007, -0.00188787398, -1.00001001, -2.71932527e-006, 3.05087923e-007, 2.71814042e-006, -0.999999285)) | |
| 993 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 994 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 995 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00101852417, -0.756660938, -1.05014706, -1.00001204, -0.00172244979, 6.12758271e-008, -0.00172246178, 1.00001013, 2.15474902e-005, -9.84062183e-008, 2.15469754e-005, -0.999999285)) | |
| 996 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 997 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.580000103, 2.204)) | |
| 998 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00379943848, -2.08976412, 1.34025192, 1.00001204, 0.00171907921, 2.17523793e-005, -0.00171909155, 1.00001013, 1.06986054e-005, -2.17342458e-005, -1.07354717e-005, 0.999999285)) | |
| 999 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.27600014, 1.04400003, 0.69599998)) | |
| 1000 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.06781864, -1.39336252, -0.00276947021, 6.42567954e-007, 2.37156328e-005, -0.999999285, -0.000670476642, 1.00001156, 2.37155527e-005, 1.00001347, 0.000670467038, 6.58474448e-007)) | |
| 1001 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000159, 0.200000003, 0.232000008)) | |
| 1002 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.457955837, -0.580825329, -0.0055770874, 1.16664842e-006, 2.21116316e-005, -0.999999642, -0.00235209521, 1.00000632, 2.21090704e-005, 1.00000727, 0.0023520845, 1.21865253e-006)) | |
| 1003 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 1004 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 1005 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00102996826, -0.756342888, -2.7901454, -1.00001884, -0.00172247365, 6.13245135e-008, -0.001722491, 1.00001574, 2.15474611e-005, -9.84643691e-008, 2.15468062e-005, -0.999999046)) | |
| 1006 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1007 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.927999973, 0.200000003)) | |
| 1008 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.35656452, -0.0282249451, -2.04077148, -0.00161817856, 2.2865348e-005, 0.999997616, 1.00001848, -0.000935790653, 0.00161816448, 0.000935816381, 1.00001693, -2.13497078e-005)) | |
| 1009 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
| |
| 1010 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.200000003, 0.696000099)) | |
| 1011 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.7414937, 0.402587891, 4.40184164, -0.00107212085, 1.00001121, 1.57967261e-005, 1.00001311, 0.00107211061, 7.93275149e-007, 7.76334844e-007, 1.57971135e-005, -0.999999285)) | |
| 1012 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 1013 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 1014 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0135307312, 0.00276422501, 0.986213207, 1.00001204, 0.00167110038, -1.825656e-005, -0.00167111226, 1.00001013, -1.0784629e-006, 1.82550084e-005, 1.10962583e-006, 0.999999285)) | |
| 1015 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 1016 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.231999964, 0.200000003)) | |
| 1017 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0116043091, -0.169836521, 2.03595734, 1.00001204, 0.00170413801, -1.86736106e-005, -0.00170414965, 1.00001013, 1.63084733e-005, 1.87016558e-005, -1.62761844e-005, 0.999999285)) | |
| 1018 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 1019 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.927999914, 0.231999978, 0.69599998)) | |
| 1020 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.62992048, 1.45317078, 0.00423812866, -8.35475475e-007, -7.49478841e-006, -0.999999642, 0.00172465458, -1.00001037, 7.49267065e-006, -1.00001204, -0.00172464119, 8.48372508e-007)) | |
| 1021 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 1022 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0048866272, 1.45256662, -2.78931189, 1.00000513, 0.00172351021, 2.02878823e-007, 0.00172351615, -1.00000417, 7.49809578e-006, 2.15795779e-007, -7.49809897e-006, -0.999999642)) | |
| 1023 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1024 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1025 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.175273895, -2.2061739, -4.11187935, 1.00001371, 0.00036665576, 8.8621448e-008, -0.000366665074, 1.0000118, 2.83818667e-006, -8.7566761e-008, -2.8376005e-006, 0.999999285)) | |
| 1026 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
| |
| 1027 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.579999983, 0.200000003)) | |
| 1028 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000499725342, -0.350563049, -2.02378225, 1.00001347, -5.64614311e-007, -3.58900643e-009, 5.56057785e-007, 1.00001156, 2.58954788e-006, 3.60246588e-009, -2.58893624e-006, 0.999999285)) | |
| 1029 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 1030 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.463999957, 0.452400029)) | |
| 1031 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107460022, -0.0555205345, 1.75172997, 1.00001204, 0.00170685095, -1.87402256e-005, -0.00170686259, 1.00001013, 1.71129595e-005, 1.87696915e-005, -1.7080516e-005, 0.999999285)) | |
| 1032 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.200000003, 0.200000003)) | |
| 1033 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000179290771, -0.11830616, -0.515934467, 1.00000679, 1.18016033e-006, -1.49793378e-009, -1.18446769e-006, 1.00000584, 4.800022e-007, 1.50599488e-009, -4.79683422e-007, 0.999999642)) | |
| 1034 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 1035 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.695999742, 0.463999987)) | |
| 1036 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39072371, -2.08222008, -0.0108184814, -0.000440219301, 1.00001168, 1.49555108e-005, -5.82121402e-007, -1.49553034e-005, 0.999999285, 1.00001359, 0.000440209988, 5.88711941e-007)) | |
| 1037 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1038 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000038, 0.200000003, 3.59599972)) | |
| 1039 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000350952148, -0.34586668, 1.57220888, 1.00001347, -8.66054324e-006, -1.0555099e-009, 8.65192851e-006, 1.00001156, 6.67146651e-007, 1.06459686e-009, -6.66510914e-007, 0.999999285)) | |
| 1040 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 1041 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993)) | |
| 1042 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000980377197, -0.756362438, 2.21014261, 1.00001216, 0.00168377184, -1.39758196e-008, -0.00168378383, 1.00001025, 2.10831458e-005, 4.94904349e-008, -2.10827075e-005, 0.999999285)) | |
| 1043 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1044 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003)) | |
| 1045 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000228881836, -1.85836792, 2.37173796, -1.00001347, 0.000378501718, 1.62424982e-007, 0.000378494151, 1.00001156, 4.46612976e-005, -1.45538479e-007, 4.46612685e-005, -0.999999285)) | |
| 1046 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 1047 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(1.62399995, 0.927999794, 0.928000033)) | |
| 1048 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1039381, 1.63024521, -0.0039024353, -0.00172031764, 1.00001013, 1.46122475e-005, -5.72987631e-007, -1.46127904e-005, 0.999999285, 1.00001204, 0.00172030565, 5.98132715e-007)) | |
| 1049 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1050 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.9000001, 0.232000038, 0.232000008)) | |
| 1051 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.2558732, -0.755105019, -0.005027771, 1.16550927e-006, 2.32517414e-005, -0.999999046, -0.00235130615, 1.00001335, 2.32494094e-005, 1.00001562, 0.00235129381, 1.22017377e-006)) | |
| 1052 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.812000036, 0.34799999)) | |
| 1053 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000499725342, -0.000572681427, -0.399878502, 1.00001347, -3.89991328e-009, -1.60411329e-009, -4.71482053e-009, 1.00001156, 9.86925897e-007, 1.61898139e-009, -9.86294253e-007, 0.999999285)) | |
| 1054 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.69599998, 0.231999993)) | |
| 1055 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000854492188, -0.060251236, -0.689863205, 1.00000679, 9.31904651e-008, -2.52386245e-009, -9.7497832e-008, 1.00000584, 1.58413877e-006, 2.53151944e-009, -1.58382682e-006, 0.999999642)) | |
| 1056 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.34799999, 0.34799996)) | |
| 1057 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000202178955, -0.698717594, -0.863790989, 1.00001359, -9.37085133e-007, -4.30265912e-009, 9.28586815e-007, 1.00001168, 2.73720707e-006, 4.31539515e-009, -2.73659361e-006, 0.999999285)) | |
| 1058 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1059 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.59740001)) | |
| 1060 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0118713379, 0.117973328, 1.22682953, 1.00001204, 0.00170348049, -1.86220968e-005, -0.00170349213, 1.00001013, 1.60979762e-005, 1.86497764e-005, -1.60657855e-005, 0.999999285)) | |
| 1061 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 1062 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 1063 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.170646667, -2.20620346, -4.11187887, 1.00001299, 0.00135321938, 4.18644504e-007, -0.00135323033, 1.00001109, 2.83407667e-006, -4.147997e-007, -2.83402255e-006, 0.999999285)) | |
| 1064 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
| |
| 1065 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34800005, 0.200000003, 0.200000003)) | |
| 1066 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.12456751, -0.434249878, -2.04071569, -0.00161815656, 2.28647568e-005, 0.999998331, 1.00000501, -0.000935775577, 0.00161816564, 0.000935807999, 1.00000536, -2.13500443e-005)) | |
| 1067 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
| |
| 1068 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.231999993, 0.200000003)) | |
| 1069 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.27036333, -1.68534136, 0.286766052, 4.37200288e-006, -0.00031248352, -0.999999225, -0.00104415184, 1.00001121, -0.000312483375, 1.00001323, 0.00104414311, 4.04568164e-006)) | |
| 1070 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
| |
| 1071 | Barrel=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Barrel",Vector3.new(0.695999742, 0.200000003, 0.928000033)) | |
| 1072 | Barrelweld=weld(m,handle,Barrel,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09376717, 3.31707621, -0.00493240356, -0.00171980122, 1.00000441, 1.36221133e-005, -5.93967741e-007, -1.36229164e-005, 0.999999642, 1.00000536, 0.00171979528, 6.1739911e-007)) | |
| 1073 | mesh("CylinderMesh",Barrel,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
| |
| 1074 | ||
| 1075 | LASER_WIDTH = 5 | |
| 1076 | LASER_MAGIC_CIRCLE_DISTANCE = 6.25 | |
| 1077 | laser_data = {}
| |
| 1078 | ||
| 1079 | player=game.Players.localPlayer | |
| 1080 | char=player.Character | |
| 1081 | active=false | |
| 1082 | ||
| 1083 | math = {
| |
| 1084 | abs = math.abs, | |
| 1085 | acos = math.acos, | |
| 1086 | asin = math.asin, | |
| 1087 | atan = math.atan, | |
| 1088 | atan2 = math.atan2, | |
| 1089 | ceil = math.ceil, | |
| 1090 | cos = math.cos, | |
| 1091 | cosh = math.cosh, | |
| 1092 | deg = math.deg, | |
| 1093 | exp = math.exp, | |
| 1094 | floor = math.floor, | |
| 1095 | fmod = math.fmod, | |
| 1096 | frexp = math.frexp, | |
| 1097 | huge = math.huge, | |
| 1098 | ldexp = math.ldexp, | |
| 1099 | log = math.log, | |
| 1100 | log10 = math.log10, | |
| 1101 | max = math.max, | |
| 1102 | min = math.min, | |
| 1103 | modf = math.modf, | |
| 1104 | phi = 1.618033988749895, | |
| 1105 | pi = math.pi, | |
| 1106 | pow = math.pow, | |
| 1107 | rad = math.rad, | |
| 1108 | random = math.random, | |
| 1109 | randomseed = math.randomseed, | |
| 1110 | sin = math.sin, | |
| 1111 | sinh = math.sinh, | |
| 1112 | sqrt = math.sqrt, | |
| 1113 | tan = math.tan, | |
| 1114 | tanh = math.tanh, | |
| 1115 | tau = 2 * math.pi | |
| 1116 | } | |
| 1117 | magicCircleData = {}
| |
| 1118 | MAGIC_CIRCLE_DEFAULT_OFFSET = 6.25 | |
| 1119 | function AnimateMagicCircle(data) | |
| 1120 | local frame, direction, magic_circle_model, magic_circle_part, magic_circle_light, magic_circle_decal_back, magic_circle_decal_front, duration, | |
| 1121 | ||
| 1122 | stay, magic_circle_adornee_func, magic_circle_offset = unpack(data) | |
| 1123 | frame = frame + 1 | |
| 1124 | data[1] = frame | |
| 1125 | local transparency = (frame / duration) ^ stay | |
| 1126 | local opacity = 1 - transparency | |
| 1127 | if frame == duration then | |
| 1128 | pcall(game.Destroy, magic_circle_model) | |
| 1129 | magicCircleData[data] = nil | |
| 1130 | else | |
| 1131 | if magic_circle_model.Parent ~= workspace then | |
| 1132 | magic_circle_model.Parent=workspace | |
| 1133 | end | |
| 1134 | local magic_circle_adornee = magic_circle_adornee_func() | |
| 1135 | magic_circle_position = magic_circle_adornee.Position + direction * magic_circle_offset | |
| 1136 | local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction) * CFrame.Angles(0, 0, math.tau * frame / | |
| 1137 | ||
| 1138 | 25) | |
| 1139 | magic_circle_part.CFrame = magic_circle_cframe | |
| 1140 | magic_circle_light.Brightness = opacity | |
| 1141 | magic_circle_decal_back.Transparency = transparency | |
| 1142 | magic_circle_decal_front.Transparency = transparency | |
| 1143 | end | |
| 1144 | end | |
| 1145 | function CreateMagicCircle(target, magic_circle_scale, magic_circle_image, light_color, duration, stay, magic_circle_adornee_func, | |
| 1146 | ||
| 1147 | magic_circle_offset) | |
| 1148 | local magic_circle_adornee = magic_circle_adornee_func() | |
| 1149 | if magic_circle_adornee then | |
| 1150 | local origin = magic_circle_adornee.Position | |
| 1151 | local direction = (target - origin).unit | |
| 1152 | local magic_circle_position = origin + direction * magic_circle_offset | |
| 1153 | local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction) | |
| 1154 | local magic_circle_model = Instance.new("Model")
| |
| 1155 | local magic_circle_part = Instance.new("Part", magic_circle_model)
| |
| 1156 | local magic_circle_mesh = Instance.new("BlockMesh", magic_circle_part)
| |
| 1157 | local magic_circle_light = Instance.new("PointLight", magic_circle_part)
| |
| 1158 | local magic_circle_decal_back = Instance.new("Decal", magic_circle_part)
| |
| 1159 | local magic_circle_decal_front = Instance.new("Decal", magic_circle_part)
| |
| 1160 | magic_circle_model.Archivable = false | |
| 1161 | magic_circle_part.Anchored = true | |
| 1162 | magic_circle_part.BottomSurface = "Smooth" | |
| 1163 | magic_circle_part.CanCollide = false | |
| 1164 | magic_circle_part.CFrame = magic_circle_cframe | |
| 1165 | magic_circle_part.FormFactor = "Custom" | |
| 1166 | magic_circle_part.Locked = true | |
| 1167 | magic_circle_part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1168 | magic_circle_part.TopSurface = "Smooth" | |
| 1169 | magic_circle_part.Transparency = 1 | |
| 1170 | magic_circle_mesh.Scale = Vector3.new(60, 60, 0) * magic_circle_scale | |
| 1171 | magic_circle_light.Color = light_color | |
| 1172 | magic_circle_light.Range = 16 * magic_circle_scale | |
| 1173 | magic_circle_light.Shadows = true | |
| 1174 | magic_circle_decal_back.Face = "Back" | |
| 1175 | magic_circle_decal_back.Texture = magic_circle_image | |
| 1176 | magic_circle_decal_front.Face = "Front" | |
| 1177 | magic_circle_decal_front.Texture = magic_circle_image | |
| 1178 | magic_circle_model.Parent = workspace | |
| 1179 | local data = {0, direction, magic_circle_model, magic_circle_part, magic_circle_light, magic_circle_decal_back, magic_circle_decal_front,
| |
| 1180 | ||
| 1181 | duration, stay, magic_circle_adornee_func, magic_circle_offset} | |
| 1182 | magicCircleData[data] = true | |
| 1183 | return data | |
| 1184 | end | |
| 1185 | end | |
| 1186 | ||
| 1187 | --GraphicalEffects.fragmentation = {}
| |
| 1188 | function AnimateLaserOfDeath(data) | |
| 1189 | local frame, directionOrientation, direction, magic_circle_model, laser_part, laser_mesh, magic_circle_part, magic_circle_light, | |
| 1190 | ||
| 1191 | magic_circle_decal_back, magic_circle_decal_front, sound, laser_scale, fragmentation_size, duration, laser_lights, laser_effects, stay, light_effects = | |
| 1192 | ||
| 1193 | unpack(data) | |
| 1194 | local laser_color = laser_part.Color | |
| 1195 | frame = frame + 1 | |
| 1196 | data[1] = frame | |
| 1197 | local transparency = (frame / duration) ^ stay | |
| 1198 | local opacity = 1 - transparency | |
| 1199 | if frame == 2 then | |
| 1200 | sound:Play() | |
| 1201 | end | |
| 1202 | if frame == duration then | |
| 1203 | pcall(game.Destroy, magic_circle_model) | |
| 1204 | laser_data[data] = nil | |
| 1205 | else | |
| 1206 | if magic_circle_model.Parent ~= workspace then | |
| 1207 | magic_circle_model.Parent=workspace | |
| 1208 | end | |
| 1209 | local laser_distance = 0 | |
| 1210 | local origin = Barrel.CFrame | |
| 1211 | if not light_effects then | |
| 1212 | direction = (origin * directionOrientation - origin.p).unit | |
| 1213 | end | |
| 1214 | local magic_circle_position = origin.p + direction * LASER_MAGIC_CIRCLE_DISTANCE | |
| 1215 | local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction) * CFrame.Angles(0, 0, math.tau * frame / | |
| 1216 | ||
| 1217 | 25) | |
| 1218 | local loop_scale = (laser_scale - 1) / 10 | |
| 1219 | for x_offset = -loop_scale, loop_scale, 2 do | |
| 1220 | for y_offset = -loop_scale, loop_scale, 2 do | |
| 1221 | local origin_position = magic_circle_cframe * Vector3.new(x_offset, y_offset, 0) | |
| 1222 | for index = 1, 8 do | |
| 1223 | local part, position | |
| 1224 | for ray_index = 1, 10 do | |
| 1225 | local ray = Ray.new(origin_position + direction * (999 * (ray_index - 1)), direction * 999) | |
| 1226 | part, position = workspace:FindPartOnRay(ray, magic_circle_model) | |
| 1227 | if part then | |
| 1228 | break | |
| 1229 | end | |
| 1230 | end | |
| 1231 | if part then | |
| 1232 | laser_distance = (position - origin_position).magnitude | |
| 1233 | if frame % 8 == 1 and index == 1 then | |
| 1234 | Instance.new("Explosion", workspace).Position = position
| |
| 1235 | end | |
| 1236 | if not part:IsA("Terrain") then
| |
| 1237 | pcall(part.BreakJoints, part) | |
| 1238 | local is_block = part:IsA("Part") and part.Shape == Enum.PartType.Block
| |
| 1239 | local mass = part:GetMass() | |
| 1240 | local size = part.Size | |
| 1241 | if (is_block and ((size.X < fragmentation_size and size.Y < fragmentation_size and size.Z < | |
| 1242 | ||
| 1243 | fragmentation_size) or (not part.Anchored and mass < 750))) or (not is_block and mass < 250000) then | |
| 1244 | local part_transparency = math.max(part.Transparency + 0.007 * fragmentation_size, 0.5) | |
| 1245 | if part_transparency >= 0.5 then -- temporarily to minimize debris | |
| 1246 | pcall(game.Destroy, part) | |
| 1247 | else | |
| 1248 | local cframe = part.CFrame | |
| 1249 | part.Anchored = false | |
| 1250 | part.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1251 | part.CanCollide = true | |
| 1252 | if part:IsA("FormFactorPart") then
| |
| 1253 | part.FormFactor = "Custom" | |
| 1254 | end | |
| 1255 | part.Size = size - Vector3.new(0.135, 0.135, 0.135) * fragmentation_size | |
| 1256 | part.Transparency = part_transparency | |
| 1257 | part.CFrame = cframe + direction * 5 | |
| 1258 | part.Velocity = part.Velocity + direction * 40 | |
| 1259 | end | |
| 1260 | elseif is_block then | |
| 1261 | local parts = {part}
| |
| 1262 | local model = Instance.new("Model", part.Parent)
| |
| 1263 | model.Name = "Fragments" | |
| 1264 | if size.X >= fragmentation_size then | |
| 1265 | size = Vector3.new(0.5, 1, 1) * size | |
| 1266 | local archivable = part.Archivable | |
| 1267 | local cframe = part.CFrame | |
| 1268 | part.FormFactor = "Custom" | |
| 1269 | part.Size = size | |
| 1270 | part.Archivable = true | |
| 1271 | local part_clone = part:Clone() | |
| 1272 | part.Archivable = archivable | |
| 1273 | part_clone.Archivable = archivable | |
| 1274 | part.CFrame = cframe * CFrame.new(-0.5 * size.X, 0, 0) | |
| 1275 | part_clone.CFrame = cframe * CFrame.new(0.5 * size.X, 0, 0) | |
| 1276 | part_clone.Parent = model | |
| 1277 | parts[2] = part_clone | |
| 1278 | end | |
| 1279 | if size.Y >= fragmentation_size then | |
| 1280 | size = Vector3.new(1, 0.5, 1) * size | |
| 1281 | for part_index = 1, #parts do | |
| 1282 | local part = parts[part_index] | |
| 1283 | local archivable = part.Archivable | |
| 1284 | local cframe = part.CFrame | |
| 1285 | part.FormFactor = "Custom" | |
| 1286 | part.Size = size | |
| 1287 | part.Archivable = true | |
| 1288 | local part_clone = part:Clone() | |
| 1289 | part.Archivable = archivable | |
| 1290 | part_clone.Archivable = archivable | |
| 1291 | part.CFrame = cframe * CFrame.new(0, -0.5 * size.Y, 0) | |
| 1292 | part_clone.CFrame = cframe * CFrame.new(0, 0.5 * size.Y, 0) | |
| 1293 | part_clone.Parent = model | |
| 1294 | table.insert(parts, part_clone) | |
| 1295 | end | |
| 1296 | end | |
| 1297 | if size.Z >= fragmentation_size then | |
| 1298 | size = Vector3.new(1, 1, 0.5) * size | |
| 1299 | for part_index = 1, #parts do | |
| 1300 | local part = parts[part_index] | |
| 1301 | local archivable = part.Archivable | |
| 1302 | local cframe = part.CFrame | |
| 1303 | part.FormFactor = "Custom" | |
| 1304 | part.Size = size | |
| 1305 | part.Archivable = true | |
| 1306 | local part_clone = part:Clone() | |
| 1307 | part.Archivable = archivable | |
| 1308 | part_clone.Archivable = archivable | |
| 1309 | part.CFrame = cframe * CFrame.new(0, 0, -0.5 * size.Z) | |
| 1310 | part_clone.CFrame = cframe * CFrame.new(0, 0, 0.5 * size.Z) | |
| 1311 | part_clone.Parent = model | |
| 1312 | table.insert(parts, part_clone) | |
| 1313 | end | |
| 1314 | end | |
| 1315 | for _, part in ipairs(parts) do | |
| 1316 | part:MakeJoints() | |
| 1317 | end | |
| 1318 | else | |
| 1319 | break | |
| 1320 | end | |
| 1321 | end | |
| 1322 | else | |
| 1323 | laser_distance = 9990 | |
| 1324 | break | |
| 1325 | end | |
| 1326 | end | |
| 1327 | end | |
| 1328 | end | |
| 1329 | local laser_cframe = magic_circle_cframe * CFrame.Angles(-0.5 * math.pi, 0, 0) | |
| 1330 | local laser_width = LASER_WIDTH * opacity * laser_scale | |
| 1331 | local laser_mesh_offset = Vector3.new(0, 0.5 * laser_distance, 0) | |
| 1332 | laser_part.CFrame = laser_cframe | |
| 1333 | if laser_effects then | |
| 1334 | local laser_effect_data_1, laser_effect_data_2 = laser_effects[1], laser_effects[2] | |
| 1335 | local laser_effect_1, laser_effect_mesh_1 = laser_effect_data_1[1], laser_effect_data_1[2] | |
| 1336 | local laser_effect_2, laser_effect_mesh_2 = laser_effect_data_2[1], laser_effect_data_2[2] | |
| 1337 | laser_effect_1.CFrame = laser_cframe | |
| 1338 | laser_effect_2.CFrame = laser_cframe | |
| 1339 | laser_effect_mesh_1.Offset = laser_mesh_offset | |
| 1340 | laser_effect_mesh_2.Offset = laser_mesh_offset | |
| 1341 | local game_time = time() | |
| 1342 | local effect_scale_1 = 0.5 + 0.5 * math.sin(16 * math.pi * game_time) | |
| 1343 | local effect_scale_2 = 0.5 + 0.5 * math.cos(16 * math.pi * game_time) | |
| 1344 | laser_effect_mesh_1.Scale = 5 * Vector3.new(laser_width * effect_scale_1, laser_distance, laser_width * effect_scale_1) | |
| 1345 | laser_effect_mesh_2.Scale = 5 * Vector3.new(laser_width * effect_scale_2, laser_distance, laser_width * effect_scale_2) | |
| 1346 | laser_width = laser_width * 0.25 | |
| 1347 | end | |
| 1348 | laser_mesh.Offset = laser_mesh_offset | |
| 1349 | laser_mesh.Scale = 5 * Vector3.new(laser_width, laser_distance, laser_width) | |
| 1350 | magic_circle_part.CFrame = magic_circle_cframe | |
| 1351 | magic_circle_light.Brightness = opacity | |
| 1352 | magic_circle_decal_back.Transparency = transparency | |
| 1353 | magic_circle_decal_front.Transparency = transparency | |
| 1354 | if light_effects then | |
| 1355 | for index, data in ipairs(laser_lights) do | |
| 1356 | local laser_spotlight_part, laser_spotlight = data[1], data[2] | |
| 1357 | local laser_spotlight_offset = 30 * (index - 1) | |
| 1358 | if laser_spotlight_offset <= laser_distance then | |
| 1359 | laser_spotlight_part.CFrame = magic_circle_cframe * CFrame.new(0, 0, -laser_spotlight_offset) | |
| 1360 | laser_spotlight.Brightness = opacity | |
| 1361 | laser_spotlight.Enabled = true | |
| 1362 | else | |
| 1363 | laser_spotlight.Enabled = false | |
| 1364 | end | |
| 1365 | end | |
| 1366 | end | |
| 1367 | end | |
| 1368 | end | |
| 1369 | function ShootLaserOfDeath(target, data) | |
| 1370 | data = data or {}
| |
| 1371 | local brickcolor = data.brickcolor or BrickColor.new("Really black")
| |
| 1372 | local duration = data.duration or 40 | |
| 1373 | local fragmentation_size = data.fragmentation_size or 3 | |
| 1374 | local laser_scale = data.laser_scale or 1 | |
| 1375 | local light_color = data.light_color or Color3.new(1, 0.5, 1) | |
| 1376 | local magic_circle_image = data.magic_circle_image or "rbxassetid://122610943" | |
| 1377 | local magic_circle_scale = data.magic_circle_scale or 1 | |
| 1378 | local sound_volume = data.sound_volume or 1 / 3 | |
| 1379 | local special_effects = data.special_effects | |
| 1380 | local stay = data.stay or 4 | |
| 1381 | local origin = Barrel.CFrame | |
| 1382 | local directionOrientation = origin:pointToObjectSpace(target) | |
| 1383 | local direction = (target - origin.p).unit | |
| 1384 | local magic_circle_position = origin.p + direction * LASER_MAGIC_CIRCLE_DISTANCE | |
| 1385 | local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction) | |
| 1386 | local magic_circle_model = Instance.new("Model")
| |
| 1387 | local laser_part = Instance.new("Part", magic_circle_model)
| |
| 1388 | local laser_mesh = Instance.new("CylinderMesh", laser_part)
| |
| 1389 | local magic_circle_part = Instance.new("Part", magic_circle_model)
| |
| 1390 | local magic_circle_mesh = Instance.new("BlockMesh", magic_circle_part)
| |
| 1391 | local magic_circle_light = Instance.new("PointLight", magic_circle_part)
| |
| 1392 | local magic_circle_decal_back = Instance.new("Decal", magic_circle_part)
| |
| 1393 | local magic_circle_decal_front = Instance.new("Decal", magic_circle_part)
| |
| 1394 | local sound = Instance.new("Sound", magic_circle_part)
| |
| 1395 | sound.Pitch = 0.9 | |
| 1396 | sound.SoundId = "rbxassetid://222371404" | |
| 1397 | sound.Volume = 1 | |
| 1398 | magic_circle_model.Archivable = false | |
| 1399 | laser_part.Anchored = true | |
| 1400 | laser_part.BottomSurface = "Smooth" | |
| 1401 | laser_part.BrickColor = brickcolor | |
| 1402 | laser_part.CanCollide = false | |
| 1403 | laser_part.CFrame = magic_circle_cframe * CFrame.Angles(-0.5 * math.pi, 0, 0) | |
| 1404 | laser_part.FormFactor = "Custom" | |
| 1405 | laser_part.Locked = true | |
| 1406 | laser_part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1407 | laser_part.TopSurface = "Smooth" | |
| 1408 | laser_mesh.Offset = Vector3.new(0, 0, 0) | |
| 1409 | laser_mesh.Name = "Mesh" | |
| 1410 | laser_mesh.Scale = 5 * laser_scale * Vector3.new(LASER_WIDTH, 0, LASER_WIDTH) | |
| 1411 | magic_circle_part.Anchored = true | |
| 1412 | magic_circle_part.BottomSurface = "Smooth" | |
| 1413 | magic_circle_part.CanCollide = false | |
| 1414 | magic_circle_part.CFrame = magic_circle_cframe | |
| 1415 | magic_circle_part.FormFactor = "Custom" | |
| 1416 | magic_circle_part.Locked = true | |
| 1417 | magic_circle_part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1418 | magic_circle_part.TopSurface = "Smooth" | |
| 1419 | magic_circle_part.Transparency = 1 | |
| 1420 | magic_circle_mesh.Scale = Vector3.new(60, 60, 0) * magic_circle_scale | |
| 1421 | magic_circle_light.Color = light_color | |
| 1422 | magic_circle_light.Range = 16 * magic_circle_scale | |
| 1423 | magic_circle_light.Shadows = true | |
| 1424 | magic_circle_decal_back.Face = "Back" | |
| 1425 | magic_circle_decal_back.Texture = magic_circle_image | |
| 1426 | magic_circle_decal_front.Face = "Front" | |
| 1427 | magic_circle_decal_front.Texture = magic_circle_image | |
| 1428 | magic_circle_model.Parent = workspace | |
| 1429 | local laser_color = brickcolor.Color | |
| 1430 | local laser_lights = {}
| |
| 1431 | local light_effects = laser_color.r + laser_color.g + laser_color.b > 0.25 | |
| 1432 | if light_effects then | |
| 1433 | local laser_spotlight_part_template = Instance.new("Part")
| |
| 1434 | local laser_spotlight_light_template = Instance.new("SpotLight", laser_spotlight_part_template)
| |
| 1435 | laser_spotlight_part_template.Anchored = true | |
| 1436 | laser_spotlight_part_template.Anchored = true | |
| 1437 | laser_spotlight_part_template.BottomSurface = "Smooth" | |
| 1438 | laser_spotlight_part_template.CanCollide = false | |
| 1439 | laser_spotlight_part_template.FormFactor = "Custom" | |
| 1440 | laser_spotlight_part_template.Locked = true | |
| 1441 | laser_spotlight_part_template.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1442 | laser_spotlight_part_template.TopSurface = "Smooth" | |
| 1443 | laser_spotlight_part_template.Transparency = 1 | |
| 1444 | laser_spotlight_light_template.Angle = 45 | |
| 1445 | laser_spotlight_light_template.Color = laser_color | |
| 1446 | laser_spotlight_light_template.Enabled = true | |
| 1447 | laser_spotlight_light_template.Name = "Light" | |
| 1448 | laser_spotlight_light_template.Range = 60 | |
| 1449 | for index = 1, 40 do | |
| 1450 | local laser_spotlight_part = laser_spotlight_part_template:Clone() | |
| 1451 | laser_spotlight_part.CFrame = magic_circle_cframe * CFrame.new(0, 0, -30 * (index - 1)) | |
| 1452 | laser_spotlight_part.Parent = magic_circle_model | |
| 1453 | laser_lights[index] = {laser_spotlight_part, laser_spotlight_part.Light}
| |
| 1454 | end | |
| 1455 | end | |
| 1456 | local laser_effects | |
| 1457 | if special_effects then | |
| 1458 | laser_effects = {}
| |
| 1459 | local laser_effect_1 = laser_part:Clone() | |
| 1460 | laser_effect_1.BrickColor = special_effects | |
| 1461 | laser_effect_1.Transparency = 0.5 | |
| 1462 | local laser_effect_2 = laser_effect_1:Clone() | |
| 1463 | laser_effects[1], laser_effects[2] = {laser_effect_1, laser_effect_1.Mesh}, {laser_effect_2, laser_effect_2.Mesh}
| |
| 1464 | laser_effect_1.Parent = magic_circle_model | |
| 1465 | laser_effect_2.Parent = magic_circle_model | |
| 1466 | end | |
| 1467 | laser_data={0, directionOrientation, direction, magic_circle_model, laser_part, laser_mesh, magic_circle_part,
| |
| 1468 | ||
| 1469 | magic_circle_light, magic_circle_decal_back, magic_circle_decal_front, sound, laser_scale, fragmentation_size, duration, laser_lights, laser_effects, stay, | |
| 1470 | ||
| 1471 | light_effects} | |
| 1472 | end | |
| 1473 | ||
| 1474 | function laser(target) | |
| 1475 | ShootLaserOfDeath(target, {brickcolor = BrickColor.new("New Yeller"), duration = 20, fragmentation_size = 10,
| |
| 1476 | ||
| 1477 | laser_scale = 3, light_color = Color3.new(1, 0.5, 0), magic_circle_image = "rbxassetid://1", magic_circle_scale = 1.5, sound_volume = 1, | |
| 1478 | ||
| 1479 | special_effects = BrickColor.new("Deep orange"), stay = 2})
| |
| 1480 | end | |
| 1481 | ||
| 1482 | function LaserAtMouse() | |
| 1483 | laser(mouse.Hit.p) | |
| 1484 | end | |
| 1485 | ||
| 1486 | mouse.Button1Down:connect(function() | |
| 1487 | pcall(function() | |
| 1488 | shoot() | |
| 1489 | end) | |
| 1490 | end) | |
| 1491 | ||
| 1492 | ready=false | |
| 1493 | ||
| 1494 | mouse.KeyDown:connect(function(k) | |
| 1495 | k=k:lower() | |
| 1496 | if k=='f' then | |
| 1497 | if ready==false then | |
| 1498 | ready=true | |
| 1499 | attack=true | |
| 1500 | elseif ready==true then | |
| 1501 | ready=false | |
| 1502 | attack=false | |
| 1503 | end | |
| 1504 | elseif k=='q' and attack==false then | |
| 1505 | Melee() | |
| 1506 | end | |
| 1507 | end) | |
| 1508 | ||
| 1509 | function Melee() | |
| 1510 | attack = true | |
| 1511 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,50,100,math.random(10,15),"Normal",RootPart,.2,1) end) | |
| 1512 | for i=0,3,0.3 do | |
| 1513 | swait() | |
| 1514 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
| 1515 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(0)),.3) | |
| 1516 | ||
| 1517 | end | |
| 1518 | so("http://www.roblox.com/asset/?id=200632136",Hitbox,1,0.8)
| |
| 1519 | for i=0,3,0.3 do | |
| 1520 | swait() | |
| 1521 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
| 1522 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-150),math.rad(0),math.rad(0)),.3) | |
| 1523 | end | |
| 1524 | attack=false | |
| 1525 | con1:disconnect() | |
| 1526 | end | |
| 1527 | ||
| 1528 | function shoot() | |
| 1529 | if attack==true and ready==true then | |
| 1530 | ready=false | |
| 1531 | attack=true | |
| 1532 | LaserAtMouse() | |
| 1533 | for i=0,3,0.3 do | |
| 1534 | swait() | |
| 1535 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1536 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
| 1537 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(0),math.rad(0)),.3) | |
| 1538 | LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(180),math.rad(0),math.rad(40)),.3) | |
| 1539 | Torso.Velocity=Head.CFrame.lookVector*-100 | |
| 1540 | end | |
| 1541 | attack=false | |
| 1542 | end | |
| 1543 | end | |
| 1544 | ||
| 1545 | local sine = 0 | |
| 1546 | local change = 1 | |
| 1547 | local val = 0 | |
| 1548 | ||
| 1549 | while true do | |
| 1550 | swait() | |
| 1551 | sine = sine + change | |
| 1552 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 1553 | local velderp=RootPart.Velocity.y | |
| 1554 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 1555 | if equipped==true or equipped==false then | |
| 1556 | if attack==false then | |
| 1557 | idle=idle+1 | |
| 1558 | else | |
| 1559 | idle=0 | |
| 1560 | end | |
| 1561 | if idle>=500 then | |
| 1562 | if attack==false then | |
| 1563 | --Sheath() | |
| 1564 | end | |
| 1565 | end | |
| 1566 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 1567 | Anim="Jump" | |
| 1568 | if attack==false then | |
| 1569 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1570 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
| 1571 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1572 | end | |
| 1573 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 1574 | Anim="Fall" | |
| 1575 | if attack==false then | |
| 1576 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1577 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1578 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1579 | end | |
| 1580 | elseif torvel<1 and hitfloor~=nil then | |
| 1581 | Anim="Idle" | |
| 1582 | if attack==false then | |
| 1583 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1584 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1585 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1586 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(0)),.3) | |
| 1587 | LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(120),math.rad(0),math.rad(40)),.3) | |
| 1588 | end | |
| 1589 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 1590 | Anim="Walk" | |
| 1591 | if attack==false then | |
| 1592 | change=3 | |
| 1593 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1594 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
| 1595 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1596 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(0)),.3) | |
| 1597 | LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(120),math.rad(0),math.rad(40)),.3) | |
| 1598 | end | |
| 1599 | elseif torvel>=22 and hitfloor~=nil then | |
| 1600 | Anim="Run" | |
| 1601 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1602 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
| 1603 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1604 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(0)),.3) | |
| 1605 | LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(120),math.rad(0),math.rad(40)),.3) | |
| 1606 | if attack==false then | |
| 1607 | end | |
| 1608 | end | |
| 1609 | end | |
| 1610 | if ready==true then | |
| 1611 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1612 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1613 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1614 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
| 1615 | LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(160),math.rad(0),math.rad(40)),.3) | |
| 1616 | end | |
| 1617 | pcall(function() | |
| 1618 | AnimateLaserOfDeath(laser_data) | |
| 1619 | end) | |
| 1620 | end |