SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Player=game:GetService("Players").LocalPlayer
|
| 1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do | |
| 6 | print("FE Compatibility code V2 by Mokiros")
| |
| 7 | local RealPlayer = RealPlayer | |
| 8 | script.Parent = RealPlayer.Character | |
| 9 | ||
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | local Disconnect_Function = function(this) | |
| 12 | this[1].Functions[this[2]] = nil | |
| 13 | end | |
| 14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
| |
| 15 | local FakeEvent_Metatable = {__index={
| |
| 16 | Connect = function(this,f) | |
| 17 | local i = tostring(math.random(0,10000)) | |
| 18 | while this.Functions[i] do | |
| 19 | i = tostring(math.random(0,10000)) | |
| 20 | end | |
| 21 | this.Functions[i] = f | |
| 22 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 23 | end | |
| 24 | }} | |
| 25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 26 | local function fakeEvent() | |
| 27 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 28 | end | |
| 29 | ||
| 30 | --Creating fake input objects with fake variables | |
| 31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 37 | end} | |
| 38 | --Merged 2 functions into one by checking amount of arguments | |
| 39 | CAS.UnbindAction = CAS.BindAction | |
| 40 | ||
| 41 | --This function will trigger the events that have been :Connect()'ed | |
| 42 | local function TriggerEvent(self,ev,...) | |
| 43 | for _,f in pairs(self[ev].Functions) do | |
| 44 | f(...) | |
| 45 | end | |
| 46 | end | |
| 47 | FakeMouse.TriggerEvent = TriggerEvent | |
| 48 | UIS.TriggerEvent = TriggerEvent | |
| 49 | ||
| 50 | --Client communication | |
| 51 | local Event = Instance.new("RemoteEvent")
| |
| 52 | Event.Name = "UserInput_Event" | |
| 53 | Event.OnServerEvent:Connect(function(plr,io) | |
| 54 | if plr~=RealPlayer then return end | |
| 55 | FakeMouse.Target = io.Target | |
| 56 | FakeMouse.Hit = io.Hit | |
| 57 | if not io.isMouse then | |
| 58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
| 61 | end | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
| 64 | end | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | for _,k in pairs(t.Keys) do | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 74 | end | |
| 75 | end) | |
| 76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 77 | local Mouse = owner:GetMouse() | |
| 78 | local UIS = game:GetService("UserInputService")
| |
| 79 | local input = function(io,RobloxHandled) | |
| 80 | if RobloxHandled then return end | |
| 81 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 83 | end | |
| 84 | UIS.InputBegan:Connect(input) | |
| 85 | UIS.InputEnded:Connect(input) | |
| 86 | ||
| 87 | local h,t | |
| 88 | --Give the server mouse data every second frame, but only if the values changed | |
| 89 | --If player is not moving their mouse, client won't fire events | |
| 90 | local HB = game:GetService("RunService").Heartbeat
| |
| 91 | while true do | |
| 92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 93 | h,t=Mouse.Hit,Mouse.Target | |
| 94 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 95 | end | |
| 96 | --Wait 2 frames | |
| 97 | for i=1,2 do | |
| 98 | HB:Wait() | |
| 99 | end | |
| 100 | end]==],script) | |
| 101 | ||
| 102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 103 | --Real game object | |
| 104 | local RealGame = game | |
| 105 | ||
| 106 | --Metatable for fake service | |
| 107 | local FakeService_Metatable = {
| |
| 108 | __index = function(self,k) | |
| 109 | local s = rawget(self,"_RealService") | |
| 110 | if s then | |
| 111 | return typeof(s[k])=="function" | |
| 112 | and function(_,...)return s[k](s,...)end or s[k] | |
| 113 | end | |
| 114 | end, | |
| 115 | __newindex = function(self,k,v) | |
| 116 | local s = rawget(self,"_RealService") | |
| 117 | if s then s[k]=v end | |
| 118 | end | |
| 119 | } | |
| 120 | local function FakeService(t,RealService) | |
| 121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 122 | return setmetatable(t,FakeService_Metatable) | |
| 123 | end | |
| 124 | ||
| 125 | --Fake game object | |
| 126 | local FakeGame = {
| |
| 127 | GetService = function(self,s) | |
| 128 | return rawget(self,s) or RealGame:GetService(s) | |
| 129 | end, | |
| 130 | Players = FakeService({
| |
| 131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 132 | },"Players"), | |
| 133 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 135 | RunService = FakeService({
| |
| 136 | _btrs = {},
| |
| 137 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 138 | BindToRenderStep = function(self,name,_,fun) | |
| 139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 140 | end, | |
| 141 | UnbindFromRenderStep = function(self,name) | |
| 142 | self._btrs[name]:Disconnect() | |
| 143 | end, | |
| 144 | },"RunService") | |
| 145 | } | |
| 146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 147 | FakeGame.service = FakeGame.GetService | |
| 148 | FakeService(FakeGame,game) | |
| 149 | --Changing owner to fake player object to support owner:GetMouse() | |
| 150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 151 | end | |
| 152 | ||
| 153 | Player=owner | |
| 154 | Character=Player.Character | |
| 155 | PlayerGui=Player.PlayerGui | |
| 156 | Backpack=Player.Backpack | |
| 157 | Torso=Character.Torso | |
| 158 | Head=Character.Head | |
| 159 | Humanoid=Character.Humanoid | |
| 160 | m=Instance.new('Model',Character)
| |
| 161 | LeftArm=Character["Left Arm"] | |
| 162 | LeftLeg=Character["Left Leg"] | |
| 163 | RightArm=Character["Right Arm"] | |
| 164 | RightLeg=Character["Right Leg"] | |
| 165 | LS=Torso["Left Shoulder"] | |
| 166 | LH=Torso["Left Hip"] | |
| 167 | RS=Torso["Right Shoulder"] | |
| 168 | RH=Torso["Right Hip"] | |
| 169 | Face = Head.face | |
| 170 | Neck=Torso.Neck | |
| 171 | it=Instance.new | |
| 172 | attacktype=1 | |
| 173 | vt=Vector3.new | |
| 174 | cf=CFrame.new | |
| 175 | euler=CFrame.fromEulerAnglesXYZ | |
| 176 | angles=CFrame.Angles | |
| 177 | cloaked=false | |
| 178 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 179 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 180 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 181 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 182 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 183 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 184 | RootPart=Character.HumanoidRootPart | |
| 185 | RootJoint=RootPart.RootJoint | |
| 186 | RootCF=euler(-1.57,0,3.14) | |
| 187 | attack = false | |
| 188 | attackdebounce = false | |
| 189 | deb=false | |
| 190 | equipped=true | |
| 191 | hand=false | |
| 192 | MMouse=nil | |
| 193 | combo=0 | |
| 194 | mana=0 | |
| 195 | trispeed=.2 | |
| 196 | attackmode='none' | |
| 197 | local idle=0 | |
| 198 | local Anim="Idle" | |
| 199 | local Effects={}
| |
| 200 | local gun=false | |
| 201 | local shoot=false | |
| 202 | player=nil | |
| 203 | mana=0 | |
| 204 | ||
| 205 | mouse=Player:GetMouse() | |
| 206 | --save shoulders | |
| 207 | RSH, LSH=nil, nil | |
| 208 | --welds | |
| 209 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 210 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 211 | LH=Torso["Left Hip"] | |
| 212 | RH=Torso["Right Hip"] | |
| 213 | TorsoColor=Torso.BrickColor | |
| 214 | function NoOutline(Part) | |
| 215 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 216 | end | |
| 217 | player=Player | |
| 218 | ch=Character | |
| 219 | RSH=ch.Torso["Right Shoulder"] | |
| 220 | LSH=ch.Torso["Left Shoulder"] | |
| 221 | -- | |
| 222 | RSH.Parent=nil | |
| 223 | LSH.Parent=nil | |
| 224 | -- | |
| 225 | RW.Name="Right Shoulder" | |
| 226 | RW.Part0=ch.Torso | |
| 227 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 228 | RW.C1=cf(0, 0.5, 0) | |
| 229 | RW.Part1=ch["Right Arm"] | |
| 230 | RW.Parent=ch.Torso | |
| 231 | -- | |
| 232 | LW.Name="Left Shoulder" | |
| 233 | LW.Part0=ch.Torso | |
| 234 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 235 | LW.C1=cf(0, 0.5, 0) | |
| 236 | LW.Part1=ch["Left Arm"] | |
| 237 | LW.Parent=ch.Torso | |
| 238 | ||
| 239 | ||
| 240 | local function weldBetween(a, b) | |
| 241 | local weldd = Instance.new("ManualWeld")
| |
| 242 | weldd.Part0 = a | |
| 243 | weldd.Part1 = b | |
| 244 | weldd.C0 = CFrame.new() | |
| 245 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 246 | weldd.Parent = a | |
| 247 | return weldd | |
| 248 | end | |
| 249 | ||
| 250 | function swait(num) | |
| 251 | if num==0 or num==nil then | |
| 252 | game:service'RunService'.Heartbeat:wait(0) | |
| 253 | else | |
| 254 | for i=0,num do | |
| 255 | game:service'RunService'.Heartbeat:wait(0) | |
| 256 | end | |
| 257 | end | |
| 258 | end | |
| 259 | ||
| 260 | function nooutline(part) | |
| 261 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 262 | end | |
| 263 | ||
| 264 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 265 | local fp=it("Part")
| |
| 266 | fp.formFactor=formfactor | |
| 267 | fp.Parent=parent | |
| 268 | fp.Reflectance=reflectance | |
| 269 | fp.Transparency=transparency | |
| 270 | fp.CanCollide=false | |
| 271 | fp.Locked=true | |
| 272 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 273 | fp.Name=name | |
| 274 | fp.Size=size | |
| 275 | fp.Position=Character.Torso.Position | |
| 276 | nooutline(fp) | |
| 277 | fp.Material=material | |
| 278 | fp:BreakJoints() | |
| 279 | return fp | |
| 280 | end | |
| 281 | ||
| 282 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 283 | local mesh=it(Mesh) | |
| 284 | mesh.Parent=part | |
| 285 | if Mesh=="SpecialMesh" then | |
| 286 | mesh.MeshType=meshtype | |
| 287 | mesh.MeshId=meshid | |
| 288 | end | |
| 289 | mesh.Offset=offset | |
| 290 | mesh.Scale=scale | |
| 291 | return mesh | |
| 292 | end | |
| 293 | ||
| 294 | function weld(parent,part0,part1,c0,c1) | |
| 295 | local weld=it("Weld")
| |
| 296 | weld.Parent=parent | |
| 297 | weld.Part0=part0 | |
| 298 | weld.Part1=part1 | |
| 299 | weld.C0=c0 | |
| 300 | weld.C1=c1 | |
| 301 | return weld | |
| 302 | end | |
| 303 | ||
| 304 | ||
| 305 | local function CFrameFromTopBack(at, top, back) | |
| 306 | local right = top:Cross(back) | |
| 307 | return CFrame.new(at.x, at.y, at.z, | |
| 308 | right.x, top.x, back.x, | |
| 309 | right.y, top.y, back.y, | |
| 310 | right.z, top.z, back.z) | |
| 311 | end | |
| 312 | ||
| 313 | function Triangle(a, b, c) | |
| 314 | local edg1 = (c-a):Dot((b-a).unit) | |
| 315 | local edg2 = (a-b):Dot((c-b).unit) | |
| 316 | local edg3 = (b-c):Dot((a-c).unit) | |
| 317 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 318 | a, b, c = a, b, c | |
| 319 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 320 | a, b, c = b, c, a | |
| 321 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 322 | a, b, c = c, a, b | |
| 323 | else | |
| 324 | assert(false, "unreachable") | |
| 325 | end | |
| 326 | ||
| 327 | local len1 = (c-a):Dot((b-a).unit) | |
| 328 | local len2 = (b-a).magnitude - len1 | |
| 329 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 330 | ||
| 331 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 332 | ||
| 333 | local list = {}
| |
| 334 | ||
| 335 | if len1 > 0.01 then | |
| 336 | local w1 = Instance.new('WedgePart', m)
| |
| 337 | game:GetService("Debris"):AddItem(w1,5)
| |
| 338 | w1.Material = "SmoothPlastic" | |
| 339 | w1.FormFactor = 'Custom' | |
| 340 | w1.BrickColor = BrickColor.new("Really red")
| |
| 341 | w1.Transparency = 0 | |
| 342 | w1.Reflectance = 0 | |
| 343 | w1.Material = "Neon" | |
| 344 | w1.CanCollide = false | |
| 345 | NoOutline(w1) | |
| 346 | local sz = Vector3.new(0.2, width, len1) | |
| 347 | w1.Size = sz | |
| 348 | local sp = Instance.new("SpecialMesh",w1)
| |
| 349 | sp.MeshType = "Wedge" | |
| 350 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 351 | w1:BreakJoints() | |
| 352 | w1.Anchored = true | |
| 353 | w1.Parent = workspace | |
| 354 | w1.Transparency = 0.7 | |
| 355 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 356 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 357 | table.insert(list,w1) | |
| 358 | end | |
| 359 | ||
| 360 | if len2 > 0.01 then | |
| 361 | local w2 = Instance.new('WedgePart', m)
| |
| 362 | game:GetService("Debris"):AddItem(w2,5)
| |
| 363 | w2.Material = "SmoothPlastic" | |
| 364 | w2.FormFactor = 'Custom' | |
| 365 | w2.BrickColor = BrickColor.new("Really red")
| |
| 366 | w2.Transparency = 0 | |
| 367 | w2.Reflectance = 0 | |
| 368 | w2.Material = "Neon" | |
| 369 | - | c.Value=game:service("Players").LocalPlayer
|
| 369 | + | |
| 370 | NoOutline(w2) | |
| 371 | local sz = Vector3.new(0.2, width, len2) | |
| 372 | w2.Size = sz | |
| 373 | local sp = Instance.new("SpecialMesh",w2)
| |
| 374 | sp.MeshType = "Wedge" | |
| 375 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 376 | w2:BreakJoints() | |
| 377 | w2.Anchored = true | |
| 378 | w2.Parent = workspace | |
| 379 | w2.Transparency = 0.7 | |
| 380 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 381 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 382 | table.insert(list,w2) | |
| 383 | end | |
| 384 | return unpack(list) | |
| 385 | end | |
| 386 | ||
| 387 | ||
| 388 | so = function(id,par,vol,pit) | |
| 389 | coroutine.resume(coroutine.create(function() | |
| 390 | local sou = Instance.new("Sound",par or workspace)
| |
| 391 | sou.Volume=vol | |
| 392 | sou.Pitch=pit or 1 | |
| 393 | sou.SoundId=id | |
| 394 | swait() | |
| 395 | sou:play() | |
| 396 | game:GetService("Debris"):AddItem(sou,6)
| |
| 397 | end)) | |
| 398 | end | |
| 399 | ||
| 400 | function clerp(a,b,t) | |
| 401 | local qa = {QuaternionFromCFrame(a)}
| |
| 402 | local qb = {QuaternionFromCFrame(b)}
| |
| 403 | local ax, ay, az = a.x, a.y, a.z | |
| 404 | local bx, by, bz = b.x, b.y, b.z | |
| 405 | local _t = 1-t | |
| 406 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 407 | end | |
| 408 | ||
| 409 | function QuaternionFromCFrame(cf) | |
| 410 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 411 | local trace = m00 + m11 + m22 | |
| 412 | if trace > 0 then | |
| 413 | local s = math.sqrt(1 + trace) | |
| 414 | local recip = 0.5/s | |
| 415 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 416 | else | |
| 417 | local i = 0 | |
| 418 | if m11 > m00 then | |
| 419 | i = 1 | |
| 420 | end | |
| 421 | if m22 > (i == 0 and m00 or m11) then | |
| 422 | i = 2 | |
| 423 | end | |
| 424 | if i == 0 then | |
| 425 | local s = math.sqrt(m00-m11-m22+1) | |
| 426 | local recip = 0.5/s | |
| 427 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 428 | elseif i == 1 then | |
| 429 | local s = math.sqrt(m11-m22-m00+1) | |
| 430 | local recip = 0.5/s | |
| 431 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 432 | elseif i == 2 then | |
| 433 | local s = math.sqrt(m22-m00-m11+1) | |
| 434 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 435 | end | |
| 436 | end | |
| 437 | end | |
| 438 | ||
| 439 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 440 | local xs, ys, zs = x + x, y + y, z + z | |
| 441 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 442 | local xx = x*xs | |
| 443 | local xy = x*ys | |
| 444 | local xz = x*zs | |
| 445 | local yy = y*ys | |
| 446 | local yz = y*zs | |
| 447 | local zz = z*zs | |
| 448 | 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)) | |
| 449 | end | |
| 450 | ||
| 451 | function QuaternionSlerp(a, b, t) | |
| 452 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 453 | local startInterp, finishInterp; | |
| 454 | if cosTheta >= 0.0001 then | |
| 455 | if (1 - cosTheta) > 0.0001 then | |
| 456 | local theta = math.acos(cosTheta) | |
| 457 | local invSinTheta = 1/math.sin(theta) | |
| 458 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 459 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 460 | else | |
| 461 | startInterp = 1-t | |
| 462 | finishInterp = t | |
| 463 | end | |
| 464 | else | |
| 465 | if (1+cosTheta) > 0.0001 then | |
| 466 | local theta = math.acos(-cosTheta) | |
| 467 | local invSinTheta = 1/math.sin(theta) | |
| 468 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 469 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 470 | else | |
| 471 | startInterp = t-1 | |
| 472 | finishInterp = t | |
| 473 | end | |
| 474 | end | |
| 475 | 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 | |
| 476 | end | |
| 477 | ||
| 478 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 479 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 480 | end | |
| 481 | ||
| 482 | local function CFrameFromTopBack(at, top, back) | |
| 483 | local right = top:Cross(back) | |
| 484 | return CFrame.new(at.x, at.y, at.z, | |
| 485 | right.x, top.x, back.x, | |
| 486 | right.y, top.y, back.y, | |
| 487 | right.z, top.z, back.z) | |
| 488 | end | |
| 489 | ||
| 490 | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 491 | ||
| 492 | ||
| 493 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 494 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 495 | end | |
| 496 | ||
| 497 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 498 | if hit.Parent==nil then | |
| 499 | return | |
| 500 | end | |
| 501 | local h=hit.Parent:FindFirstChild("Humanoid")
| |
| 502 | for _,v in pairs(hit.Parent:children()) do | |
| 503 | if v:IsA("Humanoid") then
| |
| 504 | h=v | |
| 505 | end | |
| 506 | end | |
| 507 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 508 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 509 | end | |
| 510 | if hit.Parent.className=="Hat" then | |
| 511 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 512 | end | |
| 513 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 514 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 515 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 516 | return | |
| 517 | end]] | |
| 518 | -- hs(hit,1.2) | |
| 519 | local c=Instance.new("ObjectValue")
| |
| 520 | c.Name="creator" | |
| 521 | c.Value=owner | |
| 522 | c.Parent=h | |
| 523 | game:GetService("Debris"):AddItem(c,.5)
| |
| 524 | local Damage=math.random(minim,maxim) | |
| 525 | -- h:TakeDamage(Damage) | |
| 526 | local blocked=false | |
| 527 | local block=hit.Parent:findFirstChild("Block")
| |
| 528 | if block~=nil then | |
| 529 | print(block.className) | |
| 530 | if block.className=="NumberValue" then | |
| 531 | if block.Value>0 then | |
| 532 | blocked=true | |
| 533 | if decreaseblock==nil then | |
| 534 | block.Value=block.Value-1 | |
| 535 | end | |
| 536 | end | |
| 537 | end | |
| 538 | if block.className=="IntValue" then | |
| 539 | if block.Value>0 then | |
| 540 | blocked=true | |
| 541 | if decreaseblock~=nil then | |
| 542 | block.Value=block.Value-1 | |
| 543 | end | |
| 544 | end | |
| 545 | end | |
| 546 | end | |
| 547 | if blocked==false then | |
| 548 | -- h:TakeDamage(Damage) | |
| 549 | h.Health=h.Health-Damage | |
| 550 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
| 551 | else | |
| 552 | h.Health=h.Health-(Damage/2) | |
| 553 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
| |
| 554 | end | |
| 555 | if Type=="Knockdown" then | |
| 556 | local hum=hit.Parent.Humanoid | |
| 557 | hum.PlatformStand=true | |
| 558 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 559 | swait(1) | |
| 560 | HHumanoid.PlatformStand=false | |
| 561 | end),hum) | |
| 562 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 563 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 564 | local bodvol=Instance.new("BodyVelocity")
| |
| 565 | bodvol.velocity=angle*knockback | |
| 566 | bodvol.P=5000 | |
| 567 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 568 | bodvol.Parent=hit | |
| 569 | local rl=Instance.new("BodyAngularVelocity")
| |
| 570 | rl.P=3000 | |
| 571 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 572 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 573 | rl.Parent=hit | |
| 574 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 575 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 576 | elseif Type=="Normal" then | |
| 577 | local vp=Instance.new("BodyVelocity")
| |
| 578 | vp.P=500 | |
| 579 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 580 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 581 | if KnockbackType==1 then | |
| 582 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 583 | elseif KnockbackType==2 then | |
| 584 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 585 | end | |
| 586 | if knockback>0 then | |
| 587 | vp.Parent=hit.Parent.Torso | |
| 588 | end | |
| 589 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 590 | elseif Type=="Up" then | |
| 591 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 592 | bodyVelocity.velocity=vt(0,60,0) | |
| 593 | bodyVelocity.P=5000 | |
| 594 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 595 | bodyVelocity.Parent=hit | |
| 596 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 597 | local rl=Instance.new("BodyAngularVelocity")
| |
| 598 | rl.P=3000 | |
| 599 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 600 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 601 | rl.Parent=hit | |
| 602 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 603 | elseif Type=="Snare" then | |
| 604 | local bp=Instance.new("BodyPosition")
| |
| 605 | bp.P=2000 | |
| 606 | bp.D=100 | |
| 607 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 608 | bp.position=hit.Parent.Torso.Position | |
| 609 | bp.Parent=hit.Parent.Torso | |
| 610 | game:GetService("Debris"):AddItem(bp,1)
| |
| 611 | elseif Type=="Target" then | |
| 612 | local Targetting = false | |
| 613 | if Targetting==false then | |
| 614 | ZTarget=hit.Parent.Torso | |
| 615 | coroutine.resume(coroutine.create(function(Part) | |
| 616 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 617 | swait(5) | |
| 618 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 619 | end),ZTarget) | |
| 620 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 621 | local targetgui=Instance.new("BillboardGui")
| |
| 622 | targetgui.Parent=ZTarget | |
| 623 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 624 | local targ=Instance.new("ImageLabel")
| |
| 625 | targ.Parent=targetgui | |
| 626 | targ.BackgroundTransparency=1 | |
| 627 | targ.Image="rbxassetid://4834067" | |
| 628 | targ.Size=UDim2.new(1,0,1,0) | |
| 629 | cam.CameraType="Scriptable" | |
| 630 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 631 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 632 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 633 | Targetting=true | |
| 634 | RocketTarget=ZTarget | |
| 635 | for i=1,Property do | |
| 636 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 637 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 638 | swait() | |
| 639 | end | |
| 640 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 641 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 642 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 643 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 644 | end | |
| 645 | Targetting=false | |
| 646 | RocketTarget=nil | |
| 647 | targetgui.Parent=nil | |
| 648 | cam.CameraType="Custom" | |
| 649 | end | |
| 650 | end | |
| 651 | local debounce=Instance.new("BoolValue")
| |
| 652 | debounce.Name="DebounceHit" | |
| 653 | debounce.Parent=hit.Parent | |
| 654 | debounce.Value=true | |
| 655 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 656 | c=Instance.new("ObjectValue")
| |
| 657 | c.Name="creator" | |
| 658 | c.Value=Player | |
| 659 | c.Parent=h | |
| 660 | game:GetService("Debris"):AddItem(c,.5)
| |
| 661 | end | |
| 662 | end | |
| 663 | ||
| 664 | ||
| 665 | function ShowDamage(Pos, Text, Time, Color) | |
| 666 | local Rate = (1 / 30) | |
| 667 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 668 | local Text = (Text or "") | |
| 669 | local Time = (Time or 2) | |
| 670 | local Color = (Color or Color3.new(1, 0, 0)) | |
| 671 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
| |
| 672 | EffectPart.Anchored = true | |
| 673 | local BillboardGui = Instance.new("BillboardGui")
| |
| 674 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
| 675 | BillboardGui.Adornee = EffectPart | |
| 676 | local TextLabel = Instance.new("TextLabel")
| |
| 677 | TextLabel.BackgroundTransparency = 1 | |
| 678 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 679 | TextLabel.Text = Text | |
| 680 | TextLabel.TextColor3 = Color | |
| 681 | TextLabel.TextScaled = true | |
| 682 | TextLabel.Font = Enum.Font.ArialBold | |
| 683 | TextLabel.Parent = BillboardGui | |
| 684 | BillboardGui.Parent = EffectPart | |
| 685 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
| 686 | EffectPart.Parent = game:GetService("Workspace")
| |
| 687 | Delay(0, function() | |
| 688 | local Frames = (Time / Rate) | |
| 689 | for Frame = 1, Frames do | |
| 690 | wait(Rate) | |
| 691 | local Percent = (Frame / Frames) | |
| 692 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 693 | TextLabel.TextTransparency = Percent | |
| 694 | end | |
| 695 | if EffectPart and EffectPart.Parent then | |
| 696 | EffectPart:Destroy() | |
| 697 | end | |
| 698 | end) | |
| 699 | end | |
| 700 | ||
| 701 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.296501815, 5.18878126, 0.296499223)) | |
| 702 | Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.10050106, -1.63029861, -0.888347149, -1, 0, 0, 0, 0, -1, -0, -0.999999881, -0)) | |
| 703 | mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 704 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","Hitbox",Vector3.new(0.200000003, 6.98600721, 2.19299841)) | |
| 705 | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -3.93773937, 2.93521118, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 706 | mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 707 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2.52026534, 0.200000003)) | |
| 708 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -1.70486319, 3.70584869, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 709 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 710 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 711 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, 0.815379143, 3.85409546, -0.999993443, -5.94257529e-007, -4.47034836e-008, -2.98022105e-008, -6.0737176e-007, -0.999998927, 5.9425787e-007, -0.999993384, 6.66978679e-007)) | |
| 712 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 713 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.03775609, 0.311326832, 1.18599701)) | |
| 714 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40932465, 3.81469727e-006, -6.91413879e-006, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) | |
| 715 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 716 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501815, 0.889504969, 0.200000003)) | |
| 717 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.86102295e-006, -1.34825706, -1.8123436, 0.999997854, 1.3482402e-007, 1.3200642e-007, -1.99253947e-009, 0.707105041, -0.707106531, -1.88677433e-007, 0.7071051, 0.707106531)) | |
| 718 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071))
| |
| 719 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501815, 0.889504969, 0.200000003)) | |
| 720 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-006, 1.33309555, -1.79717827, 0.999997854, 7.14049833e-008, 2.88419812e-007, -2.54434127e-007, 0.707104981, 0.707106411, -1.53452262e-007, -0.707104921, 0.707106352)) | |
| 721 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071))
| |
| 722 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 723 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -2.44612718, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 724 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 725 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501756, 0.200000003)) | |
| 726 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -2.37199664, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) | |
| 727 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 728 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 729 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-006, 2.14962149, -2.81639862, 0.999993205, 5.96046448e-007, -4.47034836e-008, 2.98021234e-008, 6.07371646e-007, -0.999998927, -5.96046448e-007, 0.999993205, 6.66978679e-007)) | |
| 730 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 731 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.593003511, 0.200000003)) | |
| 732 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -1.18598497, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 733 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 734 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 735 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -2.59437418, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) | |
| 736 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 737 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 738 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -1.55661559, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 739 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 740 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) | |
| 741 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.8536377, 0.000444412231, -6.91413879e-006, -2.9802333e-008, -0.999999762, -0, 1, -2.98023402e-008, 0, 0, 0, 0.999999523)) | |
| 742 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 743 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 744 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, 2.0013752, 3.85409546, -0.999993443, -5.94257529e-007, -4.47034836e-008, -2.98022105e-008, -6.0737176e-007, -0.999998927, 5.9425787e-007, -0.999993384, 6.66978679e-007)) | |
| 745 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 746 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501756, 0.200000003)) | |
| 747 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -2.22374678, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 748 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 749 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499103)) | |
| 750 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80853271, 0.000414848328, 3.47587585, 1.29208814e-007, -0.866024733, -0.499999523, 1, 2.00156606e-007, -8.8263846e-008, 1.76517091e-007, -0.499999642, 0.866024554)) | |
| 751 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 752 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.889505386, 0.200000003)) | |
| 753 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00040435791, -1.87283707, -3.30593491, 0.999993205, 3.10420091e-006, 4.20707329e-006, 5.11838152e-006, -0.500021577, -0.86601007, -5.17362992e-007, 0.86601001, -0.500015497)) | |
| 754 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 755 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499103)) | |
| 756 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15766907, 0.000414848328, -0.0542945862, 1.73149076e-007, -0.866024733, 0.499999464, 1, 1.09283768e-007, -1.57012991e-007, 8.13355285e-008, 0.499999583, 0.866024554)) | |
| 757 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 758 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.444752693, 0.200000003)) | |
| 759 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000381469727, 0.518871069, 4.00193787, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 760 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071))
| |
| 761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 762 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15768051, 0.000414848328, 0.168071747, 1.73149047e-007, -0.866024673, 0.499999404, 1, 1.09283775e-007, -1.57012963e-007, 8.13355712e-008, 0.499999523, 0.866024494)) | |
| 763 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 764 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 1.77899528)) | |
| 765 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.9568634, 0.000414848328, 4.06890678, 1.29209454e-007, -0.866017103, -0.499994904, 0.99999994, 2.00155014e-007, -8.82613804e-008, 1.7651513e-007, -0.499995023, 0.866016924)) | |
| 766 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 767 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) | |
| 768 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.6042366, 0.000414848328, 1.40539384, 7.28354408e-008, -0.999999523, 2.98026634e-008, 1, 7.28354905e-008, -1.137834e-007, 1.13783528e-007, 2.9802635e-008, 0.999999285)) | |
| 769 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 770 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) | |
| 771 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15763474, 0.000415802002, -0.721405029, 8.67096972e-008, -0.866025329, 0.499999881, 1, 3.44270887e-008, -1.13789923e-007, 8.13314571e-008, 0.5, 0.86602515)) | |
| 772 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 773 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) | |
| 774 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.95671082, 0.000415802002, 2.80871201, 4.27689706e-008, -0.86602515, -0.499999851, 0.999999762, 1.25296964e-007, -1.31482579e-007, 1.76515783e-007, -0.499999851, 0.866025209)) | |
| 775 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 776 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.592998326)) | |
| 777 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15768814, 0.000414848328, 0.538698196, 1.73149076e-007, -0.866024733, 0.499999464, 1, 1.09283768e-007, -1.57012991e-007, 8.1335557e-008, 0.499999583, 0.866024554)) | |
| 778 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 779 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.593003631, 0.200000003)) | |
| 780 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000418663025, -4.66182327, -2.80873108, 0.999993205, -2.08179517e-006, 4.68745384e-006, 5.02319881e-006, 0.499976099, -0.866036355, -4.73424905e-007, 0.866031289, 0.499978751)) | |
| 781 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 782 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) | |
| 783 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.30587387, 0.000415802002, -0.721378326, 8.67091714e-008, -0.866024256, 0.499999464, 0.999999046, 3.4425458e-008, -1.13791891e-007, 8.13342709e-008, 0.499999762, 0.86602515)) | |
| 784 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 785 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.741247892)) | |
| 786 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80846024, 0.000415802002, 2.8087101, 4.27693685e-008, -0.86602515, -0.499999851, 0.999999762, 1.25295941e-007, -1.31480022e-007, 1.76513069e-007, -0.499999851, 0.866025209)) | |
| 787 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 788 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 789 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15765762, 0.000414848328, -0.27664566, 1.73148948e-007, -0.866023302, 0.499998629, 1, 1.09283704e-007, -1.57012749e-007, 8.13356706e-008, 0.499998748, 0.866023123)) | |
| 790 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 791 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.889505386, 0.200000003)) | |
| 792 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000422477722, -5.40308189, -2.95698166, 0.999993205, -2.08179517e-006, 4.68745384e-006, 5.02319881e-006, 0.499976099, -0.866036355, -4.73424905e-007, 0.866031289, 0.499978751)) | |
| 793 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 794 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.593003631, 0.200000003)) | |
| 795 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000400543213, -1.13156891, -3.15768433, 0.999993205, 3.10420091e-006, 4.20707329e-006, 5.11838152e-006, -0.500021577, -0.86601007, -5.17362992e-007, 0.86601001, -0.500015497)) | |
| 796 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 797 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 798 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80859375, 0.000414848328, 3.69829178, 1.29208786e-007, -0.866024613, -0.499999523, 1, 2.00156563e-007, -8.82638247e-008, 1.76517119e-007, -0.499999642, 0.866024435)) | |
| 799 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.741254389, 0.296501786, 0.889497578)) | |
| 801 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55724716, 0.000415802002, 0.593008757, -2.98023437e-008, -1, -0, 1, -2.98023437e-008, 0, 0, 0, 0.999999762)) | |
| 802 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 803 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80845261, 0.000414848328, 3.25345612, 1.29208672e-007, -0.866023123, -0.499998778, 0.999999762, 2.00156279e-007, -8.82637536e-008, 1.76517077e-007, -0.499998778, 0.866023183)) | |
| 804 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 805 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 1.77899528)) | |
| 806 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.30587006, 0.000414848328, 0.538694382, 1.73149331e-007, -0.866016984, 0.499995172, 0.99999994, 1.09285118e-007, -1.57010405e-007, 8.13343917e-008, 0.499995291, 0.866016805)) | |
| 807 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 808 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.592998326)) | |
| 809 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.80862808, 0.000414848328, 4.06892586, 1.29208814e-007, -0.866024733, -0.499999523, 1, 2.00156606e-007, -8.8263846e-008, 1.76517119e-007, -0.499999642, 0.866024554)) | |
| 810 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 811 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 812 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-007, 2.89088011, 3.26107788, -0.999993324, -1.62995764e-006, 4.10754041e-007, -2.91542648e-007, 1.04308128e-007, -0.999998927, 1.61505602e-006, -0.999993324, -2.53319683e-007)) | |
| 813 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 814 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 815 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -2.89087987, -3.26107788, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) | |
| 816 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 817 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501815, 4.00277376, 0.200000003)) | |
| 818 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.00343322754, -0.573273778, 0.999997854, 1.29937892e-008, 1.07842467e-007, -1.29937483e-008, 0.999997437, 0, -1.07842268e-007, 5.96046448e-008, 0.999999464)) | |
| 819 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071))
| |
| 820 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 821 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.26012194, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) | |
| 822 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 823 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 824 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-006, 0.815383554, -2.81639481, 0.999993205, 5.96046448e-007, -4.47034836e-008, 2.98021234e-008, 6.07371646e-007, -0.999998927, -5.96046448e-007, 0.999993205, 6.66978679e-007)) | |
| 825 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 826 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.18600714, 0.592998505)) | |
| 827 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -1.03774309, 3.33521271, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 828 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 829 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501756, 0.200000003)) | |
| 830 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.0377425, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007)) | |
| 831 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 832 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.592998505)) | |
| 833 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -1.70486319, 3.33521271, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 834 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 835 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.0377562, 0.200000003)) | |
| 836 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.2978766, 3.26107407, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 837 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 838 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) | |
| 839 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.48348236, 3.81469727e-006, -2.2978785, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) | |
| 840 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.815379977, 0.741248071))
| |
| 841 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499252)) | |
| 842 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.89088058, 3.48345947, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 843 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 844 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.18600726, 0.200000003)) | |
| 845 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.37198853, 3.11284637, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 846 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 847 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) | |
| 848 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.48348236, 3.81469727e-006, -2.00137448, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) | |
| 849 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.815379977, 0.741248071))
| |
| 850 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) | |
| 851 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.48348236, 3.81469727e-006, -2.5943768, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) | |
| 852 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.815379977, 0.741248071))
| |
| 853 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.0377562, 0.296499252)) | |
| 854 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -2.29787683, 3.48345947, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 855 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 856 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 2.07551241, 0.592998505)) | |
| 857 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -4.00276041, 3.33521271, 0.999993443, 1.45976469e-006, 1.94331719e-007, -7.51218181e-008, 1.49011612e-007, 0.999998868, 1.45976469e-006, -0.999993384, 2.23517361e-007)) | |
| 858 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.815379918, 1, 1))
| |
| 859 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2.9650178, 0.889497638)) | |
| 860 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -4.4475174, 3.33521271, 0.999993443, 1.45976469e-006, 1.94331719e-007, -7.51218181e-008, 1.49011612e-007, 0.999998868, 1.45976469e-006, -0.999993384, 2.23517361e-007)) | |
| 861 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 862 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.296501487, 0.326149136)) | |
| 863 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 2.00148392, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) | |
| 864 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 865 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 1.33425784, 0.326149136)) | |
| 866 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 9.91821289e-005, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) | |
| 867 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 868 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 2.9650178, 0.444748878)) | |
| 869 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.86102295e-006, -3.84435654, 4.01723862, 0.999993443, 1.59027059e-006, 2.6722384e-007, 2.68622188e-007, -0.258817196, 0.965924799, 1.57439217e-006, -0.965919495, -0.258818537)) | |
| 870 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.815379977, 1, 1))
| |
| 871 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.296501487, 0.326149136)) | |
| 872 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -1.85279465, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) | |
| 873 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 874 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2.52026534, 0.200000003)) | |
| 875 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.70486307, 2.96461105, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007)) | |
| 876 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 877 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 4.29927588, 0.741248131)) | |
| 878 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.86102295e-006, -4.5114727, 4.01726913, 0.999993443, 1.59027059e-006, 2.6722384e-007, 2.68622188e-007, -0.258817196, 0.965924799, 1.57439217e-006, -0.965919495, -0.258818537)) | |
| 879 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 880 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.326151937, 0.200000003, 0.355799079)) | |
| 881 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 9.91821289e-005, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) | |
| 882 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 1))
| |
| 883 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.200000003, 0.326149136)) | |
| 884 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 1.03784561, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) | |
| 885 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 1))
| |
| 886 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.33425796, 0.296501786, 1.48249602)) | |
| 887 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40934753, 3.81469727e-006, -6.91413879e-006, -2.98023224e-008, -0.999999821, -0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762)) | |
| 888 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 889 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.311326861, 0.200000003, 0.326149136)) | |
| 890 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -1.03752136, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762)) | |
| 891 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 1))
| |
| 892 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) | |
| 893 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40927505, 2.95639038e-005, 0.444754362, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) | |
| 894 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 895 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) | |
| 896 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40908051, 0.000387191772, -6.91413879e-006, -2.98023259e-008, -0.999999523, -0, 1, -2.98023402e-008, 0, 0, 0, 0.999999285)) | |
| 897 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 898 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) | |
| 899 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.96453476, 4.67300415e-005, -6.91413879e-006, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) | |
| 900 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 901 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.326151937, 0.296499252)) | |
| 902 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.40927505, 2.95639038e-005, -0.444758654, -2.98023295e-008, -1, -0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762)) | |
| 903 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 1))
| |
| 904 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.296501786, 0.200000003)) | |
| 905 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.00191879, 0.00050163269, 0.815378904, -2.98023437e-008, -0.999999642, -0, 0.999999642, -2.98023437e-008, 0, 0, 0, 0.999999762)) | |
| 906 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 907 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.444748729)) | |
| 908 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45595932, 0.000414848328, 1.25711417, 7.28358245e-008, -0.999999046, 2.98032496e-008, 1, 7.28358458e-008, -1.13780651e-007, 1.13780807e-007, 2.98032212e-008, 0.999998808)) | |
| 909 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 910 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.296501487, 0.296499223)) | |
| 911 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -2.74229431, -6.67572021e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999523)) | |
| 912 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 913 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.296501487, 0.296499223)) | |
| 914 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 2.74255371, -6.67572021e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999523)) | |
| 915 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 916 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.296501786, 0.296499252)) | |
| 917 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.48226929e-005, 2.89077377, -2.43186951e-005, 0.999999642, 1.29942332e-008, 1.07873738e-007, -1.29943079e-008, 0.999999642, 7.15448891e-007, -1.07873717e-007, -7.15448834e-007, 0.999999762)) | |
| 918 | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 919 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.200000003, 0.200000003)) | |
| 920 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000374794006, -0.963628292, 4.00193787, -0.999993443, -3.16762635e-006, -1.49011381e-008, -1.49021755e-008, 8.47403953e-007, -0.999998868, 3.16762657e-006, -0.999993384, -7.8780505e-007)) | |
| 921 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 0.741248071))
| |
| 922 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.296501786, 0.200000003)) | |
| 923 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000382423401, -0.88951993, -3.11242676, 0.999993205, 1.42891167e-006, -3.27825433e-007, -4.32134527e-007, 1.02892602e-006, -0.999998927, -1.47361538e-006, 0.999993265, 9.69328653e-007)) | |
| 924 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071))
| |
| 925 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.296501786, 0.444752693, 0.200000003)) | |
| 926 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000383377075, 0.518874645, -3.11242294, -0.999993443, -1.32620335e-006, 2.76574696e-007, 3.95783559e-007, -9.85657607e-007, 0.999998868, -1.37090683e-006, 0.999993265, 9.26059613e-007)) | |
| 927 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.741248071))
| |
| 928 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 1.48249602)) | |
| 929 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.60424805, 0.000413894653, 2.51726198, 1.59275899e-007, -0.999999821, 1.49011584e-007, 1, 1.59275913e-007, -1.1378453e-007, 1.1378458e-007, 1.49011612e-007, 0.999999583)) | |
| 930 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 931 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.593003631, 0.200000003)) | |
| 932 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000409126282, -2.96186352, -3.45602417, 0.999993205, 5.70906195e-007, 5.16308319e-006, 5.08593212e-006, -2.63005495e-005, -0.999997497, -5.03489844e-007, 0.999994576, -2.12490504e-005)) | |
| 933 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 934 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 935 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45597839, 0.000414848328, 1.55362201, 1.59275089e-007, -0.999997139, -5.96043996e-008, 1, 1.59274975e-007, -1.13784445e-007, 1.13784942e-007, -5.96045808e-008, 0.999996901)) | |
| 936 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 937 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.592998326)) | |
| 938 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45598221, 0.000413894653, 2.36899614, 1.59275146e-007, -0.999998569, -2.98022584e-008, 1, 1.59275189e-007, -1.13784601e-007, 1.137849e-007, -2.98023508e-008, 0.999998331)) | |
| 939 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 940 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 941 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45597839, 0.000414848328, 1.99837613, 1.59275089e-007, -0.99999845, -5.96045027e-008, 1, 1.59275174e-007, -1.13784559e-007, 1.13784928e-007, -5.96046306e-008, 0.999998212)) | |
| 942 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 943 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.296499103)) | |
| 944 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.45598602, 0.000414848328, 1.77599883, 1.59275174e-007, -0.999998808, -2.98022726e-008, 1, 1.59275203e-007, -1.13784644e-007, 1.13784857e-007, -2.98023366e-008, 0.999998569)) | |
| 945 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 1))
| |
| 946 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.889505386, 0.200000003)) | |
| 947 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000412940979, -3.70311022, -3.60429001, 0.999993205, 5.70906195e-007, 5.16308319e-006, 5.08593212e-006, -2.63005495e-005, -0.999997497, -5.03489844e-007, 0.999994576, -2.12490504e-005)) | |
| 948 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 1, 0.741248071))
| |
| 949 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 950 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 1.90172958, -0.639986753, 0.999993563, 1.29944793e-008, 1.07850958e-007, -1.29944917e-008, 0.999992311, 1.25175063e-006, -1.0785029e-007, -1.07292954e-006, 0.999998868)) | |
| 951 | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 952 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.593003571, 0.200000003)) | |
| 953 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.0706977844, -0.573273659, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) | |
| 954 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.815372765))
| |
| 955 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.200000003, 0.200000003)) | |
| 956 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.596420288, -0.57327354, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) | |
| 957 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 0.815372765))
| |
| 958 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.741254449, 0.200000003)) | |
| 959 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -1.18922043, -0.57327342, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) | |
| 960 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.815372765))
| |
| 961 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.200000003, 0.200000003)) | |
| 962 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.737804413, -0.573273778, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464)) | |
| 963 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.741254449, 0.815372765))
| |
| 964 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 965 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.62124634e-005, -1.92287064, -0.639983892, 0.999997854, 1.29942155e-008, 1.07847583e-007, -1.29942519e-008, 0.999997437, 7.15275121e-007, -1.07847377e-007, -6.55669055e-007, 0.999999464)) | |
| 966 | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.741254449, 0.741254449, 0.741248071))
| |
| 967 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.296501815, 0.741254449, 0.200000003)) | |
| 968 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 1.33082199, -0.573274136, 0.999993563, 1.2994124e-008, 1.07846695e-007, -1.29940725e-008, 0.999992311, 6.55663769e-007, -1.07846034e-007, -4.76846481e-007, 0.999998868)) | |
| 969 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.815372765))
| |
| 970 | ||
| 971 | function attackone() | |
| 972 | attack=true | |
| 973 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,10,30,math.random(10,20),"Normal",RootPart,.2,1) end) | |
| 974 | for i=0,1,0.1 do | |
| 975 | swait() | |
| 976 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(80)),.3) | |
| 977 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(10),math.rad(-70)),.3) | |
| 978 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3) | |
| 979 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(-70), math.rad(0)), 0.3) | |
| 980 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
| 981 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 982 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
| 983 | end | |
| 984 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.6)
| |
| 985 | so("http://roblox.com/asset/?id=231917871",Hitbox,1,0.8)
| |
| 986 | for i=0,1,0.1 do | |
| 987 | swait() | |
| 988 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
| 989 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 990 | local h = 5 | |
| 991 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 992 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 993 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 994 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 995 | scfr = blcf | |
| 996 | elseif not scfr then | |
| 997 | scfr = blcf | |
| 998 | end | |
| 999 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-80)),.3) | |
| 1000 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(70)),.3) | |
| 1001 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.5) * angles(math.rad(0), math.rad(-70), math.rad(90)), 0.3) | |
| 1002 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) | |
| 1003 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
| 1004 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 1005 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
| 1006 | end | |
| 1007 | attack=false | |
| 1008 | con1:disconnect() | |
| 1009 | scfr = nil | |
| 1010 | end | |
| 1011 | ||
| 1012 | function attacktwo() | |
| 1013 | attack=true | |
| 1014 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,10,30,math.random(10,20),"Normal",RootPart,.2,1) end) | |
| 1015 | for i=0,1,0.1 do | |
| 1016 | swait() | |
| 1017 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(90)),.2) | |
| 1018 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-80)),.3) | |
| 1019 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.1) | |
| 1020 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) | |
| 1021 | ||
| 1022 | end | |
| 1023 | ||
| 1024 | for i=0,1,1 do | |
| 1025 | swait() | |
| 1026 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.7)
| |
| 1027 | so("http://www.roblox.com/asset/?id=234365573",Hitbox,1,0.7)
| |
| 1028 | for i=0,1,0.1 do | |
| 1029 | swait() | |
| 1030 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
| 1031 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 1032 | local h = 5 | |
| 1033 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 1034 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1035 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 1036 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1037 | scfr = blcf | |
| 1038 | elseif not scfr then | |
| 1039 | scfr = blcf | |
| 1040 | end | |
| 1041 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,-6*i),.3) | |
| 1042 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-50)),.3) | |
| 1043 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-10),math.rad(90)),.1) | |
| 1044 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
| 1045 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3) | |
| 1046 | end | |
| 1047 | end | |
| 1048 | con1:disconnect() | |
| 1049 | attack=false | |
| 1050 | scfr = nil | |
| 1051 | end | |
| 1052 | ||
| 1053 | function attackthree() | |
| 1054 | attack=true | |
| 1055 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,10,30,math.random(10,20),"Normal",RootPart,.2,1) end) | |
| 1056 | for i=0,1,0.1 do | |
| 1057 | swait() | |
| 1058 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(00)),.3) | |
| 1059 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(00)),.3) | |
| 1060 | RW.C0=clerp(RW.C0,cf(1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(-50)),.3) | |
| 1061 | LW.C0=clerp(LW.C0,cf(-1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(50)),.3) | |
| 1062 | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 1063 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 1064 | Handleweld.C0=clerp(Handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) | |
| 1065 | end | |
| 1066 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.4)
| |
| 1067 | so("http://www.roblox.com/asset/?id=234365549",Hitbox,1,0.6)
| |
| 1068 | for i=0,1,.1 do | |
| 1069 | swait() | |
| 1070 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
| 1071 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 1072 | local h = 5 | |
| 1073 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 1074 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1075 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 1076 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1077 | scfr = blcf | |
| 1078 | elseif not scfr then | |
| 1079 | scfr = blcf | |
| 1080 | end | |
| 1081 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
| 1082 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(00)),.3) | |
| 1083 | RW.C0=clerp(RW.C0,cf(1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
| 1084 | LW.C0=clerp(LW.C0,cf(-1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(50)),.3) | |
| 1085 | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 1086 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 1087 | Handleweld.C0=clerp(Handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) | |
| 1088 | end | |
| 1089 | attack=false | |
| 1090 | con1:disconnect() | |
| 1091 | scfr = nil | |
| 1092 | end | |
| 1093 | ||
| 1094 | function CyanMoon() | |
| 1095 | attack=true | |
| 1096 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,10,30,math.random(10,20),"Normal",RootPart,.2,1) end) | |
| 1097 | for i=0,1,0.1 do | |
| 1098 | swait() | |
| 1099 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(120),math.rad(80)),.3) | |
| 1100 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),.3) | |
| 1101 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) | |
| 1102 | end | |
| 1103 | for i=1,4 do | |
| 1104 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5)
| |
| 1105 | so("http://roblox.com/asset/?id=28144425",Torso,1,0.8)
| |
| 1106 | swait() | |
| 1107 | for i=0,1,0.1 do | |
| 1108 | swait() | |
| 1109 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
| 1110 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 1111 | local h = 5 | |
| 1112 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 1113 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1114 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 1115 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1116 | scfr = blcf | |
| 1117 | elseif not scfr then | |
| 1118 | scfr = blcf | |
| 1119 | end | |
| 1120 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-40),math.rad(90)),.3) | |
| 1121 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-60)),.3) | |
| 1122 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(0,-1.5,-6*i),.3) | |
| 1123 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) | |
| 1124 | end | |
| 1125 | end | |
| 1126 | attack=false | |
| 1127 | con1:disconnect() | |
| 1128 | scfr = nil | |
| 1129 | end | |
| 1130 | ||
| 1131 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 1132 | local prt=part("Custom",workspace,"SmoothPlastic",0,0,"Really red","Effect",vt(0.5,0.5,0.5))
| |
| 1133 | prt.Anchored=true | |
| 1134 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1135 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1136 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 1137 | CF=Part.CFrame | |
| 1138 | Numbb=0 | |
| 1139 | randnumb=math.random()-math.random() | |
| 1140 | for i=0,1,0.05 do | |
| 1141 | wait() | |
| 1142 | CF=CF*cf(0,1,0) | |
| 1143 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 1144 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 1145 | Part.Transparency=i | |
| 1146 | Numbb=Numbb+randnumb | |
| 1147 | end | |
| 1148 | Part.Parent=nil | |
| 1149 | end),prt) | |
| 1150 | end | |
| 1151 | ||
| 1152 | function Execution() --HEUAHUEHAUEHAUHUEAHUAEHUAHEUAHEUH | |
| 1153 | attack=true | |
| 1154 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,90,100,math.random(10,20),"Knockdown",RootPart,.2,1) end) | |
| 1155 | for i=0,1,0.03 do | |
| 1156 | swait() | |
| 1157 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.1) | |
| 1158 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.1) | |
| 1159 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(120)),.1) | |
| 1160 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.1) | |
| 1161 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.1) | |
| 1162 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) | |
| 1163 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.1) | |
| 1164 | end | |
| 1165 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5)
| |
| 1166 | so("http://roblox.com/asset/?id=28144425",Torso,1,0.5)
| |
| 1167 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
| 1168 | local hum12 = hit.Parent:FindFirstChild("Humanoid")
| |
| 1169 | if hum12 and not hum12:IsDescendantOf(Character) then | |
| 1170 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,0.8)
| |
| 1171 | for i = 1,20 do | |
| 1172 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
| |
| 1173 | end | |
| 1174 | hitconasdf:disconnect() | |
| 1175 | end | |
| 1176 | end) | |
| 1177 | for i=0,1,0.03 do | |
| 1178 | swait() | |
| 1179 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
| 1180 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
| 1181 | local h = 5 | |
| 1182 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
| 1183 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1184 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
| 1185 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
| 1186 | scfr = blcf | |
| 1187 | elseif not scfr then | |
| 1188 | scfr = blcf | |
| 1189 | end | |
| 1190 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 1191 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(60)),.2) | |
| 1192 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(70)),.2) | |
| 1193 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) | |
| 1194 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2) | |
| 1195 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) | |
| 1196 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.2) | |
| 1197 | end | |
| 1198 | attack=false | |
| 1199 | con1:disconnect() | |
| 1200 | scfr = nil | |
| 1201 | pcall(function() | |
| 1202 | hitconasdf:disconnect() | |
| 1203 | end) | |
| 1204 | end | |
| 1205 | ||
| 1206 | mouse.Button1Down:connect(function() | |
| 1207 | if attack==false then | |
| 1208 | if attacktype==1 then | |
| 1209 | attack=true | |
| 1210 | attacktype=2 | |
| 1211 | attackone() | |
| 1212 | elseif attacktype==2 then | |
| 1213 | attack=true | |
| 1214 | attacktype=3 | |
| 1215 | attacktwo() | |
| 1216 | elseif attacktype==3 then | |
| 1217 | attack=true | |
| 1218 | attacktype=1 | |
| 1219 | attackthree() | |
| 1220 | end | |
| 1221 | end | |
| 1222 | end) | |
| 1223 | ||
| 1224 | mouse.KeyDown:connect(function(k) | |
| 1225 | k=k:lower() | |
| 1226 | if k=='q' then | |
| 1227 | if attack==false then | |
| 1228 | CyanMoon() | |
| 1229 | end | |
| 1230 | elseif k=='e' then | |
| 1231 | if attack==false then | |
| 1232 | Execution() | |
| 1233 | end | |
| 1234 | end | |
| 1235 | end) | |
| 1236 | ||
| 1237 | ||
| 1238 | local sine = 0 | |
| 1239 | local change = 1 | |
| 1240 | local val = 0 | |
| 1241 | ||
| 1242 | while true do | |
| 1243 | swait() | |
| 1244 | sine = sine + change | |
| 1245 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 1246 | local velderp=RootPart.Velocity.y | |
| 1247 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 1248 | if equipped==true or equipped==false then | |
| 1249 | if attack==false then | |
| 1250 | idle=idle+1 | |
| 1251 | else | |
| 1252 | idle=0 | |
| 1253 | end | |
| 1254 | if idle>=500 then | |
| 1255 | if attack==false then | |
| 1256 | --Sheath() | |
| 1257 | end | |
| 1258 | end | |
| 1259 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 1260 | Anim="Jump" | |
| 1261 | if attack==false then | |
| 1262 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1263 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1264 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3) | |
| 1265 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 1266 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 1267 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 1268 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) | |
| 1269 | end | |
| 1270 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 1271 | Anim="Fall" | |
| 1272 | if attack==false then | |
| 1273 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 1274 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1275 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
| 1276 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
| 1277 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 1278 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 1279 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) | |
| 1280 | end | |
| 1281 | elseif torvel<1 and hitfloor~=nil then | |
| 1282 | Anim="Idle" | |
| 1283 | if attack==false then | |
| 1284 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(60)),.3) | |
| 1285 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(-50)),.3) | |
| 1286 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) | |
| 1287 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) | |
| 1288 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
| 1289 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 1290 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
| 1291 | end | |
| 1292 | elseif torvel>2 and hitfloor~=nil then | |
| 1293 | Anim="Walk" | |
| 1294 | if attack==false then | |
| 1295 | change=3 | |
| 1296 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3) | |
| 1297 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3) | |
| 1298 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) | |
| 1299 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) | |
| 1300 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3) | |
| 1301 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3) | |
| 1302 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
| 1303 | end | |
| 1304 | end | |
| 1305 | end | |
| 1306 | if #Effects>0 then | |
| 1307 | for e=1,#Effects do | |
| 1308 | if Effects[e]~=nil then | |
| 1309 | local Thing=Effects[e] | |
| 1310 | if Thing~=nil then | |
| 1311 | local Part=Thing[1] | |
| 1312 | local Mode=Thing[2] | |
| 1313 | local Delay=Thing[3] | |
| 1314 | local IncX=Thing[4] | |
| 1315 | local IncY=Thing[5] | |
| 1316 | local IncZ=Thing[6] | |
| 1317 | if Thing[1].Transparency<=1 then | |
| 1318 | if Thing[2]=="Block1" then | |
| 1319 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1320 | Mesh=Thing[1].Mesh | |
| 1321 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1322 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1323 | elseif Thing[2]=="Cylinder" then | |
| 1324 | Mesh=Thing[1].Mesh | |
| 1325 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1326 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1327 | elseif Thing[2]=="Blood" then | |
| 1328 | Mesh=Thing[7] | |
| 1329 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
| 1330 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1331 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1332 | elseif Thing[2]=="Elec" then | |
| 1333 | Mesh=Thing[1].Mesh | |
| 1334 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
| 1335 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1336 | elseif Thing[2]=="Disappear" then | |
| 1337 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1338 | end | |
| 1339 | else | |
| 1340 | Part.Parent=nil | |
| 1341 | table.remove(Effects,e) | |
| 1342 | end | |
| 1343 | end | |
| 1344 | end | |
| 1345 | end | |
| 1346 | end | |
| 1347 | end |