SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[ "God's Remnant" ~ Made by jarredbcv credit to Gold_God for amazing sword build. 2/22/2016]]-- |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | - | --Fixed by Trigectory/Canary |
2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
3 | - | game.Players.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = "c/require(294261453)'@#$xOi3#$%FKrgu$N{,}6`6wYT%`2f<06UDSFGSDF'" |
3 | + | local Player,game,owner = owner,game |
4 | - | game.Players.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = "c/require(294261453)'@#$xOi3#$%FKrgu$N{,}6`6wYT%`2f<06UDSFGSDF'" |
4 | + | local RealPlayer = Player |
5 | - | local asin = math.asin |
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 atan2 = math.atan2 |
6 | + | |
7 | - | local rad = math.rad |
7 | + | |
8 | - | local sin = math.sin |
8 | + | Player=game:GetService("Players").LocalPlayer |
9 | - | local abs = math.abs |
9 | + | Character=Player.Character |
10 | - | local ceil = math.ceil |
10 | + | PlayerGui=Player.PlayerGui |
11 | - | local pi = math.pi |
11 | + | Backpack=Player.Backpack |
12 | - | local cf = CFrame.new |
12 | + | Torso=Character.Torso |
13 | - | local ca = CFrame.Angles |
13 | + | Head=Character.Head |
14 | - | local v3 = Vector3.new |
14 | + | Humanoid=Character.Humanoid |
15 | - | local player = game.Players.LocalPlayer |
15 | + | m=Instance.new('Model',Character) |
16 | - | local pchar = player.Character |
16 | + | LeftArm=Character["Left Arm"] |
17 | - | local torso = pchar.Torso |
17 | + | LeftLeg=Character["Left Leg"] |
18 | - | local mouse = player:GetMouse() |
18 | + | RightArm=Character["Right Arm"] |
19 | - | local anglespeed = 1 |
19 | + | RightLeg=Character["Right Leg"] |
20 | - | local angle = 0 |
20 | + | LS=Torso["Left Shoulder"] |
21 | - | local attack = false |
21 | + | LH=Torso["Left Hip"] |
22 | - | local combo = -1 |
22 | + | RS=Torso["Right Shoulder"] |
23 | - | local smo = true |
23 | + | RH=Torso["Right Hip"] |
24 | - | local pob = nil |
24 | + | Face = Head.face |
25 | - | local obf = false |
25 | + | Neck=Torso.Neck |
26 | - | local col = 0 |
26 | + | it=Instance.new |
27 | - | local stfobl = nil |
27 | + | attacktype=1 |
28 | - | local mov = false |
28 | + | vt=Vector3.new |
29 | - | print("Fixed for voids by Canary/Trigectory") |
29 | + | cf=CFrame.new |
30 | - | mo = game.ReplicatedStorage['Sword']:Clone() |
30 | + | euler=CFrame.fromEulerAnglesXYZ |
31 | - | game.ReplicatedStorage['Gauntlet']:Clone().Parent=mo |
31 | + | angles=CFrame.Angles |
32 | - | local a = game.ReplicatedStorage['Gauntlet']:Clone() |
32 | + | cloaked=false |
33 | - | a.Name="Gauntlet2" |
33 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
34 | - | a.Parent=mo |
34 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
35 | - | mo.Parent=pchar |
35 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
36 | - | wait(1) |
36 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
37 | - | mo = game.ReplicatedStorage['Sword']:Clone() |
37 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
38 | - | game.ReplicatedStorage['Gauntlet']:Clone().Parent=mo |
38 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
39 | - | local a = game.ReplicatedStorage['Gauntlet']:Clone() |
39 | + | RootPart=Character.HumanoidRootPart |
40 | - | a.Name="Gauntlet2" |
40 | + | RootJoint=RootPart.RootJoint |
41 | - | a.Parent=mo |
41 | + | RootCF=euler(-1.57,0,3.14) |
42 | - | mo.Parent=pchar |
42 | + | attack = false |
43 | - | Part = function(x,y,z,color,tr,cc,an,parent) |
43 | + | attackdebounce = false |
44 | - | local p = Instance.new('Part',parent or Weapon) |
44 | + | deb=false |
45 | - | p.formFactor = 'Custom' |
45 | + | equipped=true |
46 | - | p.Size = Vector3.new(x,y,z) |
46 | + | hand=false |
47 | - | p.BrickColor = BrickColor.new(color) |
47 | + | MMouse=nil |
48 | - | p.CanCollide = cc |
48 | + | combo=0 |
49 | - | p.Transparency = tr |
49 | + | mana=0 |
50 | - | p.Anchored = an |
50 | + | trispeed=.2 |
51 | - | p.TopSurface,p.BottomSurface = 0,0 |
51 | + | attackmode='none' |
52 | - | p.Locked=true |
52 | + | local idle=0 |
53 | - | p:BreakJoints() |
53 | + | local Anim="Idle" |
54 | - | return p |
54 | + | local Effects={} |
55 | local gun=false | |
56 | local shoot=false | |
57 | - | wPart = function(x,y,z,color,tr,cc,an,parent) |
57 | + | player=nil |
58 | - | local wp = Instance.new('WedgePart',parent or Weapon) |
58 | + | |
59 | - | wp.formFactor = 'Custom' |
59 | + | mouse=Player:GetMouse() |
60 | - | wp.Size = Vector3.new(x,y,z) |
60 | + | --save shoulders |
61 | - | wp.BrickColor = BrickColor.new(color) |
61 | + | RSH, LSH=nil, nil |
62 | - | wp.CanCollide = cc |
62 | + | --welds |
63 | - | wp.Transparency = tr |
63 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
64 | - | wp.Anchored = an |
64 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
65 | - | wp.TopSurface,wp.BottomSurface = 0,0 |
65 | + | LH=Torso["Left Hip"] |
66 | - | return wp |
66 | + | RH=Torso["Right Hip"] |
67 | TorsoColor=Torso.BrickColor | |
68 | function NoOutline(Part) | |
69 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
70 | - | local right = top:Cross(back) |
70 | + | |
71 | - | return CFrame.new(at.x, at.y, at.z, |
71 | + | player=Player |
72 | - | right.x, top.x, back.x, |
72 | + | ch=Character |
73 | - | right.y, top.y, back.y, |
73 | + | RSH=ch.Torso["Right Shoulder"] |
74 | - | right.z, top.z, back.z) |
74 | + | LSH=ch.Torso["Left Shoulder"] |
75 | -- | |
76 | RSH.Parent=nil | |
77 | LSH.Parent=nil | |
78 | - | local edg1 = (c-a):Dot((b-a).unit) |
78 | + | -- |
79 | - | local edg2 = (a-b):Dot((c-b).unit) |
79 | + | RW.Name="Right Shoulder" |
80 | - | local edg3 = (b-c):Dot((a-c).unit) |
80 | + | RW.Part0=ch.Torso |
81 | - | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
81 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
82 | - | a, b, c = a, b, c |
82 | + | RW.C1=cf(0, 0.5, 0) |
83 | - | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
83 | + | RW.Part1=ch["Right Arm"] |
84 | - | a, b, c = b, c, a |
84 | + | RW.Parent=ch.Torso |
85 | - | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
85 | + | -- |
86 | - | a, b, c = c, a, b |
86 | + | LW.Name="Left Shoulder" |
87 | - | else |
87 | + | LW.Part0=ch.Torso |
88 | - | print("unreachable") -- not good |
88 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
89 | LW.C1=cf(0, 0.5, 0) | |
90 | - | local len1 = (c-a):Dot((b-a).unit) |
90 | + | LW.Part1=ch["Left Arm"] |
91 | - | local len2 = (b-a).magnitude - len1 |
91 | + | LW.Parent=ch.Torso |
92 | - | local width = (a + (b-a).unit*len1 - c).magnitude |
92 | + | |
93 | - | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
93 | + | local Stats=Instance.new("BoolValue") |
94 | - | local list = {} |
94 | + | Stats.Name="Stats" |
95 | - | if len1 > 0.01 then |
95 | + | Stats.Parent=Character |
96 | - | local w1 = wPart(0,0,0,'White',0.5,false,true,pchar) |
96 | + | local Atk=Instance.new("NumberValue") |
97 | - | local sz = Vector3.new(0.2, width, len1) |
97 | + | Atk.Name="Damage" |
98 | - | w1.Size = sz |
98 | + | Atk.Parent=Stats |
99 | - | local sp = Mesh(w1,2,0,0,0) |
99 | + | Atk.Value=1 |
100 | - | sp.MeshType='Wedge' |
100 | + | local Def=Instance.new("NumberValue") |
101 | - | sp.Scale=Vector3.new(0,1,1)*sz/w1.Size |
101 | + | Def.Name="Defense" |
102 | - | w1:BreakJoints() |
102 | + | Def.Parent=Stats |
103 | - | w1.Anchored = true |
103 | + | Def.Value=1 |
104 | - | w1.Transparency = 0.7 |
104 | + | local Speed=Instance.new("NumberValue") |
105 | - | Spawn(function() |
105 | + | Speed.Name="Speed" |
106 | - | for i=0,1,0.1 do |
106 | + | Speed.Parent=Stats |
107 | Speed.Value=1 | |
108 | - | w1.Transparency=w1.Transparency+0.03 |
108 | + | local Mvmt=Instance.new("NumberValue") |
109 | - | end |
109 | + | Mvmt.Name="Movement" |
110 | - | end) |
110 | + | Mvmt.Parent=Stats |
111 | - | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
111 | + | Mvmt.Value=1 |
112 | - | table.insert(list,w1) |
112 | + | |
113 | local donum=0 | |
114 | - | if len2 > 0.01 then |
114 | + | |
115 | - | local w2 = wPart(0,0,0,'White',0.5,false,true,pchar) |
115 | + | |
116 | - | local sz = Vector3.new(0.2, width, len2) |
116 | + | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
117 | - | w2.Size = sz |
117 | + | local fp=it("Part") |
118 | - | local sp = Mesh(w2,2,0,0,0) |
118 | + | fp.formFactor=formfactor |
119 | - | sp.MeshType='Wedge' |
119 | + | fp.Parent=parent |
120 | - | sp.Scale=Vector3.new(0,1,1)*sz/w2.Size |
120 | + | fp.Reflectance=reflectance |
121 | - | w2:BreakJoints() |
121 | + | fp.Transparency=transparency |
122 | - | w2.Anchored = true |
122 | + | fp.CanCollide=false |
123 | - | w2.Transparency = 0.7 |
123 | + | fp.Locked=true |
124 | - | Spawn(function() |
124 | + | fp.BrickColor=brickcolor |
125 | - | for i=0,1,0.1 do |
125 | + | fp.Name=name |
126 | fp.Size=size | |
127 | - | w2.Transparency=w2.Transparency+0.03 |
127 | + | fp.Position=Torso.Position |
128 | - | end |
128 | + | NoOutline(fp) |
129 | - | end) |
129 | + | fp.Material="SmoothPlastic" |
130 | - | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
130 | + | fp:BreakJoints() |
131 | - | table.insert(list,w2) |
131 | + | return fp |
132 | end | |
133 | - | return unpack(list) |
133 | + | |
134 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
135 | local mesh=it(Mesh) | |
136 | - | local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end |
136 | + | mesh.Parent=part |
137 | - | local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs 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)) end |
137 | + | if Mesh=="SpecialMesh" then |
138 | - | local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end 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 end |
138 | + | mesh.MeshType=meshtype |
139 | if meshid~="nil" then | |
140 | - | local qa = {QuaternionFromCFrame(a)} |
140 | + | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid |
141 | - | local qb = {QuaternionFromCFrame(b)} |
141 | + | |
142 | - | local ax, ay, az = a.x, a.y, a.z |
142 | + | |
143 | - | local bx, by, bz = b.x, b.y, b.z |
143 | + | mesh.Offset=offset |
144 | - | local _t = 1-t |
144 | + | mesh.Scale=scale |
145 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
145 | + | return mesh |
146 | end | |
147 | ||
148 | - | function camshake(waitv,shake,rate,amount) |
148 | + | function weld(parent,part0,part1,c0) |
149 | - | --[[ local Camera = game:GetService("Workspace").CurrentCamera |
149 | + | local weld=it("Weld") |
150 | - | local CoordinateFrame = Camera.CoordinateFrame |
150 | + | weld.Parent=parent |
151 | - | local Focus = Camera.Focus |
151 | + | weld.Part0=part0 |
152 | - | spawn(function() |
152 | + | weld.Part1=part1 |
153 | - | for i=1,amount do |
153 | + | weld.C0=c0 |
154 | - | local CameraRotation = Camera.CoordinateFrame - Camera.CoordinateFrame.p |
154 | + | return weld |
155 | - | local CameraScroll = (CoordinateFrame.p - Focus.p).magnitude |
155 | + | |
156 | - | local NewCFrame = CFrame.new(Camera.Focus.p) * CameraRotation * CFrame.fromEulerAnglesXYZ((math.random(-shake, shake) * rate), (math.random(-shake, shake) * rate), 0) |
156 | + | |
157 | - | CoordinateFrame = NewCFrame * CFrame.new(0, 0, CameraScroll) |
157 | + | local Color1=Torso.BrickColor |
158 | - | Camera.CoordinateFrame = CoordinateFrame |
158 | + | |
159 | - | wait(waitv) |
159 | + | local bodvel=Instance.new("BodyVelocity") |
160 | local bg=Instance.new("BodyGyro") | |
161 | - | end)]] |
161 | + | |
162 | function swait(num) | |
163 | if num==0 or num==nil then | |
164 | - | function mgblock(pa,cfr,tm,col1,col2,sz,wa) |
164 | + | game:service'RunService'.Stepped:wait(0) |
165 | - | local cols={col1,col2} |
165 | + | else |
166 | - | Spawn(function() |
166 | + | for i=0,num do |
167 | - | for i=1,tm do |
167 | + | game:service'RunService'.Stepped:wait(0) |
168 | - | local a= Part(1,1,1,cols[math.random(1,2)],0,false,true,pchar) |
168 | + | |
169 | - | curre=a |
169 | + | |
170 | - | v1,v2,v3=sz.x,sz.y,sz.z |
170 | + | |
171 | - | local m= Mesh(a,3,v1,v2,v3) |
171 | + | |
172 | - | a.CFrame=pa.CFrame*cfr*CFrame.Angles(math.random(),math.random(),math.random()) |
172 | + | |
173 | - | Spawn(function() |
173 | + | so = function(id,par,vol,pit) |
174 | - | while wait() do |
174 | + | coroutine.resume(coroutine.create(function() |
175 | - | if a.Transparency >= 1 then a:Destroy() break end |
175 | + | local sou = Instance.new("Sound",par or workspace) |
176 | - | m.Scale=m.Scale-Vector3.new(.1,0.1,0.1) |
176 | + | sou.Volume=vol |
177 | - | a.CFrame=a.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))-Vector3.new(0,0.1,0) |
177 | + | sou.Pitch=pit or 1 |
178 | - | a.Transparency=a.Transparency+0.05 |
178 | + | sou.SoundId=id |
179 | swait() | |
180 | - | end) |
180 | + | sou:play() |
181 | - | wait(wa) |
181 | + | game:GetService("Debris"):AddItem(sou,6) |
182 | end)) | |
183 | end | |
184 | - | return curre |
184 | + | |
185 | function clerp(a,b,t) | |
186 | local qa = {QuaternionFromCFrame(a)} | |
187 | - | function trail(p,t,h) |
187 | + | local qb = {QuaternionFromCFrame(b)} |
188 | - | Spawn(function() |
188 | + | local ax, ay, az = a.x, a.y, a.z |
189 | - | local blcf = p.CFrame |
189 | + | local bx, by, bz = b.x, b.y, b.z |
190 | - | local scfr = blcf |
190 | + | local _t = 1-t |
191 | - | for i=1,t do |
191 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
192 | - | local blcf = p.CFrame |
192 | + | |
193 | - | if scfr and (p.Position-scfr.p).magnitude > .1 then |
193 | + | |
194 | - | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) |
194 | + | function QuaternionFromCFrame(cf) |
195 | - | if a then game.Debris:AddItem(a,1) end |
195 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
196 | - | if b then game.Debris:AddItem(b,1) end |
196 | + | local trace = m00 + m11 + m22 |
197 | - | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) |
197 | + | if trace > 0 then |
198 | - | if a then game.Debris:AddItem(a,1) end |
198 | + | local s = math.sqrt(1 + trace) |
199 | - | if b then game.Debris:AddItem(b,1) end |
199 | + | local recip = 0.5/s |
200 | - | scfr = blcf |
200 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
201 | - | elseif not scfr then |
201 | + | else |
202 | - | scfr = blcf |
202 | + | local i = 0 |
203 | - | end |
203 | + | if m11 > m00 then |
204 | - | game:service'RunService'.RenderStepped:wait() |
204 | + | i = 1 |
205 | end | |
206 | - | scfr=nil |
206 | + | if m22 > (i == 0 and m00 or m11) then |
207 | i = 2 | |
208 | end | |
209 | if i == 0 then | |
210 | - | function cloneefx() |
210 | + | local s = math.sqrt(m00-m11-m22+1) |
211 | - | for _,v in pairs(pchar:GetChildren()) do |
211 | + | local recip = 0.5/s |
212 | - | if v.ClassName=="Part" then |
212 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
213 | - | local efx=v:Clone() |
213 | + | elseif i == 1 then |
214 | - | efx.CanCollide=true |
214 | + | local s = math.sqrt(m11-m22-m00+1) |
215 | - | efx.Anchored=true |
215 | + | local recip = 0.5/s |
216 | - | efx.Parent=workspace |
216 | + | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
217 | - | efx.BrickColor=BrickColor.new("Really black") |
217 | + | elseif i == 2 then |
218 | - | efx:BreakJoints() |
218 | + | local s = math.sqrt(m22-m00-m11+1) |
219 | - | Spawn(function() |
219 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
220 | - | for i=1,10 do wait(.05) |
220 | + | |
221 | - | efx.Transparency=efx.Transparency+.1 |
221 | + | |
222 | end | |
223 | - | efx:Destroy() |
223 | + | |
224 | - | end) |
224 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
225 | local xs, ys, zs = x + x, y + y, z + z | |
226 | local wx, wy, wz = w*xs, w*ys, w*zs | |
227 | local xx = x*xs | |
228 | local xy = x*ys | |
229 | - | so = function(id,par,lo,pi,tm) |
229 | + | local xz = x*zs |
230 | - | Spawn(function() |
230 | + | local yy = y*ys |
231 | - | local s = Instance.new("Sound",par) |
231 | + | local yz = y*zs |
232 | - | s.Looped=lo |
232 | + | local zz = z*zs |
233 | - | s.Pitch=pi |
233 | + | 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)) |
234 | - | s.SoundId = "http://roblox.com/asset/?id="..id |
234 | + | |
235 | - | wait() -- tnx anti |
235 | + | |
236 | - | s:play() |
236 | + | function QuaternionSlerp(a, b, t) |
237 | - | s.Volume=.8 |
237 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
238 | - | game.Debris:AddItem(s,tm) |
238 | + | local startInterp, finishInterp; |
239 | if cosTheta >= 0.0001 then | |
240 | - | return s |
240 | + | if (1 - cosTheta) > 0.0001 then |
241 | local theta = math.acos(cosTheta) | |
242 | local invSinTheta = 1/math.sin(theta) | |
243 | - | function posfix(nom) |
243 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
244 | - | Spawn(function() |
244 | + | finishInterp = math.sin(t*theta)*invSinTheta |
245 | - | local bg=Instance.new("BodyGyro",pchar.Torso) |
245 | + | else |
246 | - | bg.maxTorque=Vector3.new(0,math.huge,0) |
246 | + | startInterp = 1-t |
247 | - | bg.P=10000 |
247 | + | finishInterp = t |
248 | - | bg.D=100 |
248 | + | |
249 | - | bg.cframe=workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(0,nom,0) |
249 | + | else |
250 | - | wait(.5) |
250 | + | if (1+cosTheta) > 0.0001 then |
251 | - | bg:Destroy() |
251 | + | local theta = math.acos(-cosTheta) |
252 | local invSinTheta = 1/math.sin(theta) | |
253 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
254 | finishInterp = math.sin(t*theta)*invSinTheta | |
255 | - | Weld = function(p0,p1,x,y,z,rx,ry,rz,par) |
255 | + | else |
256 | - | local w = Instance.new('Motor',par or p0) |
256 | + | startInterp = t-1 |
257 | - | w.Part0 = p0 |
257 | + | finishInterp = t |
258 | - | w.Part1 = p1 |
258 | + | |
259 | - | w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz) |
259 | + | |
260 | - | return w |
260 | + | 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 |
261 | end | |
262 | ||
263 | - | Mesh = function(par,num,x,y,z) |
263 | + | |
264 | - | local msh = _ |
264 | + | local right = top:Cross(back) |
265 | - | if num == 1 then |
265 | + | return CFrame.new(at.x, at.y, at.z, |
266 | - | msh = Instance.new("CylinderMesh",par) |
266 | + | right.x, top.x, back.x, |
267 | - | elseif num == 2 then |
267 | + | right.y, top.y, back.y, |
268 | - | msh = Instance.new("SpecialMesh",par) |
268 | + | right.z, top.z, back.z) |
269 | - | msh.MeshType = 3 |
269 | + | |
270 | - | elseif num == 3 then |
270 | + | |
271 | - | msh = Instance.new("BlockMesh",par) |
271 | + | |
272 | - | elseif num == 4 then |
272 | + | local edg1 = (c-a):Dot((b-a).unit) |
273 | - | msh = Instance.new("SpecialMesh",par) |
273 | + | local edg2 = (a-b):Dot((c-b).unit) |
274 | - | msh.MeshType = "Torso" |
274 | + | local edg3 = (b-c):Dot((a-c).unit) |
275 | - | elseif type(num) == 'string' then |
275 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
276 | - | msh = Instance.new("SpecialMesh",par) |
276 | + | a, b, c = a, b, c |
277 | - | msh.MeshId = num |
277 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
278 | - | end |
278 | + | a, b, c = b, c, a |
279 | - | msh.Scale = Vector3.new(x,y,z) |
279 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
280 | - | return msh |
280 | + | a, b, c = c, a, b |
281 | else | |
282 | assert(false, "unreachable") | |
283 | - | local function getAngles(cf) |
283 | + | |
284 | - | local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components() |
284 | + | |
285 | - | return atan2(-m12,m22),asin(m02),atan2(-m01,m00) |
285 | + | local len1 = (c-a):Dot((b-a).unit) |
286 | local len2 = (b-a).magnitude - len1 | |
287 | local width = (a + (b-a).unit*len1 - c).magnitude | |
288 | - | function explosion(col1,col2,cfr,sz,rng,dmg) |
288 | + | |
289 | - | local a= Part(1,1,1,col1,.5,false,true,pchar) |
289 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
290 | - | local a2= Part(1,1,1,col2,.5,false,true,pchar) |
290 | + | |
291 | - | local a3= Part(1,1,1,col2,.5,false,true,pchar) |
291 | + | local list = {} |
292 | - | v1,v2,v3=sz.x,sz.y,sz.z |
292 | + | |
293 | - | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) |
293 | + | if len1 > 0.01 then |
294 | - | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) |
294 | + | local w1 = Instance.new('WedgePart', m) |
295 | - | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) |
295 | + | game:GetService("Debris"):AddItem(w1,5) |
296 | - | a.CFrame=cfr |
296 | + | w1.Material = "SmoothPlastic" |
297 | - | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) |
297 | + | w1.FormFactor = 'Custom' |
298 | - | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) |
298 | + | w1.BrickColor = BrickColor.new("Dark orange") |
299 | - | for i,v in pairs(workspace:children()) do |
299 | + | w1.Transparency = 0 |
300 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
300 | + | w1.Reflectance = 0 |
301 | - | if v:findFirstChild("Head") and v:findFirstChild("Torso") then |
301 | + | w1.Material = "SmoothPlastic" |
302 | - | if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= pchar.Name then |
302 | + | w1.CanCollide = false |
303 | - | v.Humanoid.Health=v.Humanoid.Health-dmg |
303 | + | local l1 = Instance.new("PointLight",w1) |
304 | - | v.Torso.Velocity=Vector3.new(math.random(-dmg*2,dmg*2),dmg*3,math.random(-dmg*2,dmg*2)) |
304 | + | l1.Color = Color3.new(170,0,0) |
305 | NoOutline(w1) | |
306 | - | end |
306 | + | local sz = Vector3.new(0.2, width, len1) |
307 | w1.Size = sz | |
308 | local sp = Instance.new("SpecialMesh",w1) | |
309 | - | Spawn(function() |
309 | + | sp.MeshType = "Wedge" |
310 | - | while true do |
310 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
311 | - | wait() |
311 | + | w1:BreakJoints() |
312 | - | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end |
312 | + | w1.Anchored = true |
313 | - | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) |
313 | + | w1.Parent = workspace |
314 | - | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) |
314 | + | w1.Transparency = 0.7 |
315 | - | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) |
315 | + | table.insert(Effects,{w1,"Disappear",.01}) |
316 | - | a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2)) |
316 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
317 | - | a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2)) |
317 | + | table.insert(list,w1) |
318 | - | a.Transparency=a.Transparency+0.05 |
318 | + | |
319 | - | a2.Transparency=a2.Transparency+0.05 |
319 | + | |
320 | - | a3.Transparency=a3.Transparency+0.05 |
320 | + | if len2 > 0.01 then |
321 | local w2 = Instance.new('WedgePart', m) | |
322 | game:GetService("Debris"):AddItem(w2,5) | |
323 | w2.Material = "SmoothPlastic" | |
324 | w2.FormFactor = 'Custom' | |
325 | - | function tmdmg(tm,pa,dmg,rng) |
325 | + | w2.BrickColor = BrickColor.new("Dark orange") |
326 | - | Spawn(function() |
326 | + | w2.Transparency = 0 |
327 | - | for i=1,tm do wait() |
327 | + | w2.Reflectance = 0 |
328 | - | for i,v in pairs(workspace:children()) do |
328 | + | w2.Material = "SmoothPlastic" |
329 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
329 | + | w2.CanCollide = false |
330 | - | if v:findFirstChild("Head") and v:findFirstChild("Torso") then |
330 | + | local l2 = Instance.new("PointLight",w2) |
331 | - | if (v:findFirstChild("Torso").Position - pa.Position).magnitude < rng and v.Name ~= pchar.Name then |
331 | + | l2.Color = Color3.new(170,0,0) |
332 | - | v.Humanoid.Health=v.Humanoid.Health-dmg |
332 | + | NoOutline(w2) |
333 | - | so("201858024",v.Torso,false,math.random(7,11)/10,4) |
333 | + | local sz = Vector3.new(0.2, width, len2) |
334 | - | end |
334 | + | w2.Size = sz |
335 | - | end |
335 | + | local sp = Instance.new("SpecialMesh",w2) |
336 | sp.MeshType = "Wedge" | |
337 | - | end |
337 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
338 | w2:BreakJoints() | |
339 | w2.Anchored = true | |
340 | w2.Parent = workspace | |
341 | w2.Transparency = 0.7 | |
342 | table.insert(Effects,{w2,"Disappear",.01}) | |
343 | - | local function getAngles(cf) |
343 | + | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
344 | - | local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components() |
344 | + | table.insert(list,w2) |
345 | - | return atan2(-m12,m22),asin(m02),atan2(-m01,m00) |
345 | + | |
346 | return unpack(list) | |
347 | end | |
348 | - | Lerp = { |
348 | + | |
349 | - | Number = function(C1,C2,inc) |
349 | + | |
350 | - | return C1 + (C2 - C1) * inc |
350 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
351 | - | end; |
351 | + | if hit.Parent==nil then |
352 | - | CFrame = function(a,b,m) |
352 | + | return |
353 | - | return a:lerp(b,m) -- i srs dnt kno u could do this (tnx anti) |
353 | + | |
354 | - | end; |
354 | + | h=hit.Parent:FindFirstChild("Humanoid") |
355 | - | } |
355 | + | for _,v in pairs(hit.Parent:children()) do |
356 | if v:IsA("Humanoid") then | |
357 | h=v | |
358 | end | |
359 | - | local function genWeld(a,b) |
359 | + | |
360 | - | local w = Instance.new("Weld",a) |
360 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then |
361 | - | w.Part0 = a |
361 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid") |
362 | - | w.Part1 = b |
362 | + | |
363 | - | return w |
363 | + | if hit.Parent.className=="Hat" then |
364 | hit=hit.Parent.Parent:findFirstChild("Head") | |
365 | end | |
366 | - | local function newLerpTo(weld) |
366 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then |
367 | - | return { |
367 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end |
368 | - | Weld = weld; |
368 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
369 | - | To = weld.C0; |
369 | + | return |
370 | - | Cache = weld.C0; |
370 | + | end]] |
371 | - | Speed = 0.2; |
371 | + | -- hs(hit,1.2) |
372 | - | } |
372 | + | c=Instance.new("ObjectValue") |
373 | c.Name="creator" | |
374 | c.Value=game:service("Players").LocalPlayer | |
375 | - | function SetAnimData(IF_DATA_IS_USED) |
375 | + | c.Parent=h |
376 | - | Used = IF_DATA_IS_USED |
376 | + | game:GetService("Debris"):AddItem(c,.5) |
377 | Damage=math.random(minim,maxim) | |
378 | - | function CheckAnimData(ANIM_TAB,DO_ANIM) |
378 | + | -- h:TakeDamage(Damage) |
379 | - | anglespeed=Anims[ANIM_TAB][DO_ANIM].speed or 1 |
379 | + | blocked=false |
380 | - | if Used.Head == true then |
380 | + | block=hit.Parent:findFirstChild("Block") |
381 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * Anims[ANIM_TAB][DO_ANIM].Head |
381 | + | if block~=nil then |
382 | print(block.className) | |
383 | - | if Used.RightArm == true then |
383 | + | if block.className=="NumberValue" then |
384 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * Anims[ANIM_TAB][DO_ANIM].RightArm |
384 | + | if block.Value>0 then |
385 | blocked=true | |
386 | - | if Used.LeftArm == true then |
386 | + | if decreaseblock==nil then |
387 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * Anims[ANIM_TAB][DO_ANIM].LeftArm |
387 | + | block.Value=block.Value-1 |
388 | end | |
389 | - | if Used.RightLeg == true then |
389 | + | |
390 | - | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * Anims[ANIM_TAB][DO_ANIM].RightLeg |
390 | + | |
391 | if block.className=="IntValue" then | |
392 | - | if Used.LeftLeg == true then |
392 | + | if block.Value>0 then |
393 | - | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * Anims[ANIM_TAB][DO_ANIM].LeftLeg |
393 | + | blocked=true |
394 | if decreaseblock~=nil then | |
395 | - | if Used.Torso == true then |
395 | + | block.Value=block.Value-1 |
396 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * Anims[ANIM_TAB][DO_ANIM].Torso |
396 | + | |
397 | end | |
398 | - | if Used.Handle == true then |
398 | + | |
399 | - | LerpTo.hnd.To = LerpTo.hnd.Cache * Anims[ANIM_TAB][DO_ANIM].hnd |
399 | + | |
400 | if blocked==false then | |
401 | -- h:TakeDamage(Damage) | |
402 | h.Health=h.Health-Damage | |
403 | - | Lightning = function(Start,End,Times,Offset,Color,Thickness,Transparency) |
403 | + | showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark orange")) |
404 | - | local magz = (Start - End).magnitude |
404 | + | else |
405 | - | local curpos = Start |
405 | + | h.Health=h.Health-(Damage/2) |
406 | - | local trz = {-Offset,Offset} |
406 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) |
407 | - | Spawn(function() |
407 | + | |
408 | - | for i=1,Times do |
408 | + | if Type=="Knockdown" then |
409 | - | local li = Instance.new("Part",pchar) |
409 | + | hum=hit.Parent.Humanoid |
410 | - | li.TopSurface =0 |
410 | + | hum.PlatformStand=true |
411 | - | li.BottomSurface = 0 |
411 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
412 | - | li.Anchored = true |
412 | + | swait(1) |
413 | - | li.Transparency = Transparency or 0.4 |
413 | + | HHumanoid.PlatformStand=false |
414 | - | li.BrickColor = Color |
414 | + | end),hum) |
415 | - | li.formFactor = "Custom" |
415 | + | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
416 | - | li.Material="Neon" |
416 | + | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
417 | - | li.CanCollide = false |
417 | + | local bodvol=Instance.new("BodyVelocity") |
418 | - | li.Size = Vector3.new(1,1,1) |
418 | + | bodvol.velocity=angle*knockback |
419 | - | Instance.new('BlockMesh',li).Scale = Vector3.new(Thickness,Thickness,magz/Times) |
419 | + | bodvol.P=5000 |
420 | - | local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) |
420 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
421 | - | local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz |
421 | + | bodvol.Parent=hit |
422 | - | if Times == i then |
422 | + | rl=Instance.new("BodyAngularVelocity") |
423 | - | local magz2 = (curpos - End).magnitude |
423 | + | rl.P=3000 |
424 | - | li.Mesh.Scale = Vector3.new(Thickness,Thickness,magz2) |
424 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
425 | - | li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2) |
425 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
426 | - | else |
426 | + | rl.Parent=hit |
427 | - | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) |
427 | + | game:GetService("Debris"):AddItem(bodvol,.5) |
428 | - | end |
428 | + | game:GetService("Debris"):AddItem(rl,.5) |
429 | - | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p |
429 | + | elseif Type=="Normal" then |
430 | - | Spawn(function() for i=1,10 do |
430 | + | vp=Instance.new("BodyVelocity") |
431 | - | li.Transparency = li.Transparency+.1 |
431 | + | vp.P=500 |
432 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
433 | - | end li:Destroy() end) |
433 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
434 | - | wait() |
434 | + | if KnockbackType==1 then |
435 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
436 | elseif KnockbackType==2 then | |
437 | vp.velocity=Property.CFrame.lookVector*knockback | |
438 | end | |
439 | - | function UpdateAnims() |
439 | + | if knockback>0 then |
440 | - | Anims = { |
440 | + | vp.Parent=hit.Parent.Torso |
441 | - | ["Idle"] = { |
441 | + | |
442 | - | ["Stance"] = { |
442 | + | game:GetService("Debris"):AddItem(vp,.5) |
443 | - | speed=.25, |
443 | + | elseif Type=="Up" then |
444 | - | Head = CFrame.Angles(sin(angle)*0.01,0,0), |
444 | + | local bodyVelocity=Instance.new("BodyVelocity") |
445 | - | RightArm = CFrame.Angles(sin(angle)*0.1,0,0), |
445 | + | bodyVelocity.velocity=vt(0,60,0) |
446 | - | LeftArm = CFrame.Angles(-sin(angle)*0.1,0,0), |
446 | + | bodyVelocity.P=5000 |
447 | - | RightLeg = CFrame.Angles(sin(angle)*0.1,0,0), |
447 | + | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
448 | - | LeftLeg = CFrame.Angles(-sin(angle)*0.1,0,0), |
448 | + | bodyVelocity.Parent=hit |
449 | - | Torso = CFrame.Angles(0,0,0), |
449 | + | game:GetService("Debris"):AddItem(bodyVelocity,1) |
450 | - | hnd = CFrame.Angles(0,0,0) |
450 | + | rl=Instance.new("BodyAngularVelocity") |
451 | - | }, |
451 | + | rl.P=3000 |
452 | - | ["Walk"] = { |
452 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
453 | - | speed=2, |
453 | + | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
454 | - | Head = CFrame.Angles(0,0,sin(angle)*0.05), |
454 | + | rl.Parent=hit |
455 | - | RightArm = CFrame.Angles(-sin(angle)*1,0,0), |
455 | + | game:GetService("Debris"):AddItem(rl,.5) |
456 | - | LeftArm = CFrame.Angles(sin(angle)*1,0,0), |
456 | + | elseif Type=="Snare" then |
457 | - | RightLeg = CFrame.Angles(sin(angle)*1,0,0), |
457 | + | bp=Instance.new("BodyPosition") |
458 | - | LeftLeg = CFrame.Angles(-sin(angle)*1,0,0), |
458 | + | bp.P=2000 |
459 | - | Torso = CFrame.Angles(0,0,0), |
459 | + | bp.D=100 |
460 | - | hnd = CFrame.Angles(0,0,0) |
460 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
461 | - | }, |
461 | + | bp.position=hit.Parent.Torso.Position |
462 | - | ["Jump"] = { |
462 | + | bp.Parent=hit.Parent.Torso |
463 | - | speed=2, |
463 | + | game:GetService("Debris"):AddItem(bp,1) |
464 | - | Head = CFrame.Angles(0,0,0), |
464 | + | elseif Type=="Target" then |
465 | - | RightArm = CFrame.Angles(rad(-20),0,0), |
465 | + | if Targetting==false then |
466 | - | LeftArm = CFrame.Angles(rad(-20),0,0), |
466 | + | ZTarget=hit.Parent.Torso |
467 | - | RightLeg = CFrame.new(0,.5,-.5)*CFrame.Angles(rad(-20),0,0), |
467 | + | coroutine.resume(coroutine.create(function(Part) |
468 | - | LeftLeg = CFrame.Angles(0,0,0), |
468 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
469 | - | Torso = CFrame.Angles(rad(10),0,0), |
469 | + | swait(5) |
470 | - | hnd = CFrame.Angles(0,0,0) |
470 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
471 | - | } |
471 | + | end),ZTarget) |
472 | - | }, |
472 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid") |
473 | - | ["Holding"] = { |
473 | + | targetgui=Instance.new("BillboardGui") |
474 | - | ["Stance"] = { |
474 | + | targetgui.Parent=ZTarget |
475 | - | speed=.25, |
475 | + | targetgui.Size=UDim2.new(10,100,10,100) |
476 | - | Head = CFrame.Angles(sin(angle)*0.01,-rad(60)-abs(sin(angle))*0.05,0), |
476 | + | targ=Instance.new("ImageLabel") |
477 | - | RightArm = CFrame.Angles(rad(30)-sin(angle)*0.05,rad(80),0)*CFrame.new(-.5,-.2,.4), |
477 | + | targ.Parent=targetgui |
478 | - | LeftArm = CFrame.Angles(sin(angle)*0.05,0,-rad(10)-abs(sin(angle))*0.05), |
478 | + | targ.BackgroundTransparency=1 |
479 | - | RightLeg = CFrame.Angles(sin(angle)*0.05,0,0), |
479 | + | targ.Image="rbxassetid://4834067" |
480 | - | LeftLeg = CFrame.Angles(-sin(angle)*0.05,0,0), |
480 | + | targ.Size=UDim2.new(1,0,1,0) |
481 | - | Torso = CFrame.Angles(0,0,rad(60))*CFrame.new(0,-abs(sin(angle))*0.05,0), |
481 | + | cam.CameraType="Scriptable" |
482 | - | hnd = CFrame.Angles(0,0,0) |
482 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
483 | - | }, |
483 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
484 | - | ["Walk"] = { |
484 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
485 | - | speed=2.1, |
485 | + | Targetting=true |
486 | - | Head = CFrame.Angles(0,0,0), |
486 | + | RocketTarget=ZTarget |
487 | - | RightArm = CFrame.Angles(rad(50)-sin(angle)*0.05,rad(10),-rad(10)), |
487 | + | for i=1,Property do |
488 | - | LeftArm = CFrame.Angles(sin(angle)*1,0,0), |
488 | + | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
489 | - | RightLeg = CFrame.Angles(sin(angle)*1,0,0), |
489 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
490 | - | LeftLeg = CFrame.Angles(-sin(angle)*1,0,0), |
490 | + | swait() |
491 | - | Torso = CFrame.Angles(0,0,0), |
491 | + | |
492 | - | hnd = CFrame.Angles(-rad(60),0,0)*CFrame.new(0.5,0,0) |
492 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
493 | - | }, |
493 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
494 | - | ["Jump"] = { |
494 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
495 | - | speed=2, |
495 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
496 | - | Head = CFrame.Angles(0,0,0), |
496 | + | |
497 | - | RightArm = CFrame.Angles(0,0,0), |
497 | + | Targetting=false |
498 | - | LeftArm = CFrame.Angles(rad(-20),0,0), |
498 | + | RocketTarget=nil |
499 | - | RightLeg = CFrame.new(0,.5,-.5)*CFrame.Angles(rad(-20),0,0), |
499 | + | targetgui.Parent=nil |
500 | - | LeftLeg = CFrame.Angles(0,0,0), |
500 | + | cam.CameraType="Custom" |
501 | - | Torso = CFrame.Angles(rad(10),0,0), |
501 | + | |
502 | - | hnd = CFrame.Angles(0,0,0) |
502 | + | |
503 | - | } |
503 | + | debounce=Instance.new("BoolValue") |
504 | - | } |
504 | + | debounce.Name="DebounceHit" |
505 | - | } |
505 | + | debounce.Parent=hit.Parent |
506 | debounce.Value=true | |
507 | game:GetService("Debris"):AddItem(debounce,Delay) | |
508 | - | local Neck = genWeld(pchar.Torso,pchar.Head) |
508 | + | c=Instance.new("ObjectValue") |
509 | - | Neck.C0 = CFrame.new(0,1,0) |
509 | + | c.Name="creator" |
510 | - | Neck.C1 = CFrame.new(0,-0.5,0) |
510 | + | c.Value=Player |
511 | - | local LeftShoulder = genWeld(pchar.Torso,pchar['Left Arm']) |
511 | + | c.Parent=h |
512 | - | LeftShoulder.C0 = CFrame.new(-1,0.5,0) |
512 | + | game:GetService("Debris"):AddItem(c,.5) |
513 | - | LeftShoulder.C1 = CFrame.new(0.5,0.5,0) |
513 | + | CRIT=false |
514 | - | local RightShoulder = genWeld(pchar.Torso,pchar['Right Arm']) |
514 | + | hitDeb=true |
515 | - | RightShoulder.C0 = CFrame.new(1,0.5,0) |
515 | + | AttackPos=6 |
516 | - | RightShoulder.C1 = CFrame.new(-0.5,0.5,0) |
516 | + | |
517 | - | local LeftHip = genWeld(pchar.Torso,pchar['Left Leg']) |
517 | + | |
518 | - | LeftHip.C0 = CFrame.new(-1,-1,0) |
518 | + | |
519 | - | LeftHip.C1 = CFrame.new(-0.5,1,0) |
519 | + | showDamage=function(Char,Dealt,du,Color) |
520 | - | local RightHip = genWeld(pchar.Torso,pchar['Right Leg']) |
520 | + | m=Instance.new("Model") |
521 | - | RightHip.C0 = CFrame.new(1,-1,0) |
521 | + | m.Name=tostring(Dealt) |
522 | - | RightHip.C1 = CFrame.new(0.5,1,0) |
522 | + | h=Instance.new("Humanoid") |
523 | - | local RootJoint = genWeld(pchar.HumanoidRootPart,pchar.Torso) |
523 | + | h.Health=0 |
524 | - | RootJoint.C0 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi) |
524 | + | h.MaxHealth=0 |
525 | - | RootJoint.C1 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi) |
525 | + | h.Parent=m |
526 | - | local mainp = mo.Handle |
526 | + | c=Instance.new("Part") |
527 | - | local mwl = Weld(mainp,pchar['Right Arm'],0,-1,0,-pi/2,0,0,mo) |
527 | + | c.Transparency=0 |
528 | - | local g1 = Weld(mo.Gauntlet.Arm,pchar['Right Arm'],0,0,0,0,0,0,mo) |
528 | + | c.BrickColor=Color |
529 | - | local g2 = Weld(mo.Gauntlet2.Arm,pchar['Left Arm'],0,0,0,0,0,0,mo) |
529 | + | c.Name="Head" |
530 | - | local blade = mo.blade |
530 | + | c.TopSurface=0 |
531 | c.BottomSurface=0 | |
532 | c.formFactor="Plate" | |
533 | - | LerpTo = { |
533 | + | c.Size=Vector3.new(1,.4,1) |
534 | - | Neck = newLerpTo(Neck); |
534 | + | ms=Instance.new("CylinderMesh") |
535 | - | LeftArm = newLerpTo(LeftShoulder); |
535 | + | ms.Scale=Vector3.new(.8,.8,.8) |
536 | - | RightArm = newLerpTo(RightShoulder); |
536 | + | if CRIT==true then |
537 | - | LeftLeg = newLerpTo(LeftHip); |
537 | + | ms.Scale=Vector3.new(1,1.25,1) |
538 | - | RightLeg = newLerpTo(RightHip); |
538 | + | |
539 | - | RootJoint = newLerpTo(RootJoint); |
539 | + | ms.Parent=c |
540 | - | hnd = newLerpTo(mwl); |
540 | + | c.Reflectance=0 |
541 | - | } |
541 | + | Instance.new("BodyGyro").Parent=c |
542 | c.Parent=m | |
543 | - | mwl.Part1=pchar['Torso'] |
543 | + | if Char:findFirstChild("Head")~=nil then |
544 | - | mwl.C1=CFrame.new(-1,.5,-2)*CFrame.Angles(rad(130),-pi/1,0) |
544 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
545 | - | mouse.KeyDown:connect(function(ke) |
545 | + | elseif Char.Parent:findFirstChild("Head")~=nil then |
546 | - | if attack==true then return end |
546 | + | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
547 | - | key=ke:lower() |
547 | + | |
548 | - | if key=="f" and obf==false then |
548 | + | f=Instance.new("BodyPosition") |
549 | - | eq = not eq |
549 | + | f.P=2000 |
550 | - | if eq then |
550 | + | f.D=100 |
551 | - | SetAnimData({Head=true,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true}) |
551 | + | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
552 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),-rad(20),-rad(70))*CFrame.new(0,-1,0) |
552 | + | f.position=c.Position+Vector3.new(0,3,0) |
553 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(30)) |
553 | + | f.Parent=c |
554 | - | wait(.01) |
554 | + | game:GetService("Debris"):AddItem(m,.5+du) |
555 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(120)) |
555 | + | c.CanCollide=false |
556 | - | mwl.Part1=pchar['Right Arm'] |
556 | + | m.Parent=workspace |
557 | - | wait(.2) |
557 | + | c.CanCollide=false |
558 | - | Spawn(function() |
558 | + | |
559 | - | wait(.025) |
559 | + | |
560 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(90)) |
560 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
561 | - | wait(.025) |
561 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
562 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(60)) |
562 | + | |
563 | - | wait(.025) |
563 | + | |
564 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(30)) |
564 | + | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) |
565 | - | wait(.025) |
565 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
566 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,0) |
566 | + | prt.Anchored=true |
567 | - | end) |
567 | + | prt.CFrame=cframe |
568 | - | CurrentActiveAnim="Holding" |
568 | + | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) |
569 | - | LerpTo.hnd.To = LerpTo.hnd.Cache |
569 | + | --http://www.roblox.com/asset/?id=4770560 |
570 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true,Handle=true}) |
570 | + | game:GetService("Debris"):AddItem(prt,2) |
571 | - | blade.Material="Neon" |
571 | + | CF=prt.CFrame |
572 | - | for i=1,5 do wait() |
572 | + | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) |
573 | - | blade.Transparency = .5-i/10 |
573 | + | for i=0,1,0.2 do |
574 | - | end |
574 | + | wait() |
575 | - | else |
575 | + | Part.CFrame=CF*cf(0,0,-0.4) |
576 | - | SetAnimData({Head=true,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true}) |
576 | + | |
577 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),-rad(20),-rad(70))*CFrame.new(0,-1,0) |
577 | + | for i=0,1,delay do |
578 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(30)) |
578 | + | wait() |
579 | - | wait(.01) |
579 | + | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) |
580 | - | LerpTo.hnd.To = LerpTo.hnd.Cache |
580 | + | Mesh.Scale=Mesh.Scale |
581 | - | mwl.Part1=pchar['Torso'] |
581 | + | |
582 | - | mwl.C1=CFrame.new(-1,.5,-2)*CFrame.Angles(rad(130),-pi/1,0) |
582 | + | for i=0,1,0.1 do |
583 | - | wait(.2) |
583 | + | wait() |
584 | - | CurrentActiveAnim="Idle" |
584 | + | Part.Transparency=i |
585 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true}) |
585 | + | |
586 | - | for i=1,5 do wait() |
586 | + | Part.Parent=nil |
587 | - | blade.Transparency = 0+i/10 |
587 | + | end),prt,msh,CF) |
588 | - | end |
588 | + | |
589 | - | blade.Material="Plastic" |
589 | + | |
590 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
591 | - | elseif key=="c" and obf then |
591 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
592 | prt.Anchored=true | |
593 | - | for _,v in pairs(mo:GetChildren()) do if v.ClassName=="Part" or v.ClassName=="UnionOperation" then v.Transparency=v.Transparency+1 end end |
593 | + | prt.CFrame=cframe |
594 | - | for _,v in pairs(mo.Gauntlet:GetChildren()) do if v.ClassName=="Part" or v.ClassName=="UnionOperation" then v.Transparency=v.Transparency+1 end end |
594 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
595 | - | for _,v in pairs(mo.Gauntlet2:GetChildren()) do if v.ClassName=="Part" or v.ClassName=="UnionOperation" then v.Transparency=v.Transparency+1 end end |
595 | + | game:GetService("Debris"):AddItem(prt,5) |
596 | - | for _,v in pairs(pchar:GetChildren()) do if v.ClassName=="Hat" then v.Handle.Transparency=v.Handle.Transparency+1 end end |
596 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
597 | - | pchar.Torso.Transparency=1 |
597 | + | for i=0,1,delay do |
598 | - | pchar["Right Arm"].Transparency=1 |
598 | + | wait() |
599 | - | pchar["Left Arm"].Transparency=1 |
599 | + | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
600 | - | pchar["Right Leg"].Transparency=1 |
600 | + | Part.Transparency=i |
601 | - | pchar["Left Leg"].Transparency=1 |
601 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
602 | - | pchar.Head.Transparency=1 |
602 | + | |
603 | - | so('153092334',pchar,false,1) |
603 | + | Part.Parent=nil |
604 | - | Lightning(pchar.Torso.Position+Vector3.new(0,.5,0),pob.Position,math.random(5,10),math.random(-2.5,2.5),BrickColor.new'Bright yellow',.1) |
604 | + | end),prt,msh) |
605 | - | wait(.3) |
605 | + | |
606 | - | pchar.Torso.CFrame=pob.CFrame*CFrame.new(math.random(5,7),-3,math.random(5,7)) |
606 | + | |
607 | - | for _,v in pairs(mo:GetChildren()) do if v.ClassName=="Part" or v.ClassName=="UnionOperation" then v.Transparency=v.Transparency-1 end end |
607 | + | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
608 | - | for _,v in pairs(mo.Gauntlet:GetChildren()) do if v.ClassName=="Part" or v.ClassName=="UnionOperation" then v.Transparency=v.Transparency-1 end end |
608 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
609 | - | for _,v in pairs(mo.Gauntlet2:GetChildren()) do if v.ClassName=="Part" or v.ClassName=="UnionOperation" then v.Transparency=v.Transparency-1 end end |
609 | + | prt.Anchored=false |
610 | - | for _,v in pairs(pchar:GetChildren()) do if v.ClassName=="Hat" then v.Handle.Transparency=v.Handle.Transparency-1 end end |
610 | + | prt.CFrame=cframe |
611 | - | pchar.Torso.Transparency=0 |
611 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
612 | - | pchar["Right Arm"].Transparency=0 |
612 | + | local wld=weld(prt,prt,Parent,cframe) |
613 | - | pchar["Left Arm"].Transparency=0 |
613 | + | game:GetService("Debris"):AddItem(prt,5) |
614 | - | pchar["Right Leg"].Transparency=0 |
614 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
615 | - | pchar["Left Leg"].Transparency=0 |
615 | + | for i=0,1,delay do |
616 | - | pchar.Head.Transparency=0 |
616 | + | wait() |
617 | - | so('161006033',pchar,false,.9) |
617 | + | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe |
618 | - | local a= Part(.2,.2,.2,"White",0.5,false,true,pchar) |
618 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
619 | - | a.CFrame=pchar.Torso.CFrame*CFrame.new(0,-2,0) |
619 | + | Part.Transparency=i |
620 | - | local m= Mesh(a,'http://www.roblox.com/asset/?id=20329976',3,1,3) |
620 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
621 | - | Spawn(function() for i=1,12 do wait()m.Scale=m.Scale+Vector3.new(.2,0,.2) a.CFrame=a.CFrame*CFrame.Angles(0,rad(i+i*2),0) a.Transparency=a.Transparency+.04 end a:Destroy() end) |
621 | + | |
622 | - | for i=1, 10 do |
622 | + | Part.Parent=nil |
623 | - | local p= Part(math.random(2,7)/4,math.random(2,7)/4,math.random(2,7)/4,"White",0,false,false,mo) |
623 | + | end),prt,msh,wld) |
624 | - | p.CFrame=CFrame.new(torso.CFrame.x+math.random(-3,3),torso.CFrame.y-1,torso.CFrame.z+math.random(-3,3))*CFrame.Angles(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)*CFrame.Angles(pi/2,0,0) |
624 | + | |
625 | - | p.Velocity=Vector3.new(math.random(-20,20),math.random(5,30),math.random(-20,20)) |
625 | + | |
626 | - | game.Debris:AddItem(p,2) |
626 | + | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
627 | - | Spawn(function() |
627 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
628 | - | for i=1,10 do wait(.01) |
628 | + | prt.Anchored=false |
629 | - | p.Transparency=p.Transparency+.1 |
629 | + | prt.CFrame=cframe |
630 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
631 | - | end) |
631 | + | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) |
632 | game:GetService("Debris"):AddItem(prt,5) | |
633 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
634 | - | elseif key=="x" and obf then |
634 | + | for i=0,1,delay do |
635 | wait() | |
636 | - | so('228343252',pchar,false,1) |
636 | + | Weld.C0=euler(i*20,0,0) |
637 | - | SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=false,Handle=false}) |
637 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
638 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(80),0,-rad(40)) |
638 | + | Part.Transparency=i |
639 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(80),0,rad(40)) |
639 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
640 | - | LerpTo.Neck.To = LerpTo.Neck.Cache |
640 | + | |
641 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache |
641 | + | Part.Parent=nil |
642 | - | bg = Instance.new("BodyGyro",torso) |
642 | + | end),prt,msh,wld) |
643 | - | bg.P = 20e+003 |
643 | + | |
644 | - | bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge |
644 | + | |
645 | - | bg.cframe = CFrame.new(torso.Position,Vector3.new(mouse.Hit.p.x,torso.CFrame.p.y,mouse.Hit.p.z)) |
645 | + | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
646 | - | mov=true |
646 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
647 | - | elseif key=="z" and obf then |
647 | + | prt.Anchored=true |
648 | prt.CFrame=cframe | |
649 | - | SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=false,Handle=false}) |
649 | + | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
650 | - | local bgs = Instance.new("BodyGyro",torso) |
650 | + | game:GetService("Debris"):AddItem(prt,2) |
651 | - | bgs.P = 20e+003 |
651 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
652 | - | bgs.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge |
652 | + | for i=0,1,delay do |
653 | - | bgs.cframe = CFrame.new(torso.Position,Vector3.new(pob.CFrame.p.x,torso.CFrame.p.y,pob.CFrame.p.z)) |
653 | + | wait() |
654 | - | game.Debris:AddItem(bgs,.2) |
654 | + | Part.CFrame=Part.CFrame |
655 | - | so('235097661',pchar,false,1) |
655 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
656 | - | mgblock(pchar["Left Arm"],CFrame.new(0,-1.5,0),5,"Bright yellow","White",Vector3.new(1.5,1.5,1.5),.1) |
656 | + | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
657 | - | mgblock(pchar["Right Arm"],CFrame.new(0,-1.5,0),5,"Bright yellow","White",Vector3.new(1.5,1.5,1.5),.1) |
657 | + | prt2.Anchored=true |
658 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),0,0) |
658 | + | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
659 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(70),0,0) |
659 | + | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) |
660 | - | wait(.2) |
660 | + | game:GetService("Debris"):AddItem(prt2,2) |
661 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(100),0,rad(30)) |
661 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
662 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(100),0,-rad(30)) |
662 | + | for i=0,1,0.1 do |
663 | - | wait(.2) |
663 | + | wait() |
664 | - | obf = false |
664 | + | Part.CFrame=Part.CFrame*cf(0,0.5,0) |
665 | - | so('231917744',pchar,false,1) |
665 | + | |
666 | - | explosion("Bright yellow","Really black",pob.CFrame,Vector3.new(20,20,20),25,30) |
666 | + | Part.Parent=nil |
667 | - | Spawn(function() |
667 | + | end),prt2,msh2) |
668 | - | for i=1,3 do |
668 | + | |
669 | - | for i=1,3 do |
669 | + | for i=0,1,delay*2 do |
670 | - | mgblock(pob,CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)),2,'Bright yellow','Really black',Vector3.new(1,1,1),0) |
670 | + | wait() |
671 | Part.CFrame=Part.CFrame | |
672 | - | local pa= Part(1,1,1,'Bright yellow',0,false,true,pchar) |
672 | + | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) |
673 | - | pa.Reflectance=1 |
673 | + | |
674 | - | pa.CFrame=pob.CFrame*CFrame.Angles(math.random(),math.random(),math.random()) |
674 | + | Part.Parent=nil |
675 | - | local ms=Mesh(pa,'http://www.roblox.com/asset/?id=3270017',5,5,.02) |
675 | + | end),prt,msh) |
676 | - | Spawn(function() |
676 | + | |
677 | - | for i=1,20 do wait() |
677 | + | |
678 | - | pa.Reflectance=pa.Reflectance-.05 |
678 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
679 | - | pa.Transparency=pa.Transparency+.05 |
679 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
680 | - | ms.Scale=ms.Scale+Vector3.new(1,1,0) |
680 | + | prt.Anchored=true |
681 | - | end |
681 | + | prt.CFrame=cframe |
682 | - | pa:Destroy() |
682 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
683 | - | end) |
683 | + | game:GetService("Debris"):AddItem(prt,2) |
684 | - | end |
684 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
685 | - | pob.Parent:Destroy() |
685 | + | for i=0,1,delay do |
686 | - | pob = nil |
686 | + | wait() |
687 | - | end) |
687 | + | Part.CFrame=Part.CFrame |
688 | - | SetAnimData({Head=true,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true}) |
688 | + | Part.Transparency=i |
689 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),-rad(20),-rad(70))*CFrame.new(0,-1,0) |
689 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
690 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(30)) |
690 | + | |
691 | - | wait(.01) |
691 | + | Part.Parent=nil |
692 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(120)) |
692 | + | end),prt,msh) |
693 | - | mwl.Part1=pchar['Right Arm'] |
693 | + | |
694 | - | wait(.2) |
694 | + | |
695 | - | Spawn(function() |
695 | + | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) |
696 | - | wait(.025) |
696 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
697 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(90)) |
697 | + | prt.Anchored=true |
698 | - | wait(.025) |
698 | + | prt.CFrame=cframe*euler(x2,y2,z2) |
699 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(60)) |
699 | + | --"http://www.roblox.com/asset/?id=168892465" |
700 | - | wait(.025) |
700 | + | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) |
701 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,rad(30)) |
701 | + | game:GetService("Debris"):AddItem(prt,2) |
702 | - | wait(.025) |
702 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
703 | - | mwl.C1 =CFrame.new(0,-1,0)*CFrame.Angles(-pi/2,0,0) |
703 | + | for i=0,1,0.03 do |
704 | - | end) |
704 | + | wait() |
705 | - | CurrentActiveAnim="Holding" |
705 | + | Part.CFrame=Part.CFrame |
706 | - | LerpTo.hnd.To = LerpTo.hnd.Cache |
706 | + | Part.Transparency=i |
707 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true,Handle=true}) |
707 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
708 | - | blade.Material="Neon" |
708 | + | |
709 | - | for i=1,5 do wait() |
709 | + | Part.Parent=nil |
710 | - | blade.Transparency = .5-i/10 |
710 | + | end),prt,msh) |
711 | - | end |
711 | + | |
712 | - | attack=false |
712 | + | |
713 | - | elseif key=="e" and eq and obf == false then |
713 | + | function BreakEffect(brickcolor,cframe,x1,y1,z1) |
714 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
715 | - | SetAnimData({Head=true,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true}) |
715 | + | prt.Anchored=true |
716 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),-rad(20),-rad(70))*CFrame.new(0,-1,0) |
716 | + | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
717 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(30)) |
717 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
718 | - | wait(.01) |
718 | + | game:GetService("Debris"):AddItem(prt,2) |
719 | - | LerpTo.hnd.To = LerpTo.hnd.Cache |
719 | + | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) |
720 | - | mwl.Part1=pchar['Torso'] |
720 | + | CF=Part.CFrame |
721 | - | mwl.C1=CFrame.new(-1,.5,-2)*CFrame.Angles(rad(130),-pi/1,0) |
721 | + | Numbb=0 |
722 | - | wait(.2) |
722 | + | randnumb=math.random()/10 |
723 | - | CurrentActiveAnim="Idle" |
723 | + | rand1=math.random()/10 |
724 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true}) |
724 | + | for i=0,1,rand1 do |
725 | - | Spawn(function() |
725 | + | wait() |
726 | - | for i=1,5 do wait() |
726 | + | CF=CF*cf(0,math.random()/2,0) |
727 | - | blade.Transparency = 0+i/10 |
727 | + | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) |
728 | - | end |
728 | + | Part.CFrame=CF*euler(Numbb,0,0) |
729 | - | blade.Material="Plastic" |
729 | + | Part.Transparency=i |
730 | - | end) |
730 | + | Numbb=Numbb+randnumb |
731 | - | so('233091183',pchar,false,.9) |
731 | + | |
732 | - | wait(.1) |
732 | + | Part.Parent=nil |
733 | - | pchar.Humanoid.WalkSpeed=0 |
733 | + | end),prt,CF,Numbb,randnumb) |
734 | - | SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=false,LeftLeg=false,Torso=false}) |
734 | + | |
735 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0) |
735 | + | |
736 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(30),0,rad(10)) |
736 | + | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
737 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(30),0,-rad(10)) |
737 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
738 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,0) * CFrame.new(0,0,-1) |
738 | + | prt.Anchored=true |
739 | - | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0,0,0) * CFrame.new(0,1,-1) |
739 | + | prt.CFrame=cframe |
740 | - | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(-rad(50),0,0) * CFrame.new(0,0.5,0) |
740 | + | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) |
741 | - | wait(.1) |
741 | + | game:GetService("Debris"):AddItem(prt,5) |
742 | - | local obli = game.ReplicatedStorage.obli:Clone() |
742 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
743 | - | pob=obli.mainp |
743 | + | for i=0,1,delay do |
744 | - | obli.Parent=pchar |
744 | + | wait() |
745 | - | obli.mainp.Anchored=true |
745 | + | Part.CFrame=Part.CFrame*euler(0,0.7,0) |
746 | - | obli.mainp.CFrame=pchar.Torso.CFrame*CFrame.new(0,-3,-4) |
746 | + | Part.Transparency=i |
747 | - | local a= Part(.2,.2,.2,"White",0.5,false,true,pchar) |
747 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
748 | - | a.CFrame=pchar.Torso.CFrame*CFrame.new(0,-2,-4) |
748 | + | |
749 | - | local m= Mesh(a,'http://www.roblox.com/asset/?id=20329976',3,1,3) |
749 | + | Part.Parent=nil |
750 | - | Spawn(function() for i=1,12 do wait()obli.mainp.CFrame=obli.mainp.CFrame+Vector3.new(0,0.5,0) m.Scale=m.Scale+Vector3.new(.2,0,.2) a.CFrame=a.CFrame*CFrame.Angles(0,rad(i+i*2),0) a.Transparency=a.Transparency+.04 end stfobl = pob.CFrame a:Destroy() obf=true end) |
750 | + | end),prt,msh) |
751 | - | for i,v in pairs(workspace:children()) do |
751 | + | |
752 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
752 | + | |
753 | - | if v:findFirstChild("Head") and v:findFirstChild("Torso") then |
753 | + | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
754 | - | if (v:findFirstChild("Torso").Position - pchar['Left Arm'].Position).magnitude < 10 and v.Name ~= pchar.Name then |
754 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
755 | - | v.Humanoid.PlatformStand=true |
755 | + | prt.Anchored=true |
756 | - | v.Torso.Velocity=Vector3.new(math.random(-50,50),20,math.random(-50,50)) |
756 | + | prt.CFrame=cframe |
757 | - | v.Humanoid:TakeDamage(20) |
757 | + | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) |
758 | - | Spawn(function()wait(.5) v.Humanoid.PlatformStand=false end) |
758 | + | game:GetService("Debris"):AddItem(prt,2) |
759 | - | end |
759 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
760 | for i=0,1,delay do | |
761 | - | end |
761 | + | wait() |
762 | - | end |
762 | + | Part.CFrame=Part.CFrame*cf(0,y3/2,0) |
763 | - | wait(.1) |
763 | + | Part.Transparency=i |
764 | - | pchar.Humanoid.WalkSpeed=16 |
764 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
765 | - | SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true}) |
765 | + | |
766 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(120),0,rad(10)) |
766 | + | Part.Parent=nil |
767 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(120),0,-rad(10)) |
767 | + | end),prt,msh) |
768 | - | wait(.4) |
768 | + | |
769 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true}) |
769 | + | |
770 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
771 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
772 | prt.Anchored=true | |
773 | prt.CFrame=cframe*cf(x,y,z) | |
774 | - | mouse.KeyUp:connect(function(ke) |
774 | + | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) |
775 | - | key=ke:lower() |
775 | + | game:GetService("Debris"):AddItem(prt,5) |
776 | - | if key=="x" then |
776 | + | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) |
777 | - | stfobl=CFrame.new(mouse.Hit.p)*CFrame.new(0,5,0) |
777 | + | local num=math.random() |
778 | - | mov=false |
778 | + | local num2=math.random(-3,2)+math.random() |
779 | - | so('200633455',pchar,false,.7) |
779 | + | local numm=0 |
780 | - | bg:Destroy() |
780 | + | for i=0,1,delay*2 do |
781 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true}) |
781 | + | swait() |
782 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
783 | Part.Transparency=i | |
784 | numm=numm+0.01 | |
785 | end | |
786 | Part.Parent=nil | |
787 | - | if not eq or attack == true or obf then return end |
787 | + | Mesh.Parent=nil |
788 | - | smo=false |
788 | + | end),prt,msh,x,y,z) |
789 | - | if combo==-1 then |
789 | + | |
790 | - | attack = true |
790 | + | |
791 | - | SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=false,Handle=false}) |
791 | + | function dmgstart(dmg,what) |
792 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(120),0,rad(45)) |
792 | + | hitcon = what.Touched:connect(function(hit) |
793 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),0,-rad(10)) |
793 | + | local hum = hit.Parent:FindFirstChild("Humanoid") |
794 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,rad(90)) |
794 | + | if hum and not hum:IsDescendantOf(Character) then |
795 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-rad(20),0) |
795 | + | hum:TakeDamage(dmg) |
796 | - | LerpTo.hnd.To = CFrame.new(0,-1,0)*CFrame.Angles(0,0,-rad(60)) |
796 | + | |
797 | - | wait(.3) |
797 | + | |
798 | - | tmdmg(10,blade,5,4) |
798 | + | |
799 | - | so('231917871',pchar,false,1) |
799 | + | |
800 | - | camshake(0.05,50,0.001,5) |
800 | + | function dmgstop() |
801 | - | trail(blade,10,4) |
801 | + | hitcon:disconnect() |
802 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),0,rad(10)) |
802 | + | |
803 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,rad(30)) |
803 | + | |
804 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,rad(0)) |
804 | + | function Cloak() |
805 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-rad(0),0) |
805 | + | Face.Parent=nil |
806 | - | LerpTo.hnd.To = CFrame.new(0,-1,0)*CFrame.Angles(rad(80),0,-rad(90)) |
806 | + | cloaked=true |
807 | - | wait(.1) |
807 | + | for _,v in pairs(Torso.Parent:children()) do |
808 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(70)) |
808 | + | if v.className=="Part" and v.Name~="HumanoidRootPart" then |
809 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,rad(70),0) |
809 | + | coroutine.resume(coroutine.create(function() |
810 | - | wait(.2) |
810 | + | for i=0,1,0.2 do |
811 | wait() | |
812 | - | combo=0 |
812 | + | v.Transparency=i |
813 | - | elseif combo==0 then |
813 | + | |
814 | v.Transparency=1 | |
815 | - | SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=false,Handle=false}) |
815 | + | end)) |
816 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,rad(45)) |
816 | + | |
817 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(120),0,-rad(50)) |
817 | + | if v.className=="Hat" then |
818 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(180)) |
818 | + | hatp=v.Handle |
819 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,rad(90),0) |
819 | + | coroutine.resume(coroutine.create(function(derp) |
820 | - | LerpTo.hnd.To = CFrame.new(0,-1,0)*CFrame.Angles(0,0,rad(70)) |
820 | + | for i=0,1,0.2 do |
821 | - | wait(.3) |
821 | + | |
822 | - | tmdmg(10,blade,5,4) |
822 | + | derp.Transparency=i |
823 | - | so('231917871',pchar,false,.9) |
823 | + | |
824 | - | camshake(0.05,50,0.001,5) |
824 | + | derp.Transparency=1 |
825 | - | trail(blade,10,4) |
825 | + | end),hatp) |
826 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(80),0,-rad(50)) |
826 | + | |
827 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(30)) |
827 | + | |
828 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,rad(30),0) |
828 | + | for _,v in pairs(m:children()) do |
829 | - | LerpTo.hnd.To = CFrame.new(0,-1,0)*CFrame.Angles(rad(80),0,rad(90)) |
829 | + | if v.className=="Part" then |
830 | - | wait(.1) |
830 | + | coroutine.resume(coroutine.create(function() |
831 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,rad(30)) |
831 | + | for i=0,1,0.2 do |
832 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-rad(30),0) |
832 | + | |
833 | - | wait(.2) |
833 | + | v.Transparency=i |
834 | end | |
835 | - | combo=1 |
835 | + | v.Transparency=1 |
836 | - | elseif combo==1 then |
836 | + | end)) |
837 | end | |
838 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-rad(90),0) |
838 | + | |
839 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,rad(90)) |
839 | + | |
840 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,rad(50)) |
840 | + | |
841 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(80),0,-rad(45)) |
841 | + | function UnCloak() |
842 | - | LerpTo.hnd.To = CFrame.new(0,-1,0)*CFrame.Angles(rad(50),0,-rad(60)) |
842 | + | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) |
843 | - | wait(.2) |
843 | + | Face.Parent=Head |
844 | - | tmdmg(10,blade,5,4) |
844 | + | cloaked=false |
845 | - | so('231917871',pchar,false,.8) |
845 | + | for _,v in pairs(Torso.Parent:children()) do |
846 | - | camshake(0.05,50,0.001,5) |
846 | + | if v.className=="Part" and v.Name~="HumanoidRootPart" then |
847 | - | trail(blade,10,4) |
847 | + | coroutine.resume(coroutine.create(function() |
848 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(80),0,rad(50)) |
848 | + | for i=0,1,0.1 do |
849 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,rad(30)) |
849 | + | |
850 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-rad(30),0) |
850 | + | v.Transparency=v.Transparency-0.1 |
851 | - | LerpTo.hnd.To = CFrame.new(0,-1,0)*CFrame.Angles(rad(80),0,-rad(90)) |
851 | + | |
852 | - | wait(.1) |
852 | + | v.Transparency=0 |
853 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(30)) |
853 | + | end)) |
854 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,rad(30),0) |
854 | + | |
855 | - | wait(.2) |
855 | + | if v.className=="Hat" then |
856 | hatp=v.Handle | |
857 | - | combo=2 |
857 | + | coroutine.resume(coroutine.create(function(derp) |
858 | - | elseif combo==2 then |
858 | + | for i=0,1,0.1 do |
859 | wait() | |
860 | - | so('231917871',pchar,false,.7) |
860 | + | derp.Transparency=derp.Transparency-0.1 |
861 | - | so('228343249',pchar,false,.8) |
861 | + | |
862 | - | LerpTo.hnd.To = LerpTo.hnd.Cache |
862 | + | derp.Transparency=0 |
863 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,-rad(90))* CFrame.new(0.5,-0.5,0) |
863 | + | end),hatp) |
864 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,rad(90),0) |
864 | + | |
865 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(90)) |
865 | + | |
866 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(0,0,rad(30)) |
866 | + | for _,v in pairs(m:children()) do |
867 | - | posfix(-rad(90)) |
867 | + | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then |
868 | - | for i,v in pairs(workspace:children()) do |
868 | + | coroutine.resume(coroutine.create(function() |
869 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
869 | + | for i=0,1,0.1 do |
870 | - | if v:findFirstChild("Head") and v:findFirstChild("Torso") then |
870 | + | |
871 | - | if (v:findFirstChild("Torso").Position - pchar['Left Arm'].Position).magnitude < 27 and v.Name ~= pchar.Name then |
871 | + | v.Transparency=v.Transparency-0.1 |
872 | - | local goto=v.Torso.Position+Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) |
872 | + | |
873 | - | Lightning(pchar['Left Arm'].Position,goto,math.random(5,10),math.random(-2.5,2.5),BrickColor.new'Bright yellow',.1) |
873 | + | v.Transparency=0 |
874 | - | Lightning(pchar['Left Arm'].Position,goto,math.random(5,10),math.random(-2.5,2.5),BrickColor.new'Bright yellow',.1) |
874 | + | end)) |
875 | - | Lightning(pchar['Left Arm'].Position,goto,math.random(5,10),math.random(-2.5,2.5),BrickColor.new'Bright yellow',.1) |
875 | + | v.Transparency=0 |
876 | - | local bpos=Instance.new("BodyPosition",v.Torso) |
876 | + | |
877 | - | bpos.maxForce=Vector3.new(1e1000,1e1000,1e1000) |
877 | + | |
878 | - | bpos.position=pchar.Torso.Position |
878 | + | |
879 | - | game.Debris:AddItem(bpos,.3) |
879 | + | |
880 | - | Spawn(function() |
880 | + | Player=game:GetService('Players').LocalPlayer |
881 | - | for i=1,2 do |
881 | + | Character=Player.Character |
882 | - | local oldpos=v.Torso.CFrame.p wait(.2) |
882 | + | Mouse=Player:GetMouse() |
883 | - | local newpos=v.Torso.CFrame.p |
883 | + | m=Instance.new('Model',Character) |
884 | - | local mag = (oldpos-newpos).magnitude |
884 | + | |
885 | - | local a= Part(.2,.2,.2,"Black",0.5,false,true,pchar) |
885 | + | |
886 | - | a.CFrame=CFrame.new(oldpos,newpos)*CFrame.new(0,0,-mag/2)*CFrame.Angles(0,pi/2,pi/2) |
886 | + | local function weldBetween(a, b) |
887 | - | local m= Mesh(a,'http://www.roblox.com/asset/?id=20329976',3,1,3) |
887 | + | local weldd = Instance.new("ManualWeld") |
888 | - | Spawn(function() for i=1,5 do wait() m.Scale=m.Scale+Vector3.new(1,.2,1) a.Transparency=a.Transparency+.1 end a:Destroy() end) |
888 | + | weldd.Part0 = a |
889 | - | end |
889 | + | weldd.Part1 = b |
890 | - | end) |
890 | + | weldd.C0 = CFrame.new() |
891 | - | end |
891 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
892 | weldd.Parent = a | |
893 | - | end |
893 | + | return weldd |
894 | - | end |
894 | + | |
895 | - | wait(.3) |
895 | + | |
896 | - | combo=3 |
896 | + | it=Instance.new |
897 | ||
898 | - | elseif combo==3 then |
898 | + | function nooutline(part) |
899 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
900 | - | so('233856140',pchar,false,1.2) |
900 | + | |
901 | - | LerpTo.hnd.To = LerpTo.hnd.Cache * CFrame.Angles(rad(20),rad(40),0) |
901 | + | |
902 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(120),0,rad(40))*CFrame.new(.2,-.3,0) |
902 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
903 | - | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0) |
903 | + | local fp=it("Part") |
904 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,0) |
904 | + | fp.formFactor=formfactor |
905 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(120),0,-rad(40))*CFrame.new(-.2,-.3,0) |
905 | + | fp.Parent=parent |
906 | - | wait(.3) |
906 | + | fp.Reflectance=reflectance |
907 | - | so('231917871',pchar,false,.6) |
907 | + | fp.Transparency=transparency |
908 | - | SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=false,LeftLeg=false,Torso=false}) |
908 | + | fp.CanCollide=false |
909 | - | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(20),0,-rad(40))* CFrame.new(-.2,-.25,0) |
909 | + | fp.Locked=true |
910 | - | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(20),0,rad(40))* CFrame.new(.2,-.25,0) |
910 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
911 | - | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,0) * CFrame.new(0,0,-1) |
911 | + | fp.Name=name |
912 | - | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0,0,0) * CFrame.new(0,1,-1) |
912 | + | fp.Size=size |
913 | - | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(-rad(50),0,0) * CFrame.new(0,0.5,0) |
913 | + | fp.Position=Character.Torso.Position |
914 | - | wait(.15) |
914 | + | nooutline(fp) |
915 | - | so('231917806',pchar,false,1.25) |
915 | + | fp.Material=material |
916 | - | local a= Part(.2,.2,.2,"White",0.5,false,true,pchar) |
916 | + | fp:BreakJoints() |
917 | - | a.CFrame=pchar.Torso.CFrame*CFrame.new(0,-.2,0) |
917 | + | return fp |
918 | - | local m= Mesh(a,'http://www.roblox.com/asset/?id=20329976',3,1,3) |
918 | + | |
919 | - | Spawn(function() for i=1,12 do wait() m.Scale=m.Scale+Vector3.new(1,0,1) a.CFrame=a.CFrame*CFrame.Angles(0,rad(i+i*2),0) a.Transparency=a.Transparency+.04 end a:Destroy() end) |
919 | + | |
920 | - | for i,v in pairs(workspace:children()) do |
920 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
921 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
921 | + | local mesh=it(Mesh) |
922 | - | if v:findFirstChild("Head") and v:findFirstChild("Torso") then |
922 | + | mesh.Parent=part |
923 | - | if (v:findFirstChild("Torso").Position - pchar['Left Arm'].Position).magnitude < 27 and v.Name ~= pchar.Name then |
923 | + | if Mesh=="SpecialMesh" then |
924 | - | v.Humanoid.PlatformStand=true |
924 | + | mesh.MeshType=meshtype |
925 | - | v.Torso.Velocity=Vector3.new(math.random(-100,100),20,math.random(-100,100)) |
925 | + | mesh.MeshId=meshid |
926 | - | v.Humanoid:TakeDamage(20) |
926 | + | |
927 | - | Spawn(function()wait(.5) v.Humanoid.PlatformStand=false end) |
927 | + | mesh.Offset=offset |
928 | - | end |
928 | + | mesh.Scale=scale |
929 | return mesh | |
930 | - | end |
930 | + | |
931 | - | end |
931 | + | |
932 | - | wait(.2) |
932 | + | function weld(parent,part0,part1,c0,c1) |
933 | - | combo=4 |
933 | + | local weld=it("Weld") |
934 | weld.Parent=parent | |
935 | weld.Part0=part0 | |
936 | - | Spawn(function() |
936 | + | weld.Part1=part1 |
937 | - | wait(0.6) |
937 | + | weld.C0=c0 |
938 | - | if attack==false then |
938 | + | weld.C1=c1 |
939 | - | attack=true |
939 | + | return weld |
940 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true,Handle=true}) |
940 | + | |
941 | - | smo=true |
941 | + | |
942 | - | wait(.2) |
942 | + | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Handle",Vector3.new(1.9433943, 0.388678879, 0.388678849)) |
943 | - | attack=false |
943 | + | HandleWeld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),CFrame.new(0.241004944, -0.0347366333, -1.15570068, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007)) |
944 | - | combo=-1 |
944 | + | mesh("BlockMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.20000005, 1.20000005)) |
945 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.388678849, 1.16603673, 5.05282545)) | |
946 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0, -0.583026886, 7.57923889, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
947 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 1)) | |
948 | - | ftimer=0 |
948 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.388678849, 1.16603673, 1.9433943)) |
949 | - | SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true,Handle=false}) |
949 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(5.34057617e-005, -0.583026886, 4.08110809, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) |
950 | - | CurrentActiveAnim="Idle" |
950 | + | mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 1)) |
951 | - | game:service'RunService'.Stepped:connect(function()wait() |
951 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.388678849, 1.16603673, 1.16603673)) |
952 | - | ftimer=ftimer+.1 |
952 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(7.62939453e-006, 0.583034515, -2.52642059, -1.0000037, -7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) |
953 | - | Spawn(function() |
953 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 1)) |
954 | - | if obf and ftimer > 1 then |
954 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) |
955 | - | mgblock(pob,CFrame.new(0,-3,0),2,"White","White",Vector3.new(0,0,0),.1) |
955 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.28881836e-005, 0.291465759, 1.28265381, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) |
956 | - | ftimer=0 |
956 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) |
957 | - | if mov then |
957 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) |
958 | - | so('200633455',pchar,false,1.2) |
958 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.52587891e-005, 0.272033691, 1.28264618, -1.0000037, -7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) |
959 | - | Lightning(pchar.Torso.Position+Vector3.new(0,.5,0),pob.Position,math.random(5,10),math.random(-2.5,2.5),BrickColor.new'Bright yellow',.1) |
959 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) |
960 | - | end |
960 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) |
961 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.52587891e-005, 0.291526794, 1.28264618, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) | |
962 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) | |
963 | - | if mov then |
963 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) |
964 | - | bg.cframe = CFrame.new(torso.Position,Vector3.new(mouse.Hit.p.x,torso.CFrame.p.y,mouse.Hit.p.z)) |
964 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.67028809e-005, 0.485809326, 1.47697449, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) |
965 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) | |
966 | - | col = col + 1.1 |
966 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) |
967 | - | if obf then |
967 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.67028809e-005, -0.388679504, -0.893981934, 7.09295273e-006, -1.00000739, 4.42543552e-007, 1.0000037, 7.09295273e-006, 0, 3.28270744e-012, -4.63617056e-007, 1)) |
968 | - | if mov then |
968 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
969 | - | pob.CFrame=clerp(pob.CFrame,CFrame.new(mouse.Hit.p)*CFrame.Angles(math.rad(math.sin((tick())*2)*10),math.rad(col),0)*CFrame.new(0,5+math.sin((tick())*1),0),.1) |
969 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) |
970 | - | else |
970 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.28881836e-005, 0.485855103, 1.47697449, 7.09295273e-006, -1.00000739, 4.42543552e-007, -1.0000037, -7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) |
971 | - | pob.CFrame=clerp(pob.CFrame,stfobl*CFrame.Angles(math.rad(math.sin((tick())*2)*10),math.rad(col),0)*CFrame.new(0,1+math.sin((tick())*1),0),.1) |
971 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) |
972 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
973 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.67028809e-005, 0.291503906, 1.28265381, 7.09295273e-006, -1.00000739, 4.42543552e-007, -1.0000037, -7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
974 | - | UpdateAnims() |
974 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) |
975 | - | for _,v in pairs(LerpTo) do |
975 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) |
976 | - | v.Weld.C0 = Lerp.CFrame(v.Weld.C0,v.To,v.Speed) |
976 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-3.05175781e-005, 0.485855103, 1.47695923, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) |
977 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) | |
978 | - | angle = (angle % 100) + anglespeed/10 |
978 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) |
979 | - | if Vector3.new(0, torso.Velocity.y, 0).magnitude > 4 then |
979 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(3.05175781e-005, 0.466384888, 1.47697449, -1.0000037, -7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) |
980 | - | CheckAnimData(CurrentActiveAnim,"Jump") |
980 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) |
981 | - | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then |
981 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) |
982 | - | CheckAnimData(CurrentActiveAnim,"Stance") |
982 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.67028809e-005, -0.388626099, -0.893981934, -7.09295273e-006, 1.00000739, -4.42543552e-007, -1.0000037, -7.09295273e-006, 0, 3.28270744e-012, -4.63617056e-007, 1)) |
983 | - | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then |
983 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
984 | - | CheckAnimData(CurrentActiveAnim,"Walk") |
984 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) |
985 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-3.05175781e-005, -0.388683319, -0.893974304, 1.0000037, 7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
986 | - | end) |
986 | + | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
987 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
988 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(3.05175781e-005, -0.388637543, -0.893966675, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
989 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
990 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.9433943, 0.388678879, 0.388678849)) | |
991 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-7.62939453e-006, -4.57763672e-005, -1.71661377e-005, -3.28270744e-012, 4.63617056e-007, -1, 0.707104445, 0.707117081, -3.27826768e-007, 0.707114458, -0.707107067, 3.27826768e-007)) | |
992 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.00399995, 1.20000005, 1.20000005)) | |
993 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
994 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.971710205, -7.62939453e-006, -3.81469727e-006, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007)) | |
995 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.400200009, 1.79999995, 1.79999995)) | |
996 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
997 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.508415222, -5.34057617e-005, -2.35767365, -5.00679016e-006, 0.707111716, 0.707106471, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.707112312, -0.707107246)) | |
998 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) | |
999 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1000 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.528083801, 4.57763672e-005, -2.33799744, 5.00679016e-006, -0.707111359, 0.7071082, -1.0000037, -7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1001 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) | |
1002 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1003 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.518295288, -0.0139083862, -2.34779739, -0.707108974, -5.33461571e-006, 0.707107425, -7.09295273e-006, 1.00000739, -4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1004 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) | |
1005 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1006 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.48014259, -5.34057617e-005, -2.24774933, -5.00679016e-006, 0.707111716, 0.707106471, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.707112312, -0.707107246)) | |
1007 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1008 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1009 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.38599396, -5.34057617e-005, -0.618383408, -5.00679016e-006, 0.707112312, -0.707107246, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.707111716, -0.707106471)) | |
1010 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1011 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1012 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.37611771, -0.0139160156, -0.628257751, -0.707108974, -4.67896461e-006, -0.707107425, -7.09295273e-006, 1.00000739, -4.42543552e-007, 0.707109928, 5.33461571e-006, -0.707106352)) | |
1013 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1014 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1015 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.37617493, 0.0139045715, -0.628196716, 0.707108974, 5.33461571e-006, -0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1016 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1017 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1018 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.48995972, 0.0139045715, -2.23793793, 0.707108974, 4.67896461e-006, 0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109928, 5.33461571e-006, -0.707106352)) | |
1019 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1020 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1021 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.3663044, 5.34057617e-005, -0.638069153, 5.00679016e-006, -0.707111716, -0.707106471, -1.0000037, -7.09295273e-006, 0, -5.00679016e-006, 0.707112312, -0.707107246)) | |
1022 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1023 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1024 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.49982452, 5.34057617e-005, -2.22806358, 5.00679016e-006, -0.707111359, 0.7071082, -1.0000037, -7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1025 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1026 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1027 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.49002838, -0.0139045715, -2.23787689, -0.707108974, -5.33461571e-006, 0.707107425, -7.09295273e-006, 1.00000739, -4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1028 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.5)) | |
1029 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1030 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-3.09001923, -3.81469727e-006, 0, -3.28270744e-012, 4.63617056e-007, -1, 0.707114458, -0.707107067, 3.27826768e-007, -0.707104445, -0.707117081, 3.27826768e-007)) | |
1031 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.20000005, 1.20000005)) | |
1032 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1033 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.518226624, 0.0139045715, -2.34786224, 0.707108974, 4.67896461e-006, 0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109928, 5.33461571e-006, -0.707106352)) | |
1034 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 1)) | |
1035 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1036 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.971717834, -3.81469727e-005, -2.47955322e-005, -3.28270744e-012, 4.63617056e-007, -1, 0.707104445, 0.707117081, -3.27826768e-007, 0.707114458, -0.707107067, 3.27826768e-007)) | |
1037 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1.79999995, 1.79999995)) | |
1038 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1039 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.97171402, -5.34057617e-005, -3.10941315, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1040 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1041 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1042 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.777362823, -9.91821289e-005, -3.30377197, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1043 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1044 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1045 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.97170639, -9.91821289e-005, -3.49811554, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1046 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1047 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1048 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.583026886, -9.91821289e-005, -3.10941315, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1049 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1050 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1051 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.583019257, -9.91821289e-005, -3.49811554, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1052 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1053 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1054 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.777362823, -0.000144958496, -3.69247437, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1055 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1056 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1057 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.583030701, -0.000144958496, -3.88678741, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1058 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1059 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1060 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.777362823, -9.91821289e-005, -2.91508484, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1061 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1062 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1063 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.97171402, -0.000144958496, -2.72074127, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1064 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.409999996, 0.25)) | |
1065 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.36037576)) | |
1066 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-5.34057617e-005, 3.60865021, -5.82277679, 1.0000037, 7.09295273e-006, 0, 6.13927841e-006, -0.866032004, 0.500000596, 3.5315752e-006, -0.500003517, -0.866025209)) | |
1067 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.389999986, 0.600000024, 1)) | |
1068 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 3.49810982)) | |
1069 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0, -0.174892426, 8.3565979, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
1070 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.409999996, 1, 1)) | |
1071 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.74905467)) | |
1072 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-5.34057617e-005, 1.35025406, -4.50031281, 1.0000037, 7.09295273e-006, 0, 6.85453415e-006, -0.965933084, 0.258819401, 1.83284283e-006, -0.258820415, -0.965925753)) | |
1073 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.389999986, 0.600000024, 1)) | |
1074 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 3.88678861)) | |
1075 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0, -0.174900055, 4.85848236, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
1076 | mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.409999996, 1, 1)) | |
1077 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 2.13773346)) | |
1078 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-5.34057617e-005, 1.67153931, -5.48734283, 1.0000037, 7.09295273e-006, 0, 6.85453415e-006, -0.965933084, 0.258819401, 1.83284283e-006, -0.258820415, -0.965925753)) | |
1079 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.389999986, 0.600000024, 1)) | |
1080 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.971696913)) | |
1081 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-9.15527344e-005, 1.0484581, -3.76266479, 1.0000037, 7.09295273e-006, 0, 6.85453415e-006, -0.965933084, 0.258819401, 1.83284283e-006, -0.258820415, -0.965925753)) | |
1082 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.389999986, 0.600000024, 1)) | |
1083 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.971696913)) | |
1084 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-7.62939453e-006, 3.99732971, -6.69033051, 1.0000037, 7.09295273e-006, 0, 6.13927841e-006, -0.866032004, 0.500000596, 3.5315752e-006, -0.500003517, -0.866025209)) | |
1085 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.389999986, 0.600000024, 1)) | |
1086 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1087 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.40283203, 0.0139122009, -0.628177643, 0.707108974, 5.33461571e-006, -0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1088 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1089 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1090 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.3663044, 5.34057617e-005, -0.638069153, 5.00679016e-006, -0.707111716, -0.707106471, -1.0000037, -7.09295273e-006, 0, -5.00679016e-006, 0.707112312, -0.707107246)) | |
1091 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1092 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1093 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.38599396, -5.34057617e-005, -0.618383408, -5.00679016e-006, 0.707112312, -0.707107246, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.707111716, -0.707106471)) | |
1094 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1095 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1096 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.33217621, 0.0139083862, -0.367092133, 0.707108974, 5.33461571e-006, -0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1097 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1098 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1099 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.531990051, 0.0139083862, 2.49707794, -0.707109392, -4.67896461e-006, -0.707106888, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109392, -5.33461571e-006, 0.707106888)) | |
1100 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1101 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1102 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.48014259, -5.34057617e-005, -2.24774933, -5.00679016e-006, 0.707111716, 0.707106471, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.707112312, -0.707107246)) | |
1103 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1104 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1105 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.37617493, 0.0139045715, -0.628196716, 0.707108974, 5.33461571e-006, -0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1106 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1107 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1108 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.49982452, 5.34057617e-005, -2.22806358, 5.00679016e-006, -0.707111359, 0.7071082, -1.0000037, -7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1109 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1110 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1111 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.2379303, 0.0139122009, -0.463272095, 0.707108974, 5.33461571e-006, -0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1112 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1113 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1114 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.37611771, -0.0139122009, -0.628257751, -0.707108974, -4.67896461e-006, -0.707107425, -7.09295273e-006, 1.00000739, -4.42543552e-007, 0.707109928, 5.33461571e-006, -0.707106352)) | |
1115 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1116 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1117 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.49002838, -0.0139045715, -2.23787689, -0.707108974, -5.33461571e-006, 0.707107425, -7.09295273e-006, 1.00000739, -4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1118 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1119 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1120 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.23792267, 0.0139045715, -0.628170013, 0.707108974, 5.33461571e-006, -0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1121 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1122 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1123 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.40281677, 0.0139045715, -0.463272095, 0.707108974, 5.33461571e-006, -0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, -0.707109928, -4.67896461e-006, -0.707106352)) | |
1124 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1125 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(1.55471539, 0.388678879, 0.388678849)) | |
1126 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.48995972, 0.0139045715, -2.23793793, 0.707108974, 4.67896461e-006, 0.707107425, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109928, 5.33461571e-006, -0.707106352)) | |
1127 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.50999999, 0.300000012)) | |
1128 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1129 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.531967163, 0.0139045715, 2.49709702, -0.707109392, -5.33461571e-006, 0.707106888, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109392, 4.67896461e-006, 0.707106888)) | |
1130 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1131 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1132 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.41270447, 7.62939453e-006, -0.453437805, -5.00679016e-006, 0.707111359, -0.7071082, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1133 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1134 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1135 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.522144318, 7.62939453e-006, 2.50693512, 5.00679016e-006, -0.707111716, -0.707106471, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.707112312, 0.707107246)) | |
1136 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1137 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1138 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.41268921, 0, -0.618328094, -5.00679016e-006, 0.707111359, -0.7071082, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1139 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1140 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1141 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.461303711, 0.0139122009, 2.23599625, -0.707109392, -5.33461571e-006, 0.707106888, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109392, 4.67896461e-006, 0.707106888)) | |
1142 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1143 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1144 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.626220703, 0.0139122009, 2.23600388, -0.707109392, -5.33461571e-006, 0.707106888, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109392, 4.67896461e-006, 0.707106888)) | |
1145 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1146 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1147 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.33219528, 0.0139122009, -0.36706543, 0.707109392, 4.67896461e-006, 0.707106888, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109392, 5.33461571e-006, -0.707106888)) | |
1148 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1149 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1150 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.24778748, 0, -0.453422546, -5.00679016e-006, 0.707111359, -0.7071082, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1151 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1152 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1153 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.461296082, 0.0139122009, 2.40089417, -0.707109392, -5.33461571e-006, 0.707106888, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109392, 4.67896461e-006, 0.707106888)) | |
1154 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1155 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1156 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.636062622, 7.62939453e-006, 2.22615814, 5.00679016e-006, -0.707111359, 0.7071082, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.70711267, 0.707105517)) | |
1157 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1158 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1159 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.471138, 7.62939453e-006, 2.39105225, 5.00679016e-006, -0.707111359, 0.7071082, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.70711267, 0.707105517)) | |
1160 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1161 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1162 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.32234764, 7.62939453e-006, -0.376907349, -5.00679016e-006, 0.707111716, 0.707106471, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.707112312, -0.707107246)) | |
1163 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1164 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1165 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.24777985, 7.62939453e-006, -0.618318558, -5.00679016e-006, 0.707111359, -0.7071082, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1166 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1167 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1168 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.34202576, 7.62939453e-006, -0.357233047, -5.00679016e-006, 0.707111359, -0.7071082, 1.0000037, 7.09295273e-006, 0, 5.00679016e-006, -0.70711267, -0.707105517)) | |
1169 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1170 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1171 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.626220703, 0.0139083862, 2.40091324, -0.707109392, -5.33461571e-006, 0.707106888, 7.09295273e-006, -1.00000739, 4.42543552e-007, 0.707109392, 4.67896461e-006, 0.707106888)) | |
1172 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1173 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.777357697, 0.388678879, 0.388678849)) | |
1174 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.541809082, 1.52587891e-005, 2.4872551, 5.00679016e-006, -0.707111359, 0.7071082, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.70711267, 0.707105517)) | |
1175 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.449999988, 0.50999999, 0.100000001)) | |
1176 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603673)) | |
1177 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.52587891e-005, 0.485870361, 1.67131042, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) | |
1178 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1179 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1180 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.28881836e-005, 0.291488647, 1.28265381, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1181 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1182 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) | |
1183 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.67028809e-005, -0.388633728, -0.699615479, -7.09295273e-006, 1.00000739, -4.42543552e-007, -1.0000037, -7.09295273e-006, 0, 3.28270744e-012, -4.63617056e-007, 1)) | |
1184 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.005, 1)) | |
1185 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1186 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0, 0.272029877, 1.28264618, -1.0000037, -7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) | |
1187 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1188 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603673)) | |
1189 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.28881836e-005, 0.466381073, 1.67132568, -1.0000037, -7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) | |
1190 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1191 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1192 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.47114563, 1.52587891e-005, 2.22614288, 5.00679016e-006, -0.707111359, 0.7071082, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.70711267, 0.707105517)) | |
1193 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1194 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1195 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.636054993, 7.62939453e-006, 2.39108276, 5.00679016e-006, -0.707111359, 0.7071082, 1.0000037, 7.09295273e-006, 0, -5.00679016e-006, 0.70711267, 0.707105517)) | |
1196 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.50999999, 0.300000012)) | |
1197 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) | |
1198 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.52587891e-005, -0.388629913, -0.69960022, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
1199 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.005, 1)) | |
1200 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1201 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-7.62939453e-006, 0.291526794, 1.28264618, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) | |
1202 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1203 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1204 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.28881836e-005, 0.291488647, 1.28265381, 7.09295273e-006, -1.00000739, 4.42543552e-007, -1.0000037, -7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1205 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1206 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) | |
1207 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-1.52587891e-005, -0.388687134, -0.699607849, 1.0000037, 7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
1208 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.005, 1)) | |
1209 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357697)) | |
1210 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.67028809e-005, -0.388679504, -0.699615479, 7.09295273e-006, -1.00000739, 4.42543552e-007, 1.0000037, 7.09295273e-006, 0, 3.28270744e-012, -4.63617056e-007, 1)) | |
1211 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.005, 1)) | |
1212 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603673)) | |
1213 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(2.28881836e-005, 0.485839844, 1.67132568, 7.09295273e-006, -1.00000739, 4.42543552e-007, -1.0000037, -7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1214 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1215 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603673)) | |
1216 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-2.67028809e-005, 0.485816956, 1.67132568, -7.09295273e-006, 1.00000739, -4.42543552e-007, 1.0000037, 7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1)) | |
1217 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.50999999, 1)) | |
1218 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.388678849, 0.388678879, 0.388678849)) | |
1219 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(1.47697449, 0, 2.28881836e-005, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007)) | |
1220 | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(2, 2, 2)) | |
1221 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 6.60754156)) | |
1222 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(7.62939453e-006, 0.019443512, 6.41320801, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
1223 | mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.409999996, 1, 1)) | |
1224 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1225 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.000190734863, 1.05471802, 1.6859436, 1.0000037, 7.09295273e-006, 0, -7.09295273e-006, 1.00000739, -4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
1226 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1227 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1228 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-5.34057617e-005, -0.0419998169, 1.84877777, 1.0000037, 7.09295273e-006, 0, -6.13927841e-006, 0.866032004, -0.500000596, -3.5315752e-006, 0.500003517, 0.866025209)) | |
1229 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1230 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1231 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(9.15527344e-005, 2.92700958, -0.497303009, -1.0000037, -7.09295273e-006, 0, 3.28270744e-012, -4.63617056e-007, 1, -7.09295273e-006, 1.00000739, -4.42543552e-007)) | |
1232 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1233 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603684)) | |
1234 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(9.91821289e-005, -2.92700958, 1.46901703, -1.0000037, -7.09295273e-006, 0, -3.28270744e-012, 4.63617056e-007, -1, 7.09295273e-006, -1.00000739, 4.42543552e-007)) | |
1235 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1236 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1237 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.000175476074, -2.88346863, 0.636032104, -1.0000037, -7.09295273e-006, 0, -1.83284283e-006, 0.258821309, -0.965926051, 6.82473183e-006, -0.965932906, -0.258818567)) | |
1238 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1239 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603684)) | |
1240 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(4.57763672e-005, 2.71659088, -1.52053452, -1.0000037, -7.09295273e-006, 0, -1.83284283e-006, 0.258820415, 0.965925753, -6.85453415e-006, 0.965933084, -0.258819401)) | |
1241 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1242 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1243 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.00016784668, 2.883461, 0.141336441, -1.0000037, -7.09295273e-006, 0, 1.83284283e-006, -0.258821309, 0.965926051, -6.82473183e-006, 0.965932906, 0.258818567)) | |
1244 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1245 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1246 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.000228881836, 2.65683746, 0.841089249, -1.0000037, -7.09295273e-006, 0, 3.54647636e-006, -0.500004351, 0.866025686, -6.13927841e-006, 0.866031587, 0.49999994)) | |
1247 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1248 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388679057)) | |
1249 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(0.000244140625, -2.65684509, -0.258056641, -1.0000037, -7.09295273e-006, 0, -3.54647636e-006, 0.500004351, -0.866025686, 6.13927841e-006, -0.866031587, -0.49999994)) | |
1250 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1251 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603684)) | |
1252 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(5.34057617e-005, -2.7165451, 2.68659592, -1.0000037, -7.09295273e-006, 0, 1.83284283e-006, -0.258820415, -0.965925753, 6.85453415e-006, -0.965933084, 0.258819401)) | |
1253 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1254 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603684)) | |
1255 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.00023651123, 1.49963951, 1.24688721, 1.0000037, 7.09295273e-006, 0, -6.82473183e-006, 0.965932906, 0.258818567, 1.83284283e-006, -0.258821309, 0.965926051)) | |
1256 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1257 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603684)) | |
1258 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.000228881836, -1.49964714, -0.0808563232, 1.0000037, 7.09295273e-006, 0, 6.82473183e-006, -0.965932906, -0.258818567, -1.83284283e-006, 0.258821309, -0.965926051)) | |
1259 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1260 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1261 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.000122070313, -0.537380219, -1.0358429, 1.0000037, 7.09295273e-006, 0, 6.85453415e-006, -0.965933084, 0.258819401, 1.83284283e-006, -0.258820415, -0.965925753)) | |
1262 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1263 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.777357936)) | |
1264 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.000122070313, 0.537384033, 1.81324005, 1.0000037, 7.09295273e-006, 0, -6.85453415e-006, 0.965933084, -0.258819401, -1.83284283e-006, 0.258820415, 0.965925753)) | |
1265 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1266 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 1.16603684)) | |
1267 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.000183105469, -1.09358215, -0.714263916, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, -3.28270744e-012, 4.63617056e-007, -1)) | |
1268 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1269 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Br. yellowish orange","Part",Vector3.new(0.388678849, 0.388678879, 0.388679057)) | |
1270 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-4.57763672e-005, 0.0420303345, -1.26578522, 1.0000037, 7.09295273e-006, 0, 6.13927841e-006, -0.866032004, 0.500000596, 3.5315752e-006, -0.500003517, -0.866025209)) | |
1271 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.5, 1)) | |
1272 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Fossil","Hitbox",Vector3.new(0.200000003, 0.376036763, 7.00339413)) | |
1273 | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, -3.28270744e-012, 4.63617056e-007, -1, 1.0000037, 7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007),CFrame.new(-0.0131454468, -0.908103943, 6.06111145, -1.0000037, -7.09295273e-006, 0, 7.09295273e-006, -1.00000739, 4.42543552e-007, 3.28270744e-012, -4.63617056e-007, 1)) | |
1274 | ||
1275 | mouse.Button1Down:connect(function() | |
1276 | if attack==false and attacktype==1 then | |
1277 | attacktype=2 | |
1278 | attackone() | |
1279 | elseif attack==false and attacktype==2 then | |
1280 | attacktype=1 | |
1281 | attacktwo() | |
1282 | end | |
1283 | end) | |
1284 | function attackone() | |
1285 | attack=true | |
1286 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1287 | for i=0,1,0.2 do | |
1288 | swait() | |
1289 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1290 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1291 | local h = 5 | |
1292 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1293 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1294 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1295 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1296 | scfr = blcf | |
1297 | elseif not scfr then | |
1298 | scfr = blcf | |
1299 | end | |
1300 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-90),math.rad(-90))*angles(math.rad(90),0,math.rad(0)),.4) | |
1301 | end | |
1302 | so("http://roblox.com/asset/?id=199150686",Hitbox,1,1) | |
1303 | so("http://roblox.com/asset/?id=206083107",Hitbox,1,2) | |
1304 | for i=0,1,0.2 do | |
1305 | swait() | |
1306 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1307 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1308 | local h = 5 | |
1309 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1310 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1311 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1312 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1313 | scfr = blcf | |
1314 | elseif not scfr then | |
1315 | scfr = blcf | |
1316 | end | |
1317 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.4) | |
1318 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*angles(math.rad(0),math.rad(0),math.rad(25)),.4) | |
1319 | RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-100))*angles(math.rad(-75),0,math.rad(0)),.4) | |
1320 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4) | |
1321 | end | |
1322 | attack=false | |
1323 | con1:disconnect() | |
1324 | end | |
1325 | ||
1326 | function attacktwo() | |
1327 | attack=true | |
1328 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1329 | for i=0,1,0.2 do | |
1330 | swait() | |
1331 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1332 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1333 | local h = 5 | |
1334 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1335 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1336 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1337 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1338 | scfr = blcf | |
1339 | elseif not scfr then | |
1340 | scfr = blcf | |
1341 | end | |
1342 | RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-90))*angles(math.rad(-75),0,math.rad(0)),.4) | |
1343 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4) | |
1344 | end | |
1345 | so("http://roblox.com/asset/?id=199146359",Hitbox,1,1) | |
1346 | so("http://roblox.com/asset/?id=206083107",Hitbox,1,1.5) | |
1347 | for i=0,1,1 do | |
1348 | swait() | |
1349 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1350 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1351 | local h = 5 | |
1352 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1353 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1354 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1355 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1356 | scfr = blcf | |
1357 | elseif not scfr then | |
1358 | scfr = blcf | |
1359 | end | |
1360 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(40)),.4) | |
1361 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*angles(math.rad(0),math.rad(0),math.rad(-45)),.4) | |
1362 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-90),math.rad(-90))*angles(math.rad(90),0,math.rad(0)),.4) | |
1363 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,-.5,-.5)*angles(math.rad(-35),math.rad(0),math.rad(0)),.4) | |
1364 | end | |
1365 | attack=false | |
1366 | con1:disconnect() | |
1367 | end | |
1368 | ||
1369 | function attackthree() | |
1370 | ||
1371 | end | |
1372 | ||
1373 | idleanim=.4 | |
1374 | ||
1375 | while true do | |
1376 | swait() | |
1377 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1378 | local velderp=RootPart.Velocity.y | |
1379 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1380 | if equipped==true or equipped==false then | |
1381 | if attack==false then | |
1382 | idle=idle+1 | |
1383 | else | |
1384 | idle=0 | |
1385 | end | |
1386 | if idle>=500 then | |
1387 | if attack==false then | |
1388 | --Sheath() | |
1389 | end | |
1390 | end | |
1391 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1392 | Anim="Jump" | |
1393 | if attack==false then | |
1394 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
1395 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1396 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3) | |
1397 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(105),math.rad(0)),.3) | |
1398 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1399 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3) | |
1400 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1401 | RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2) | |
1402 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2) | |
1403 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1404 | end | |
1405 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1406 | Anim="Fall" | |
1407 | if attack==false then | |
1408 | Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3) | |
1409 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1410 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3) | |
1411 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(115),math.rad(0)),.3) | |
1412 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1413 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3) | |
1414 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1415 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2) | |
1416 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2) | |
1417 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1418 | end | |
1419 | elseif torvel<1 and hitfloor~=nil then | |
1420 | Anim="Idle" | |
1421 | if attack==false then | |
1422 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*angles(math.rad(0),math.rad(0),math.rad(-35)),.3) | |
1423 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(35)),.3) | |
1424 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-35),math.rad(90),math.rad(0))*angles(math.rad(-25),math.rad(15),math.rad(0)),.3) | |
1425 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15),math.rad(0),math.rad(-25)),.3) | |
1426 | RH.C0=clerp(RH.C0,cf(1,-.75,0)*angles(math.rad(-15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(15),math.rad(0)),.3) | |
1427 | LH.C0=clerp(LH.C0,cf(-1,-.75,-.25)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(35),math.rad(0)),.3) | |
1428 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1429 | end | |
1430 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
1431 | Anim="Walk" | |
1432 | if attack==false then | |
1433 | --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1434 | --Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1435 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.5)*angles(math.rad(0),math.rad(0),math.rad(-35)),.3) | |
1436 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(35)),.3) | |
1437 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-55),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3) | |
1438 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-25)),.3) | |
1439 | --RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
1440 | --LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1441 | RH.C0=clerp(RH.C0,cf(1,-.75,0)*angles(math.rad(-15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(15),math.rad(0)),.3) | |
1442 | LH.C0=clerp(LH.C0,cf(-1,-.75,-.25)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(35),math.rad(0)),.3) | |
1443 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1444 | end | |
1445 | elseif torvel>=22 and hitfloor~=nil then | |
1446 | Anim="Run" | |
1447 | if attack==false then | |
1448 | RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1449 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1450 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1451 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1452 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
1453 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1454 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1455 | end | |
1456 | end | |
1457 | end | |
1458 | end | |
1459 | RAW Paste Data |