SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --// Vortex Gauntlets created by SavageMunkey |
| 1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
| 2 | - | --// Thx for ideas and help: dangerspookycanyon(3 Attack Ideas, Body Suit Prototypes),georgeyeo(RayCast help), AltairStarMaster(like 99999999 attack ideas), and others |
| 2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 3 | - | Plr = game.Players.LocalPlayer |
| 3 | + | local Player,game,owner = owner,game |
| 4 | - | Char = Plr.Character |
| 4 | + | local RealPlayer = Player |
| 5 | - | Mouse = Plr:GetMouse() |
| 5 | + | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
|
| 6 | - | local sine,change = 0,1 |
| 6 | + | |
| 7 | - | ------------------------ |
| 7 | + | Player=game:GetService("Players").LocalPlayer
|
| 8 | - | local OverallHealth = 100 --// Only thing you need to change #1 |
| 8 | + | Character=Player.Character |
| 9 | - | local Energy = 5000--// Only thing you need to change #2 |
| 9 | + | PlayerGui=Player.PlayerGui |
| 10 | - | local PrimaryColor,SecondaryColor,ThirdColor = 'Really black','Pearl','Really black' --// Only thing[s] you need to change #3 |
| 10 | + | Backpack=Player.Backpack |
| 11 | - | local NO_OP = false --// Only thing you need to change #4, Btw this will (if true, take damage from the player maxhealth/the set damage instead of taking only the set amount) |
| 11 | + | Torso=Character.Torso |
| 12 | - | --// so if the players maxhealth == 50,000 and you have NO_OP == true and the set damage == 15 then it would do 50,000/15==(3333.333>) instead of just 15 dmaage |
| 12 | + | Head=Character.Head |
| 13 | - | ------------------------ |
| 13 | + | Humanoid=Character.Humanoid |
| 14 | - | RageMode = false --// Don't touch, is for variable --- |
| 14 | + | m=Instance.new('Model',Character)
|
| 15 | - | ------------------------ |
| 15 | + | LeftArm=Character["Left Arm"] |
| 16 | - | game:FindService'SoundService':ClearAllChildren() |
| 16 | + | LeftLeg=Character["Left Leg"] |
| 17 | - | local mx = Energy |
| 17 | + | RightArm=Character["Right Arm"] |
| 18 | - | --game:FindService'SoundService'.AmbientReverb = 'ConcertHall' |
| 18 | + | RightLeg=Character["Right Leg"] |
| 19 | - | local anglefor = 0 |
| 19 | + | LS=Torso["Left Shoulder"] |
| 20 | - | local candash = true |
| 20 | + | LH=Torso["Left Hip"] |
| 21 | - | Keyz = {
|
| 21 | + | RS=Torso["Right Shoulder"] |
| 22 | - | A = false; |
| 22 | + | RH=Torso["Right Hip"] |
| 23 | - | B = false; |
| 23 | + | Face = Head.face |
| 24 | - | C = false; |
| 24 | + | Neck=Torso.Neck |
| 25 | - | D = false; |
| 25 | + | it=Instance.new |
| 26 | - | E = false; |
| 26 | + | attacktype=1 |
| 27 | - | F = false; |
| 27 | + | vt=Vector3.new |
| 28 | - | G = false; |
| 28 | + | cf=CFrame.new |
| 29 | - | H = false; |
| 29 | + | euler=CFrame.fromEulerAnglesXYZ |
| 30 | - | I = false; |
| 30 | + | angles=CFrame.Angles |
| 31 | - | J = false; |
| 31 | + | cloaked=false |
| 32 | - | K = false; |
| 32 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 33 | - | L = false; |
| 33 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 34 | - | M = false; |
| 34 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 35 | - | N = false; |
| 35 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
| 36 | - | O = false; |
| 36 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 37 | - | P = false; |
| 37 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
| 38 | - | Q = false; |
| 38 | + | RootPart=Character.HumanoidRootPart |
| 39 | - | R = false; |
| 39 | + | RootJoint=RootPart.RootJoint |
| 40 | - | S = false; |
| 40 | + | RootCF=euler(-1.57,0,3.14) |
| 41 | - | T = false; |
| 41 | + | attack = false |
| 42 | - | U = false; |
| 42 | + | attackdebounce = false |
| 43 | - | V = false; |
| 43 | + | deb=false |
| 44 | - | W = false; |
| 44 | + | equipped=true |
| 45 | - | X = false; |
| 45 | + | hand=false |
| 46 | - | Y = false; |
| 46 | + | MMouse=nil |
| 47 | - | Z = false; |
| 47 | + | combo=0 |
| 48 | - | }; |
| 48 | + | mana=0 |
| 49 | - | Flyin = false |
| 49 | + | trispeed=.2 |
| 50 | - | local ra,la,ts,hd,ll,rl,root,humanoid = Char:FindFirstChild'Right Arm',Char:FindFirstChild'Left Arm',Char:FindFirstChild'Torso',Char:FindFirstChild'Head',Char:FindFirstChild'Left Leg',Char:FindFirstChild'Right Leg',Char:FindFirstChild'HumanoidRootPart',Char:FindFirstChild'Humanoid' |
| 50 | + | attackmode='none' |
| 51 | - | local rarm,larm,hed,torso,hroot,lleg,hum,rleg,mouse = ra,la,hd,ts,root,ll,humanoid,rl,Mouse |
| 51 | + | local idle=0 |
| 52 | - | local Falling,DS,MS,Attacking,Stance,State,LastState = false,false,false,false,'Standing','Idle','Idle' |
| 52 | + | local Anim="Idle" |
| 53 | - | DS = false |
| 53 | + | local Effects={}
|
| 54 | - | local canslam = true |
| 54 | + | local gun=false |
| 55 | - | local DebounceFallin = false |
| 55 | + | local shoot=false |
| 56 | - | local DebounceState,DebounceHit,DebounceKey,EctDebounce = false,false,false,false |
| 56 | + | player=nil |
| 57 | - | pcall(function() hed['Running']:Destroy() end) |
| 57 | + | mana=0 |
| 58 | - | local lRS = game["Run Service"].RenderStepped |
| 58 | + | |
| 59 | - | local sRS = game["Run Service"].Stepped or game["Run Service"].Heartbeat |
| 59 | + | mouse=Player:GetMouse() |
| 60 | - | local lrs,rs = lRS,sRS |
| 60 | + | --save shoulders |
| 61 | - | local ds,dh,dk,ed = DebounceState,DebounceHit,DebounceKey,EctDebounce |
| 61 | + | RSH, LSH=nil, nil |
| 62 | - | local DBP = false |
| 62 | + | --welds |
| 63 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 64 | - | Weld = function(P0,P1,CF) |
| 64 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 65 | - | local W = Instance.new('Weld',P1)
|
| 65 | + | LH=Torso["Left Hip"] |
| 66 | - | W.Part0 = P0 |
| 66 | + | RH=Torso["Right Hip"] |
| 67 | - | W.Part1 = P1 |
| 67 | + | TorsoColor=Torso.BrickColor |
| 68 | - | W.C1 = CF |
| 68 | + | function NoOutline(Part) |
| 69 | - | return W |
| 69 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 70 | - | end; |
| 70 | + | |
| 71 | player=Player | |
| 72 | - | NewSound = function(Parent, Id, Pitch ,Volume) |
| 72 | + | ch=Character |
| 73 | - | local Sound = Instance.new('Sound',Parent)
|
| 73 | + | RSH=ch.Torso["Right Shoulder"] |
| 74 | - | Sound.Volume = Volume |
| 74 | + | LSH=ch.Torso["Left Shoulder"] |
| 75 | - | Sound.Pitch = Pitch |
| 75 | + | -- |
| 76 | - | Sound.SoundId = 'rbxassetid://'..Id |
| 76 | + | RSH.Parent=nil |
| 77 | - | return Sound |
| 77 | + | LSH.Parent=nil |
| 78 | - | end; |
| 78 | + | -- |
| 79 | - | ---- |
| 79 | + | RW.Name="Right Shoulder" |
| 80 | RW.Part0=ch.Torso | |
| 81 | - | ---- |
| 81 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
| 82 | - | wait() |
| 82 | + | RW.C1=cf(0, 0.5, 0) |
| 83 | - | hw = Weld(torso,hed,CFrame.new(0,-1.5,0)); |
| 83 | + | RW.Part1=ch["Right Arm"] |
| 84 | - | torr = Weld(root,torso,CFrame.new(0,0,0)); |
| 84 | + | RW.Parent=ch.Torso |
| 85 | - | raw = Weld(torso,rarm,CFrame.new(-1.5,0,0)); |
| 85 | + | -- |
| 86 | - | law = Weld(torso,larm,CFrame.new(1.5,0,0)); |
| 86 | + | LW.Name="Left Shoulder" |
| 87 | - | rlw = Weld(torso,rleg,CFrame.new(-.5,2,0)); |
| 87 | + | LW.Part0=ch.Torso |
| 88 | - | llw = Weld(torso,lleg,CFrame.new(.5,2,0)); |
| 88 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
| 89 | - | ---- |
| 89 | + | LW.C1=cf(0, 0.5, 0) |
| 90 | - | clerp = function(c1,c2,al) |
| 90 | + | LW.Part1=ch["Left Arm"] |
| 91 | - | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
|
| 91 | + | LW.Parent=ch.Torso |
| 92 | - | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
|
| 92 | + | |
| 93 | - | for i,v in pairs(com1) do |
| 93 | + | Player=game:GetService('Players').LocalPlayer
|
| 94 | - | com1[i] = v+(com2[i]-v)*al |
| 94 | + | Character=Player.Character |
| 95 | Mouse=Player:GetMouse() | |
| 96 | - | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))--]] |
| 96 | + | m=Instance.new('Model',Character)
|
| 97 | ||
| 98 | - | lerp = function(c1,c2,al) |
| 98 | + | |
| 99 | - | return c1:lerp(c2,al) |
| 99 | + | local function weldBetween(a, b) |
| 100 | local weldd = Instance.new("ManualWeld")
| |
| 101 | weldd.Part0 = a | |
| 102 | - | New = function(Object, Parent, Name, Data) |
| 102 | + | weldd.Part1 = b |
| 103 | - | local Object = Instance.new(Object) |
| 103 | + | weldd.C0 = CFrame.new() |
| 104 | - | delay(.1,function() |
| 104 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 105 | - | if Object:IsA'Part' then |
| 105 | + | weldd.Parent = a |
| 106 | - | Object.CanCollide = false |
| 106 | + | return weldd |
| 107 | - | Object.Locked = true |
| 107 | + | |
| 108 | - | end;end) |
| 108 | + | |
| 109 | - | for Index, Value in pairs(Data or {}) do
|
| 109 | + | function swait(num) |
| 110 | - | Object[Index] = Value |
| 110 | + | if num==0 or num==nil then |
| 111 | - | end |
| 111 | + | game:service'RunService'.Stepped:wait(0) |
| 112 | - | Object.Parent = Parent |
| 112 | + | else |
| 113 | - | Object.Name = Name |
| 113 | + | for i=0,num do |
| 114 | - | return Object |
| 114 | + | game:service'RunService'.Stepped:wait(0) |
| 115 | end | |
| 116 | end | |
| 117 | - | ----// Right Claw |
| 117 | + | |
| 118 | - | VortexGauntlet = New("Model",Char,"VortexGauntlet",{})
|
| 118 | + | |
| 119 | - | Main = New("Part",VortexGauntlet,"Main",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(1.61502337, 3.22481394, 48.3949738, 0.999984324, -6.55651093e-007, 1.94078893e-007, -6.85453415e-007, 0.999982893, -1.23327482e-008, 1.92187144e-007, 3.23780114e-008, 0.999988735),})
|
| 119 | + | function nooutline(part) |
| 120 | - | Mesh = New("BlockMesh",Main,"Mesh",{})
|
| 120 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 121 | - | Part1 = New("Part",VortexGauntlet,"Part1",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502361, 3.07982183, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),})
|
| 121 | + | |
| 122 | - | Mesh = New("BlockMesh",Part1,"Mesh",{})
|
| 122 | + | |
| 123 | - | mot = New("Motor",Part1,"mot",{Part0 = Part1,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(1.1920929e-007, -0.144994497, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 123 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 124 | - | Part2 = New("Part",VortexGauntlet,"Part2",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.6150229, 3.47980165, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),})
|
| 124 | + | local fp=it("Part")
|
| 125 | - | Mesh = New("BlockMesh",Part2,"Mesh",{})
|
| 125 | + | fp.formFactor=formfactor |
| 126 | - | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-3.57627869e-007, 0.254992008, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 126 | + | fp.Parent=parent |
| 127 | - | Part3 = New("Part",VortexGauntlet,"Part3",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502194, 3.87978125, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),})
|
| 127 | + | fp.Reflectance=reflectance |
| 128 | - | Mesh = New("BlockMesh",Part3,"Mesh",{})
|
| 128 | + | fp.Transparency=transparency |
| 129 | - | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-9.53674316e-007, 0.654978514, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 129 | + | fp.CanCollide=false |
| 130 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.10669136, 2.85156226, 48.4086037, -0.686683536, -0.000153818051, 0.726891577, -0.726885498, 0.000336891768, -0.686683595, -0.000140090138, -0.999965966, -0.000342367945),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 130 | + | fp.Locked=true |
| 131 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 131 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 132 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.686706066, -0.726911366, -0.000139813448, -0.000153436136, 0.000336923113, -0.999988496, 0.726913393, -0.686706126, -0.000342642685),C1 = CFrame.new(-0.50834024, -0.373258352, 0.0136299133, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 132 | + | fp.Name=name |
| 133 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(0.79824549, 2.13190103, 48.4086189, 0.000150710199, -0.291629434, 0.956479728, -0.000334032346, -0.956475139, -0.291631371, 0.999964535, -0.000275910104, -0.00024051439),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 133 | + | fp.Size=size |
| 134 | - | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 134 | + | fp.Position=Character.Torso.Position |
| 135 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.000150328196, -0.000334063574, 0.999987066, -0.291639835, -0.956508279, -0.000275784521, 0.956509411, -0.291640043, -0.000240883426),C1 = CFrame.new(-0.816791415, -1.09293222, 0.0136451721, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 135 | + | nooutline(fp) |
| 136 | - | Cone = New("Part",VortexGauntlet,"Cone",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002243, 2.51985645, 48.3899651, -0.999948561, 1.10265523e-006, 5.55474173e-007, 1.2814628e-006, -0.999944806, -1.77016783e-008, -5.53581231e-007, -2.70076601e-008, 0.999963343),})
|
| 136 | + | fp.Material=material |
| 137 | - | Mesh = New("SpecialMesh",Cone,"Mesh",{Scale = Vector3.new(0.150000006, 0.800000012, 0.150000006),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
|
| 137 | + | fp:BreakJoints() |
| 138 | - | mot = New("Motor",Cone,"mot",{Part0 = Cone,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.999979913, -5.95949246e-008, -1.67331933e-007, -2.38406642e-007, -0.999979019, -6.96342894e-009, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500154495, -0.704969406, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 138 | + | return fp |
| 139 | - | Cylinder = New("Part",VortexGauntlet,"Cylinder",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002088, 2.60985756, 48.3899651, -1.02815238e-006, -0.999947667, 5.55474173e-007, 0.999943912, 1.35596326e-006, -1.77016783e-008, 2.70076796e-008, -5.53580719e-007, 0.999963343),})
|
| 139 | + | |
| 140 | - | Mesh = New("SpecialMesh",Cylinder,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 0.200000003),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshType = Enum.MeshType.Cylinder,})
|
| 140 | + | |
| 141 | - | mot = New("Motor",Cylinder,"mot",{Part0 = Cylinder,Part1 = Main,C0 = CFrame.new(0, 0, 0, 3.12910686e-007, 0.999978125, 6.96343605e-009, -0.999979019, 1.49093466e-008, -1.67331791e-007, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500297546, -0.614966869, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 141 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 142 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65483451, 2.53023887, 49.075016, 1.31079628e-006, -0.999882877, -0.0113237342, -0.966020584, 0.00292562018, -0.258228838, 0.258250505, 0.0109389573, -0.965978205),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 142 | + | local mesh=it(Mesh) |
| 143 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 143 | + | mesh.Parent=part |
| 144 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -8.45183479e-008, -0.966053605, 0.258256376, -0.999914229, 0.00292437896, 0.0109395888, -0.0113240639, -0.25823763, -0.966000021),C1 = CFrame.new(0.0398111343, -0.694586992, 0.680049896, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 144 | + | if Mesh=="SpecialMesh" then |
| 145 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65375209, 2.85618806, 48.9016113, 0.00494658109, -0.999882698, -0.010186431, -0.756301045, 0.00292500365, -0.654129505, 0.654131114, 0.0109393038, -0.756254077),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 145 | + | mesh.MeshType=meshtype |
| 146 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 146 | + | mesh.MeshId=meshid |
| 147 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.00494546909, -0.756326914, 0.654145896, -0.99991405, 0.00292376243, 0.0109399352, -0.0101873344, -0.654151917, -0.756271124),C1 = CFrame.new(0.0387289524, -0.368632078, 0.506641388, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 147 | + | |
| 148 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65484631, 2.12370038, 49.1781998, 0.999881506, -9.94669754e-005, -0.0113197053, -0.00292231143, -0.968337119, -0.249390081, -0.0109360376, 0.249413356, -0.96829623),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 148 | + | mesh.Offset=offset |
| 149 | - | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 149 | + | mesh.Scale=scale |
| 150 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.999912858, -0.00292107021, -0.0109366691, -0.000100865138, -0.968370259, 0.249419004, -0.0113200219, -0.249398604, -0.968318045),C1 = CFrame.new(0.0398226976, -1.10113239, 0.783233643, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 150 | + | return mesh |
| 151 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.26175404, 2.52697635, 48.4085655, 0.21676904, 0.000153397676, -0.97616607, -0.976160765, -0.000339346559, -0.216765121, -0.000362583436, 0.999960423, 7.52870619e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 151 | + | |
| 152 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 152 | + | |
| 153 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.216774523, -0.976193905, -0.00036265573, 0.000153015761, -0.000339377963, 0.999982953, -0.976196945, -0.216773853, 7.56701775e-005),C1 = CFrame.new(0.646740317, -0.697849035, 0.0135917664, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 153 | + | function weld(parent,part0,part1,c0,c1) |
| 154 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.10240459, 2.8600359, 48.4088364, 0.621261835, 0.000153750705, -0.783532441, -0.783529282, -0.000340023485, -0.621255815, -0.000359814498, 0.999960542, -9.07382637e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 154 | + | local weld=it("Weld")
|
| 155 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 155 | + | weld.Parent=parent |
| 156 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0.621280193, -0.783555269, -0.000360046863, 0.00015336879, -0.000340054947, 0.999983072, -0.783557832, -0.621278107, -9.04251865e-005),C1 = CFrame.new(0.48738873, -0.364784002, 0.0138626099, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 156 | + | weld.Part0=part0 |
| 157 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(2.34746456, 2.11641502, 48.4083405, -0.000150418913, 0.207840621, -0.978104353, 0.000342616433, -0.978098989, -0.207835644, -0.999959588, -0.000364459294, 7.50037798e-005),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 157 | + | weld.Part1=part1 |
| 158 | - | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 158 | + | weld.C0=c0 |
| 159 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.000150036911, 0.000342647952, -0.999982119, 0.207845837, -0.978132248, -0.000364528183, -0.978135228, -0.207844079, 7.53874556e-005),C1 = CFrame.new(0.732452035, -1.10841727, 0.0133666992, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 159 | + | weld.C1=c1 |
| 160 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65306008, 2.53041506, 47.7222595, -0.00565980002, 0.999876678, 0.00980747957, -0.965705037, -0.00292715896, -0.259375572, -0.259334743, -0.0109386966, 0.965682745),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 160 | + | return weld |
| 161 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 161 | + | |
| 162 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.00566117326, -0.965738058, -0.259340554, 0.99990803, -0.00292591774, -0.010939328, 0.00980706606, -0.259384483, 0.96570456),C1 = CFrame.new(0.0380369425, -0.694410801, -0.672721863, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 162 | + | |
| 163 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65604961, 2.85616612, 47.8960381, -0.00937493891, 0.999876201, 0.00635162927, -0.755516708, -0.00292789866, -0.655023754, -0.654977262, -0.01093903, 0.755514741),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 163 | + | |
| 164 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 164 | + | local function CFrameFromTopBack(at, top, back) |
| 165 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.00937599409, -0.755542576, -0.654992044, 0.999907553, -0.00292665744, -0.0109396614, 0.00635065837, -0.655046165, 0.755531788),C1 = CFrame.new(0.0410267115, -0.368654013, -0.498939514, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 165 | + | local right = top:Cross(back) |
| 166 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65066326, 2.1240201, 47.6186333, -0.999874711, -0.00557238981, 0.00985530019, 0.00293071126, -0.968032777, -0.250539839, 0.0109357554, -0.250500113, 0.968010366),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 166 | + | return CFrame.new(at.x, at.y, at.z, |
| 167 | - | Mesh = New("SpecialMesh",ClawPart,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 167 | + | right.x, top.x, back.x, |
| 168 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.999906063, 0.00292947004, 0.0109363869, -0.00557376677, -0.968065917, -0.250505745, 0.00985489972, -0.250548452, 0.968032181),C1 = CFrame.new(0.0356398821, -1.10081267, -0.776348114, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 168 | + | right.y, top.y, back.y, |
| 169 | - | ClawPart = New("Part",VortexGauntlet,"ClawPart",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(0.919124722, 2.53371048, 48.4086876, -0.300351858, -0.00015361057, 0.95376271, -0.953755617, 0.000337485195, -0.300355166, -0.000276322971, -0.999955058, -0.000246434589),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 169 | + | right.z, top.z, back.z) |
| 170 | - | Mesh = New("BlockMesh",ClawPart,"Mesh",{})
|
| 170 | + | |
| 171 | - | mot = New("Motor",ClawPart,"mot",{Part0 = ClawPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -0.300362557, -0.953788638, -0.00027619407, -0.000153228655, 0.00033751654, -0.999977589, 0.953792274, -0.300364137, -0.000246802549),C1 = CFrame.new(-0.695910037, -0.691115856, 0.0137138367, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 171 | + | |
| 172 | - | ----// Left Claw |
| 172 | + | function Triangle(a, b, c) |
| 173 | - | VortexGauntlet2 = New("Model",Char,"VortexGauntlet2",{})
|
| 173 | + | local edg1 = (c-a):Dot((b-a).unit) |
| 174 | - | Main2 = New("Part",VortexGauntlet2,"Main2",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(1.61502337, 3.22481394, 48.3949738, 0.999984324, -6.55651093e-007, 1.94078893e-007, -6.85453415e-007, 0.999982893, -1.23327482e-008, 1.92187144e-007, 3.23780114e-008, 0.999988735),})
|
| 174 | + | local edg2 = (a-b):Dot((c-b).unit) |
| 175 | - | Mesh = New("BlockMesh",Main2,"Mesh",{})
|
| 175 | + | local edg3 = (b-c):Dot((a-c).unit) |
| 176 | - | Part1a = New("Part",VortexGauntlet2,"Part1a = N",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502361, 3.07982183, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),})
|
| 176 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 177 | - | Mesh = New("BlockMesh",Part1a,"Mesh",{})
|
| 177 | + | a, b, c = a, b, c |
| 178 | - | mot = New("Motor",Part1a,"mot",{Part0 = Part1a,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(1.1920929e-007, -0.144994497, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 178 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 179 | - | Part2a = New("Part",VortexGauntlet2,"Part2a",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.6150229, 3.47980165, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),})
|
| 179 | + | a, b, c = b, c, a |
| 180 | - | Mesh = New("BlockMesh",Part2a,"Mesh",{})
|
| 180 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 181 | - | mot = New("Motor",Part2a,"mot",{Part0 = Part2a,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-3.57627869e-007, 0.254992008, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 181 | + | a, b, c = c, a, b |
| 182 | - | Part3a = New("Part",VortexGauntlet2,"Part3a",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.14999998, 0.200000003, 1.14999998),CFrame = CFrame.new(1.61502194, 3.87978125, 48.3949699, 0.999952972, -1.99669012e-006, 5.80329356e-007, -2.02649153e-006, 0.99994868, 7.71190489e-009, 5.78437607e-007, 5.24213988e-008, 0.999966204),})
|
| 182 | + | |
| 183 | - | Mesh = New("BlockMesh",Part3a,"Mesh",{})
|
| 183 | + | assert(false, "unreachable") |
| 184 | - | mot = New("Motor",Part3a,"mot",{Part0 = Part3a,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),C1 = CFrame.new(-9.53674316e-007, 0.654978514, -3.81469727e-006, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 184 | + | |
| 185 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.10669136, 2.85156226, 48.4086037, -0.686683536, -0.000153818051, 0.726891577, -0.726885498, 0.000336891768, -0.686683595, -0.000140090138, -0.999965966, -0.000342367945),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 185 | + | |
| 186 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 186 | + | local len1 = (c-a):Dot((b-a).unit) |
| 187 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.686706066, -0.726911366, -0.000139813448, -0.000153436136, 0.000336923113, -0.999988496, 0.726913393, -0.686706126, -0.000342642685),C1 = CFrame.new(-0.50834024, -0.373258352, 0.0136299133, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 187 | + | local len2 = (b-a).magnitude - len1 |
| 188 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(0.79824549, 2.13190103, 48.4086189, 0.000150710199, -0.291629434, 0.956479728, -0.000334032346, -0.956475139, -0.291631371, 0.999964535, -0.000275910104, -0.00024051439),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 188 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
| 189 | - | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 189 | + | |
| 190 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.000150328196, -0.000334063574, 0.999987066, -0.291639835, -0.956508279, -0.000275784521, 0.956509411, -0.291640043, -0.000240883426),C1 = CFrame.new(-0.816791415, -1.09293222, 0.0136451721, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 190 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 191 | - | Cone2 = New("Part",VortexGauntlet2,"Cone2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002243, 2.51985645, 48.3899651, -0.999948561, 1.10265523e-006, 5.55474173e-007, 1.2814628e-006, -0.999944806, -1.77016783e-008, -5.53581231e-007, -2.70076601e-008, 0.999963343),})
|
| 191 | + | |
| 192 | - | Mesh = New("SpecialMesh",Cone2,"Mesh",{Scale = Vector3.new(0.150000006, 0.800000012, 0.150000006),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
|
| 192 | + | local list = {}
|
| 193 | - | mot = New("Motor",Cone2,"mot",{Part0 = Cone2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.999979913, -5.95949246e-008, -1.67331933e-007, -2.38406642e-007, -0.999979019, -6.96342894e-009, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500154495, -0.704969406, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 193 | + | |
| 194 | - | Cylinder2 = New("Part",VortexGauntlet2,"Cylinder",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(1.61002088, 2.60985756, 48.3899651, -1.02815238e-006, -0.999947667, 5.55474173e-007, 0.999943912, 1.35596326e-006, -1.77016783e-008, 2.70076796e-008, -5.53580719e-007, 0.999963343),})
|
| 194 | + | local Color = BrickColor.new("Dark grey")
|
| 195 | - | Mesh = New("SpecialMesh",Cylinder2,"Mesh",{Scale = Vector3.new(0.200000003, 0.800000012, 0.200000003),VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015),MeshType = Enum.MeshType.Cylinder,})
|
| 195 | + | |
| 196 | - | mot = New("Motor",Cylinder2,"mot",{Part0 = Cylinder2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 3.12910686e-007, 0.999978125, 6.96343605e-009, -0.999979019, 1.49093466e-008, -1.67331791e-007, 1.6922408e-007, -3.77471778e-008, 0.999985874),C1 = CFrame.new(-0.00500297546, -0.614966869, -0.00500869751, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 196 | + | if len1 > 0.01 then |
| 197 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65483451, 2.53023887, 49.075016, 1.31079628e-006, -0.999882877, -0.0113237342, -0.966020584, 0.00292562018, -0.258228838, 0.258250505, 0.0109389573, -0.965978205),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 197 | + | local w1 = Instance.new('WedgePart', m)
|
| 198 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 198 | + | game:GetService("Debris"):AddItem(w1,5)
|
| 199 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -8.45183479e-008, -0.966053605, 0.258256376, -0.999914229, 0.00292437896, 0.0109395888, -0.0113240639, -0.25823763, -0.966000021),C1 = CFrame.new(0.0398111343, -0.694586992, 0.680049896, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 199 | + | w1.Material = "SmoothPlastic" |
| 200 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65375209, 2.85618806, 48.9016113, 0.00494658109, -0.999882698, -0.010186431, -0.756301045, 0.00292500365, -0.654129505, 0.654131114, 0.0109393038, -0.756254077),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 200 | + | w1.FormFactor = 'Custom' |
| 201 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 201 | + | w1.BrickColor = BrickColor.new(Color) |
| 202 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.00494546909, -0.756326914, 0.654145896, -0.99991405, 0.00292376243, 0.0109399352, -0.0101873344, -0.654151917, -0.756271124),C1 = CFrame.new(0.0387289524, -0.368632078, 0.506641388, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 202 | + | w1.Transparency = 0 |
| 203 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65484631, 2.12370038, 49.1781998, 0.999881506, -9.94669754e-005, -0.0113197053, -0.00292231143, -0.968337119, -0.249390081, -0.0109360376, 0.249413356, -0.96829623),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 203 | + | w1.Reflectance = 0 |
| 204 | - | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 204 | + | w1.Material = "SmoothPlastic" |
| 205 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.999912858, -0.00292107021, -0.0109366691, -0.000100865138, -0.968370259, 0.249419004, -0.0113200219, -0.249398604, -0.968318045),C1 = CFrame.new(0.0398226976, -1.10113239, 0.783233643, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 205 | + | w1.CanCollide = false |
| 206 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.26175404, 2.52697635, 48.4085655, 0.21676904, 0.000153397676, -0.97616607, -0.976160765, -0.000339346559, -0.216765121, -0.000362583436, 0.999960423, 7.52870619e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 206 | + | NoOutline(w1) |
| 207 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 207 | + | local sz = Vector3.new(0.2, width, len1) |
| 208 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.216774523, -0.976193905, -0.00036265573, 0.000153015761, -0.000339377963, 0.999982953, -0.976196945, -0.216773853, 7.56701775e-005),C1 = CFrame.new(0.646740317, -0.697849035, 0.0135917664, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 208 | + | w1.Size = sz |
| 209 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(2.10240459, 2.8600359, 48.4088364, 0.621261835, 0.000153750705, -0.783532441, -0.783529282, -0.000340023485, -0.621255815, -0.000359814498, 0.999960542, -9.07382637e-005),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 209 | + | local sp = Instance.new("SpecialMesh",w1)
|
| 210 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 210 | + | sp.MeshType = "Wedge" |
| 211 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, 0.621280193, -0.783555269, -0.000360046863, 0.00015336879, -0.000340054947, 0.999983072, -0.783557832, -0.621278107, -9.04251865e-005),C1 = CFrame.new(0.48738873, -0.364784002, 0.0138626099, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 211 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 212 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(2.34746456, 2.11641502, 48.4083405, -0.000150418913, 0.207840621, -0.978104353, 0.000342616433, -0.978098989, -0.207835644, -0.999959588, -0.000364459294, 7.50037798e-005),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 212 | + | w1:BreakJoints() |
| 213 | - | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 213 | + | w1.Anchored = true |
| 214 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.000150036911, 0.000342647952, -0.999982119, 0.207845837, -0.978132248, -0.000364528183, -0.978135228, -0.207844079, 7.53874556e-005),C1 = CFrame.new(0.732452035, -1.10841727, 0.0133666992, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 214 | + | w1.Parent = workspace |
| 215 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65306008, 2.53041506, 47.7222595, -0.00565980002, 0.999876678, 0.00980747957, -0.965705037, -0.00292715896, -0.259375572, -0.259334743, -0.0109386966, 0.965682745),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 215 | + | w1.Transparency = 0.7 |
| 216 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 216 | + | table.insert(Effects,{w1,"Disappear",.01})
|
| 217 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.00566117326, -0.965738058, -0.259340554, 0.99990803, -0.00292591774, -0.010939328, 0.00980706606, -0.259384483, 0.96570456),C1 = CFrame.new(0.0380369425, -0.694410801, -0.672721863, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 217 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
| 218 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(1.65604961, 2.85616612, 47.8960381, -0.00937493891, 0.999876201, 0.00635162927, -0.755516708, -0.00292789866, -0.655023754, -0.654977262, -0.01093903, 0.755514741),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 218 | + | table.insert(list,w1) |
| 219 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 219 | + | |
| 220 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.00937599409, -0.755542576, -0.654992044, 0.999907553, -0.00292665744, -0.0109396614, 0.00635065837, -0.655046165, 0.755531788),C1 = CFrame.new(0.0410267115, -0.368654013, -0.498939514, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 220 | + | |
| 221 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.420000017, 0.200000003),CFrame = CFrame.new(1.65066326, 2.1240201, 47.6186333, -0.999874711, -0.00557238981, 0.00985530019, 0.00293071126, -0.968032777, -0.250539839, 0.0109357554, -0.250500113, 0.968010366),BottomSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 221 | + | if len2 > 0.01 then |
| 222 | - | Mesh = New("SpecialMesh",ClawPart2,"Mesh",{MeshType = Enum.MeshType.Wedge,})
|
| 222 | + | local w2 = Instance.new('WedgePart', m)
|
| 223 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.999906063, 0.00292947004, 0.0109363869, -0.00557376677, -0.968065917, -0.250505745, 0.00985489972, -0.250548452, 0.968032181),C1 = CFrame.new(0.0356398821, -1.10081267, -0.776348114, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 223 | + | game:GetService("Debris"):AddItem(w2,5)
|
| 224 | - | ClawPart2 = New("Part",VortexGauntlet2,"ClawPart2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999411, 0.200000003, 0.200000003),CFrame = CFrame.new(0.919124722, 2.53371048, 48.4086876, -0.300351858, -0.00015361057, 0.95376271, -0.953755617, 0.000337485195, -0.300355166, -0.000276322971, -0.999955058, -0.000246434589),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
|
| 224 | + | w2.Material = "SmoothPlastic" |
| 225 | - | Mesh = New("BlockMesh",ClawPart2,"Mesh",{})
|
| 225 | + | w2.FormFactor = 'Custom' |
| 226 | - | mot = New("Motor",ClawPart2,"mot",{Part0 = ClawPart2,Part1 = Main2,C0 = CFrame.new(0, 0, 0, -0.300362557, -0.953788638, -0.00027619407, -0.000153228655, 0.00033751654, -0.999977589, 0.953792274, -0.300364137, -0.000246802549),C1 = CFrame.new(-0.695910037, -0.691115856, 0.0137138367, 0.999984324, -6.85453415e-007, 1.92187144e-007, -6.55651093e-007, 0.999982893, 3.23780114e-008, 1.94078893e-007, -1.23327482e-008, 0.999988735),})
|
| 226 | + | w2.BrickColor = BrickColor.new(Color) |
| 227 | - | ----// RightLegBrace |
| 227 | + | w2.Transparency = 0 |
| 228 | - | RightLegBrace = New("Model",Char,"RightLegBrace",{})
|
| 228 | + | w2.Reflectance = 0 |
| 229 | - | Latch = New("Part",RightLegBrace,"Latch",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(8.6150198, 1.12481403, 33.2949753, 1, 6.85464272e-007, -1.921902e-007, -6.85464215e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1)})
|
| 229 | + | w2.Material = "SmoothPlastic" |
| 230 | - | Mesh = New("BlockMesh",Latch,"Mesh",{})
|
| 230 | + | w2.CanCollide = false |
| 231 | - | Brace1 = New("Part",RightLegBrace,"Brace1",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61502171, 1.92481399, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),})
|
| 231 | + | NoOutline(w2) |
| 232 | - | Mesh = New("BlockMesh",Brace1,"Mesh",{})
|
| 232 | + | local sz = Vector3.new(0.2, width, len2) |
| 233 | - | mot = New("Motor",Brace1,"mot",{Part0 = Brace1,Part1 = Latch,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(9.53674316e-007, 0.799999952, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),})
|
| 233 | + | w2.Size = sz |
| 234 | - | Brace2 = New("Part",RightLegBrace,"Brace2",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 0.324813962, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),})
|
| 234 | + | local sp = Instance.new("SpecialMesh",w2)
|
| 235 | - | Mesh = New("BlockMesh",Brace2,"Mesh",{})
|
| 235 | + | sp.MeshType = "Wedge" |
| 236 | - | mot = New("Motor",Brace2,"mot",{Part0 = Brace2,Part1 = Latch,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(0, -0.800000072, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),})
|
| 236 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 237 | - | Brace3 = New("Part",RightLegBrace,"Brace3",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 1.1148138, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),})
|
| 237 | + | w2:BreakJoints() |
| 238 | - | Mesh = New("BlockMesh",Brace3,"Mesh",{})
|
| 238 | + | w2.Anchored = true |
| 239 | - | mot = New("Motor",Brace3,"mot",{Part0 = Brace3,Part1 = Latch,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-9.53674316e-007, -0.0100002289, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),})
|
| 239 | + | w2.Parent = workspace |
| 240 | - | ----// LeftLegBrace |
| 240 | + | w2.Transparency = 0.7 |
| 241 | - | LeftLegBrace2 = New("Model",Char,"LeftLegBrace",{})
|
| 241 | + | table.insert(Effects,{w2,"Disappear",.01})
|
| 242 | - | Latcha = New("Part",LeftLegBrace2,"Latcha",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 1.40999997, 1.02999997),CFrame = CFrame.new(8.6150198, 1.12481403, 33.2949753, 1, 6.85464272e-007, -1.921902e-007, -6.85464215e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1)})
|
| 242 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 243 | - | Mesh = New("BlockMesh",Latcha,"Mesh",{})
|
| 243 | + | table.insert(list,w2) |
| 244 | - | Brace1a = New("Part",LeftLegBrace2,"Brace1a",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61502171, 1.92481399, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),})
|
| 244 | + | |
| 245 | - | Mesh = New("BlockMesh",Brace1a,"Mesh",{})
|
| 245 | + | return unpack(list) |
| 246 | - | mot = New("Motor",Brace1a,"mot",{Part0 = Brace1a,Part1 = Latcha,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(9.53674316e-007, 0.799999952, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),})
|
| 246 | + | |
| 247 | - | Brace2a = New("Part",LeftLegBrace2,"Brace2a",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 0.324813962, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),})
|
| 247 | + | |
| 248 | - | Mesh = New("BlockMesh",Brace2a,"Mesh",{})
|
| 248 | + | |
| 249 | - | mot = New("Motor",Brace2a,"mot",{Part0 = Brace2a,Part1 = Latcha,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(0, -0.800000072, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),})
|
| 249 | + | so = function(id,par,vol,pit) |
| 250 | - | Brace3a = New("Part",LeftLegBrace2,"Brace3a",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(8.61501884, 1.1148138, 33.2949753, 1, 6.85464329e-007, -1.921902e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),})
|
| 250 | + | coroutine.resume(coroutine.create(function() |
| 251 | - | Mesh = New("BlockMesh",Brace3a,"Mesh",{})
|
| 251 | + | local sou = Instance.new("Sound",par or workspace)
|
| 252 | - | mot = New("Motor",Brace3a,"mot",{Part0 = Brace3a,Part1 = Latcha,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-9.53674316e-007, -0.0100002289, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),})
|
| 252 | + | sou.Volume=vol |
| 253 | - | ----// Exo Spine |
| 253 | + | sou.Pitch=pit or 1 |
| 254 | - | Chest = New("Model",Char,"Chest",{})
|
| 254 | + | sou.SoundId=id |
| 255 | - | BackLatch = New("Part",Chest,"BackLatch",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Metal,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(-2.49994969, 3.10042095, 48.2739372, 0.99999994, -4.3300206e-005, -5.97238541e-005, 4.33037421e-005, 1, 5.92252691e-005, 5.97238541e-005, -5.9227852e-005, 0.99999994),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 255 | + | swait() |
| 256 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.300000072, 1.37500012, 0.200000003),CFrame = CFrame.new(-2.49999189, 2.9973228, 48.8550034, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 256 | + | sou:play() |
| 257 | - | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,})
|
| 257 | + | game:GetService("Debris"):AddItem(sou,6)
|
| 258 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-1.1920929e-005, -0.103132486, 0.581058502, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 258 | + | end)) |
| 259 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.500000119, 0.975000024, 0.300000042),CFrame = CFrame.new(-2.49999166, 3.19728184, 48.8549995, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 259 | + | |
| 260 | - | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,})
|
| 260 | + | |
| 261 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-3.09944153e-006, 0.0968265533, 0.581069946, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 261 | + | function clerp(a,b,t) |
| 262 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.700000048, 0.774999976, 0.300000042),CFrame = CFrame.new(-2.49999166, 3.59736109, 48.9049988, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 262 | + | local qa = {QuaternionFromCFrame(a)}
|
| 263 | - | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,})
|
| 263 | + | local qb = {QuaternionFromCFrame(b)}
|
| 264 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(1.71661377e-005, 0.496902704, 0.631092072, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 264 | + | local ax, ay, az = a.x, a.y, a.z |
| 265 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.500000119, 0.300000042, 0.300000042),CFrame = CFrame.new(-2.49999189, 2.20982575, 48.8549995, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 265 | + | local bx, by, bz = b.x, b.y, b.z |
| 266 | - | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Brick,})
|
| 266 | + | local _t = 1-t |
| 267 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-4.60147858e-005, -0.89062953, 0.581008911, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 267 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 268 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.24999997),CFrame = CFrame.new(-2.51000166, 2.52982283, 49.0700035, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 268 | + | |
| 269 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,})
|
| 269 | + | |
| 270 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-0.0100290775, -0.570644855, 0.796031952, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 270 | + | function QuaternionFromCFrame(cf) |
| 271 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.379999995),CFrame = CFrame.new(-2.51000142, 2.61388636, 49.3341675, 0.999999881, -1.23509381e-009, 2.24099495e-009, -4.6838089e-012, 0.877733231, 0.47914964, 2.56477506e-009, -0.47914958, 0.877733111),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 271 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 272 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,})
|
| 272 | + | local trace = m00 + m11 + m22 |
| 273 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.877733231, -0.47914964, 0, 0.47914964, 0.877733231),C1 = CFrame.new(-0.0100095272, -0.486596823, 1.06020355, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 273 | + | if trace > 0 then |
| 274 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.870000005),CFrame = CFrame.new(-2.51000142, 3.09982252, 49.4699936, 0.999999881, -2.56477506e-009, -5.71143133e-012, -4.6838089e-012, -4.37103154e-008, 1, 2.56477506e-009, -0.999999881, -4.37103154e-008),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 274 | + | local s = math.sqrt(1 + trace) |
| 275 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,})
|
| 275 | + | local recip = 0.5/s |
| 276 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008),C1 = CFrame.new(-0.00998044014, -0.000668764114, 1.19605637, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 276 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 277 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.379999995),CFrame = CFrame.new(-2.51000142, 3.59388614, 49.3341675, 0.999999881, 1.22417987e-009, 2.25190888e-009, -4.6838089e-012, 0.877732217, -0.479151487, 2.56477506e-009, 0.479151428, 0.877732098),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 277 | + | |
| 278 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,})
|
| 278 | + | local i = 0 |
| 279 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.877732217, 0.479151487, 0, -0.479151487, 0.877732217),C1 = CFrame.new(-0.0099670887, 0.493402719, 1.06026077, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 279 | + | if m11 > m00 then |
| 280 | - | Part = New("Part",Chest,"Part",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.24999997),CFrame = CFrame.new(-2.51000142, 3.67982244, 49.0600014, 0.999999881, -4.6838089e-012, 2.56477506e-009, -4.6838089e-012, 1, 0, 2.56477506e-009, 0, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
|
| 280 | + | i = 1 |
| 281 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.5, 1),MeshType = Enum.MeshType.Brick,})
|
| 281 | + | |
| 282 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = BackLatch,C1 = CFrame.new(-0.00997972488, 0.579355478, 0.78609848, 0.99999994, 4.33037421e-005, 5.97238541e-005, -4.3300206e-005, 1, -5.9227852e-005, -5.97238541e-005, 5.92252691e-005, 0.99999994),})
|
| 282 | + | if m22 > (i == 0 and m00 or m11) then |
| 283 | - | ----// Battery Pack |
| 283 | + | i = 2 |
| 284 | - | BatteryPack = New("Model",Char,"BatteryPack",{})
|
| 284 | + | |
| 285 | - | Inner = New("Part",BatteryPack,"Inner",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(5.1000185, 1.11981344, 33.3099785, 1, 6.85464386e-007, -1.92190214e-007, -6.85464158e-007, 1, -3.23786935e-008, 1.92190157e-007, 3.23788285e-008, 1),})
|
| 285 | + | if i == 0 then |
| 286 | - | Mesh = New("SpecialMesh",Inner,"Mesh",{Scale = Vector3.new(0.5, 0.850000024, 0.5),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
|
| 286 | + | local s = math.sqrt(m00-m11-m22+1) |
| 287 | - | Top = New("Part",BatteryPack,"Top",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(5.08502388, 1.87980604, 33.2949829, 1, 2.02658885e-006, -5.78463244e-007, -2.02658839e-006, 1, -5.24246104e-008, 5.7846313e-007, 5.24257899e-008, 1),})
|
| 287 | + | local recip = 0.5/s |
| 288 | - | Mesh = New("BlockMesh",Top,"Mesh",{})
|
| 288 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 289 | - | mot = New("Motor",Top,"mot",{Part0 = Top,Part1 = Inner,C0 = CFrame.new(0, 0, 0, 1, -2.02658862e-006, 5.7846313e-007, 2.02658862e-006, 1, 5.24257864e-008, -5.78463244e-007, -5.24246104e-008, 1),C1 = CFrame.new(-0.0149950981, 0.759992599, -0.014995575, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),})
|
| 289 | + | elseif i == 1 then |
| 290 | - | Outer = New("Part",BatteryPack,"Outer",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.SmoothPlastic,Transparency = 0.60000002384186,Transparency = 0.60000002384186,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.02999997, 1.40999997, 1.02999997),CFrame = CFrame.new(5.08501816, 1.1248138, 33.2949753, 1, 6.85464272e-007, -1.921902e-007, -6.85464215e-007, 1, -3.23786935e-008, 1.92190171e-007, 3.2378825e-008, 1),})
|
| 290 | + | local s = math.sqrt(m11-m22-m00+1) |
| 291 | - | Mesh = New("BlockMesh",Outer,"Mesh",{})
|
| 291 | + | local recip = 0.5/s |
| 292 | - | mot = New("Motor",Outer,"mot",{Part0 = Outer,Part1 = Inner,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-0.0150003433, 0.00500035286, -0.0150032043, 1, -6.85464215e-007, 1.92190157e-007, 6.85464329e-007, 1, 3.23788285e-008, -1.92190214e-007, -3.23786935e-008, 1),})
|
| 292 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 293 | - | Bottom = New("Part",BatteryPack,"Bottom",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08000004, 0.200000003, 1.08000004),CFrame = CFrame.new(5.08501768, 0.364813805, 33.2949753, 1, 6.85464499e-007, -1.92190228e-007, -6.85463988e-007, 1, -3.237869e-008, 1.92190143e-007, 3.23788285e-008, 1),})
|
| 293 | + | elseif i == 2 then |
| 294 | - | Mesh = New("BlockMesh",Bottom,"Mesh",{})
|
| 294 | + | local s = math.sqrt(m22-m00-m11+1) |
| 295 | - | mot = New("Motor",Bottom,"mot",{Part0 = Bottom,Part1 = Inner,C0 = CFrame.new(0, 0, 0, 1, -6.85464215e-007, 1.92190171e-007, 6.85464272e-007, 1, 3.2378825e-008, -1.921902e-007, -3.23786935e-008, 1),C1 = CFrame.new(-0.0150003433, -0.754999638, -0.0150032043, 1, -6.85464158e-007, 1.92190157e-007, 6.85464386e-007, 1, 3.23788285e-008, -1.92190214e-007, -3.23786935e-008, 1),})
|
| 295 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 296 | - | BatteryPack:MoveTo(CFrame.new(0,6,0).p) |
| 296 | + | |
| 297 | - | ----// Helmet |
| 297 | + | |
| 298 | - | Helmet = New("Model",Char,"Helmet",{})
|
| 298 | + | |
| 299 | - | HeadHandle = New("Part",Helmet,"HeadHandle",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.20000005, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1249886, 4.49498367, 48.3950195, 0.999969244, -3.05533376e-013, -1.83186799e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.80966353e-014, -3.08556781e-015, 0.999989748),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 299 | + | |
| 300 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.7349472, 4.49498367, 48.3950195, 0.999943495, -5.61309246e-013, -3.3638975e-014, -5.61309246e-013, 0.999943495, -5.66873666e-015, -3.34169372e-014, -5.66873666e-015, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 300 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 301 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 301 | + | local xs, ys, zs = x + x, y + y, z + z |
| 302 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999986053, -1.38555291e-013, -8.21562921e-015, -1.38555291e-013, 0.999986053, -1.39928488e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(-0.609977722, 0, 0, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),})
|
| 302 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
| 303 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1349983, 5.06996679, 48.3950157, -2.98000771e-008, 0.999943316, -3.3638975e-014, -0.999943316, -2.98011997e-008, -5.66873666e-015, 5.66873666e-015, -3.34169304e-014, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 303 | + | local xx = x*xs |
| 304 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 304 | + | local xy = x*ys |
| 305 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, -2.98017682e-008, -0.999985874, 1.39928488e-015, 0.999985874, -2.98020453e-008, -8.21562751e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(-0.0100097656, 0.575000763, -3.81469727e-006, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),})
|
| 305 | + | local xz = x*zs |
| 306 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1349983, 3.92003059, 48.3950157, -2.98000771e-008, 0.999943316, -3.3638975e-014, -0.999943316, -2.98011997e-008, -5.66873666e-015, 5.66873666e-015, -3.34169304e-014, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 306 | + | local yy = y*ys |
| 307 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 307 | + | local yz = y*zs |
| 308 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, -2.98017682e-008, -0.999985874, 1.39928488e-015, 0.999985874, -2.98020453e-008, -8.21562751e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(-0.0100097656, -0.574970722, -3.81469727e-006, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),})
|
| 308 | + | local zz = z*zs |
| 309 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-38.5600357, 4.49499846, 48.3950157, 0.999943495, -5.61309246e-013, -3.3638975e-014, -5.61309246e-013, 0.999943495, -5.66873666e-015, -3.34169372e-014, -5.66873666e-015, 0.999981165),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 309 | + | 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)) |
| 310 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 310 | + | |
| 311 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999986053, -1.38555291e-013, -8.21562921e-015, -1.38555291e-013, 0.999986053, -1.39928488e-015, -8.43767296e-015, -1.39928477e-015, 0.999995351),C1 = CFrame.new(0.564971924, 1.47819519e-005, -3.81469727e-006, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),})
|
| 311 | + | |
| 312 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.17000008, 0.470000058),CFrame = CFrame.new(-39.1399956, 4.17001486, 47.8200264, 1.63953751e-009, 0.999954045, -2.18817728e-008, 4.59242587e-015, -2.18826859e-008, -0.999954045, -0.999984682, 1.63953329e-009, 4.59242672e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 312 | + | function QuaternionSlerp(a, b, t) |
| 313 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 313 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 314 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63958203e-009, 3.22914132e-016, -0.999998868, 0.999996603, -2.18831939e-008, 1.63958169e-009, -2.18831264e-008, -0.999996603, 3.22914185e-016),C1 = CFrame.new(-0.015007019, -0.324978828, -0.575000763, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),})
|
| 314 | + | local startInterp, finishInterp; |
| 315 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(PrimaryColor),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 1.20000005),CFrame = CFrame.new(-39.1349983, 4.49499846, 48.9700012, 1.6395757e-009, 0.999990523, -2.18829328e-008, 9.32859196e-016, -2.18831211e-008, -0.999990523, -0.999996841, 1.63957481e-009, 9.32859408e-016),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 315 | + | if cosTheta >= 0.0001 then |
| 316 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 316 | + | if (1 - cosTheta) > 0.0001 then |
| 317 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.6395757e-009, 9.32859196e-016, -0.999996841, 0.999990523, -2.18831211e-008, 1.63957481e-009, -2.18829328e-008, -0.999990523, 9.32859408e-016),C1 = CFrame.new(-0.0100097656, 1.47819519e-005, 0.574989319, 0.999988198, -1.17239551e-013, -6.88338275e-015, -1.17239551e-013, 0.999988198, -1.18401198e-015, -7.10542736e-015, -1.18401188e-015, 0.999996066),})
|
| 317 | + | local theta = math.acos(cosTheta) |
| 318 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.20000005, 0.200000003),CFrame = CFrame.new(-39.1349945, 4.97495842, 47.8200378, 1.63948666e-009, 0.999905407, -2.18802239e-008, 9.47157154e-015, -2.18821032e-008, -0.999905407, -0.999968469, 1.63947811e-009, 9.47157324e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 318 | + | local invSinTheta = 1/math.sin(theta) |
| 319 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 319 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 320 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63955105e-009, 3.30083467e-015, -0.999988973, 0.999966919, -2.18828387e-008, 1.63954805e-009, -2.18821814e-008, -0.999966919, 3.30083509e-015),C1 = CFrame.new(-0.0100059509, 0.479989529, -0.574989319, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 320 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 321 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5950432, 4.9849577, 47.8200378, 1.63948777e-009, 0.99990648, -2.18802576e-008, 9.36394669e-015, -2.18821157e-008, -0.99990648, -0.999968827, 1.63947933e-009, 9.36394838e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 321 | + | |
| 322 | - | Mesh = New("BlockMesh",Wall,"Mesh",{})
|
| 322 | + | startInterp = 1-t |
| 323 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63955216e-009, 3.19320092e-015, -0.999989331, 0.999967992, -2.18828511e-008, 1.63954927e-009, -2.18822152e-008, -0.999967992, 3.19320156e-015),C1 = CFrame.new(0.529960632, 0.489989281, -0.574989319, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 323 | + | finishInterp = t |
| 324 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(SecondaryColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7049294, 4.9849577, 47.8200378, 1.63948777e-009, 0.99990648, -2.18802576e-008, 9.36394669e-015, -2.18821157e-008, -0.99990648, -0.999968827, 1.63947933e-009, 9.36394838e-015),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 324 | + | |
| 325 | - | Mesh = New("BlockMesh",Wall,"Mesh",{})
|
| 325 | + | |
| 326 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 1.63955216e-009, 3.19320092e-015, -0.999989331, 0.999967992, -2.18828511e-008, 1.63954927e-009, -2.18822152e-008, -0.999967992, 3.19320156e-015),C1 = CFrame.new(-0.579959869, 0.489989281, -0.574989319, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 326 | + | if (1+cosTheta) > 0.0001 then |
| 327 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5600548, 4.98495245, 49.0399933, 0.99990648, -5.5407183e-014, -2.02039434e-008, -2.02057997e-008, 3.05623193e-010, -0.99990648, -5.5175611e-014, 0.999968767, 3.0566083e-010),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 327 | + | local theta = math.acos(-cosTheta) |
| 328 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 328 | + | local invSinTheta = 1/math.sin(theta) |
| 329 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -2.02064321e-008, -1.87625895e-014, -1.89941751e-014, 3.05648173e-010, 0.999989271, -2.02057979e-008, -0.999967992, 3.05660941e-010),C1 = CFrame.new(0.56495285, 0.489984035, 0.644981384, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 329 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 330 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5600548, 4.962955, 49.2099915, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 330 | + | finishInterp = math.sin(t*theta)*invSinTheta |
| 331 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 331 | + | |
| 332 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(0.56495285, 0.46798563, 0.814979553, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 332 | + | startInterp = t-1 |
| 333 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-38.5600548, 4.91495943, 49.3999825, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 333 | + | finishInterp = t |
| 334 | - | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,})
|
| 334 | + | |
| 335 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(0.56495285, 0.419988632, 1.00497437, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 335 | + | |
| 336 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7349434, 4.98495245, 49.0399933, 0.99990648, -5.5407183e-014, -2.02039434e-008, -2.02057997e-008, 3.05623193e-010, -0.99990648, -5.5175611e-014, 0.999968767, 3.0566083e-010),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 336 | + | 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 |
| 337 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 337 | + | |
| 338 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -2.02064321e-008, -1.87625895e-014, -1.89941751e-014, 3.05648173e-010, 0.999989271, -2.02057979e-008, -0.999967992, 3.05660941e-010),C1 = CFrame.new(-0.609973907, 0.489984035, 0.644981384, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 338 | + | |
| 339 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7349434, 4.962955, 49.2099915, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 339 | + | --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) |
| 340 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 340 | + | |
| 341 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(-0.609973907, 0.46798563, 0.814979553, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 341 | + | |
| 342 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.219999999),CFrame = CFrame.new(-39.7349434, 4.91495943, 49.3999825, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 342 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 343 | - | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,})
|
| 343 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 344 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(-0.609973907, 0.419988632, 1.00497437, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 344 | + | |
| 345 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.879999995, 0.819999933),CFrame = CFrame.new(-39.1250114, 5.37822723, 49.0352859, 0.99990648, -8.72485362e-010, -5.28140465e-012, 7.17916893e-010, 0.828282356, -0.560144186, 4.93058316e-010, 0.560179174, 0.828333974),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 345 | + | |
| 346 | - | Mesh = New("SpecialMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),MeshType = Enum.MeshType.Wedge,})
|
| 346 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
| 347 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, 7.18572146e-010, 4.93104835e-010, -8.72012407e-010, 0.828333259, 0.560190618, -5.59388126e-012, -0.560178638, 0.828350902),C1 = CFrame.new(-2.28881836e-005, 0.883270741, 0.640274048, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 347 | + | |
| 348 | - | Wall = New("Part",Helmet,"Wall",{BrickColor = BrickColor.new(ThirdColor),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.899999976, 0.919999957),CFrame = CFrame.new(-39.1250038, 4.71387339, 48.6822853, 0.99990648, -1.0504676e-009, -5.66523439e-010, -8.17672263e-010, -0.255145043, -0.966806114, 8.71077599e-010, 0.966866374, -0.255160898),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
|
| 348 | + | |
| 349 | - | Mesh = New("BlockMesh",Wall,"Mesh",{Scale = Vector3.new(0.25, 1, 1),})
|
| 349 | + | |
| 350 | - | mot = New("Motor",Wall,"mot",{Part0 = Wall,Part1 = HeadHandle,C0 = CFrame.new(0, 0, 0, 0.999967992, -8.1711149e-010, 8.71131889e-010, -1.05065279e-009, -0.255160719, 0.966886163, -5.67158376e-010, -0.966865599, -0.255166143),C1 = CFrame.new(-1.52587891e-005, 0.218896389, 0.287269592, 0.999969244, -3.05533376e-013, -1.80966353e-014, -3.05533376e-013, 0.999969244, -3.08556781e-015, -1.83186799e-014, -3.08556781e-015, 0.999989748),})
|
| 350 | + | |
| 351 | - | ----// End |
| 351 | + | for _,v in pairs(hit.Parent:children()) do |
| 352 | if v:IsA("Humanoid") then
| |
| 353 | - | rad = function(Int) |
| 353 | + | h=v |
| 354 | - | return math.rad(tonumber(Int)) |
| 354 | + | |
| 355 | - | end; |
| 355 | + | |
| 356 | - | sin = function(Int) |
| 356 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
|
| 357 | - | return math.sin(tonumber(Int)) |
| 357 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid")
|
| 358 | - | end; |
| 358 | + | |
| 359 | - | cos = function(Int) |
| 359 | + | if hit.Parent.className=="Hat" then |
| 360 | - | return math.cos(tonumber(Int)) |
| 360 | + | hit=hit.Parent.Parent:findFirstChild("Head")
|
| 361 | - | end; |
| 361 | + | |
| 362 | - | Angles = function(X,Y,Z) |
| 362 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
|
| 363 | - | return CFrame.Angles(X,Y,Z); |
| 363 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
|
| 364 | - | end; |
| 364 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
| 365 | - | Euler = function(X,Y,Z) |
| 365 | + | |
| 366 | - | return CFrame.fromEulerAnglesXYZ(X,Y,Z); |
| 366 | + | |
| 367 | - | end; |
| 367 | + | -- hs(hit,1.2) |
| 368 | - | CF = function(X,Y,Z) |
| 368 | + | |
| 369 | - | return CFrame.new(X,Y,Z); |
| 369 | + | |
| 370 | - | end; |
| 370 | + | c.Value=game:service("Players").LocalPlayer
|
| 371 | c.Parent=h | |
| 372 | - | --// Suit Welds |
| 372 | + | |
| 373 | - | local HandleWeld = Weld(rarm,Main,Angles(0,0,0)*CF(0,.35,0)) |
| 373 | + | Damage=math.random(minim,maxim) |
| 374 | - | local HandleWeld2 = Weld(larm,Main2,Angles(0,0,0)*CF(0,.35,0)) |
| 374 | + | -- h:TakeDamage(Damage) |
| 375 | - | local BraceWeld = Weld(rleg,Latch,CF(0,0,0)) |
| 375 | + | blocked=false |
| 376 | - | local BraceWeld2 = Weld(lleg,Latcha,CF(0,0,0)) |
| 376 | + | block=hit.Parent:findFirstChild("Block")
|
| 377 | - | local ExoWeld = Weld(torso,BackLatch,CF(0,0,0)) |
| 377 | + | if block~=nil then |
| 378 | - | local BatteryWeld = Weld(Outer,BackLatch,CF(0,0,1.775)) |
| 378 | + | print(block.className) |
| 379 | - | local InnerWeld = Weld(Inner,Outer,CF(0,0,0)) |
| 379 | + | if block.className=="NumberValue" then |
| 380 | - | local TopW,BottomW = Weld(Top,Outer,CF(0,-.75,0)),Weld(Bottom,Outer,CF(0,.75,0)) |
| 380 | + | if block.Value>0 then |
| 381 | - | local HelmetWeld = Weld(HeadHandle,hed,CF(0,.05,0)) |
| 381 | + | blocked=true |
| 382 | - | --\\ Suit Welds |
| 382 | + | if decreaseblock==nil then |
| 383 | block.Value=block.Value-1 | |
| 384 | - | dmg=function(hit,Damage,Knockback,angle) |
| 384 | + | |
| 385 | - | local mana = 0 |
| 385 | + | |
| 386 | - | if DebounceHit == false then |
| 386 | + | |
| 387 | - | DebounceHit = true |
| 387 | + | if block.className=="IntValue" then |
| 388 | - | coroutine.resume(coroutine.create(function() |
| 388 | + | if block.Value>0 then |
| 389 | - | wait(0.1) |
| 389 | + | blocked=true |
| 390 | - | DebounceHit = false |
| 390 | + | if decreaseblock~=nil then |
| 391 | - | end)) |
| 391 | + | block.Value=block.Value-1 |
| 392 | end | |
| 393 | end | |
| 394 | end | |
| 395 | - | --CPlayer=Bin |
| 395 | + | |
| 396 | if blocked==false then | |
| 397 | - | if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
|
| 397 | + | -- h:TakeDamage(Damage) |
| 398 | - | if mana < 400 then |
| 398 | + | h.Health=h.Health-Damage |
| 399 | - | mana = mana + math.random(5,15) |
| 399 | + | showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
|
| 400 | else | |
| 401 | - | if mana > 400 then |
| 401 | + | h.Health=h.Health-(Damage/2) |
| 402 | - | mana = 400 |
| 402 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
|
| 403 | end | |
| 404 | - | Damage=Damage |
| 404 | + | if Type=="Knockdown" then |
| 405 | - | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
| 405 | + | hum=hit.Parent.Humanoid |
| 406 | hum.PlatformStand=true | |
| 407 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 408 | swait(1) | |
| 409 | HHumanoid.PlatformStand=false | |
| 410 | - | c.Value=game.Players.LocalPlayer |
| 410 | + | end),hum) |
| 411 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 412 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 413 | - | -- print(c.Value) |
| 413 | + | local bodvol=Instance.new("BodyVelocity")
|
| 414 | - | if math.random(0,99)+math.random()<=7.8 then |
| 414 | + | bodvol.velocity=angle*knockback |
| 415 | - | --CRIT=true |
| 415 | + | bodvol.P=5000 |
| 416 | - | Damage=Damage*3 |
| 416 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 417 | - | --[[ Knockback=Knockback*2 |
| 417 | + | bodvol.Parent=hit |
| 418 | - | r=Instance.new("BodyAngularVelocity")
|
| 418 | + | rl=Instance.new("BodyAngularVelocity")
|
| 419 | - | r.P=3000 |
| 419 | + | rl.P=3000 |
| 420 | - | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 |
| 420 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 421 | - | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) |
| 421 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
| 422 | - | r.Parent=hit.Parent.Torso]] |
| 422 | + | rl.Parent=hit |
| 423 | - | --critsound(2) |
| 423 | + | game:GetService("Debris"):AddItem(bodvol,.5)
|
| 424 | - | |
| 424 | + | game:GetService("Debris"):AddItem(rl,.5)
|
| 425 | elseif Type=="Normal" then | |
| 426 | - | if NO_OP == true then |
| 426 | + | |
| 427 | - | Damage = h.MaxHealth / Damage |
| 427 | + | |
| 428 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 429 | - | Damage = Damage+math.random(0,9) |
| 429 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
| 430 | if KnockbackType==1 then | |
| 431 | - | --warn('dmged')
|
| 431 | + | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
| 432 | - | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) |
| 432 | + | elseif KnockbackType==2 then |
| 433 | - | h.Health = h.Health - Damage |
| 433 | + | vp.velocity=Property.CFrame.lookVector*knockback |
| 434 | - | -- showDamage(hit.Parent,Damage,.5) |
| 434 | + | |
| 435 | if knockback>0 then | |
| 436 | vp.Parent=hit.Parent.Torso | |
| 437 | end | |
| 438 | - | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
| 438 | + | game:GetService("Debris"):AddItem(vp,.5)
|
| 439 | - | vp.velocity=torso.CFrame.lookVector*Knockback+torso.Velocity/1.05 |
| 439 | + | elseif Type=="Up" then |
| 440 | - | if Knockback>0 then |
| 440 | + | local bodyVelocity=Instance.new("BodyVelocity")
|
| 441 | bodyVelocity.velocity=vt(0,60,0) | |
| 442 | bodyVelocity.P=5000 | |
| 443 | - | game:GetService("Debris"):AddItem(vp,.1)
|
| 443 | + | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 444 | - | r=Instance.new("BodyAngularVelocity")
|
| 444 | + | bodyVelocity.Parent=hit |
| 445 | - | r.P=3000 |
| 445 | + | game:GetService("Debris"):AddItem(bodyVelocity,1)
|
| 446 | - | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 |
| 446 | + | rl=Instance.new("BodyAngularVelocity")
|
| 447 | - | r.angularvelocity= angle or Vector3.new(0,0,0) |
| 447 | + | rl.P=3000 |
| 448 | - | r.Parent=hit.Parent.Torso |
| 448 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 449 | - | game:GetService("Debris"):AddItem(r,.5)
|
| 449 | + | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
| 450 | - | c=Instance.new("ObjectValue")
|
| 450 | + | rl.Parent=hit |
| 451 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 452 | - | c.Value=Plr |
| 452 | + | elseif Type=="Snare" then |
| 453 | bp=Instance.new("BodyPosition")
| |
| 454 | bp.P=2000 | |
| 455 | - | return h |
| 455 | + | bp.D=100 |
| 456 | - | --CRIT=false |
| 456 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 457 | - | --hitDeb=true |
| 457 | + | bp.position=hit.Parent.Torso.Position |
| 458 | - | --AttackPos=6 |
| 458 | + | bp.Parent=hit.Parent.Torso |
| 459 | game:GetService("Debris"):AddItem(bp,1)
| |
| 460 | elseif Type=="Target" then | |
| 461 | if Targetting==false then | |
| 462 | ZTarget=hit.Parent.Torso | |
| 463 | - | function getAllParts(from) |
| 463 | + | coroutine.resume(coroutine.create(function(Part) |
| 464 | - | local t = {}
|
| 464 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 465 | - | function getParts(where) |
| 465 | + | swait(5) |
| 466 | - | for i, v in pairs(where:children()) do |
| 466 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 467 | - | if v:IsA("BasePart") then
|
| 467 | + | end),ZTarget) |
| 468 | - | if v.Parent ~= Char and v.Parent.Parent ~= Char then |
| 468 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
|
| 469 | - | table.insert(t, v) |
| 469 | + | targetgui=Instance.new("BillboardGui")
|
| 470 | targetgui.Parent=ZTarget | |
| 471 | - | end |
| 471 | + | targetgui.Size=UDim2.new(10,100,10,100) |
| 472 | - | getParts(v) |
| 472 | + | targ=Instance.new("ImageLabel")
|
| 473 | targ.Parent=targetgui | |
| 474 | targ.BackgroundTransparency=1 | |
| 475 | - | getParts(workspace) |
| 475 | + | targ.Image="rbxassetid://4834067" |
| 476 | - | return t |
| 476 | + | targ.Size=UDim2.new(1,0,1,0) |
| 477 | cam.CameraType="Scriptable" | |
| 478 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 479 | - | Search = function(Object, ClassName, Function) |
| 479 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 480 | - | for index,obj in next, Object:children() do |
| 480 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 481 | - | if obj:IsA(tostring(ClassName)) then |
| 481 | + | Targetting=true |
| 482 | - | Function(obj) |
| 482 | + | RocketTarget=ZTarget |
| 483 | for i=1,Property do | |
| 484 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 485 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 486 | swait() | |
| 487 | - | TransClone = function(Trans) |
| 487 | + | |
| 488 | - | local md = Char |
| 488 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
| 489 | - | md.Archivable = true |
| 489 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 490 | - | local md2 = md:Clone() |
| 490 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 491 | - | md2.Parent = workspace |
| 491 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
| 492 | - | pcall(function() |
| 492 | + | |
| 493 | - | md2.BodyColors:Destroy() |
| 493 | + | Targetting=false |
| 494 | RocketTarget=nil | |
| 495 | - | md.Archivable=false |
| 495 | + | targetgui.Parent=nil |
| 496 | - | Search(md2,'Part',function(P) |
| 496 | + | cam.CameraType="Custom" |
| 497 | - | P.Transparency = .9 |
| 497 | + | |
| 498 | - | P.Material = 'Neon' |
| 498 | + | |
| 499 | - | P.BrickColor = BrickColor.new('Teal')
|
| 499 | + | debounce=Instance.new("BoolValue")
|
| 500 | debounce.Name="DebounceHit" | |
| 501 | debounce.Parent=hit.Parent | |
| 502 | - | Search(md2['VortexGauntlet'],'Part',function(P) |
| 502 | + | debounce.Value=true |
| 503 | - | P.Transparency = Trans |
| 503 | + | game:GetService("Debris"):AddItem(debounce,Delay)
|
| 504 | - | P.Material = 'Neon' |
| 504 | + | |
| 505 | - | P.BrickColor = BrickColor.new('Teal')
|
| 505 | + | |
| 506 | c.Value=Player | |
| 507 | c.Parent=h | |
| 508 | - | Search(md2['VortexGauntlet2'],'Part',function(P) |
| 508 | + | |
| 509 | - | P.Transparency = Trans |
| 509 | + | CRIT=false |
| 510 | - | P.Material = 'Neon' |
| 510 | + | hitDeb=true |
| 511 | - | P.BrickColor = BrickColor.new('Teal')
|
| 511 | + | AttackPos=6 |
| 512 | end | |
| 513 | end | |
| 514 | - | Search(md2['RightLegBrace'],'Part',function(P) |
| 514 | + | |
| 515 | - | P.Transparency = Trans |
| 515 | + | showDamage=function(Char,Dealt,du,Color) |
| 516 | - | P.Material = 'Neon' |
| 516 | + | m=Instance.new("Model")
|
| 517 | - | P.BrickColor = BrickColor.new('Teal')
|
| 517 | + | m.Name=tostring(Dealt) |
| 518 | h=Instance.new("Humanoid")
| |
| 519 | h.Health=0 | |
| 520 | - | Search(md2['LeftLegBrace'],'Part',function(P) |
| 520 | + | h.MaxHealth=0 |
| 521 | - | P.Transparency = Trans |
| 521 | + | h.Parent=m |
| 522 | - | P.Material = 'Neon' |
| 522 | + | c=Instance.new("Part")
|
| 523 | - | P.BrickColor = BrickColor.new('Teal')
|
| 523 | + | c.Transparency=0 |
| 524 | c.BrickColor=Color | |
| 525 | c.Name="Head" | |
| 526 | - | Search(md2['Chest'],'Part',function(P) |
| 526 | + | c.TopSurface=0 |
| 527 | - | P.Transparency = Trans |
| 527 | + | c.BottomSurface=0 |
| 528 | - | P.Material = 'Neon' |
| 528 | + | c.formFactor="Plate" |
| 529 | - | P.BrickColor = BrickColor.new('Teal')
|
| 529 | + | c.Size=Vector3.new(1,.4,1) |
| 530 | ms=Instance.new("CylinderMesh")
| |
| 531 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 532 | - | Search(md2['BatteryPack'],'Part',function(P) |
| 532 | + | if CRIT==true then |
| 533 | - | P.Transparency = Trans |
| 533 | + | ms.Scale=Vector3.new(1,1.25,1) |
| 534 | - | P.Material = 'Neon' |
| 534 | + | |
| 535 | - | P.BrickColor = BrickColor.new('Teal')
|
| 535 | + | ms.Parent=c |
| 536 | c.Reflectance=0 | |
| 537 | Instance.new("BodyGyro").Parent=c
| |
| 538 | - | Search(md2['Helmet'],'Part',function(P) |
| 538 | + | c.Parent=m |
| 539 | - | P.Transparency = Trans |
| 539 | + | if Char:findFirstChild("Head")~=nil then
|
| 540 | - | P.Material = 'Neon' |
| 540 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
| 541 | - | P.BrickColor = BrickColor.new('Teal')
|
| 541 | + | elseif Char.Parent:findFirstChild("Head")~=nil then
|
| 542 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 543 | end | |
| 544 | - | return md2 |
| 544 | + | f=Instance.new("BodyPosition")
|
| 545 | - | end; |
| 545 | + | f.P=2000 |
| 546 | f.D=100 | |
| 547 | - | TakeJuice = function(Amnt) |
| 547 | + | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 548 | - | if Energy - Amnt <= -1 then |
| 548 | + | f.position=c.Position+Vector3.new(0,3,0) |
| 549 | - | if dk == true then dk = false end |
| 549 | + | f.Parent=c |
| 550 | - | if DebounceState == true then DebounceState = false end |
| 550 | + | game:GetService("Debris"):AddItem(m,.5+du)
|
| 551 | - | if Flyin == true then Flyin = false end |
| 551 | + | c.CanCollide=false |
| 552 | - | if DBP == true then DBP = false end |
| 552 | + | m.Parent=workspace |
| 553 | - | return false end |
| 553 | + | c.CanCollide=false |
| 554 | - | if Energy - Amnt >= 0 then |
| 554 | + | |
| 555 | - | spawn(function() |
| 555 | + | |
| 556 | - | for i = 1,tonumber(Amnt) do |
| 556 | + | Player=game:GetService('Players').LocalPlayer
|
| 557 | - | Energy = Energy - 1 |
| 557 | + | Character=Player.Character |
| 558 | - | wait(i/(Amnt*10)) |
| 558 | + | Mouse=Player:GetMouse() |
| 559 | m=Instance.new('Model',Character)
| |
| 560 | it=Instance.new | |
| 561 | function nooutline(part) | |
| 562 | - | return true |
| 562 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 563 | - | end; |
| 563 | + | |
| 564 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 565 | - | Charge = function(Amnt) |
| 565 | + | local fp=it("Part")
|
| 566 | - | if Energy < mx then |
| 566 | + | fp.formFactor=formfactor |
| 567 | - | for i = 1,tonumber(Amnt) do |
| 567 | + | fp.Parent=parent |
| 568 | - | if Energy == mx then return end |
| 568 | + | fp.Reflectance=reflectance |
| 569 | - | Energy = Energy + 1 |
| 569 | + | fp.Transparency=transparency |
| 570 | - | wait(i/(Amnt*10)) |
| 570 | + | fp.CanCollide=false |
| 571 | fp.Locked=true | |
| 572 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 573 | - | end; |
| 573 | + | fp.Name=name |
| 574 | fp.Size=size | |
| 575 | - | --// Mesh Removing |
| 575 | + | fp.Position=Character.Torso.Position |
| 576 | - | ypcall(function() |
| 576 | + | nooutline(fp) |
| 577 | - | hed.Mesh:Destroy() |
| 577 | + | fp.Material=material |
| 578 | - | wait(.2) |
| 578 | + | fp:BreakJoints() |
| 579 | - | local HedMesh = Instance.new('BlockMesh',hed)
|
| 579 | + | return fp |
| 580 | - | HedMesh.Scale = Vector3.new(.560002,1.10002,1.10002) |
| 580 | + | |
| 581 | - | HedMesh.Name = 'Mesh' |
| 581 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 582 | local mesh=it(Mesh) | |
| 583 | - | for index,obj in next, Char:children() do |
| 583 | + | mesh.Parent=part |
| 584 | - | if obj:IsA'CharacterMesh' then |
| 584 | + | if Mesh=="SpecialMesh" then |
| 585 | - | obj:Destroy() |
| 585 | + | mesh.MeshType=meshtype |
| 586 | mesh.MeshId=meshid | |
| 587 | - | if obj:IsA'Hat' then |
| 587 | + | |
| 588 | - | obj:Destroy() |
| 588 | + | mesh.Offset=offset |
| 589 | mesh.Scale=scale | |
| 590 | return mesh | |
| 591 | - | --\\ Mesh Removing |
| 591 | + | |
| 592 | function weld(parent,part0,part1,c0,c1) | |
| 593 | - | function RayCast(pos1, pos2, maxDist, forward) |
| 593 | + | local weld=it("Weld")
|
| 594 | - | local list = getAllParts(workspace) |
| 594 | + | weld.Parent=parent |
| 595 | - | local pos0 = pos1 |
| 595 | + | weld.Part0=part0 |
| 596 | - | for dist = 1, maxDist, forward do |
| 596 | + | weld.Part1=part1 |
| 597 | - | lRS:wait() |
| 597 | + | weld.C0=c0 |
| 598 | - | pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p |
| 598 | + | weld.C1=c1 |
| 599 | - | for _, v in pairs(list) do |
| 599 | + | return weld |
| 600 | - | local pos3 = v.CFrame:pointToObjectSpace(pos0) |
| 600 | + | |
| 601 | - | local s = v.Size |
| 601 | + | |
| 602 | - | if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide == true then |
| 602 | + | Player=game:GetService('Players').LocalPlayer
|
| 603 | - | return pos0, v |
| 603 | + | Character=Player.Character |
| 604 | - | end |
| 604 | + | Mouse=Player:GetMouse() |
| 605 | m=Instance.new('Model',Character)
| |
| 606 | it=Instance.new | |
| 607 | - | return pos0, nil |
| 607 | + | function nooutline(part) |
| 608 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 609 | end | |
| 610 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 611 | - | HandleParts = function(Obj, Scale) |
| 611 | + | local fp=it("Part")
|
| 612 | - | Scale = Scale or 0 |
| 612 | + | fp.formFactor=formfactor |
| 613 | - | local P = Instance.new('Part',VortexGauntlet)
|
| 613 | + | fp.Parent=parent |
| 614 | - | P.Anchored = true |
| 614 | + | fp.Reflectance=reflectance |
| 615 | - | P.Transparency = .3 |
| 615 | + | fp.Transparency=transparency |
| 616 | - | P.FormFactor = 3 |
| 616 | + | fp.CanCollide=false |
| 617 | - | P.Size = Vector3.new(.4+Scale,.4+Scale,.4+Scale) |
| 617 | + | fp.Locked=true |
| 618 | - | P.CFrame = Obj.CFrame * CF(0,-.7,0) * Angles(math.random(),math.random(),math.random()) |
| 618 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 619 | - | P.Material = 'Neon' |
| 619 | + | fp.Name=name |
| 620 | - | P.CanCollide = false |
| 620 | + | fp.Size=size |
| 621 | - | P.BrickColor = BrickColor.new(SecondaryColor) |
| 621 | + | fp.Position=Character.Torso.Position |
| 622 | - | local PM = Instance.new('BlockMesh',P)
|
| 622 | + | nooutline(fp) |
| 623 | - | spawn(function() |
| 623 | + | fp.Material=material |
| 624 | - | for i = 1,20 do |
| 624 | + | fp:BreakJoints() |
| 625 | - | PM.Scale = PM.Scale + Vector3.new(.05,.05,.05) |
| 625 | + | return fp |
| 626 | - | P.Transparency = P.Transparency + .05 |
| 626 | + | |
| 627 | - | lRS:wait() |
| 627 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 628 | - | end |
| 628 | + | local mesh=it(Mesh) |
| 629 | - | P:Destroy() |
| 629 | + | mesh.Parent=part |
| 630 | - | end) |
| 630 | + | if Mesh=="SpecialMesh" then |
| 631 | mesh.MeshType=meshtype | |
| 632 | mesh.MeshId=meshid | |
| 633 | - | Trans = function(Numb) |
| 633 | + | |
| 634 | - | local R = function() |
| 634 | + | mesh.Offset=offset |
| 635 | - | ------------------------------------------------ |
| 635 | + | mesh.Scale=scale |
| 636 | - | spawn(function() |
| 636 | + | return mesh |
| 637 | - | for i = 1,20 do |
| 637 | + | |
| 638 | - | Part3.Transparency = Part3.Transparency + 1/Numb |
| 638 | + | function weld(parent,part0,part1,c0,c1) |
| 639 | - | lRS:wait() |
| 639 | + | local weld=it("Weld")
|
| 640 | weld.Parent=parent | |
| 641 | weld.Part0=part0 | |
| 642 | - | wait(.1) |
| 642 | + | weld.Part1=part1 |
| 643 | - | ---- |
| 643 | + | weld.C0=c0 |
| 644 | - | spawn(function() |
| 644 | + | weld.C1=c1 |
| 645 | - | for i = 1,20 do |
| 645 | + | return weld |
| 646 | - | Part2.Transparency = Part2.Transparency + 1/Numb |
| 646 | + | |
| 647 | - | lRS:wait() |
| 647 | + | |
| 648 | Player=game:GetService('Players').LocalPlayer
| |
| 649 | Character=Player.Character | |
| 650 | - | wait(.1) |
| 650 | + | Mouse=Player:GetMouse() |
| 651 | - | ---- |
| 651 | + | m=Instance.new('Model',Character)
|
| 652 | - | spawn(function() |
| 652 | + | it=Instance.new |
| 653 | - | for i = 1,20 do |
| 653 | + | function nooutline(part) |
| 654 | - | Part1.Transparency = Part1.Transparency + 1/Numb |
| 654 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 655 | - | lRS:wait() |
| 655 | + | |
| 656 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 657 | local fp=it("Part")
| |
| 658 | - | ------------------------------------------------ |
| 658 | + | fp.formFactor=formfactor |
| 659 | - | ------------------------------------------------ |
| 659 | + | fp.Parent=parent |
| 660 | - | spawn(function() |
| 660 | + | fp.Reflectance=reflectance |
| 661 | - | for i = 1,20 do |
| 661 | + | fp.Transparency=transparency |
| 662 | - | Part3.Transparency = Part3.Transparency - 1/Numb |
| 662 | + | fp.CanCollide=false |
| 663 | - | lRS:wait() |
| 663 | + | fp.Locked=true |
| 664 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 665 | fp.Name=name | |
| 666 | - | wait(.1) |
| 666 | + | fp.Size=size |
| 667 | - | ---- |
| 667 | + | fp.Position=Character.Torso.Position |
| 668 | - | spawn(function() |
| 668 | + | nooutline(fp) |
| 669 | - | for i = 1,20 do |
| 669 | + | fp.Material=material |
| 670 | - | Part2.Transparency = Part2.Transparency - 1/Numb |
| 670 | + | fp:BreakJoints() |
| 671 | - | lRS:wait() |
| 671 | + | return fp |
| 672 | end | |
| 673 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 674 | - | wait(.1) |
| 674 | + | local mesh=it(Mesh) |
| 675 | - | ---- |
| 675 | + | mesh.Parent=part |
| 676 | - | spawn(function() |
| 676 | + | if Mesh=="SpecialMesh" then |
| 677 | - | for i = 1,20 do |
| 677 | + | mesh.MeshType=meshtype |
| 678 | - | Part1.Transparency = Part1.Transparency - 1/Numb |
| 678 | + | mesh.MeshId=meshid |
| 679 | - | lRS:wait() |
| 679 | + | |
| 680 | mesh.Offset=offset | |
| 681 | mesh.Scale=scale | |
| 682 | - | ------------------------------------------------ |
| 682 | + | return mesh |
| 683 | end | |
| 684 | function weld(parent,part0,part1,c0,c1) | |
| 685 | - | local L = function() |
| 685 | + | local weld=it("Weld")
|
| 686 | - | ------------------------------------------------ |
| 686 | + | weld.Parent=parent |
| 687 | - | spawn(function() |
| 687 | + | weld.Part0=part0 |
| 688 | - | for i = 1,20 do |
| 688 | + | weld.Part1=part1 |
| 689 | - | Part3a.Transparency = Part3a.Transparency + 1/Numb |
| 689 | + | weld.C0=c0 |
| 690 | - | lRS:wait() |
| 690 | + | weld.C1=c1 |
| 691 | return weld | |
| 692 | end | |
| 693 | - | wait(.1) |
| 693 | + | |
| 694 | - | ---- |
| 694 | + | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Handle",Vector3.new(0.432347655, 1.46774554, 0.432347715)) |
| 695 | - | spawn(function() |
| 695 | + | HandleWeld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999994874, 0, 0, 0, 1),CFrame.new(-0.0238761902, -0.643738747, 0.951609612, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279)) |
| 696 | - | for i = 1,20 do |
| 696 | + | mesh("BlockMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.435486168, 0.907830358))
|
| 697 | - | Part2a.Transparency = Part2a.Transparency + 1/Numb |
| 697 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 698 | - | lRS:wait() |
| 698 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38579845, -0.147186279, 1.96928692, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 699 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 700 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) | |
| 701 | - | wait(.1) |
| 701 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38580227, -1.4786582, -0.0490608215, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 702 | - | ---- |
| 702 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 703 | - | spawn(function() |
| 703 | + | Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 1.07937324, 1.37374437)) |
| 704 | - | for i = 1,20 do |
| 704 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -0.791760921, 0.547310829, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 705 | - | Part1a.Transparency = Part1a.Transparency + 1/Numb |
| 705 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 706 | - | lRS:wait() |
| 706 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490608215, -1.96923208, 6.3858161, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 707 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
| |
| 708 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.668118)) | |
| 709 | - | ------------------------------------------------ |
| 709 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.665903091, 1.19417429, 7.27876043, -0.707097769, 3.49879265e-005, 0.707116127, 0.707115829, 3.41534615e-005, 0.707098126, 4.43859108e-007, 1.00000119, -5.03361225e-005)) |
| 710 | - | ------------------------------------------------ |
| 710 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 711 | - | spawn(function() |
| 711 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 712 | - | for i = 1,20 do |
| 712 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490589142, -0.483884811, 0.00761604309, -1, 4.46888748e-007, -1.03144195e-008, -2.45221941e-008, 4.87565994e-005, 1.00000048, 3.18062263e-007, 1.00000119, -5.02169132e-005)) |
| 713 | - | Part3a.Transparency = Part3a.Transparency - 1/Numb |
| 713 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 0.680872738))
|
| 714 | - | lRS:wait() |
| 714 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 1.7662425)) |
| 715 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 1.02356577, -1.61146116, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 716 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 1))
| |
| 717 | - | wait(.1) |
| 717 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 718 | - | ---- |
| 718 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.441556931, 1.57671928, 8.05396271, -1, 4.46891647e-007, 4.92917671e-008, 3.50839642e-008, 4.87565994e-005, 1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 719 | - | spawn(function() |
| 719 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 720 | - | for i = 1,20 do |
| 720 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 1.17749763, 0.432347715)) |
| 721 | - | Part2a.Transparency = Part2a.Transparency - 1/Numb |
| 721 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -0.742664337, 5.35547161, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 722 | - | lRS:wait() |
| 722 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 1, 0.907830358))
|
| 723 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) | |
| 724 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490608215, -1.96928167, 0.694499969, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 725 | - | wait(.1) |
| 725 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 726 | - | ---- |
| 726 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.45311451)) |
| 727 | - | spawn(function() |
| 727 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245313644, -1.96931839, -1.95488787, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 728 | - | for i = 1,20 do |
| 728 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 729 | - | Part1a.Transparency = Part1a.Transparency - 1/Numb |
| 729 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.668118)) |
| 730 | - | lRS:wait() |
| 730 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.539680481, 1.67485046, 7.26895666, -1, 4.46891647e-007, 4.92917671e-008, 3.50839642e-008, 4.87565994e-005, 1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 731 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
| |
| 732 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) | |
| 733 | - | ------------------------------------------------ |
| 733 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38580036, 0.0490589142, -1.87116051, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 734 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 735 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lily white","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) | |
| 736 | - | spawn(R) |
| 736 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490570068, 1.57762623, -1.18428707, -1, 5.03652586e-007, -9.78606565e-008, 3.74831302e-007, 1.00000119, -5.90085983e-005, 1.12062189e-007, -5.75780869e-005, -1.00000048)) |
| 737 | - | spawn(L) |
| 737 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 0.680872738))
|
| 738 | - | end; |
| 738 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 739 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -1.96923208, 6.3858161, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 740 | - | newRay = function(start,face,range,wat) |
| 740 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 741 | - | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) |
| 741 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 742 | - | local hit,pos=workspace:FindPartOnRayWithIgnoreList(rey,wat) |
| 742 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694484234, -0.147184372, 1.96928787, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 743 | - | return rey,hit,pos |
| 743 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 744 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) | |
| 745 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(1.03910494, -0.382684708, 7.51424408, -2.45105412e-008, 4.87565994e-005, 1.00000048, 1, -4.46888748e-007, 1.03027666e-008, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 746 | - | Pulse = function(Parent, Angle, Sc, Increase) |
| 746 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 1))
|
| 747 | - | local Rng = Instance.new('Part',Parent)
|
| 747 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 748 | - | Rng.FormFactor = 3 |
| 748 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38579798, -1.9692874, 0.2453022, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 749 | - | Rng.Size = Vector3.new(.2,.2,.2) |
| 749 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 750 | - | Rng.BrickColor = BrickColor.new(SecondaryColor) |
| 750 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 751 | - | Rng.Anchored = true |
| 751 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.34344101, -2.50901222, 1.22480965, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 752 | - | Rng.CFrame = Parent.CFrame*Angle |
| 752 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 0.680872798))
|
| 753 | - | local Msh = Instance.new('SpecialMesh',Rng)
|
| 753 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 754 | - | Msh.MeshId = 'rbxassetid://3270017' |
| 754 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490589142, -2.75432682, -1.02857161, -1, 5.93067284e-007, 5.20292858e-008, -3.78288192e-008, -4.87565994e-005, -1.00000048, -4.64237644e-007, -1.00000119, 5.02169132e-005)) |
| 755 | - | Msh.Scale = Sc |
| 755 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 756 | - | spawn(function() |
| 756 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 757 | - | for i = 1,Increase do |
| 757 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50904942, 0.245313644, -0.541429996, -9.46957712e-008, -4.87565994e-005, -1.00000048, -1, 4.46894546e-007, 1.08903606e-007, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 758 | - | Msh.Scale = Msh.Scale + Vector3.new(.1,.1,0) |
| 758 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.680874527, 0.226957589))
|
| 759 | - | Rng.Transparency = Rng.Transparency + 1/Increase |
| 759 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 760 | - | lRS:wait() |
| 760 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.343439102, -1.5767169, 6.38582945, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 761 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
| |
| 762 | - | Rng:Destroy() |
| 762 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 763 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 3.49106264, 1.18428373, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) | |
| 764 | - | end; |
| 764 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 765 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) | |
| 766 | - | FaceMouse = function() |
| 766 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147186279, -2.50899839, 1.27389431, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 767 | - | local Torso = torso |
| 767 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 1))
|
| 768 | - | local atan2, pi, dir, torso, torsoPos = math.atan2, math.pi |
| 768 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 769 | - | local torso = Char:FindFirstChild'Torso' |
| 769 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38580227, 1.47865772, 0.245313644, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 770 | - | if torso then |
| 770 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 771 | - | torsoPos = torso.CFrame.p |
| 771 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 772 | - | dir = (mouse.Hit.p - torsoPos).unit |
| 772 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.343439102, -1.77297306, 6.38581324, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 773 | - | torso.CFrame = CFrame.new(torsoPos) * CFrame.Angles(0, atan2(dir.X, dir.Z) + pi, 0) |
| 773 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 774 | - | end;end; |
| 774 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.177495)) |
| 775 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.2453022, -1.13522863, -1.61146402, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 776 | - | CheckIfLanded = function() |
| 776 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 1))
|
| 777 | - | local Ray = Ray.new(torso.Position,Vector3.new(0,-1,0)*10) |
| 777 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 778 | - | local Ignore = {}
|
| 778 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.1966908, -0.245315552, 0.889906406, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 779 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
|
| 779 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 780 | - | if v.Character ~= nil then |
| 780 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 781 | - | Ignore[#Ignore+1] = v.Character |
| 781 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.54163361, -1.13123608, 8.05396271, 0.707097888, -3.48687172e-005, -0.707116067, -0.70711571, -3.42428684e-005, -0.707098246, 3.17420216e-007, 1.00000119, -5.03361225e-005)) |
| 782 | - | end |
| 782 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 783 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 784 | - | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) |
| 784 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669485, -0.245315552, 0.595514774, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 785 | - | if Hit == nil then return false,nil end |
| 785 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 786 | - | return true,Hit |
| 786 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 787 | - | end; |
| 787 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.27386522, -2.65620232, 0.245300293, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 788 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 789 | - | CL = function() |
| 789 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 790 | - | local C = CheckIfLanded() |
| 790 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -2.26369762, -0.541428089, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 791 | - | if C == false then |
| 791 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.680874527, 0.226957589))
|
| 792 | - | DebounceState = false |
| 792 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 793 | - | dk = false |
| 793 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147186279, -1.87110519, 6.38581657, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 794 | - | DBP = false |
| 794 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 795 | - | Flyin = false |
| 795 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 796 | - | return end |
| 796 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.245300293, -1.87116098, 0.694499969, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 797 | - | end; |
| 797 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 798 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 799 | - | local acos = math.acos |
| 799 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669199, -0.637798309, 0.889904499, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 800 | - | local sqrt = math.sqrt |
| 800 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 801 | - | local Vec3 = Vector3.new |
| 801 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 802 | - | local fromAxisAngle = CFrame.fromAxisAngle |
| 802 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 4.27608109, 0.889903545, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 803 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
| |
| 804 | - | toAxisAngle = function(CFr) |
| 804 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 805 | - | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() |
| 805 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38580036, -0.245313644, 1.87116003, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 806 | - | local Angle = math.acos((R00+R11+R22-1)/2) |
| 806 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 807 | - | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 |
| 807 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 808 | - | A = A == 0 and 0.00001 or A |
| 808 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -1.96927261, 3.54016185, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 809 | - | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 |
| 809 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 810 | - | B = B == 0 and 0.00001 or B |
| 810 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 811 | - | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 |
| 811 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694486141, 0.2453022, 1.57677746, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 812 | - | C = C == 0 and 0.00001 or C |
| 812 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 813 | - | local x = (R21-R12)/sqrt(A) |
| 813 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 814 | - | local y = (R02-R20)/sqrt(B) |
| 814 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014063, 1.77303791, -0.245304108, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 815 | - | local z = (R10-R01)/sqrt(C) |
| 815 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 816 | - | return Vec3(x,y,z),Angle |
| 816 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Part",Vector3.new(0.432347655, 0.588748991, 0.432347715)) |
| 817 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 4.66859579, 0.301133633, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) | |
| 818 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 1, 0.680872858))
| |
| 819 | - | Crown = function() |
| 819 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 820 | - | local P = Instance.new('Part',VortexGauntlet)
|
| 820 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 4.27608013, 1.18427896, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 821 | - | P.FormFactor = 3 |
| 821 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 822 | - | P.Material = 'Neon' |
| 822 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 823 | - | P.CanCollide = false |
| 823 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -2.75432062, -0.541444778, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 824 | - | P.Anchored = true |
| 824 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.680874527, 0.226957589))
|
| 825 | - | P.Size = Vector3.new(2,2,2) |
| 825 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 826 | - | local M = Instance.new('SpecialMesh',P)
|
| 826 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38579655, -1.5767684, -0.147186279, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 827 | - | M.MeshId = 'rbxassetid://20329976' |
| 827 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 828 | - | return P,M |
| 828 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 829 | - | end; |
| 829 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147184372, -1.13523054, -0.875501633, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 830 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832325, 0.68087256))
| |
| 831 | - | LerpCFrame = function(CFrame1,CFrame2,Num) |
| 831 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) |
| 832 | - | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) |
| 832 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(1.23536968, -0.529888153, 7.51424789, -2.45105412e-008, 4.87565994e-005, 1.00000048, 1, -4.46888748e-007, 1.03027666e-008, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 833 | - | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num |
| 833 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958111, 1))
|
| 834 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) | |
| 835 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245313644, -1.77297831, 6.38581324, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 836 | - | ApplyTrig = function(Num,Func) |
| 836 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 837 | - | local Min,Max = Func(0),Func(1) |
| 837 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 838 | - | local i = Func(Num) |
| 838 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147186279, -1.47860289, 6.38581514, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 839 | - | return (i-Min)/(Max-Min) |
| 839 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 840 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.588747501)) | |
| 841 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 0.287633419, 0.154826164, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 842 | - | getm = function(obj) |
| 842 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 1))
|
| 843 | - | if obj:IsA'Part' then |
| 843 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lily white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 844 | - | return obj:GetMass() |
| 844 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 4.47232723, 1.1842947, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 845 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
| |
| 846 | - | print(obj.ClassName..', YOU SHALL NOT MASS!!! ') --// Pun |
| 846 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 847 | - | return 0 |
| 847 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38579798, 0.147184372, -1.77303362, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 848 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 849 | - | end; |
| 849 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 850 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490627289, -1.1352334, 2.34741116, -1, 3.87281432e-007, -5.43378356e-008, 6.85484807e-008, -4.91440296e-005, -1.00000048, -2.58457248e-007, -1.00000119, 5.06043434e-005)) | |
| 851 | - | isnormal = function(plr) |
| 851 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 0.680872738))
|
| 852 | - | if plr:FindFirstChild'Torso' then |
| 852 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 853 | - | if getm(plr.Torso) > 4 then |
| 853 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490570068, 2.16637135, -0.59552145, -1, 5.03652586e-007, -9.78606565e-008, 3.74831302e-007, 1.00000119, -5.90085983e-005, 1.12062189e-007, -5.75780869e-005, -1.00000048)) |
| 854 | - | return false |
| 854 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 0.680872738))
|
| 855 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 856 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50901365, 0.441551208, -1.02857399, -2.58317846e-006, -4.78029251e-005, -1.00000048, 1, -5.96029224e-007, -2.59738044e-006, -4.67077939e-007, -1.00000119, 4.92632389e-005)) | |
| 857 | - | return true |
| 857 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 858 | - | end; |
| 858 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 859 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.343439102, -1.6748538, 6.38581324, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 860 | - | Crater = function(Torso,Radius) |
| 860 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 861 | - | spawn(function() |
| 861 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 862 | - | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) |
| 862 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669056, -0.441566467, 0.889873505, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 863 | - | local Ignore = {}
|
| 863 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.680874228, 0.226957604))
|
| 864 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
|
| 864 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 865 | - | if v.Character ~= nil then |
| 865 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.2453022, -1.87109709, 6.38581371, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 866 | - | Ignore[#Ignore+1] = v.Character |
| 866 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 867 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 1.37374437)) | |
| 868 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -0.889888287, 2.70605993, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 869 | - | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) |
| 869 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 1))
|
| 870 | - | if Hit == nil then return end |
| 870 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 1.7662425)) |
| 871 | - | local Parts = {}
|
| 871 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -0.742720604, -1.61145926, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 872 | - | for i = 1,360,40 do |
| 872 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 1))
|
| 873 | - | local P = Instance.new("Part",VortexGauntlet)
|
| 873 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 874 | - | P.Anchored = true |
| 874 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38580227, 0.147171021, 1.47865772, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 875 | - | P.FormFactor = "Custom" |
| 875 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 876 | - | P.BrickColor = Hit.BrickColor |
| 876 | + | Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 1.07937324, 1.37374437)) |
| 877 | - | P.Material = Hit.Material |
| 877 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -0.791760921, 0.547310829, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 878 | - | P.TopSurface = "Smooth" |
| 878 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 1.0793705)) |
| 879 | - | P.BottomSurface = "Smooth" |
| 879 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -0.59549427, 2.85327172, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 880 | - | P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100) |
| 880 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 1))
|
| 881 | - | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) |
| 881 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 882 | - | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
|
| 882 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.541453838, -0.343442917, 2.75432682, 3.11322225e-007, 1.00000119, -5.87999821e-005, -1, 4.40155929e-007, 1.19739425e-007, 1.05533914e-007, 5.73694706e-005, 1.00000048)) |
| 883 | - | if math.random(0,5) == 0 then -- rubble |
| 883 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
|
| 884 | - | local P = Instance.new("Part",Torso.Parent)
|
| 884 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.588747501)) |
| 885 | - | P.Anchored = true |
| 885 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -0.203001022, 0.154825211, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 886 | - | P.FormFactor = "Custom" |
| 886 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 1))
|
| 887 | - | P.BrickColor = Hit.BrickColor |
| 887 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 888 | - | P.Material = Hit.Material |
| 888 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.54164124, -1.32749319, 8.05396652, 0.707097888, -3.48687172e-005, -0.707116067, -0.70711571, -3.42428684e-005, -0.707098246, 3.17420216e-007, 1.00000119, -5.03361225e-005)) |
| 889 | - | P.TopSurface = "Smooth" |
| 889 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 890 | - | P.BottomSurface = "Smooth" |
| 890 | + | Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.588748991, 0.686872184)) |
| 891 | - | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) |
| 891 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 1.62586546, 2.838027, 1, 6.56904035e-007, -8.54040309e-007, 8.39773065e-007, 5.33163548e-005, 1.00000048, 7.85775228e-007, -1.00000119, 5.47766685e-005)) |
| 892 | - | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) |
| 892 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 893 | - | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
|
| 893 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 894 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38581562, 0.2453022, 1.57677174, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) | |
| 895 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 896 | - | for i = 0,1,0.05 do |
| 896 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.588748991, 1.7662425)) |
| 897 | - | for i2,v in pairs(Parts) do |
| 897 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.343442917, -1.62586355, -1.61146402, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 898 | - | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) |
| 898 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 1, 1))
|
| 899 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) | |
| 900 | - | wait(0.02) |
| 900 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490627289, 2.29831171, -0.68013978, -1, 7.83419068e-007, 3.55170016e-007, -6.54571295e-007, -1.00000119, 5.92768192e-005, 3.40984968e-007, 5.78463078e-005, 1.00000048)) |
| 901 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 0.680872738))
| |
| 902 | - | for i,v in pairs(Parts) do |
| 902 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 2.84561276)) |
| 903 | - | if v[1].Size.X > 2.1 then |
| 903 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -1.38047361, 6.38581276, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 904 | - | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) |
| 904 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 1))
|
| 905 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 906 | - | v[1].Anchored = false |
| 906 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.813092232, -1.03410339, 8.01469326, 0.707098067, 3.42428684e-005, 0.707115889, 0.707115531, -3.48985195e-005, -0.707098365, 3.29195359e-007, 1.00000119, -5.03361225e-005)) |
| 907 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
| |
| 908 | - | for i = 0,1,0.05 do |
| 908 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 909 | - | for i2,v in pairs(Parts) do |
| 909 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 5.0610857, 0.889895916, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 910 | - | v[1].Transparency = i |
| 910 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 911 | - | if i == 1 then |
| 911 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 912 | - | v[1]:Destroy() |
| 912 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694484711, -0.245313644, 1.87116098, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 913 | - | elseif i >= 0.25 then |
| 913 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 914 | - | v[1].CanCollide = false |
| 914 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 915 | - | end |
| 915 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -2.950562, 1.42107105, 1, -5.93067057e-007, -4.65370036e-008, -3.23365512e-008, -4.87565994e-005, -1.00000048, 4.64237701e-007, 1.00000119, -5.02169132e-005)) |
| 916 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
| |
| 917 | - | wait(0.02) |
| 917 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 918 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 4.66860676, 1.18429279, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) | |
| 919 | - | Parts = nil |
| 919 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 920 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.668118)) | |
| 921 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.714970589, -1.1322422, 7.22968769, 0.707098067, 3.42428684e-005, 0.707115889, 0.707115531, -3.48985195e-005, -0.707098365, 3.29195359e-007, 1.00000119, -5.03361225e-005)) | |
| 922 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
| |
| 923 | - | LazorBeam = function() |
| 923 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 924 | - | DebounceState = true |
| 924 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.34344101, -1.67490387, 0.694500923, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 925 | - | DBP = true |
| 925 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 926 | - | dk = true |
| 926 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) |
| 927 | - | Trans(4) |
| 927 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(1.23536968, -0.235519409, 7.51424789, -2.45105412e-008, 4.87565994e-005, 1.00000048, 1, -4.46888748e-007, 1.03027666e-008, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 928 | - | local Bool = TakeJuice(25) |
| 928 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958111, 1))
|
| 929 | - | if Bool == false then return end |
| 929 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 930 | - | local S = NewSound(hed,164102008,1.5,1) |
| 930 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669461, -0.490633011, 0.59551239, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 931 | - | S:Play() |
| 931 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.907832325, 0.226957604))
|
| 932 | - | for i = 1,30 do |
| 932 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 933 | - | FaceMouse() |
| 933 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.294372559, -0.449383259, -0.692103148, -1, 6.05387072e-007, -3.68178448e-008, 3.73051137e-007, 0.707064152, -0.707151592, -3.00909818e-007, -0.707151115, -0.707062602)) |
| 934 | - | Char.Humanoid.WalkSpeed = 5 |
| 934 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
|
| 935 | - | llw.C0 = clerp(llw.C0, CF(0,0,0),.15) |
| 935 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 936 | - | rlw.C0 = clerp(rlw.C0, CF(0,0,0),.15) |
| 936 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.343437195, -2.50902224, 1.22481298, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 937 | - | law.C0 = clerp(law.C0, CF(.5,.5,.2)*Angles(rad(90),0,rad(45+25)),.15) |
| 937 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 0.680872798))
|
| 938 | - | raw.C0 = clerp(raw.C0, CF(0,.5,-1.5)*Angles(rad(89),rad(5),rad(25)),.15) |
| 938 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.461185604, 0.432347715, 0.784996629)) |
| 939 | - | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-25),0),.15) |
| 939 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0343418121, -0.104858875, 2.90233016, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 940 | - | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(25),0),.15) |
| 940 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 1))
|
| 941 | - | lRS:wait() |
| 941 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) |
| 942 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(1.43161774, -0.382684708, 7.51424408, -2.45105412e-008, 4.87565994e-005, 1.00000048, 1, -4.46888748e-007, 1.03027666e-008, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 943 | - | Trans(6) |
| 943 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 1))
|
| 944 | - | wait(.05) |
| 944 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.668118)) |
| 945 | - | for i = 1,30 do |
| 945 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.44156456, -1.67484713, 7.56333065, 1, -4.46884371e-007, 9.97237137e-008, 1.13931456e-007, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 946 | - | FaceMouse() |
| 946 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 947 | - | HandleParts(Main,i/75) |
| 947 | + | Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.588748991, 1.7662425)) |
| 948 | - | local ang = rad(math.random(-360,360)) |
| 948 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -1.62586355, -1.61146402, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 949 | - | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) |
| 949 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.588748813, 0.432347715)) |
| 950 | - | lRS:wait() |
| 950 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 0.0423226357, 0.498250484, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 951 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.226957589))
| |
| 952 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 953 | - | local Beam = Cylinder:Clone() |
| 953 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490837097, -0.537950993, -2.26368427, 1, -5.83602514e-007, 2.18954085e-007, -4.54788051e-007, -1.00000119, 5.90085983e-005, 2.33150899e-007, -5.75780869e-005, -1.00000048)) |
| 954 | - | Beam.mot:Destroy() |
| 954 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 955 | - | Beam.Parent = VortexGauntlet |
| 955 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 956 | - | Beam.Mesh.Scale = Vector3.new(1,1,1) |
| 956 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669747, -0.834083557, 0.301120758, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 957 | - | Beam.Anchored = true |
| 957 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 958 | - | --local pos,hit = RayCast(Main.Position,(Main.Position-Vector3.new(0,0,10)),100,1) |
| 958 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 959 | - | local Count = 0 |
| 959 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694484711, 1.87116098, -0.147171021, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 960 | - | --Pulse() |
| 960 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 961 | - | --wait(.5) |
| 961 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 962 | - | --spawn(function()Pulse(Main,Angles(rad(45),0,rad(45)),Vector3.new(2.5,2.5,1),25)end) |
| 962 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50900507, -1.42107391, -0.441551208, -1.837117e-006, -4.78029251e-005, -1.00000048, -7.05506295e-007, -1.00000119, 4.92632389e-005, -1, 8.34422053e-007, 1.85130671e-006)) |
| 963 | - | --spawn(function()Pulse(Main,Angles(-rad(45),0,rad(-45)),Vector3.new(2.5,2.5,1),25)end) |
| 963 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 964 | - | local S = NewSound(Beam,228343271,.95,1) |
| 964 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 965 | - | S:Play() |
| 965 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.441556931, -2.50901222, 1.22480965, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 966 | - | local S = NewSound(Beam,231917744,.95,1) |
| 966 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 0.680872738))
|
| 967 | - | S:Play() |
| 967 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 968 | - | local S = NewSound(hed,154454228,1,1) |
| 968 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694489002, -0.343442917, -1.47865105, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 969 | - | --S:Play() |
| 969 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 970 | - | local Tbl = {Main, Char, Beam}
|
| 970 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 971 | - | local Angl = 0 |
| 971 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.69448328, -1.96928787, 0.245300293, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 972 | - | for i = 1,60 do |
| 972 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 973 | - | Angl = Angl+rad(30) |
| 973 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 974 | - | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) |
| 974 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490608215, 0.631049156, -2.64176512, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 975 | - | Trans(2) |
| 975 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 0.680872738))
|
| 976 | - | local ang = rad(math.random(-360,360)) |
| 976 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 1.75643003)) |
| 977 | - | spawn(function()Pulse(Main,CF(0,0,0)*Angles(ang,ang,ang),Vector3.new(1.2+(i/35),1.2+(i/35),1),20)end) |
| 977 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -1.89372039, 0.867925167, 1, -3.81058499e-007, -8.9002981e-008, -2.31236939e-007, -0.707139194, -0.707074523, 1.25466727e-007, 0.707076073, -0.70713979)) |
| 978 | - | FaceMouse() |
| 978 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 1))
|
| 979 | - | Count = Count + i |
| 979 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 1.6681174)) |
| 980 | - | FaceMouse() |
| 980 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -1.18425035, 2.55887699, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 981 | - | Count = Count + i |
| 981 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 1))
|
| 982 | - | local StartPos = (Main.CFrame*CF(0,0,0)) |
| 982 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 983 | - | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count/2) |
| 983 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.294376373, 0.0806875229, 1.10842729, -1, 5.11558653e-007, 5.70222696e-008, -2.40349664e-007, -0.707064152, 0.707151532, 3.00909903e-007, 0.707151055, 0.707062721)) |
| 984 | - | local P = Instance.new('Part')
|
| 984 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
|
| 985 | - | table.insert(Tbl,P) |
| 985 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 986 | - | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) |
| 986 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(2.50900507, -1.42107153, 0.539680481, -1.11077917e-007, 4.87565994e-005, 1.00000048, -3.50192465e-007, -1.00000119, 5.02169132e-005, 1, -4.79014773e-007, 9.68718012e-008)) |
| 987 | - | local ph |
| 987 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 988 | - | local mag |
| 988 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.96249199)) |
| 989 | - | if Hit then |
| 989 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.539680481, -2.50901651, 0.390750885, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 990 | - | if Hit and Hit.Parent:FindFirstChild'Humanoid' then |
| 990 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 1))
|
| 991 | - | local h = dmg(Hit,9,3) |
| 991 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 992 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490837097, -2.16555643, 0.537970543, 1, -5.93067057e-007, -4.65370036e-008, -3.23365512e-008, -4.87565994e-005, -1.00000048, 4.64237701e-007, 1.00000119, -5.02169132e-005)) | |
| 993 | - | if Hit and Hit.Anchored == false and not Hit.Parent:FindFirstChild'Humanoid' then |
| 993 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 994 | - | local bv = Instance.new('BodyVelocity',Hit)
|
| 994 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 995 | - | local hih = 50000 |
| 995 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694487572, -1.57677746, -0.147186279, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 996 | - | bv.maxForce = Vector3.new(hih,hih,hih) |
| 996 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 997 | - | bv.velocity = torso.CFrame.lookVector * 20 + Vector3.new(0,-2,0) |
| 997 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 998 | - | spawn(function() |
| 998 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245313644, -1.6748538, 6.38581324, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 999 | - | wait(.1) |
| 999 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1000 | - | bv:Destroy() |
| 1000 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lily white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1001 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 4.86483383, 1.18428659, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) | |
| 1002 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
| |
| 1003 | - | if Hit.CanCollide == false then |
| 1003 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1004 | - | table.insert(Tbl,Hit) |
| 1004 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.5401485, -1.47866344, -0.0490589142, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 1005 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 1006 | - | --Count = (StartPos.p-Hit.CFrame.p).magnitude |
| 1006 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 1007 | - | P.Parent = VortexGauntlet |
| 1007 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490608215, -0.350220203, -2.64176798, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1008 | - | P.FormFactor = 3 |
| 1008 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 0.680872738))
|
| 1009 | - | P.TopSurface,P.BottomSurface = 10,10 |
| 1009 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1010 | - | P.Size = Vector3.new(2,2,2) |
| 1010 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(8.05392838, 1.53261375, 0.191354752, 3.18018664e-007, 1.00000119, -5.87999821e-005, 9.46984926e-008, 5.73694706e-005, 1.00000048, 1, -4.46851743e-007, -1.08903585e-007)) |
| 1011 | - | P.Anchored = true |
| 1011 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
|
| 1012 | - | P.Position = Pos |
| 1012 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 1013 | - | P.BrickColor = BrickColor.new(SecondaryColor) |
| 1013 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-7.51423454, 0.235517502, -1.03916979, -2.58459181e-007, -1.00000119, 5.87999821e-005, -1, 3.87285354e-007, -1.03109041e-008, 2.45194229e-008, -5.73694706e-005, -1.00000048)) |
| 1014 | - | P.Transparency = .2 |
| 1014 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1015 | - | P.CanCollide = false |
| 1015 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1016 | - | P.Material = Enum.Material.Neon |
| 1016 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694484711, 0.0490589142, -1.87116098, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 1017 | - | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) |
| 1017 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1018 | - | spawn(function() |
| 1018 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1019 | - | local C = 40 |
| 1019 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147184372, -1.47863054, 3.54016161, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1020 | - | for i = 1,C do |
| 1020 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1021 | - | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) |
| 1021 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1022 | - | P.Transparency = P.Transparency + 1/C |
| 1022 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.294372559, 0.0568704605, 1.08461213, -1, 5.11558653e-007, 5.70222696e-008, -2.40349664e-007, -0.707064152, 0.707151532, 3.00909903e-007, 0.707151055, 0.707062721)) |
| 1023 | - | lRS:wait() |
| 1023 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
|
| 1024 | - | end; |
| 1024 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1025 | - | P:Destroy() |
| 1025 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(2.50900507, -1.42107153, 0.539680481, -1.11077917e-007, 4.87565994e-005, 1.00000048, -3.50192465e-007, -1.00000119, 5.02169132e-005, 1, -4.79014773e-007, 9.68718012e-008)) |
| 1026 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
| |
| 1027 | - | mag = (Main.CFrame.p-Pos).magnitude |
| 1027 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1028 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147186279, -1.87115479, 0.694500923, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 1029 | - | mag = (Main.CFrame.p-Pos).magnitude |
| 1029 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1030 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 1031 | - | local Down = 0--.125 |
| 1031 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -2.85244274, 1.22480917, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1032 | - | Beam.Size = Vector3.new(mag,2.5,2.5) --//Beam.Size.Y-Down,Beam.Size.Z-Down) |
| 1032 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.680872798))
|
| 1033 | - | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) |
| 1033 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1034 | - | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) |
| 1034 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490837097, 0.145457268, -2.26368189, -1, 7.58299052e-007, 1.08852319e-007, 6.2946566e-007, 1.00000119, -5.87999821e-005, -9.46655376e-008, -5.73694706e-005, -1.00000048)) |
| 1035 | - | --// print(hit.Name) |
| 1035 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1036 | - | torso.Anchored = false |
| 1036 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1037 | - | lRS:wait() |
| 1037 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014874, 0.147174835, 1.47866106, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 1038 | - | --BTouch:disconnect() |
| 1038 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1039 | - | end--]] |
| 1039 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1040 | - | torso.Anchored = false |
| 1040 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.245300293, -1.47865295, 0.6945014, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1041 | - | spawn(function() |
| 1041 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1042 | - | local C = 40 |
| 1042 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 2.84561276)) |
| 1043 | - | for i = 1,C do |
| 1043 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -1.38050604, 3.54015994, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1044 | - | pcall(function() |
| 1044 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 1))
|
| 1045 | - | Beam.Mesh.Scale = Beam.Mesh.Scale - Vector3.new(0,.085/2,.085/2) |
| 1045 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 1046 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-7.51423168, -0.529888153, 1.43168259, -3.20809306e-007, -1.00000119, 5.87999821e-005, 1, -4.49635564e-007, 1.03145474e-008, -2.45194229e-008, 5.73694706e-005, 1.00000048)) | |
| 1047 | - | pcall(function() |
| 1047 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1048 | - | Beam.Transparency = Beam.Transparency + 1/C |
| 1048 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1049 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50902605, -1.42107821, 0.44156456, 1.11077917e-007, -4.87565994e-005, -1.00000048, -2.85932202e-007, -1.00000119, 5.02169132e-005, -1, 4.14754425e-007, -9.68685754e-008)) | |
| 1050 | - | lRS:wait() |
| 1050 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 1051 | - | end;Beam:Destroy() |
| 1051 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1052 | - | DBP = false |
| 1052 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694488049, 1.47865915, 0.245315552, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 1053 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 1054 | - | wait(.1) |
| 1054 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1055 | - | dk = false |
| 1055 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(2.50901127, -1.42107344, -0.343437195, -1.1107786e-007, 4.87565994e-005, 1.00000048, -3.50192494e-007, -1.00000119, 5.02169132e-005, 1, -4.7901483e-007, 9.68717444e-008)) |
| 1056 | - | DebounceState = false |
| 1056 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 1057 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.784996629)) | |
| 1058 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.54166603, -1.2293663, 6.72925854, 0.707097888, -3.48687172e-005, -0.707116067, -0.70711571, -3.42428684e-005, -0.707098246, 3.17420216e-007, 1.00000119, -5.03361225e-005)) | |
| 1059 | - | BeamThrust = function() |
| 1059 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1060 | - | DBP = true |
| 1060 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1061 | - | DebounceState = true |
| 1061 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38579988, -1.87116051, 0.343439102, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 1062 | - | dk = true |
| 1062 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1063 | - | Flyin = true |
| 1063 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1064 | - | Keyz.R = true |
| 1064 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -2.75431156, 1.42107296, 1, -5.93067057e-007, -4.65370036e-008, -3.23365512e-008, -4.87565994e-005, -1.00000048, 4.64237701e-007, 1.00000119, -5.02169132e-005)) |
| 1065 | - | local C,Below = CheckIfLanded() |
| 1065 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1066 | - | if C == false then |
| 1066 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1067 | - | DebounceState = false |
| 1067 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490818024, -2.16555786, 0.341711044, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1068 | - | dk = false |
| 1068 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.680872798))
|
| 1069 | - | DBP = false |
| 1069 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1070 | - | Flyin = false |
| 1070 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694487095, 0.147184372, -1.77303648, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 1071 | - | return end |
| 1071 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1072 | - | for i = 1,9 do |
| 1072 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1073 | - | --FaceMouse() |
| 1073 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245315552, -1.67488289, 3.54015994, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1074 | - | HandleParts(Main, i/75) |
| 1074 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1075 | - | HandleParts(Main2,i/75) |
| 1075 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1076 | - | Char.Humanoid.WalkSpeed = 7 |
| 1076 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(2.5089941, -1.42107391, 0.34344101, -1.11077917e-007, 4.87565994e-005, 1.00000048, -3.50192465e-007, -1.00000119, 5.02169132e-005, 1, -4.79014773e-007, 9.68718012e-008)) |
| 1077 | - | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/3)),0)*Angles(rad(0),rad(0),0),.3) |
| 1077 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 1078 | - | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-75)+-rad(cos(sine/10)),rad(75)+rad(cos(sine/20)),rad(90)+rad(cos(sine/20))),.3) |
| 1078 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1079 | - | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75)+rad(cos(sine/10)),rad(-75)+-rad(cos(sine/20)),rad(-90)+-rad(cos(sine/20))),.3) |
| 1079 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147184372, -1.87113667, 3.54016066, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1080 | - | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(0),0),.3) |
| 1080 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1081 | - | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(0),0),.3) |
| 1081 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1082 | - | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(0),0),.3) |
| 1082 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014897, 1.47866106, 0.245315552, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 1083 | - | lRS:wait() |
| 1083 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1084 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) | |
| 1085 | - | wait(.05) |
| 1085 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014444, 0.0490570068, -1.87116718, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 1086 | - | --for i = 1,30 do |
| 1086 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1087 | - | HandleParts(Main,1.5) |
| 1087 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Bright red","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1088 | - | HandleParts(Main2,1.5) |
| 1088 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(8.05392933, -0.191354752, 1.82700491, 3.11322225e-007, 1.00000119, -5.87999821e-005, -1, 4.40155929e-007, 1.19739425e-007, 1.05533914e-007, 5.73694706e-005, 1.00000048)) |
| 1089 | - | local ang = rad(math.random(-360,360)) |
| 1089 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
|
| 1090 | - | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) |
| 1090 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) |
| 1091 | - | lRS:wait() |
| 1091 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -2.36180878, 1.2738905, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1092 | - | --end |
| 1092 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958111, 1))
|
| 1093 | - | local S = NewSound(Main,231917744,.95,1) |
| 1093 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1094 | - | S:Play() |
| 1094 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.34344101, -1.77302837, 0.6945014, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1095 | - | local S = NewSound(Main2,231917744,.95,1) |
| 1095 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1096 | - | S:Play() |
| 1096 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 1097 | - | local S = NewSound(Main,231917744,.95,1) |
| 1097 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-7.51423073, -1.43168259, -0.235519409, -3.1798163e-007, -1.00000119, 5.87999821e-005, 1.13912478e-007, -5.73694706e-005, -1.00000048, 1, -4.46802744e-007, 9.97075205e-008)) |
| 1098 | - | --:Play() |
| 1098 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1099 | - | local S = NewSound(Main2,231917744,.95,1) |
| 1099 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1100 | - | --S:Play() |
| 1100 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.2453022, -1.13521957, -0.875504017, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1101 | - | local S = NewSound(Main,231917744,.95,1) |
| 1101 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832325, 0.68087256))
|
| 1102 | - | --S:Play() |
| 1102 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1103 | - | local S = NewSound(Main2,231917744,.95,1) |
| 1103 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.34344101, -1.77300739, 3.54015589, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1104 | - | --S:Play() |
| 1104 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1105 | - | local Loop = NewSound(torso,194908109,1,1) |
| 1105 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1106 | - | Loop.Looped = true |
| 1106 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245315552, -1.57675743, 3.54016066, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1107 | - | Loop:Play() |
| 1107 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1108 | - | Trans(2) |
| 1108 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 1109 | - | local H = 0 |
| 1109 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.27386999, -0.2453022, -2.36181974, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 1110 | - | local Beam = Cylinder:Clone() |
| 1110 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1111 | - | Beam.mot:Destroy() |
| 1111 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1112 | - | Beam.Name = 'BEAMM' |
| 1112 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.294372559, 0.692106962, -0.0568642616, -1, 6.05404409e-007, 3.10511211e-007, 5.46503543e-007, 0.707139015, 0.707074642, 1.27459003e-007, 0.707076252, -0.707139552)) |
| 1113 | - | Beam.Parent = VortexGauntlet |
| 1113 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
|
| 1114 | - | Beam.Mesh.Scale = Vector3.new(1,1,1) |
| 1114 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.668118)) |
| 1115 | - | Beam.Anchored = true |
| 1115 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.6397686, -1.22936916, 7.26893377, 0.707097888, -3.48687172e-005, -0.707116067, -0.70711571, -3.42428684e-005, -0.707098246, 3.17420216e-007, 1.00000119, -5.03361225e-005)) |
| 1116 | - | local Beam2 = Beam:Clone() |
| 1116 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1117 | - | Beam2.Parent = VortexGauntlet2 |
| 1117 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.177495)) |
| 1118 | - | local Count = 0 |
| 1118 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147184372, -1.13524342, -1.6114583, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1119 | - | local bv = Instance.new('BodyVelocity',torso)
|
| 1119 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 1))
|
| 1120 | - | bv.Name = 'localbv' |
| 1120 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1121 | - | bv.maxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 1121 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.147174835, -1.96926403, 3.54016185, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1122 | - | local Tbl = {Main, Char, Beam, Beam2}
|
| 1122 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1123 | - | local Angl = 0 |
| 1123 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1124 | - | repeat |
| 1124 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.34344101, -1.67488289, 3.54015899, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1125 | - | local Bool2 = TakeJuice(25) |
| 1125 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1126 | - | if Bool2 == false then break end |
| 1126 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Part",Vector3.new(0.432347655, 0.588748991, 0.432347715)) |
| 1127 | - | for i = 1,45/2 do |
| 1127 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 3.88357353, 0.301130295, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1128 | - | --spawn(function()Pulse(Main,Angles(ang,ang,ang),Vector3.new(1.2+(i/50),1.2+(i/50),1),20)end) |
| 1128 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 1, 0.680872858))
|
| 1129 | - | torr.C0 = clerp(torr.C0, CF(0,rad(cos(sine/3)),0)*Angles(rad(-15),rad(0),0),.3) |
| 1129 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1130 | - | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-75)+-rad(cos(sine/10)),rad(75)+rad(cos(sine/20)),rad(90)+rad(cos(sine/20))),.3) |
| 1130 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 5.06108475, 1.18427896, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1131 | - | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75)+rad(cos(sine/10)),rad(-75)+-rad(cos(sine/20)),rad(-90)+-rad(cos(sine/20))),.3) |
| 1131 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1132 | - | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(0),0),.3) |
| 1132 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Really red","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1133 | - | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(0),0),.3) |
| 1133 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50901461, -0.0490589142, -0.541426659, -9.46957712e-008, -4.87565994e-005, -1.00000048, -1, 4.46894546e-007, 1.08903606e-007, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1134 | - | hw.C0 = clerp(hw.C0, Angles(rad(-2)+rad(cos(sine/10)),rad(0),0),.3) |
| 1134 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.680874527, 0.226957589))
|
| 1135 | - | Angl = Angl+rad(30) |
| 1135 | + | Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 2.55124497, 0.588747501)) |
| 1136 | - | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Angl,0),.35) |
| 1136 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -0.0558166504, -0.433925629, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1137 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Angl,0),.35) |
| 1137 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1138 | - | FaceMouse() |
| 1138 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50901222, -1.42107344, 0.245321274, -1.837117e-006, -4.78029251e-005, -1.00000048, -7.05506295e-007, -1.00000119, 4.92632389e-005, -1, 8.34422053e-007, 1.85130671e-006)) |
| 1139 | - | H = H+.4 |
| 1139 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 1140 | - | bv.velocity = Vector3.new(0,H*1.5,0) + torso.CFrame.lookVector*H*2 |
| 1140 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1141 | - | --wait() |
| 1141 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.2943573, 0.715921402, -0.080678463, -1, 6.05404409e-007, 3.10511211e-007, 5.46503543e-007, 0.707139015, 0.707074642, 1.27459003e-007, 0.707076252, -0.707139552)) |
| 1142 | - | --Trans(4) |
| 1142 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
|
| 1143 | - | local S = NewSound(hed,145099824,1,1) |
| 1143 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1144 | - | --S:Play() |
| 1144 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.541457176, -0.245313644, 2.75432682, -3.11322196e-007, -1.00000119, 5.90085983e-005, 1, -4.40154651e-007, -9.80572565e-008, 8.38518233e-008, 5.75780869e-005, 1.00000048)) |
| 1145 | - | --Trans(6) |
| 1145 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
|
| 1146 | - | --FaceMouse() |
| 1146 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1147 | - | Count = Count + 25 |
| 1147 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014421, -0.245315552, 1.87116718, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 1148 | - | local StartPos = (Main.CFrame*CF(0,0,0)) |
| 1148 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1149 | - | local ray = Ray.new(StartPos.p,(StartPos.p-(StartPos*CF(0,1,0)).p).unit*Count) |
| 1149 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1150 | - | local P = Instance.new('Part')
|
| 1150 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50901508, 1.02857304, -0.343446732, -3.44488672e-006, -4.81307507e-005, -1.00000048, 3.7769712e-007, 1.00000119, -4.95910645e-005, 1, -5.06690526e-007, -3.45909302e-006)) |
| 1151 | - | table.insert(Tbl,P) |
| 1151 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 1152 | - | local Hit,Pos = workspace:FindPartOnRayWithIgnoreList(ray, Tbl) |
| 1152 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1153 | - | local ph |
| 1153 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014349, -1.96930313, 0.245304108, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 1154 | - | local mag |
| 1154 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1155 | - | local StartPos2 = (Main2.CFrame*CF(0,0,0)) |
| 1155 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1156 | - | local ray2 = Ray.new(StartPos2.p,(StartPos2.p-(StartPos2*CF(0,1,0)).p).unit*Count) |
| 1156 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -2.75431681, 1.22483969, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1157 | - | local P2 = Instance.new('Part')
|
| 1157 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.680872798))
|
| 1158 | - | local Hit2,Pos2 = workspace:FindPartOnRayWithIgnoreList(ray2, {Main2, P2, Char, Beam2})
|
| 1158 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.37374437)) |
| 1159 | - | local mag2 |
| 1159 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -2.06742668, 0.0963764191, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1160 | - | if Hit then |
| 1160 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 1))
|
| 1161 | - | if Hit.CanCollide == false then Tbl[Hit] = Hit end |
| 1161 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1162 | - | P.Parent = VortexGauntlet |
| 1162 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694487572, -1.47865915, -0.0490608215, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 1163 | - | P.FormFactor = 3 |
| 1163 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1164 | - | P.TopSurface,P.BottomSurface = 10,10 |
| 1164 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.432347655, 1.37374759, 0.432347715)) |
| 1165 | - | P.Size = Vector3.new(2,2,2) |
| 1165 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 4.27608585, 0.595516682, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1166 | - | P.Anchored = true |
| 1166 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 1, 0.680872858))
|
| 1167 | - | P.Position = Pos |
| 1167 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.588748991, 1.7662425)) |
| 1168 | - | P.BrickColor = BrickColor.new(SecondaryColor) |
| 1168 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245313644, -1.62587166, -1.61146212, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1169 | - | P.Transparency = .2 |
| 1169 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 1, 1))
|
| 1170 | - | P.CanCollide = false |
| 1170 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1171 | - | P.Material = Enum.Material.Neon |
| 1171 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245315552, -1.57678032, 0.694500923, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1172 | - | P.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) |
| 1172 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1173 | - | spawn(function() |
| 1173 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lily white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1174 | - | local C = 40 |
| 1174 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 3.68730807, 1.18429136, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1175 | - | for i = 1,C do |
| 1175 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1176 | - | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) |
| 1176 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 1177 | - | P.Transparency = P.Transparency + .8/C |
| 1177 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.27386951, 2.36181927, 0.147186279, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 1178 | - | lRS:wait() |
| 1178 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1179 | - | end; |
| 1179 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1180 | - | game.Debris:AddItem(P,10) |
| 1180 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.69448328, -1.87116718, 0.34344101, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 1181 | - | spawn(function() |
| 1181 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1182 | - | wait(2) |
| 1182 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1183 | - | P.BrickColor = BrickColor.Black() |
| 1183 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490589142, -1.96927261, 3.54016185, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1184 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
| |
| 1185 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 1186 | - | mag = (Main.CFrame.p-Pos).magnitude |
| 1186 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.541446686, -0.245315552, -2.26369286, 3.34473356e-007, 1.00000119, -5.87999821e-005, 1, -4.63309902e-007, -1.68503149e-007, -1.54298974e-007, -5.73694706e-005, -1.00000048)) |
| 1187 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
| |
| 1188 | - | mag = (Main.CFrame.p-Pos).magnitude |
| 1188 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1189 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669032, -0.539684296, 1.18426561, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) | |
| 1190 | - | if Hit2 then |
| 1190 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 1191 | - | P2.Parent = VortexGauntlet2 |
| 1191 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.432347655, 0.588748991, 0.432347715)) |
| 1192 | - | P2.FormFactor = 3 |
| 1192 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 4.66858578, 0.889900208, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1193 | - | P2.TopSurface,P.BottomSurface = 10,10 |
| 1193 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 1, 0.680872858))
|
| 1194 | - | P2.Size = Vector3.new(2,2,2) |
| 1194 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1195 | - | P2.Anchored = true |
| 1195 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669771, -0.245315552, 0.301145077, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 1196 | - | P2.Position = Pos2 |
| 1196 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 1197 | - | P2.BrickColor = BrickColor.new(SecondaryColor) |
| 1197 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1198 | - | P2.Transparency = .2 |
| 1198 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014397, -1.87116718, 0.34344101, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 1199 | - | P2.CanCollide = false |
| 1199 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1200 | - | P2.Material = Enum.Material.Neon |
| 1200 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 1201 | - | P2.CFrame = CFrame.new(Pos2) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) |
| 1201 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490627289, -1.02355766, 2.64175844, 1, -1.13017222e-008, -7.91671823e-007, 7.77441755e-007, 4.84883785e-005, 1.00000048, 1.17563076e-007, -1.00000119, 4.99486923e-005)) |
| 1202 | - | spawn(function() |
| 1202 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 0.680872738))
|
| 1203 | - | local C = 40 |
| 1203 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Lime green","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1204 | - | for i = 1,C do |
| 1204 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(8.05392647, -0.103023529, -1.53262234, 3.34473356e-007, 1.00000119, -5.87999821e-005, 1, -4.63309902e-007, -1.68503149e-007, -1.54298974e-007, -5.73694706e-005, -1.00000048)) |
| 1205 | - | --P.Size = Vector3.new(P.Size.Z+.01,P.Size.Y+.01,P.Size.Z+.01) |
| 1205 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
|
| 1206 | - | P2.Transparency = P2.Transparency + .8/C |
| 1206 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1207 | - | lRS:wait() |
| 1207 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014063, 0.147182465, -1.77304411, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 1208 | - | end; |
| 1208 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1209 | - | game.Debris:AddItem(P2,10) |
| 1209 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1210 | - | spawn(function() |
| 1210 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.34344101, -1.57675695, 3.54016113, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1211 | - | wait(2) |
| 1211 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1212 | - | P2.BrickColor = BrickColor.Black() |
| 1212 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1213 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.294372559, -1.08461046, 0.449367523, -1, 5.81013978e-007, 1.47227425e-007, -4.13802127e-007, -0.707139015, -0.707074642, -2.25677297e-007, -0.707076252, 0.707139552)) | |
| 1214 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
| |
| 1215 | - | mag2 = (Main2.CFrame.p-Pos2).magnitude |
| 1215 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1216 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 4.27608585, 0.301128387, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) | |
| 1217 | - | mag2 = (Main2.CFrame.p-Pos2).magnitude |
| 1217 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1218 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 1219 | - | local Down = 0 |
| 1219 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.2943573, -1.10842776, 0.47317791, -1, 5.81013978e-007, 1.47227425e-007, -4.13802127e-007, -0.707139015, -0.707074642, -2.25677297e-007, -0.707076252, 0.707139552)) |
| 1220 | - | Beam.Size = Vector3.new(mag,Beam.Size.Y,Beam.Size.Z) |
| 1220 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
|
| 1221 | - | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) |
| 1221 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1222 | - | Beam.CFrame = Main.CFrame * CF(0,-mag/2,0) * Angles(0,0,rad(90)) |
| 1222 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.5401473, 0.245304108, 1.57678747, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 1223 | - | Beam2.Size = Vector3.new(mag,Beam2.Size.Y,Beam2.Size.Z) |
| 1223 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1224 | - | --Beam.Mesh.Scale = Vector3.new(mag,1.35,1.35) |
| 1224 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1225 | - | Beam2.CFrame = Main2.CFrame * CF(0,-mag2/2,0) * Angles(0,0,rad(90)) |
| 1225 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245313644, -1.57672119, 6.38582945, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1226 | - | --// print(hit.Name) |
| 1226 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1227 | - | torso.Anchored = false |
| 1227 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1228 | - | lRS:wait() |
| 1228 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.245304108, -1.47863007, 3.5401597, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1229 | - | DBP = false |
| 1229 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1230 | - | --BTouch:disconnect() |
| 1230 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1231 | - | --end--]] |
| 1231 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 3.88358545, 1.18429613, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1232 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
| |
| 1233 | - | torso.Anchored = false |
| 1233 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.96249199)) |
| 1234 | - | until Keyz.R == false wait() |
| 1234 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.441566467, 2.50903749, 0.390751839, -1, 4.46891647e-007, 4.92917671e-008, 3.50839642e-008, 4.87565994e-005, 1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1235 | - | ypcall(function()VortexGauntlet['BEAMM']:Destroy()end) |
| 1235 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 1))
|
| 1236 | - | ypcall(function()VortexGauntlet2['BEAMM']:Destroy()end) |
| 1236 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1237 | - | ypcall(function()torso['localbv']:Destroy()end) |
| 1237 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014659, -1.57678795, -0.147184372, -3.17553969e-007, -1.00000119, 5.87999821e-005, 2.45077985e-008, -5.73694706e-005, -1.00000048, 1, -4.46380227e-007, 1.03026991e-008)) |
| 1238 | - | DebounceState = false |
| 1238 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1239 | - | ypcall(function() Loop:Destroy() end) |
| 1239 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1240 | - | wait(.2) |
| 1240 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.441556931, 1.77297735, 8.05396557, -1, 4.46891647e-007, 4.92917671e-008, 3.50839642e-008, 4.87565994e-005, 1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1241 | - | dk = false |
| 1241 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1242 | - | wait(1.8) |
| 1242 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1243 | - | Flyin = false |
| 1243 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490531921, 3.49107122, 0.301146984, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1244 | - | DBP = false |
| 1244 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1245 | - | end; |
| 1245 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1246 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.2453022, -1.47860289, 6.38581467, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 1247 | - | ForceField = function() |
| 1247 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1248 | - | DebounceState = true |
| 1248 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lily white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1249 | - | dk = true |
| 1249 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669056, -0.245315552, 1.18426561, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 1250 | - | Keyz.Q = true |
| 1250 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 1251 | - | local Bool = TakeJuice(15) |
| 1251 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1252 | - | if Bool == false then return end |
| 1252 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669461, -0.735940933, 0.59551239, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 1253 | - | local Count = 0 |
| 1253 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.226958096, 0.680872738))
|
| 1254 | - | for i = 1,20 do |
| 1254 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.784996629)) |
| 1255 | - | hum.WalkSpeed = 0 |
| 1255 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.12285614, -0.810565948, 6.72925806, 0.707097888, -3.48687172e-005, -0.707116067, -0.70711571, -3.42428684e-005, -0.707098246, 3.17420216e-007, 1.00000119, -5.03361225e-005)) |
| 1256 | - | Count = Count + rad(30) |
| 1256 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1257 | - | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) |
| 1257 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1258 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) |
| 1258 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -1.96928167, 0.694500446, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1259 | - | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) |
| 1259 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1260 | - | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) |
| 1260 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1261 | - | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) |
| 1261 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.61050987, 1.07523632, 8.00489521, -0.707098067, -3.42428684e-005, -0.707115889, -0.707115531, 3.49879265e-005, 0.707098365, 3.71347738e-007, 1.00000119, -5.03659248e-005)) |
| 1262 | - | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) |
| 1262 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1263 | - | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) |
| 1263 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lily white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1264 | - | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) |
| 1264 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 4.07983494, 1.18428326, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1265 | - | lRS:wait() |
| 1265 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1266 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.784996629)) | |
| 1267 | - | local NewA = 0 |
| 1267 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -2.16555119, 1.17575836, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1268 | - | local FF = Instance.new('Part',VortexGauntlet)
|
| 1268 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.680874228, 1))
|
| 1269 | - | FF.TopSurface,FF.BottomSurface,FF.FormFactor = 10,10,3 |
| 1269 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1270 | - | FF.Size = Vector3.new(5,5,5) |
| 1270 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245315552, -1.77301359, 3.54015589, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1271 | - | FF.Anchored,FF.CanCollide = true,false |
| 1271 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1272 | - | FF.Color = BrickColor.new(SecondaryColor).Color |
| 1272 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1273 | - | FF.Material,FF.Transparency = 'Neon',.7 |
| 1273 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-6.38579845, -0.34344101, -1.47865248, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 1274 | - | local ang = rad(math.random(-360,360)) |
| 1274 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1275 | - | FF.CFrame = torso.CFrame * Angles(ang,ang,ang) |
| 1275 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1276 | - | local FT = FF.Touched:connect(function(Hit) |
| 1276 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.343439102, -1.57671022, 8.34834385, 1, -4.46884371e-007, 9.97237137e-008, 1.13931456e-007, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1277 | - | local h = dmg(Hit,30,100) |
| 1277 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1278 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) | |
| 1279 | - | hum.WalkSpeed = 0 |
| 1279 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694486141, 1.77303457, -0.245300293, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 1280 | - | local Loop = NewSound(torso,238032904,1,1) |
| 1280 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1281 | - | Loop.Looped = true |
| 1281 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1282 | - | Loop:Play() |
| 1282 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, -1.42104483, -2.85244846, 1, -5.83602514e-007, 2.18954085e-007, -4.54788051e-007, -1.00000119, 5.90085983e-005, 2.33150899e-007, -5.75780869e-005, -1.00000048)) |
| 1283 | - | for i = 1,15 do |
| 1283 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1284 | - | local Inc = 1 |
| 1284 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1285 | - | Count = Count+rad(30) |
| 1285 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.343439102, -1.77296782, 8.34834576, 1, -4.46884371e-007, 9.97237137e-008, 1.13931456e-007, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1286 | - | NewA = NewA + rad(3) |
| 1286 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1287 | - | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,Count,0),.35) |
| 1287 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1288 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,Count,0),.35) |
| 1288 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.147171021, -1.96922827, 6.38581371, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1289 | - | FF.Size = Vector3.new(FF.Size.X+Inc,FF.Size.Y+Inc,FF.Size.Z+Inc) |
| 1289 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1290 | - | FF.CFrame = torso.CFrame * Angles(ang+NewA,ang+NewA,ang+NewA) |
| 1290 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 1291 | - | lRS:wait() |
| 1291 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-7.51423454, 1.03916979, 0.529888153, -3.05380524e-007, -1.00000119, 5.87999821e-005, 3.50952547e-008, 5.73694706e-005, 1.00000048, -1, 4.34210165e-007, 4.93010717e-008)) |
| 1292 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
| |
| 1293 | - | FF.CFrame = torso.CFrame * Angles(ang+NewA,ang+NewA,ang+NewA) |
| 1293 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.784996629)) |
| 1294 | - | DebounceState = false |
| 1294 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.343439102, -1.67485523, 7.0236311, 1, -4.46884371e-007, 9.97237137e-008, 1.13931456e-007, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1295 | - | ypcall(function()Loop:Destroy()end) |
| 1295 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1296 | - | spawn(function() |
| 1296 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 1297 | - | wait(5) |
| 1297 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490570068, 0.104875565, 0.694504738, -1, 4.46888748e-007, -1.03144195e-008, -2.45221941e-008, 4.87565994e-005, 1.00000048, 3.18062263e-007, 1.00000119, -5.02169132e-005)) |
| 1298 | - | local N = 150 |
| 1298 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 0.680872738))
|
| 1299 | - | for i = 1,N do |
| 1299 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1300 | - | FF.Transparency = FF.Transparency + (1)/(N) |
| 1300 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-8.05392933, -0.103021622, 1.82700682, -3.11322196e-007, -1.00000119, 5.90085983e-005, 1, -4.40154651e-007, -9.80572565e-008, 8.38518233e-008, 5.75780869e-005, 1.00000048)) |
| 1301 | - | lRS:wait() |
| 1301 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
|
| 1302 | - | end |
| 1302 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1303 | - | FT:disconnect() |
| 1303 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.34344101, -1.57677126, 0.694500446, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1304 | - | FF:Destroy() |
| 1304 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1305 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) | |
| 1306 | - | hum.WalkSpeed = .5 |
| 1306 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.245300293, -2.50899744, 1.27389288, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1307 | - | for i = 1,10 do |
| 1307 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 1))
|
| 1308 | - | HandleWeld.C0 = lerp(HandleWeld.C0,Angles(0,0,0),.35) |
| 1308 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1309 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,Angles(0,0,0),.35) |
| 1309 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50900507, 1.02857828, 0.343431473, -3.44488672e-006, -4.81307507e-005, -1.00000048, 3.7769712e-007, 1.00000119, -4.95910645e-005, 1, -5.06690412e-007, -3.45909325e-006)) |
| 1310 | - | lRS:wait() |
| 1310 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 1311 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 1312 | - | dk = false |
| 1312 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 3.49106789, 0.595517159, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1313 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
| |
| 1314 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) | |
| 1315 | - | Spikez = function() |
| 1315 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490608215, 0.35022068, -2.34740973, -1, 5.06501863e-007, 1.52921388e-007, 1.38716672e-007, 4.91440296e-005, 1.00000048, 3.77667334e-007, 1.00000119, -5.06043434e-005)) |
| 1316 | - | local Bool = TakeJuice(50) |
| 1316 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 0.680872738))
|
| 1317 | - | if Bool == false then return end |
| 1317 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 2.84561276)) |
| 1318 | - | local C = CheckIfLanded() |
| 1318 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -1.38052273, 0.694500446, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1319 | - | if C == false then |
| 1319 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 1))
|
| 1320 | - | DebounceState = false |
| 1320 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1321 | - | dk = false |
| 1321 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.294376373, -0.473195553, -0.71591568, -1, 6.05387072e-007, -3.68178448e-008, 3.73051137e-007, 0.707064152, -0.707151592, -3.00909818e-007, -0.707151115, -0.707062602)) |
| 1322 | - | DBP = false |
| 1322 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.907832682, 0.90783006))
|
| 1323 | - | Flyin = false |
| 1323 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1324 | - | return end |
| 1324 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245315552, -2.50901842, 1.22481108, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1325 | - | dk = true |
| 1325 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.453916222, 0.680872738))
|
| 1326 | - | DebounceState = true |
| 1326 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1327 | - | local Laugh = NewSound(hed,221057812,1.3,1) |
| 1327 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245315552, -1.67490387, 0.694500446, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1328 | - | --Laugh:Play() |
| 1328 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1329 | - | for i = 1,10 do |
| 1329 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1330 | - | hum.WalkSpeed = 2 |
| 1330 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 5.06109333, 0.595511913, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1331 | - | torr.C0 = clerp(torr.C0, CF(0,-.55,0)*Angles(rad(-25),rad(0),0),.3) |
| 1331 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1332 | - | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-45),rad(25),rad(90)),.3) |
| 1332 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.784996629)) |
| 1333 | - | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) |
| 1333 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.764038086, 1.19418287, 6.7390604, -0.707097769, 3.49879265e-005, 0.707116127, 0.707115829, 3.41534615e-005, 0.707098126, 4.43859108e-007, 1.00000119, -5.03361225e-005)) |
| 1334 | - | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-1)*Angles(rad(-40),rad(0),0),.3) |
| 1334 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1335 | - | llw.C0 = clerp(llw.C0, CF(0,.6,-.12)*Angles(rad(16),rad(0),0),.3) |
| 1335 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 1336 | - | hw.C0 = clerp(hw.C0, Angles(rad(-2),rad(-13),0),.3) |
| 1336 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490570068, 2.46075344, -0.301148415, -1, 5.03652586e-007, -9.78606565e-008, 3.74831302e-007, 1.00000119, -5.90085983e-005, 1.12062189e-007, -5.75780869e-005, -1.00000048)) |
| 1337 | - | lRS:wait() |
| 1337 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 0.680872738))
|
| 1338 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.432347655, 0.588748991, 0.432347715)) | |
| 1339 | - | local Drill_sfx = NewSound(Main,188959272,1.25,.2) |
| 1339 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, 3.88356614, 0.889912128, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1340 | - | Drill_sfx:Play() |
| 1340 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 1, 0.680872858))
|
| 1341 | - | local Count = 0 |
| 1341 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1342 | - | for i = 1,55 do |
| 1342 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669032, -0.392501831, 1.18426561, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 1343 | - | hum.WalkSpeed = 0 |
| 1343 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 0.453916222, 0.226957604))
|
| 1344 | - | Count = Count + rad(30) |
| 1344 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1345 | - | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.35) |
| 1345 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014707, -0.343442917, -1.47866058, -2.90589298e-007, -1.00000119, 5.87999821e-005, -1, 4.19412089e-007, -6.991894e-008, 8.41255599e-008, -5.73694706e-005, -1.00000048)) |
| 1346 | - | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) |
| 1346 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1347 | - | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) |
| 1347 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.55123901)) |
| 1348 | - | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) |
| 1348 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -2.65619135, 1.27388859, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1349 | - | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) |
| 1349 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958111, 1))
|
| 1350 | - | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) |
| 1350 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.784996629)) |
| 1351 | - | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(-21),0),.3) |
| 1351 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.441556931, 1.67486477, 6.72926092, -1, 4.46891647e-007, 4.92917671e-008, 3.50839642e-008, 4.87565994e-005, 1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1352 | - | lRS:wait() |
| 1352 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1353 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.784996629)) | |
| 1354 | - | spawn(function() |
| 1354 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -0.301120758, 3.00045681, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1355 | - | for i = 1,35 do |
| 1355 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 1))
|
| 1356 | - | --local Bool2 = TakeJuice(1) |
| 1356 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1357 | - | --if Bool2 == false then break end |
| 1357 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.245304108, -1.87113667, 3.54016066, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1358 | - | local P = Cone:Clone() |
| 1358 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1359 | - | P.Parent = VortexGauntlet |
| 1359 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 1360 | - | P.Color = BrickColor.new(SecondaryColor).Color |
| 1360 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490627289, -0.742734432, 2.64176559, -1, 8.82553365e-007, 7.91620323e-007, -7.77434252e-007, -4.91440296e-005, -1.00000048, -7.53687004e-007, -1.00000119, 5.06043434e-005)) |
| 1361 | - | P.mot:Destroy() |
| 1361 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.907832682, 0.680872738))
|
| 1362 | - | P.Anchored = true |
| 1362 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1363 | - | P.Size = Vector3.new(3,15,3) |
| 1363 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50900459, -0.343442917, -0.541424751, -9.46957712e-008, -4.87565994e-005, -1.00000048, -1, 4.46894546e-007, 1.08903606e-007, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1364 | - | P.CanCollide = false |
| 1364 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.680874527, 0.226957589))
|
| 1365 | - | local PT = P.Touched:connect(function(Hit) |
| 1365 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1366 | - | local h = dmg(Hit,13,15) |
| 1366 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.764011383, 1.09605169, 8.06375217, -0.707097769, 3.49879265e-005, 0.707116127, 0.707115829, 3.41534615e-005, 0.707098126, 4.43859108e-007, 1.00000119, -5.03361225e-005)) |
| 1367 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
| |
| 1368 | - | P.Mesh.Scale = Vector3.new(2,15,2) |
| 1368 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 1369 | - | local Pos = torso.Position |
| 1369 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490570068, 1.87200308, -0.889911175, -1, 5.03652586e-007, -9.78606565e-008, 3.74831302e-007, 1.00000119, -5.90085983e-005, 1.12062189e-007, -5.75780869e-005, -1.00000048)) |
| 1370 | - | P.CFrame = CF(Pos.X+math.random(-30,30),Pos.Y-20,Pos.Z+math.random(-30,30)) |
| 1370 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.680874228, 0.680872738))
|
| 1371 | - | spawn(function() |
| 1371 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1372 | - | game.Debris:AddItem(P,10) |
| 1372 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014468, -0.147184372, 1.96930313, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 1373 | - | wait(6) |
| 1373 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1374 | - | local LV = 50 |
| 1374 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1375 | - | for i = 1,LV do |
| 1375 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.147186279, -1.47865295, 0.694500923, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1376 | - | P.Transparency = P.Transparency + 1/LV |
| 1376 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1377 | - | lRS:wait() |
| 1377 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1378 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 5.06109333, 0.301119328, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) | |
| 1379 | - | P:Destroy() |
| 1379 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1380 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.784996629)) | |
| 1381 | - | local PC = P.CFrame.p |
| 1381 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.61053324, 1.17336941, 6.68018913, -0.707098067, -3.42428684e-005, -0.707115889, -0.707115531, 3.49879265e-005, 0.707098365, 3.71347738e-007, 1.00000119, -5.03659248e-005)) |
| 1382 | - | spawn(function() |
| 1382 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1383 | - | local Pt = Instance.new('Part',VortexGauntlet)
|
| 1383 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1384 | - | Pt.FormFactor = 3 |
| 1384 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490818024, -2.26368475, 0.341706753, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1385 | - | Pt.TopSurface,P.BottomSurface = 10,10 |
| 1385 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.680872798))
|
| 1386 | - | Pt.Size = Vector3.new(2,2,2) |
| 1386 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1387 | - | Pt.Anchored = true |
| 1387 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.245315552, -1.77303028, 0.694502354, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1388 | - | Pt.Position = Pos |
| 1388 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1389 | - | local Clrz = {
|
| 1389 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) |
| 1390 | - | PrimaryColor; |
| 1390 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.54014444, 1.87116718, -0.147174835, -3.18063314e-007, -1.00000119, 5.87999821e-005, 3.50953684e-008, 5.73694706e-005, 1.00000048, -1, 4.46892955e-007, 4.9300418e-008)) |
| 1391 | - | SecondaryColor; |
| 1391 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1392 | - | ThirdColor; |
| 1392 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1393 | - | }; |
| 1393 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.813094139, -1.23036385, 8.01469421, 0.707098067, 3.42428684e-005, 0.707115889, 0.707115531, -3.48985195e-005, -0.707098365, 3.29195359e-007, 1.00000119, -5.03361225e-005)) |
| 1394 | - | local Cl = Clrz[math.random(1,#Clrz)] |
| 1394 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1395 | - | Pt.Color = BrickColor.new(Cl).Color |
| 1395 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1396 | - | Pt.Transparency = .2 |
| 1396 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490837097, -2.16555357, -0.145475388, -1, 5.93067284e-007, 5.20292858e-008, -3.78288192e-008, -4.87565994e-005, -1.00000048, -4.64237644e-007, -1.00000119, 5.02169132e-005)) |
| 1397 | - | Pt.CanCollide = false |
| 1397 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1398 | - | Pt.Material = Enum.Material.Neon |
| 1398 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.490623981, 0.432347715)) |
| 1399 | - | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) |
| 1399 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-3.19669747, -0.539684296, 0.301120758, -3.18063314e-007, -1.00000119, 5.87999821e-005, 1, -4.46892955e-007, -4.92917493e-008, 3.50866856e-008, 5.73694706e-005, 1.00000048)) |
| 1400 | - | P.Color = BrickColor.new(Cl).Color |
| 1400 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.453915119, 1, 0.226957604))
|
| 1401 | - | spawn(function() |
| 1401 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.55123925, 0.432347715, 0.432347715)) |
| 1402 | - | local C = 40 |
| 1402 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.27386522, -0.147186279, 2.65620184, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 1403 | - | for i = 1,C do |
| 1403 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1404 | - | --Pt.Size = Vector3.new(Pt.Size.Z+.01,Pt.Size.Y+.01,Pt.Size.Z+.01) |
| 1404 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1405 | - | Pt.CFrame = clerp(Pt.CFrame,CF(PC.X,Pos.Y-2,PC.Z)*Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))),.15) |
| 1405 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490589142, 3.49106383, 0.889908791, 1, -3.28492746e-007, -2.35756062e-007, 1.99652547e-007, 1.00000119, -5.87999821e-005, 2.21543942e-007, 5.73694706e-005, 1.00000048)) |
| 1406 | - | Pt.Transparency = Pt.Transparency + .8/C |
| 1406 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.45391649, 0.680872858))
|
| 1407 | - | lRS:wait() |
| 1407 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1408 | - | end; |
| 1408 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-2.50901937, -0.245321274, -1.02857685, -2.58317846e-006, -4.78029251e-005, -1.00000048, 1, -5.96029224e-007, -2.59738044e-006, -4.67077939e-007, -1.00000119, 4.92632389e-005)) |
| 1409 | - | game.Debris:AddItem(Pt,10) |
| 1409 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.453915209, 0.226958096, 0.226957589))
|
| 1410 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0.5,"Toothpaste","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 1411 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.541447163, 2.26368523, 0.343442917, 3.18018664e-007, 1.00000119, -5.87999821e-005, 9.46984926e-008, 5.73694706e-005, 1.00000048, 1, -4.46851743e-007, -1.08903585e-007)) | |
| 1412 | - | for i = 1,20 do |
| 1412 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.680874527, 0.680872738))
|
| 1413 | - | P.CFrame = clerp(P.CFrame,CF(PC.X,Pos.Y+4,PC.Z),.15) |
| 1413 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1414 | - | Pt.CFrame = clerp(Pt.CFrame,CF(PC.X,Pos.Y-2,PC.Z)*Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))),.15) |
| 1414 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490570068, 1.02855015, -2.85244894, -1, 7.58299052e-007, 1.08852319e-007, 6.2946566e-007, 1.00000119, -5.87999821e-005, -9.46655376e-008, -5.73694706e-005, -1.00000048)) |
| 1415 | - | lRS:wait() |
| 1415 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1416 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) | |
| 1417 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.764024734, 1.29229784, 8.06375122, -0.707097769, 3.49879265e-005, 0.707116127, 0.707115829, 3.41534615e-005, 0.707098126, 4.43859108e-007, 1.00000119, -5.03361225e-005)) | |
| 1418 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
| |
| 1419 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(2.84561348, 0.432347715, 0.432347715)) | |
| 1420 | - | local Boom = NewSound(Main,133403840,1,1) |
| 1420 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.694488049, 0.147172928, 1.47865915, -3.60331796e-007, -1.00000119, 5.87999821e-005, 1, -4.89164961e-007, -1.08895435e-007, 9.46928367e-008, 5.73694706e-005, 1.00000048)) |
| 1421 | - | Boom:Play() |
| 1421 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1422 | - | for i = 1,20 do |
| 1422 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.668118)) |
| 1423 | - | hum.WalkSpeed = .5 |
| 1423 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.7086463, 1.17337132, 7.21989059, -0.707098067, -3.42428684e-005, -0.707115889, -0.707115531, 3.49879265e-005, 0.707098365, 3.71347738e-007, 1.00000119, -5.03659248e-005)) |
| 1424 | - | torr.C0 = clerp(torr.C0, CF(0,-.55,0)*Angles(rad(-25),rad(0),0),.3) |
| 1424 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1425 | - | raw.C0 = clerp(raw.C0, CF(1.65,-.1,1.35)*Angles(rad(-45),rad(25),rad(90)),.3) |
| 1425 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 0.432347715)) |
| 1426 | - | law.C0 = clerp(law.C0, CF(-1.65,-.1,1.35)*Angles(rad(-75),rad(-75),rad(-90)),.3) |
| 1426 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-1.61052322, 1.27147961, 8.00489521, -0.707098067, -3.42428684e-005, -0.707115889, -0.707115531, 3.49879265e-005, 0.707098365, 3.71347738e-007, 1.00000119, -5.03659248e-005)) |
| 1427 | - | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-1)*Angles(rad(-40),rad(0),0),.3) |
| 1427 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 0.226957589))
|
| 1428 | - | llw.C0 = clerp(llw.C0, CF(0,.6,-.12)*Angles(rad(16),rad(0),0),.3) |
| 1428 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Fossil","Part",Vector3.new(0.490622938, 0.432347715, 0.432347715)) |
| 1429 | - | hw.C0 = clerp(hw.C0, Angles(rad(-2),rad(-13),0),.3) |
| 1429 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(-0.0490531921, 0.104857922, 3.34389472, -1, 3.61571296e-007, 1.02468533e-007, 8.82564066e-008, 4.87565994e-005, 1.00000048, 2.32739438e-007, 1.00000119, -5.02169132e-005)) |
| 1430 | - | lRS:wait() |
| 1430 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.226958096, 0.226957589))
|
| 1431 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 1.96249199)) | |
| 1432 | - | dk = false |
| 1432 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -2.95057631, 0.390752316, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) |
| 1433 | - | DebounceState = false |
| 1433 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.680872858, 0.226958096, 1))
|
| 1434 | - | end; |
| 1434 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.432347655, 0.432347715, 2.84561276)) |
| 1435 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.147171021, -1.96928167, 0.694502354, 1, -4.46891647e-007, -4.92917671e-008, -3.50839642e-008, -4.87565994e-005, -1.00000048, 3.18062291e-007, 1.00000119, -5.02169132e-005)) | |
| 1436 | - | ChargeEnergy = function() |
| 1436 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.226957604, 0.226958096, 1))
|
| 1437 | - | if Energy == mx then return end |
| 1437 | + | Barrel=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Dark stone grey","Barrel",Vector3.new(0.432347655, 1.7281816, 0.432347715)) |
| 1438 | - | dk = true |
| 1438 | + | Barrelweld=weld(m,Handle,Barrel,CFrame.new(0, 0, 0, 1, -3.93950415e-007, -7.33235552e-008, -1.83752363e-007, -0.500038326, -0.866003275, 2.00045037e-007, 0.866004765, -0.500039279),CFrame.new(0.0490570068, -7.23259068, -1.68114424, 1, -4.46850237e-007, -4.93354477e-008, -3.18020852e-007, -1.00000119, 5.02467155e-005, -3.51276483e-008, -4.88162041e-005, -1.00000036)) |
| 1439 | - | DebounceState = true |
| 1439 | + | mesh("CylinderMesh",Barrel,"","",Vector3.new(0, 0, 0),Vector3.new(0.666200757, 1, 0.666200459))
|
| 1440 | - | Keyz.C = true |
| 1440 | + | |
| 1441 | - | local Count = 0 |
| 1441 | + | ready = false |
| 1442 | - | local Drill_sfx = NewSound(torso,169445714,1.3,1) |
| 1442 | + | |
| 1443 | - | Drill_sfx.Looped = true |
| 1443 | + | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
| 1444 | - | Drill_sfx:Play() |
| 1444 | + | local fp = it("Part")
|
| 1445 | - | Drill_sfx.Name = 'DRILLNOIZE' |
| 1445 | + | fp.formFactor = formfactor |
| 1446 | - | for i = 1,25 do |
| 1446 | + | fp.Parent = parent |
| 1447 | - | hum.WalkSpeed = 5 |
| 1447 | + | fp.Reflectance = reflectance |
| 1448 | - | Count = Count + rad(30) |
| 1448 | + | fp.Transparency = transparency |
| 1449 | - | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.15) |
| 1449 | + | fp.CanCollide = false |
| 1450 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.15) |
| 1450 | + | fp.Locked=true |
| 1451 | - | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) |
| 1451 | + | fp.BrickColor = brickcolor |
| 1452 | - | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) |
| 1452 | + | fp.Name = name |
| 1453 | - | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) |
| 1453 | + | fp.Size = size |
| 1454 | - | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) |
| 1454 | + | fp.Position = Torso.Position |
| 1455 | - | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) |
| 1455 | + | NoOutline(fp) |
| 1456 | - | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) |
| 1456 | + | fp.Material="SmoothPlastic" |
| 1457 | - | lRS:wait() |
| 1457 | + | fp:BreakJoints() |
| 1458 | return fp | |
| 1459 | - | while Keyz.C == true do |
| 1459 | + | |
| 1460 | - | if Energy == mx then Keyz.C = false dk = false DebounceState = false |
| 1460 | + | |
| 1461 | - | ypcall(function() |
| 1461 | + | function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 1462 | - | torso['DRILLNOIZE']:Destroy() |
| 1462 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2)) |
| 1463 | prt.Anchored=true | |
| 1464 | prt.CFrame=cframe | |
| 1465 | - | hum.WalkSpeed = 0 |
| 1465 | + | msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
|
| 1466 | - | spawn(function()Charge(2)end) |
| 1466 | + | game:GetService("Debris"):AddItem(prt,2)
|
| 1467 | - | Count = Count + rad(30) |
| 1467 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1468 | - | spawn(function()Pulse(Main,CF(0,0,0)*Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)),Vector3.new(1,1,1),20)end) |
| 1468 | + | for i=0,1,delay do |
| 1469 | - | spawn(function()Pulse(Main2,CF(0,0,0)*Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)),Vector3.new(1,1,1),20)end) |
| 1469 | + | swait() |
| 1470 | - | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) |
| 1470 | + | Part.CFrame=Part.CFrame |
| 1471 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,-.15,0)*Angles(0,Count,0),.3) |
| 1471 | + | Part.Transparency=i |
| 1472 | - | torr.C0 = clerp(torr.C0, CF(0,-1.2,0)*Angles(rad(-25),rad(0),0),.3) |
| 1472 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 1473 | - | raw.C0 = clerp(raw.C0, CF(1.5,-1.25,.75)*Angles(rad(-60),rad(89),rad(90)),.3) |
| 1473 | + | |
| 1474 | - | law.C0 = clerp(law.C0, CF(-1.5,-1.25,.75)*Angles(rad(-60),rad(-89),rad(-90)),.3) |
| 1474 | + | Part.Parent=nil |
| 1475 | - | rlw.C0 = clerp(rlw.C0, CF(0,-0,-1)*Angles(rad(-40),rad(0),0),.3) |
| 1475 | + | end),prt,msh) |
| 1476 | - | llw.C0 = clerp(llw.C0, CF(0,1.2,-.12)*Angles(rad(16),rad(0),0),.3) |
| 1476 | + | |
| 1477 | - | hw.C0 = clerp(hw.C0, CF(0,0,.25)*Angles(rad(-21),rad(0),0),.3) |
| 1477 | + | |
| 1478 | - | lRS:wait() |
| 1478 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
| 1479 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1480 | - | end; |
| 1480 | + | prt.Anchored=true |
| 1481 | prt.CFrame=cframe | |
| 1482 | - | Kick = function(dist) |
| 1482 | + | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
|
| 1483 | - | dk = true |
| 1483 | + | game:GetService("Debris"):AddItem(prt,2)
|
| 1484 | - | DebounceState = true |
| 1484 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
| 1485 | - | local spd = .35 |
| 1485 | + | for i=0,1,delay do |
| 1486 | - | local Swng = NewSound(rleg,212607246,.9,1) |
| 1486 | + | swait() |
| 1487 | - | for i = 1,10 do |
| 1487 | + | Part.CFrame=Part.CFrame |
| 1488 | - | FaceMouse() |
| 1488 | + | Part.Transparency=i |
| 1489 | - | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) |
| 1489 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
| 1490 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) |
| 1490 | + | |
| 1491 | - | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,0,0),spd) |
| 1491 | + | Part.Parent=nil |
| 1492 | - | raw.C0 = clerp(raw.C0, CF(1.5,-1.2,0)*Angles(0,rad(1),rad(75)),spd) |
| 1492 | + | end),prt,msh) |
| 1493 | - | law.C0 = clerp(law.C0, CF(-1.5,-1.2,0)*Angles(0,rad(1),rad(-75)),spd) |
| 1493 | + | |
| 1494 | - | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) |
| 1494 | + | |
| 1495 | - | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) |
| 1495 | + | function LaserBarrage(Prt,Parent) |
| 1496 | - | lRS:wait() |
| 1496 | + | attack=true |
| 1497 | --so("BeamLockon",Prt,1,1)
| |
| 1498 | - | local bv = Instance.new('BodyVelocity',hed)
|
| 1498 | + | local efprt=part(3,Parent,0,0.5,BrickColor.new("Dark stone grey"),"Effect",vt(0.2,0.2,0.2))
|
| 1499 | - | bv.maxForce = Vector3.new(999999999999,999999999999,999999999999) |
| 1499 | + | efprt.Anchored=true |
| 1500 | - | bv.velocity = hed.CFrame.lookVector * 40 |
| 1500 | + | local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
|
| 1501 | - | Swng:Play() |
| 1501 | + | spread=vt((math.random(0,0)+math.random())*0,(math.random(0,0)+math.random())*0,(math.random(0,0)+math.random())*0)*(Prt.Position-Mouse.Hit.p).magnitude/100 |
| 1502 | - | local chit = true |
| 1502 | + | --spread=vt(0,0,0) |
| 1503 | - | local rlt = rleg.Touched:connect(function(Hit) |
| 1503 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded) |
| 1504 | - | if chit == false then return end |
| 1504 | + | game:GetService("Debris"):AddItem(Part,6)
|
| 1505 | - | local h = dmg(Hit,35,dist,Hit.CFrame.lookVector*Vector3.new(0,0,5)) |
| 1505 | + | local TheHit=Mouse.Hit.p |
| 1506 | - | if h then |
| 1506 | + | local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded) |
| 1507 | - | chit = false |
| 1507 | + | local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent) |
| 1508 | - | local Pcht = NewSound(Hit,138285836,math.random(.8,.95),1) |
| 1508 | + | so("Elec",Prt,0.2,1)
|
| 1509 | - | Pcht:Play() |
| 1509 | + | local tefprt=part(3,workspace,0,1,BrickColor.new("Dark stone grey"),"Effect",vt(0.2,0.2,0.2))
|
| 1510 | - | Pcht:Destroy() |
| 1510 | + | tefprt.CFrame=cf(pos) |
| 1511 | - | h.PlatformStand = true |
| 1511 | + | MagicCircle(BrickColor.new("Hot pink"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
|
| 1512 | - | delay(.2,function()h.PlatformStand = false end) |
| 1512 | + | so("Elec",tefprt,0.3,1)
|
| 1513 | - | spawn(function() |
| 1513 | + | game:GetService("Debris"):AddItem(tefprt,3)
|
| 1514 | - | local Pos = (rleg.CFrame*CF(0,-1,0)).p |
| 1514 | + | Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0) |
| 1515 | - | local Pt = Instance.new('Part',VortexGauntlet)
|
| 1515 | + | if(hit.Parent:findFirstChild("Humanoid")~= nil)then
|
| 1516 | - | Pt.FormFactor = 3 |
| 1516 | + | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
|
| 1517 | - | Pt.TopSurface,Pt.BottomSurface = 10,10 |
| 1517 | + | hit.Parent.Humanoid:TakeDamage(9999) |
| 1518 | - | Pt.Size = Vector3.new(2.1,2.1,2.1) |
| 1518 | + | |
| 1519 | - | Pt.Anchored = true |
| 1519 | + | |
| 1520 | - | Pt.Position = Pos |
| 1520 | + | local mag=(Prt.Position-pos).magnitude |
| 1521 | - | local Clrz = {
|
| 1521 | + | MagicCylinder(BrickColor.new("Hot pink"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
|
| 1522 | - | PrimaryColor; |
| 1522 | + | Part.Parent=nil |
| 1523 | - | SecondaryColor; |
| 1523 | + | end),efprt,efmsh,spread) |
| 1524 | - | ThirdColor; |
| 1524 | + | |
| 1525 | - | }; |
| 1525 | + | |
| 1526 | - | local Cl = Clrz[math.random(1,#Clrz)] |
| 1526 | + | function shoot() |
| 1527 | - | Pt.Color = BrickColor.new(Cl).Color |
| 1527 | + | if ready==true then |
| 1528 | - | Pt.Transparency = .2 |
| 1528 | + | attack=true |
| 1529 | - | Pt.CanCollide = false |
| 1529 | + | ready = false |
| 1530 | - | Pt.Material = Enum.Material.Neon |
| 1530 | + | LaserBarrage(Barrel,m) |
| 1531 | - | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) |
| 1531 | + | so("http://roblox.com/asset/?id=166535638",Barrel,1,1)
|
| 1532 | - | spawn(function() |
| 1532 | + | so("http://roblox.com/asset/?id=166535638",Barrel,1,1)
|
| 1533 | - | local C = 40 |
| 1533 | + | for i=0,1,0.1 do |
| 1534 | - | for i = 1,C do |
| 1534 | + | swait() |
| 1535 | - | Pt.Transparency = Pt.Transparency + .8/C |
| 1535 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 1536 | - | lRS:wait() |
| 1536 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(-10),math.rad(0)),.3) |
| 1537 | - | end; |
| 1537 | + | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, 0.3) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.3) |
| 1538 | - | Pt:Destroy() |
| 1538 | + | LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.4, -0.8) * angles(math.rad(120), math.rad(0), math.rad(30)), 0.3) |
| 1539 | RH.C0=clerp(RH.C0,cf(1,0,-0.5)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
| 1540 | LH.C0=clerp(LH.C0,cf(-1,-1,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(70)),.3) | |
| 1541 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,.5)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1542 | end | |
| 1543 | - | spawn(function() |
| 1543 | + | for i=0,1,0.1 do |
| 1544 | - | wait() |
| 1544 | + | swait() |
| 1545 | - | bv:Destroy() |
| 1545 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 1546 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-10),math.rad(0)),.3) | |
| 1547 | - | for i = 1,10 do |
| 1547 | + | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, 0.3) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.3) |
| 1548 | - | FaceMouse() |
| 1548 | + | LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.4, -0.8) * angles(math.rad(90), math.rad(0), math.rad(30)), 0.3) |
| 1549 | - | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),spd) |
| 1549 | + | RH.C0=clerp(RH.C0,cf(1,0,-0.5)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) |
| 1550 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),spd) |
| 1550 | + | LH.C0=clerp(LH.C0,cf(-1,-1,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(70)),.3) |
| 1551 | - | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(45),0),spd) |
| 1551 | + | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,.5)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
| 1552 | - | raw.C0 = clerp(raw.C0, CF(1.5,-1.2,.61)*Angles(rad(-20),rad(85),rad(75)),spd) |
| 1552 | + | |
| 1553 | - | law.C0 = clerp(law.C0, CF(-1.5,-1.2,0)*Angles(0,rad(85),rad(-75)),spd) |
| 1553 | + | attack=false |
| 1554 | - | rlw.C0 = clerp(rlw.C0, CF(0,-1.1,0)*Angles(rad(90),rad(-1),rad(45)),spd) |
| 1554 | + | |
| 1555 | - | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) |
| 1555 | + | |
| 1556 | - | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) |
| 1556 | + | |
| 1557 | - | lRS:wait() |
| 1557 | + | mouse.Button1Down:connect(function() |
| 1558 | pcall(function() | |
| 1559 | - | DebounceState = false |
| 1559 | + | shoot() |
| 1560 | - | rlt:disconnect() |
| 1560 | + | |
| 1561 | - | wait(.1) |
| 1561 | + | |
| 1562 | - | dk = false |
| 1562 | + | |
| 1563 | - | DebounceState = false |
| 1563 | + | mouse.KeyDown:connect(function(k) |
| 1564 | - | end; |
| 1564 | + | k=k:lower() |
| 1565 | if k=='f' then | |
| 1566 | - | DoublePunch = function(spd,cnt,dist) |
| 1566 | + | if ready==false then |
| 1567 | - | dist = dist or 20 |
| 1567 | + | ready=true |
| 1568 | - | dk = true |
| 1568 | + | attack=true |
| 1569 | - | Keyz.X = true |
| 1569 | + | elseif ready==true then |
| 1570 | - | DebounceState = true |
| 1570 | + | ready=false |
| 1571 | - | while Keyz.X do |
| 1571 | + | attack=false |
| 1572 | - | local Swng = NewSound(rleg,212607246,math.random(.9,1),1) |
| 1572 | + | |
| 1573 | - | Swng:Play() |
| 1573 | + | |
| 1574 | - | hum.WalkSpeed = 2 |
| 1574 | + | |
| 1575 | - | local bv = Instance.new('BodyVelocity',hed)
|
| 1575 | + | |
| 1576 | - | bv.maxForce = Vector3.new(999999999999,999999999999,999999999999) |
| 1576 | + | |
| 1577 | - | bv.velocity = hed.CFrame.lookVector * 15 |
| 1577 | + | |
| 1578 | - | local chit = true |
| 1578 | + | local sine = 0 |
| 1579 | - | local rat = rarm.Touched:connect(function(Hit) |
| 1579 | + | local change = 1 |
| 1580 | - | if chit == false then return end |
| 1580 | + | local val = 0 |
| 1581 | - | local h = dmg(Hit,7,dist) |
| 1581 | + | |
| 1582 | - | if h then |
| 1582 | + | while true do |
| 1583 | - | chit = false |
| 1583 | + | swait() |
| 1584 | - | local Pcht = NewSound(Hit,138285836,1.35,2) |
| 1584 | + | sine = sine + change |
| 1585 | - | Pcht:Play() |
| 1585 | + | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
| 1586 | - | Pcht:Destroy() |
| 1586 | + | local velderp=RootPart.Velocity.y |
| 1587 | - | --h.PlatformStand = true |
| 1587 | + | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
| 1588 | - | spawn(function() |
| 1588 | + | if equipped==true or equipped==false then |
| 1589 | - | local Pos = (rarm.CFrame*CF(0,-1,0)).p |
| 1589 | + | if attack==false then |
| 1590 | - | local Pt = Instance.new('Part',VortexGauntlet)
|
| 1590 | + | idle=idle+1 |
| 1591 | - | Pt.FormFactor = 3 |
| 1591 | + | |
| 1592 | - | Pt.TopSurface,Pt.BottomSurface = 10,10 |
| 1592 | + | idle=0 |
| 1593 | - | Pt.Size = Vector3.new(2.1,2.1,2.1) |
| 1593 | + | |
| 1594 | - | Pt.Anchored = true |
| 1594 | + | if idle>=500 then |
| 1595 | - | Pt.Position = Pos |
| 1595 | + | if attack==false then |
| 1596 | - | local Clrz = {
|
| 1596 | + | --Sheath() |
| 1597 | - | PrimaryColor; |
| 1597 | + | |
| 1598 | - | SecondaryColor; |
| 1598 | + | |
| 1599 | - | ThirdColor; |
| 1599 | + | if RootPart.Velocity.y > 1 and hitfloor==nil then |
| 1600 | - | }; |
| 1600 | + | Anim="Jump" |
| 1601 | - | local Cl = Clrz[math.random(1,#Clrz)] |
| 1601 | + | if attack==false then |
| 1602 | - | Pt.Color = BrickColor.new(Cl).Color |
| 1602 | + | Humanoid.WalkSpeed = 16 |
| 1603 | - | Pt.Transparency = .2 |
| 1603 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 1604 | - | Pt.CanCollide = false |
| 1604 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 1605 | - | Pt.Material = Enum.Material.Neon |
| 1605 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
| 1606 | - | Pt.CFrame = CFrame.new(Pos) * Angles(rad(math.random(-360,360)),rad(math.random(-360,360)),rad(math.random(-360,360))) |
| 1606 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) |
| 1607 | - | spawn(function() |
| 1607 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) |
| 1608 | - | local C = 40 |
| 1608 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
| 1609 | - | for i = 1,C do |
| 1609 | + | |
| 1610 | - | Pt.Transparency = Pt.Transparency + .8/C |
| 1610 | + | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
| 1611 | - | lRS:wait() |
| 1611 | + | Anim="Fall" |
| 1612 | - | end; |
| 1612 | + | if attack==false then |
| 1613 | - | Pt:Destroy() |
| 1613 | + | Humanoid.WalkSpeed = 16 |
| 1614 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1615 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1616 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1617 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1618 | - | spawn(function() |
| 1618 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) |
| 1619 | - | wait() |
| 1619 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
| 1620 | - | bv:Destroy() |
| 1620 | + | |
| 1621 | elseif torvel<1 and hitfloor~=nil then | |
| 1622 | - | for i = 1,cnt do |
| 1622 | + | Anim="Idle" |
| 1623 | - | FaceMouse() |
| 1623 | + | if attack==false then |
| 1624 | - | HandleWeld.C0 = lerp(HandleWeld.C0,CF(0,0,0)*Angles(0,0,0),.35) |
| 1624 | + | Humanoid.WalkSpeed = 16 |
| 1625 | - | HandleWeld2.C0 = lerp(HandleWeld2.C0,CF(0,0,0)*Angles(0,0,0),.35) |
| 1625 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3) |
| 1626 | - | torr.C0 = clerp(torr.C0, CF(0,0,0)*Angles(0,rad(45),0),spd) |
| 1626 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-20)),.3) |
| 1627 | - | raw.C0 = clerp(raw.C0, CF(.45,.5,-2)*Angles(rad(90),rad(0),rad(45)),spd) |
| 1627 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3) |
| 1628 | - | law.C0 = clerp(law.C0, CF(0,1,0)*Angles(rad(45),rad(15),rad(35)),spd) |
| 1628 | + | LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.4, -0.8) * angles(math.rad(80), math.rad(0), math.rad(60)), 0.3) |
| 1629 | - | rlw.C0 = clerp(rlw.C0, CF(0,-.535,-.6)*Angles(rad(-40),rad(-1),0),spd) |
| 1629 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(-5)),.3) |
| 1630 | - | llw.C0 = clerp(llw.C0, CF(0,-.05,-.835)*Angles(rad(-16),rad(9),0),spd) |
| 1630 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
| 1631 | - | hw.C0 = clerp(hw.C0, CF(0,0,0)*Angles(0,rad(-45),0),spd) |
| 1631 | + | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,.5)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) |
| 1632 | - | lRS:wait() |
| 1632 | + | |
| 1633 | elseif torvel>2 and hitfloor~=nil then | |
| 1634 | - | rat:disconnect() |
| 1634 | + | Anim="Walk" |
| 1635 | - | local Swng = NewSound(rleg,212607246,math.random(1,1.25),1) |
| 1635 | + | if attack==false then |
| 1636 | - | Swng:Play() |
| 1636 | + | change=3 |
| 1637 | - | hum.WalkSpeed = 2 |
| 1637 | + | Humanoid.WalkSpeed = 16 |
| 1638 | - | local bv2 = Instance.new('BodyVelocity',hed)
|
| 1638 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
| 1639 | - | bv2.maxForce = Vector3.new(999999999999,999999999999,999999999999) |
| 1639 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 1640 | - | bv2.velocity = hed.CFrame.lookVector * 15 |
| 1640 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3) |
| 1641 | - | local chit2 = true |
| 1641 | + | LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.4, -0.8) * angles(math.rad(80), math.rad(0), math.rad(60)), 0.3) |
| 1642 | - | local lat = larm.Touched:connect(function(Hit) |
| 1642 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) |
| 1643 | - | if chit2 == false then return end |
| 1643 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
| 1644 | - | local h = dmg(Hit,7,dist) |
| 1644 | + | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,.5)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) |
| 1645 | - | if h then |
| 1645 | + | |
| 1646 | - | chit = false |
| 1646 | + | |
| 1647 | - | local Pcht = NewSound(Hit,138285836,1.35,1) |
| 1647 | + | |
| 1648 | - | Pcht:Play() |
| 1648 | + | if ready==true then |
| 1649 | - | Pcht:Destroy() |
| 1649 | + | Humanoid.WalkSpeed = 5 |
| 1650 | - | --h.PlatformStand = true |
| 1650 | + | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 1651 | - | spawn(function() |
| 1651 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-10),math.rad(0)),.3) |
| 1652 | - | local Pos = (larm.CFrame*CF(0,-1,0)).p |
| 1652 | + | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, 0.3) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.3) |
| 1653 | - | local Pt = Instance.new('Part',VortexGauntlet)
|
| 1653 | + | LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.4, -0.8) * angles(math.rad(90), math.rad(0), math.rad(30)), 0.3) |
| 1654 | - | Pt.FormFactor = 3 |
| 1654 | + | RH.C0=clerp(RH.C0,cf(1,0,-0.5)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) |
| 1655 | - | Pt.TopSurface,Pt.BottomSurface = 10,10 |
| 1655 | + | LH.C0=clerp(LH.C0,cf(-1,-1,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(70)),.3) |
| 1656 | - | Pt.Size = Vector3.new(2.1,2.1,2.1) |
| 1656 | + | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,.5)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
| 1657 | - | Pt.Anchored = true |
| 1657 | + | |
| 1658 | - | Pt.Position = Pos |
| 1658 | + | end |