SHOW:
|
|
- or go back to the newest paste.
1 | - | setfpscap(60) |
1 | + | --Reanimate |
2 | loadstring(game:HttpGet("https://pastebin.com/raw/YBMWtriH"))() | |
3 | - | game.Players.LocalPlayer.Character["Hat1"].Handle.Mesh:Destroy() |
3 | + | |
4 | - | game.Players.LocalPlayer.Character["Pal Hair"].Handle.Mesh:Destroy() --Pink Hair |
4 | + | |
5 | - | game.Players.LocalPlayer.Character["Pink Hair"].Handle.Mesh:Destroy() |
5 | + | |
6 | - | game.Players.LocalPlayer.Character["Kate Hair"].Handle.Mesh:Destroy() --LavanderHair |
6 | + | |
7 | - | game.Players.LocalPlayer.Character["LavanderHair"].Handle.Mesh:Destroy() |
7 | + | Player=game:GetService("Players").LocalPlayer |
8 | - | game.Players.LocalPlayer.Character["Robloxclassicred"].Handle.Mesh:Destroy() |
8 | + | Character=Player.Character |
9 | - | game.Players.LocalPlayer.Character["LongStraightHair"].Handle.Mesh:Destroy() |
9 | + | PlayerGui=Player.PlayerGui |
10 | Backpack=Player.Backpack | |
11 | - | local c = game.Players.LocalPlayer.Character |
11 | + | Torso=Character.Torso |
12 | - | for i, v in pairs({"Right Arm", "Left Arm"}) do |
12 | + | Head=Character.Head |
13 | - | local arm = c[v] |
13 | + | Humanoid=Character.Humanoid |
14 | - | arm.Parent = nil |
14 | + | m=Instance.new('Model',Character) |
15 | - | arm.Transparency = 1 |
15 | + | LeftArm=Character["Left Arm"] |
16 | - | arm.Parent = c |
16 | + | LeftLeg=Character["Left Leg"] |
17 | RightArm=Character["Right Arm"] | |
18 | RightLeg=Character["Right Leg"] | |
19 | - | local c = game.Players.LocalPlayer.Character |
19 | + | |
20 | - | for i, v in pairs({"Right Leg", "Left Leg"}) do |
20 | + | |
21 | - | local Leg = c[v] |
21 | + | |
22 | - | Leg.Parent = nil |
22 | + | |
23 | - | Leg.Transparency = 1 |
23 | + | Face = Head.face |
24 | - | Leg.Parent = c |
24 | + | |
25 | it=Instance.new | |
26 | attacktype=1 | |
27 | - | local v3_net, v3_808 = Vector3.new(0, 25.1, 0), Vector3.new(8, 0, 8) |
27 | + | vt=Vector3.new |
28 | - | local function getNetlessVelocity(realPartVelocity) |
28 | + | cf=CFrame.new |
29 | - | local mag = realPartVelocity.Magnitude |
29 | + | euler=CFrame.fromEulerAnglesXYZ |
30 | - | if mag > 1 then |
30 | + | angles=CFrame.Angles |
31 | - | local unit = realPartVelocity.Unit |
31 | + | cloaked=false |
32 | - | if (unit.Y > 0.25) or (unit.Y < -0.75) then |
32 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
33 | - | return unit * (25.1 / unit.Y) |
33 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
34 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
35 | - | end |
35 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
36 | - | return v3_net + realPartVelocity * v3_808 |
36 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
37 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
38 | - | local simradius = "shp" --simulation radius (net bypass) method |
38 | + | RootPart=Character.HumanoidRootPart |
39 | - | --simulation radius (net bypass) method |
39 | + | RootJoint=RootPart.RootJoint |
40 | - | --"shp" - sethiddenproperty |
40 | + | RootCF=euler(-1.57,0,3.14) |
41 | - | --"ssr" - setsimulationradius |
41 | + | attack = false |
42 | - | --false - disable |
42 | + | attackdebounce = false |
43 | - | local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character |
43 | + | deb=false |
44 | - | local newanimate = true --disables the animate script and enables after reanimation |
44 | + | equipped=true |
45 | - | local discharscripts = true --disables all localScripts parented to your character before reanimation |
45 | + | hand=false |
46 | - | local R15toR6 = true --tries to convert your character to r6 if its r15 |
46 | + | MMouse=nil |
47 | - | local hatcollide = true --makes hats cancollide (only method 0) |
47 | + | combo=0 |
48 | - | local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState) |
48 | + | mana=0 |
49 | - | local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation |
49 | + | trispeed=1 |
50 | - | local hedafterneck = false --disable aligns for head and enable after neck is removed |
50 | + | pathtrans=.7 |
51 | - | local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay |
51 | + | attackmode='none' |
52 | - | local method = 0 --reanimation method |
52 | + | local idle=0 |
53 | - | --methods: |
53 | + | local Anim="Idle" |
54 | - | --0 - breakJoints (takes [loadtime] seconds to laod) |
54 | + | local Effects={} |
55 | - | --1 - limbs |
55 | + | local gun=false |
56 | - | --2 - limbs + anti respawn |
56 | + | local shoot=false |
57 | - | --3 - limbs + breakJoints after [loadtime] seconds |
57 | + | player=nil |
58 | - | --4 - remove humanoid + breakJoints |
58 | + | cloak=false |
59 | - | --5 - remove humanoid + limbs |
59 | + | lightcolor='Bright blue' |
60 | - | local alignmode = 2 --AlignPosition mode |
60 | + | |
61 | - | --modes: |
61 | + | local Color1=Torso.BrickColor |
62 | - | --1 - AlignPosition rigidity enabled true |
62 | + | |
63 | - | --2 - 2 AlignPositions rigidity enabled both true and false |
63 | + | local fengui=it("GuiMain") |
64 | - | --3 - AlignPosition rigidity enabled false |
64 | + | fengui.Parent=Player.PlayerGui |
65 | fengui.Name="WeaponGUI" | |
66 | - | healthHide = healthHide and ((method == 0) or (method == 2) or (method == 000)) and gp(c, "Head", "BasePart") |
66 | + | local fenframe=it("Frame") |
67 | fenframe.Parent=fengui | |
68 | - | local lp = game:GetService("Players").LocalPlayer |
68 | + | fenframe.BackgroundColor3=Color3.new(255,255,255) |
69 | - | local rs = game:GetService("RunService") |
69 | + | fenframe.BackgroundTransparency=1 |
70 | - | local stepped = rs.Stepped |
70 | + | fenframe.BorderColor3=Color3.new(17,17,17) |
71 | - | local heartbeat = rs.Heartbeat |
71 | + | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) |
72 | - | local renderstepped = rs.RenderStepped |
72 | + | fenframe.Position=UDim2.new(0.4,0,0.1,0) |
73 | - | local sg = game:GetService("StarterGui") |
73 | + | local fenbarmana1=it("TextLabel") |
74 | - | local ws = game:GetService("Workspace") |
74 | + | fenbarmana1.Parent=fenframe |
75 | - | local cf = CFrame.new |
75 | + | fenbarmana1.Text=" " |
76 | - | local v3 = Vector3.new |
76 | + | fenbarmana1.BackgroundTransparency=0 |
77 | - | local v3_0 = v3(0, 0, 0) |
77 | + | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) |
78 | - | local inf = math.huge |
78 | + | fenbarmana1.SizeConstraint="RelativeXY" |
79 | fenbarmana1.TextXAlignment="Center" | |
80 | - | local c = lp.Character |
80 | + | fenbarmana1.TextYAlignment="Center" |
81 | fenbarmana1.Position=UDim2.new(0,0,0,0) | |
82 | - | if not (c and c.Parent) then |
82 | + | fenbarmana1.Size=UDim2.new(4,0,0.2,0) |
83 | - | return |
83 | + | local fenbarmana2=it("TextLabel") |
84 | fenbarmana2.Parent=fenframe | |
85 | fenbarmana2.Text=" " | |
86 | - | c.Destroying:Connect(function() |
86 | + | fenbarmana2.BackgroundTransparency=0 |
87 | - | c = nil |
87 | + | fenbarmana2.BackgroundColor3=Torso.Color |
88 | fenbarmana2.SizeConstraint="RelativeXY" | |
89 | fenbarmana2.TextXAlignment="Center" | |
90 | - | local function gp(parent, name, className) |
90 | + | fenbarmana2.TextYAlignment="Center" |
91 | - | if typeof(parent) == "Instance" then |
91 | + | fenbarmana2.Position=UDim2.new(0,0,0,0) |
92 | - | for i, v in pairs(parent:GetChildren()) do |
92 | + | fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0) |
93 | - | if (v.Name == name) and v:IsA(className) then |
93 | + | local fenbarmana3=it("TextLabel") |
94 | - | return v |
94 | + | fenbarmana3.Parent=fenframe |
95 | fenbarmana3.Text=" " | |
96 | fenbarmana3.BackgroundTransparency=0 | |
97 | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) | |
98 | - | return nil |
98 | + | fenbarmana3.SizeConstraint="RelativeXY" |
99 | fenbarmana3.TextXAlignment="Center" | |
100 | fenbarmana3.TextYAlignment="Center" | |
101 | - | local function align(Part0, Part1) |
101 | + | fenbarmana3.Position=UDim2.new(0,0,0,0) |
102 | - | Part0.CustomPhysicalProperties = PhysicalProperties.new(0.0001, 0.0001, 0.0001, 0.0001, 0.0001) |
102 | + | fenbarmana3.Size=UDim2.new(0,0,0.2,0) |
103 | local fenbarmana4=it("TextLabel") | |
104 | - | local att0 = Instance.new("Attachment", Part0) |
104 | + | fenbarmana4.Parent=fenframe |
105 | - | att0.Orientation = v3_0 |
105 | + | fenbarmana4.Text="Energy("..mana..")" |
106 | - | att0.Position = v3_0 |
106 | + | fenbarmana4.BackgroundTransparency=1 |
107 | - | att0.Name = "att0_" .. Part0.Name |
107 | + | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) |
108 | - | local att1 = Instance.new("Attachment", Part1) |
108 | + | fenbarmana4.SizeConstraint="RelativeXY" |
109 | - | att1.Orientation = v3_0 |
109 | + | fenbarmana4.TextXAlignment="Center" |
110 | - | att1.Position = v3_0 |
110 | + | fenbarmana4.TextYAlignment="Center" |
111 | - | att1.Name = "att1_" .. Part1.Name |
111 | + | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) |
112 | fenbarmana4.Size=UDim2.new(4,0,0.2,0) | |
113 | - | if (alignmode == 1) or (alignmode == 2) then |
113 | + | fenbarmana4.FontSize="Size9" |
114 | - | local ape = Instance.new("AlignPosition", att0) |
114 | + | fenbarmana4.TextStrokeTransparency=0 |
115 | - | ape.ApplyAtCenterOfMass = false |
115 | + | fenbarmana4.TextColor=BrickColor.new("White") |
116 | - | ape.MaxForce = inf |
116 | + | |
117 | - | ape.MaxVelocity = inf |
117 | + | mouse=Player:GetMouse() |
118 | - | ape.ReactionForceEnabled = false |
118 | + | --save shoulders |
119 | - | ape.Responsiveness = 200 |
119 | + | RSH, LSH=nil, nil |
120 | - | ape.Attachment1 = att1 |
120 | + | --welds |
121 | - | ape.Attachment0 = att0 |
121 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
122 | - | ape.Name = "AlignPositionRtrue" |
122 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
123 | - | ape.RigidityEnabled = true |
123 | + | LH=Torso["Left Hip"] |
124 | RH=Torso["Right Hip"] | |
125 | TorsoColor=Torso.BrickColor | |
126 | - | if (alignmode == 2) or (alignmode == 3) then |
126 | + | |
127 | - | local apd = Instance.new("AlignPosition", att0) |
127 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
128 | - | apd.ApplyAtCenterOfMass = false |
128 | + | |
129 | - | apd.MaxForce = inf |
129 | + | player=Player |
130 | - | apd.MaxVelocity = inf |
130 | + | ch=Character |
131 | - | apd.ReactionForceEnabled = false |
131 | + | RSH=ch.Torso["Right Shoulder"] |
132 | - | apd.Responsiveness = 200 |
132 | + | LSH=ch.Torso["Left Shoulder"] |
133 | - | apd.Attachment1 = att1 |
133 | + | -- |
134 | - | apd.Attachment0 = att0 |
134 | + | RSH.Parent=nil |
135 | - | apd.Name = "AlignPositionRfalse" |
135 | + | LSH.Parent=nil |
136 | - | apd.RigidityEnabled = false |
136 | + | -- |
137 | RW.Name="Right Shoulder" | |
138 | RW.Part0=ch.Torso | |
139 | - | local ao = Instance.new("AlignOrientation", att0) |
139 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
140 | - | ao.MaxAngularVelocity = inf |
140 | + | RW.C1=cf(0, 0.5, 0) |
141 | - | ao.MaxTorque = inf |
141 | + | RW.Part1=ch["Right Arm"] |
142 | - | ao.PrimaryAxisOnly = false |
142 | + | RW.Parent=ch.Torso |
143 | - | ao.ReactionTorqueEnabled = false |
143 | + | -- |
144 | - | ao.Responsiveness = 200 |
144 | + | LW.Name="Left Shoulder" |
145 | - | ao.Attachment1 = att1 |
145 | + | LW.Part0=ch.Torso |
146 | - | ao.Attachment0 = att0 |
146 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
147 | - | ao.RigidityEnabled = false |
147 | + | LW.C1=cf(0, 0.5, 0) |
148 | LW.Part1=ch["Left Arm"] | |
149 | - | if type(getNetlessVelocity) == "function" then |
149 | + | LW.Parent=ch.Torso |
150 | - | local realVelocity = v3_0 |
150 | + | |
151 | - | local steppedcon = stepped:Connect(function() |
151 | + | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
152 | - | Part0.Velocity = realVelocity |
152 | + | local fp=it("Part") |
153 | - | end) |
153 | + | fp.formFactor=formfactor |
154 | - | local heartbeatcon = heartbeat:Connect(function() |
154 | + | fp.Parent=parent |
155 | - | realVelocity = Part0.Velocity |
155 | + | fp.Reflectance=reflectance |
156 | - | Part0.Velocity = getNetlessVelocity(realVelocity) |
156 | + | fp.Transparency=transparency |
157 | - | end) |
157 | + | fp.CanCollide=false |
158 | - | Part0.Destroying:Connect(function() |
158 | + | fp.Locked=true |
159 | - | Part0 = nil |
159 | + | fp.BrickColor=brickcolor |
160 | - | steppedcon:Disconnect() |
160 | + | fp.Name=name |
161 | - | heartbeatcon:Disconnect() |
161 | + | fp.Size=size |
162 | - | end) |
162 | + | fp.Position=Torso.Position |
163 | NoOutline(fp) | |
164 | fp.Material="Neon" | |
165 | fp:BreakJoints() | |
166 | - | local function respawnrequest() |
166 | + | return fp |
167 | - | local ccfr = ws.CurrentCamera.CFrame |
167 | + | end |
168 | - | local c = lp.Character |
168 | + | |
169 | - | lp.Character = nil |
169 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
170 | - | lp.Character = c |
170 | + | local mesh=it(Mesh) |
171 | - | local con = nil |
171 | + | mesh.Parent=part |
172 | - | con = ws.CurrentCamera.Changed:Connect(function(prop) |
172 | + | if Mesh=="SpecialMesh" then |
173 | - | if (prop ~= "Parent") and (prop ~= "CFrame") then |
173 | + | mesh.MeshType=meshtype |
174 | - | return |
174 | + | if meshid~="nil" then |
175 | - | end |
175 | + | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid |
176 | - | ws.CurrentCamera.CFrame = ccfr |
176 | + | |
177 | - | con:Disconnect() |
177 | + | |
178 | - | end) |
178 | + | mesh.Offset=offset |
179 | mesh.Scale=scale | |
180 | return mesh | |
181 | - | local destroyhum = (method == 4) or (method == 5) |
181 | + | |
182 | - | local breakjoints = (method == 0) or (method == 4) |
182 | + | |
183 | - | local antirespawn = (method == 0) or (method == 2) or (method == 3) |
183 | + | function weld(parent,part0,part1,c0) |
184 | local weld=it("Weld") | |
185 | - | hatcollide = hatcollide and (method == 0) |
185 | + | weld.Parent=parent |
186 | weld.Part0=part0 | |
187 | - | addtools = addtools and gp(lp, "Backpack", "Backpack") |
187 | + | weld.Part1=part1 |
188 | weld.C0=c0 | |
189 | - | local fenv = getfenv() |
189 | + | |
190 | - | local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop |
190 | + | |
191 | - | local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.set_simulation_rad or fenv.setsimulationrad |
191 | + | |
192 | local Color1=Torso.BrickColor | |
193 | - | if shp and (simradius == "shp") then |
193 | + | |
194 | - | spawn(function() |
194 | + | local bodvel=Instance.new("BodyVelocity") |
195 | - | while c and heartbeat:Wait() do |
195 | + | local bg=Instance.new("BodyGyro") |
196 | - | shp(lp, "SimulationRadius", inf) |
196 | + | |
197 | function swait(num) | |
198 | - | end) |
198 | + | |
199 | - | elseif ssr and (simradius == "ssr") then |
199 | + | game:service'RunService'.Stepped:wait(0) |
200 | - | spawn(function() |
200 | + | |
201 | - | while c and heartbeat:Wait() do |
201 | + | |
202 | - | ssr(inf) |
202 | + | game:service'RunService'.Stepped:wait(0) |
203 | end | |
204 | - | end) |
204 | + | |
205 | end | |
206 | ||
207 | - | antiragdoll = antiragdoll and function(v) |
207 | + | |
208 | - | if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then |
208 | + | so = function(id,par,vol,pit) |
209 | - | v.Parent = nil |
209 | + | |
210 | local sou = Instance.new("Sound",par or workspace) | |
211 | sou.Volume=vol | |
212 | sou.Pitch=pit or 1 | |
213 | - | if antiragdoll then |
213 | + | sou.SoundId=id |
214 | - | for i, v in pairs(c:GetDescendants()) do |
214 | + | swait() |
215 | - | antiragdoll(v) |
215 | + | sou:play() |
216 | game:GetService("Debris"):AddItem(sou,6) | |
217 | - | c.DescendantAdded:Connect(antiragdoll) |
217 | + | |
218 | end | |
219 | ||
220 | - | if antirespawn then |
220 | + | function clerp(a,b,t) |
221 | - | respawnrequest() |
221 | + | local qa = {QuaternionFromCFrame(a)} |
222 | local qb = {QuaternionFromCFrame(b)} | |
223 | local ax, ay, az = a.x, a.y, a.z | |
224 | - | if method == 0 then |
224 | + | local bx, by, bz = b.x, b.y, b.z |
225 | - | wait(loadtime) |
225 | + | local _t = 1-t |
226 | - | if not c then |
226 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
227 | - | return |
227 | + | end |
228 | ||
229 | function QuaternionFromCFrame(cf) | |
230 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
231 | - | if discharscripts then |
231 | + | local trace = m00 + m11 + m22 |
232 | - | for i, v in pairs(c:GetChildren()) do |
232 | + | if trace > 0 then |
233 | - | if v:IsA("LocalScript") then |
233 | + | local s = math.sqrt(1 + trace) |
234 | - | v.Disabled = true |
234 | + | local recip = 0.5/s |
235 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
236 | else | |
237 | - | elseif newanimate then |
237 | + | local i = 0 |
238 | - | local animate = gp(c, "Animate", "LocalScript") |
238 | + | if m11 > m00 then |
239 | - | if animate and (not animate.Disabled) then |
239 | + | i = 1 |
240 | - | animate.Disabled = true |
240 | + | |
241 | - | else |
241 | + | if m22 > (i == 0 and m00 or m11) then |
242 | - | newanimate = false |
242 | + | i = 2 |
243 | end | |
244 | if i == 0 then | |
245 | local s = math.sqrt(m00-m11-m22+1) | |
246 | - | if addtools then |
246 | + | local recip = 0.5/s |
247 | - | for i, v in pairs(addtools:GetChildren()) do |
247 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
248 | - | if v:IsA("Tool") then |
248 | + | elseif i == 1 then |
249 | - | v.Parent = c |
249 | + | local s = math.sqrt(m11-m22-m00+1) |
250 | local recip = 0.5/s | |
251 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
252 | elseif i == 2 then | |
253 | local s = math.sqrt(m22-m00-m11+1) | |
254 | - | pcall(function() |
254 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
255 | - | settings().Physics.AllowSleep = false |
255 | + | end |
256 | - | settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled |
256 | + | end |
257 | end | |
258 | ||
259 | - | local OLDscripts = {} |
259 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
260 | local xs, ys, zs = x + x, y + y, z + z | |
261 | - | for i, v in pairs(c:GetDescendants()) do |
261 | + | local wx, wy, wz = w*xs, w*ys, w*zs |
262 | - | if v.ClassName == "Script" then |
262 | + | local xx = x*xs |
263 | - | table.insert(OLDscripts, v) |
263 | + | local xy = x*ys |
264 | local xz = x*zs | |
265 | local yy = y*ys | |
266 | local yz = y*zs | |
267 | - | local scriptNames = {} |
267 | + | local zz = z*zs |
268 | 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)) | |
269 | - | for i, v in pairs(c:GetDescendants()) do |
269 | + | |
270 | - | if v:IsA("BasePart") then |
270 | + | |
271 | - | local newName = tostring(i) |
271 | + | function QuaternionSlerp(a, b, t) |
272 | - | local exists = true |
272 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
273 | - | while exists do |
273 | + | local startInterp, finishInterp; |
274 | - | exists = false |
274 | + | if cosTheta >= 0.0001 then |
275 | - | for i, v in pairs(OLDscripts) do |
275 | + | if (1 - cosTheta) > 0.0001 then |
276 | - | if v.Name == newName then |
276 | + | local theta = math.acos(cosTheta) |
277 | - | exists = true |
277 | + | local invSinTheta = 1/math.sin(theta) |
278 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
279 | finishInterp = math.sin(t*theta)*invSinTheta | |
280 | - | if exists then |
280 | + | else |
281 | - | newName = newName .. "_" |
281 | + | startInterp = 1-t |
282 | finishInterp = t | |
283 | end | |
284 | - | table.insert(scriptNames, newName) |
284 | + | else |
285 | - | Instance.new("Script", v).Name = newName |
285 | + | if (1+cosTheta) > 0.0001 then |
286 | local theta = math.acos(-cosTheta) | |
287 | local invSinTheta = 1/math.sin(theta) | |
288 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
289 | - | c.Archivable = true |
289 | + | finishInterp = math.sin(t*theta)*invSinTheta |
290 | - | local hum = c:FindFirstChildOfClass("Humanoid") |
290 | + | else |
291 | - | if hum then |
291 | + | startInterp = t-1 |
292 | - | for i, v in pairs(hum:GetPlayingAnimationTracks()) do |
292 | + | finishInterp = t |
293 | - | v:Stop() |
293 | + | end |
294 | end | |
295 | 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 | |
296 | - | local cl = c:Clone() |
296 | + | |
297 | - | if hum and humState16 then |
297 | + | |
298 | - | hum:ChangeState(Enum.HumanoidStateType.Physics) |
298 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
299 | - | if destroyhum then |
299 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
300 | - | wait(1.6) |
300 | + | end |
301 | ||
302 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
303 | - | if hum and hum.Parent and destroyhum then |
303 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
304 | - | hum:Destroy() |
304 | + | prt.Anchored=true |
305 | prt.CFrame=cframe | |
306 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
307 | - | if not c then |
307 | + | --http://www.roblox.com/asset/?id=4770560 |
308 | - | return |
308 | + | game:GetService("Debris"):AddItem(prt,2) |
309 | CF=prt.CFrame | |
310 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
311 | - | local head = gp(c, "Head", "BasePart") |
311 | + | for i=0,1,0.2 do |
312 | - | local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart") |
312 | + | wait() |
313 | - | local root = gp(c, "HumanoidRootPart", "BasePart") |
313 | + | Part.CFrame=CF*cf(0,0,-0.4) |
314 | - | if hatcollide and c:FindFirstChildOfClass("Accessory") then |
314 | + | |
315 | - | local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script") |
315 | + | for i=0,1,delay do |
316 | - | if not (torso and root and anything) then |
316 | + | wait() |
317 | - | return |
317 | + | --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) |
318 | Mesh.Scale=Mesh.Scale | |
319 | - | torso:Destroy() |
319 | + | |
320 | - | root:Destroy() |
320 | + | |
321 | - | if shp then |
321 | + | wait() |
322 | - | for i,v in pairs(c:GetChildren()) do |
322 | + | Part.Transparency=i |
323 | - | if v:IsA("Accessory") then |
323 | + | |
324 | - | shp(v, "BackendAccoutrementState", 0) |
324 | + | Part.Parent=nil |
325 | - | end |
325 | + | end),prt,msh,CF) |
326 | end | |
327 | ||
328 | - | anything:Destroy() |
328 | + | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
329 | - | if head then |
329 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
330 | - | head:Destroy() |
330 | + | prt.Anchored=true |
331 | prt.CFrame=cframe | |
332 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
333 | game:GetService("Debris"):AddItem(prt,5) | |
334 | - | for i, v in pairs(cl:GetDescendants()) do |
334 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
335 | - | if v:IsA("BasePart") then |
335 | + | for i=0,1,delay do |
336 | - | v.Transparency = 1 |
336 | + | wait() |
337 | - | v.Anchored = false |
337 | + | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
338 | Part.Transparency=i | |
339 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
340 | end | |
341 | - | local model = Instance.new("Model", c) |
341 | + | Part.Parent=nil |
342 | - | model.Name = model.ClassName |
342 | + | end),prt,msh) |
343 | end | |
344 | - | model.Destroying:Connect(function() |
344 | + | |
345 | - | model = nil |
345 | + | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
346 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
347 | prt.Anchored=false | |
348 | - | for i, v in pairs(c:GetChildren()) do |
348 | + | prt.CFrame=cframe |
349 | - | if v ~= model then |
349 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
350 | - | if addtools and v:IsA("Tool") then |
350 | + | local wld=weld(prt,prt,Parent,cframe) |
351 | - | for i1, v1 in pairs(v:GetDescendants()) do |
351 | + | game:GetService("Debris"):AddItem(prt,5) |
352 | - | if v1 and v1.Parent and v1:IsA("BasePart") then |
352 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
353 | - | local bv = Instance.new("BodyVelocity", v1) |
353 | + | for i=0,1,delay do |
354 | - | bv.Velocity = v3_0 |
354 | + | wait() |
355 | - | bv.MaxForce = v3(1000, 1000, 1000) |
355 | + | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe |
356 | - | bv.P = 1250 |
356 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
357 | - | bv.Name = "bv_" .. v.Name |
357 | + | Part.Transparency=i |
358 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
359 | end | |
360 | Part.Parent=nil | |
361 | - | v.Parent = model |
361 | + | end),prt,msh,wld) |
362 | end | |
363 | ||
364 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
365 | - | if breakjoints then |
365 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
366 | - | model:BreakJoints() |
366 | + | prt.Anchored=false |
367 | prt.CFrame=cframe | |
368 | - | if head and torso then |
368 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
369 | - | for i, v in pairs(model:GetDescendants()) do |
369 | + | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) |
370 | - | if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then |
370 | + | game:GetService("Debris"):AddItem(prt,5) |
371 | - | local save = false |
371 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
372 | - | if (v.Part0 == torso) and (v.Part1 == head) then |
372 | + | for i=0,1,delay do |
373 | - | save = true |
373 | + | wait() |
374 | Weld.C0=euler(i*20,0,0) | |
375 | - | if (v.Part0 == head) and (v.Part1 == torso) then |
375 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
376 | - | save = true |
376 | + | Part.Transparency=i |
377 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
378 | - | if save then |
378 | + | |
379 | - | if hedafterneck then |
379 | + | Part.Parent=nil |
380 | - | hedafterneck = v |
380 | + | end),prt,msh,wld) |
381 | - | end |
381 | + | |
382 | - | else |
382 | + | |
383 | - | v:Destroy() |
383 | + | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
384 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
385 | prt.Anchored=true | |
386 | prt.CFrame=cframe | |
387 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
388 | - | if method == 3 then |
388 | + | game:GetService("Debris"):AddItem(prt,2) |
389 | - | spawn(function() |
389 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
390 | - | wait(loadtime) |
390 | + | for i=0,1,delay do |
391 | - | if model then |
391 | + | wait() |
392 | - | model:BreakJoints() |
392 | + | Part.CFrame=Part.CFrame |
393 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
394 | - | end) |
394 | + | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
395 | prt2.Anchored=true | |
396 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
397 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
398 | - | cl.Parent = c |
398 | + | game:GetService("Debris"):AddItem(prt2,2) |
399 | - | for i, v in pairs(cl:GetChildren()) do |
399 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
400 | - | v.Parent = c |
400 | + | |
401 | wait() | |
402 | - | cl:Destroy() |
402 | + | Part.CFrame=Part.CFrame*cf(0,0.5,0) |
403 | end | |
404 | - | local modelDes = {} |
404 | + | Part.Parent=nil |
405 | - | for i, v in pairs(model:GetDescendants()) do |
405 | + | end),prt2,msh2) |
406 | - | if v:IsA("BasePart") then |
406 | + | |
407 | - | i = tostring(i) |
407 | + | for i=0,1,delay*2 do |
408 | - | v.Destroying:Connect(function() |
408 | + | wait() |
409 | - | modelDes[i] = nil |
409 | + | Part.CFrame=Part.CFrame |
410 | - | end) |
410 | + | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) |
411 | - | modelDes[i] = v |
411 | + | |
412 | Part.Parent=nil | |
413 | end),prt,msh) | |
414 | - | local modelcolcon = nil |
414 | + | |
415 | - | local function modelcolf() |
415 | + | |
416 | - | if model then |
416 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
417 | - | for i, v in pairs(modelDes) do |
417 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
418 | - | v.CanCollide = false |
418 | + | prt.Anchored=true |
419 | prt.CFrame=cframe | |
420 | - | else |
420 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
421 | - | modelcolcon:Disconnect() |
421 | + | game:GetService("Debris"):AddItem(prt,2) |
422 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
423 | for i=0,1,delay do | |
424 | - | modelcolcon = stepped:Connect(modelcolf) |
424 | + | wait() |
425 | - | modelcolf() |
425 | + | Part.CFrame=Part.CFrame |
426 | Part.Transparency=i | |
427 | - | for i, scr in pairs(model:GetDescendants()) do |
427 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
428 | - | if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then |
428 | + | |
429 | - | local Part0 = scr.Parent |
429 | + | Part.Parent=nil |
430 | - | if Part0:IsA("BasePart") then |
430 | + | end),prt,msh) |
431 | - | for i1, scr1 in pairs(c:GetDescendants()) do |
431 | + | |
432 | - | if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then |
432 | + | |
433 | - | local Part1 = scr1.Parent |
433 | + | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) |
434 | - | if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then |
434 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
435 | - | align(Part0, Part1) |
435 | + | prt.Anchored=true |
436 | - | break |
436 | + | prt.CFrame=cframe*euler(x2,y2,z2) |
437 | - | end |
437 | + | --"http://www.roblox.com/asset/?id=168892465" |
438 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) | |
439 | game:GetService("Debris"):AddItem(prt,2) | |
440 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
441 | for i=0,1,0.03 do | |
442 | wait() | |
443 | Part.CFrame=Part.CFrame | |
444 | - | if (typeof(hedafterneck) == "Instance") and head then |
444 | + | Part.Transparency=i |
445 | - | local aligns = {} |
445 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
446 | - | local con = nil |
446 | + | |
447 | - | con = hedafterneck.Changed:Connect(function(prop) |
447 | + | Part.Parent=nil |
448 | - | if (prop == "Parent") and not hedafterneck.Parent then |
448 | + | end),prt,msh) |
449 | - | con:Disconnect() |
449 | + | |
450 | - | for i, v in pairs(aligns) do |
450 | + | |
451 | - | v.Enabled = true |
451 | + | function BreakEffect(brickcolor,cframe,x1,y1,z1) |
452 | - | end |
452 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
453 | prt.Anchored=true | |
454 | - | end) |
454 | + | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
455 | - | for i, v in pairs(head:GetDescendants()) do |
455 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
456 | - | if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then |
456 | + | game:GetService("Debris"):AddItem(prt,2) |
457 | - | i = tostring(i) |
457 | + | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) |
458 | - | aligns[i] = v |
458 | + | CF=Part.CFrame |
459 | - | v.Destroying:Connect(function() |
459 | + | Numbb=0 |
460 | - | aligns[i] = nil |
460 | + | randnumb=math.random()/10 |
461 | - | end) |
461 | + | rand1=math.random()/10 |
462 | - | v.Enabled = false |
462 | + | for i=0,1,rand1 do |
463 | wait() | |
464 | CF=CF*cf(0,math.random()/2,0) | |
465 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
466 | Part.CFrame=CF*euler(Numbb,0,0) | |
467 | - | for i, v in pairs(c:GetDescendants()) do |
467 | + | Part.Transparency=i |
468 | - | if v and v.Parent then |
468 | + | Numbb=Numbb+randnumb |
469 | - | if v.ClassName == "Script" then |
469 | + | |
470 | - | if table.find(scriptNames, v.Name) then |
470 | + | Part.Parent=nil |
471 | - | v:Destroy() |
471 | + | end),prt,CF,Numbb,randnumb) |
472 | end | |
473 | - | elseif not v:IsDescendantOf(model) then |
473 | + | |
474 | - | if v:IsA("Decal") then |
474 | + | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
475 | - | v.Transparency = 1 |
475 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
476 | - | elseif v:IsA("ForceField") then |
476 | + | prt.Anchored=true |
477 | - | v.Visible = false |
477 | + | prt.CFrame=cframe |
478 | - | elseif v:IsA("Sound") then |
478 | + | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) |
479 | - | v.Playing = false |
479 | + | game:GetService("Debris"):AddItem(prt,5) |
480 | - | elseif v:IsA("BillboardGui") or v:IsA("SurfaceGui") or v:IsA("ParticleEmitter") or v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then |
480 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
481 | - | v.Enabled = false |
481 | + | for i=0,1,delay do |
482 | wait() | |
483 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
484 | Part.Transparency=i | |
485 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
486 | end | |
487 | - | if newanimate then |
487 | + | Part.Parent=nil |
488 | - | local animate = gp(c, "Animate", "LocalScript") |
488 | + | end),prt,msh) |
489 | - | if animate then |
489 | + | |
490 | - | animate.Disabled = false |
490 | + | |
491 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
492 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
493 | prt.Anchored=true | |
494 | - | if addtools then |
494 | + | prt.CFrame=cframe |
495 | - | for i, v in pairs(c:GetChildren()) do |
495 | + | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) |
496 | - | if v:IsA("Tool") then |
496 | + | game:GetService("Debris"):AddItem(prt,2) |
497 | - | v.Parent = addtools |
497 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
498 | for i=0,1,delay do | |
499 | wait() | |
500 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
501 | Part.Transparency=i | |
502 | - | local hum0 = model:FindFirstChildOfClass("Humanoid") |
502 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
503 | - | if hum0 then |
503 | + | |
504 | - | hum0.Destroying:Connect(function() |
504 | + | Part.Parent=nil |
505 | - | hum0 = nil |
505 | + | end),prt,msh) |
506 | - | end) |
506 | + | |
507 | ||
508 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
509 | - | local hum1 = c:FindFirstChildOfClass("Humanoid") |
509 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
510 | - | if hum1 then |
510 | + | prt.Anchored=true |
511 | - | hum1.Destroying:Connect(function() |
511 | + | prt.CFrame=cframe*cf(x,y,z) |
512 | - | hum1 = nil |
512 | + | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) |
513 | - | end) |
513 | + | game:GetService("Debris"):AddItem(prt,5) |
514 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
515 | local num=math.random() | |
516 | - | if hum1 then |
516 | + | local num2=math.random(-3,2)+math.random() |
517 | - | ws.CurrentCamera.CameraSubject = hum1 |
517 | + | local numm=0 |
518 | - | local camSubCon = nil |
518 | + | for i=0,1,delay*2 do |
519 | - | local function camSubFunc() |
519 | + | |
520 | - | camSubCon:Disconnect() |
520 | + | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) |
521 | - | if c and hum1 then |
521 | + | Part.Transparency=i |
522 | - | ws.CurrentCamera.CameraSubject = hum1 |
522 | + | numm=numm+0.01 |
523 | end | |
524 | Part.Parent=nil | |
525 | - | camSubCon = renderstepped:Connect(camSubFunc) |
525 | + | Mesh.Parent=nil |
526 | - | if hum0 then |
526 | + | end),prt,msh,x,y,z) |
527 | - | hum0.Changed:Connect(function(prop) |
527 | + | |
528 | - | if hum1 and (prop == "Jump") then |
528 | + | |
529 | - | hum1.Jump = hum0.Jump |
529 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
530 | if hit.Parent==nil then | |
531 | - | end) |
531 | + | return |
532 | - | else |
532 | + | |
533 | - | respawnrequest() |
533 | + | h=hit.Parent:FindFirstChild("Humanoid") |
534 | for _,v in pairs(hit.Parent:children()) do | |
535 | if v:IsA("Humanoid") then | |
536 | h=v | |
537 | - | local rb = Instance.new("BindableEvent", c) |
537 | + | |
538 | - | rb.Event:Connect(function() |
538 | + | |
539 | - | rb:Destroy() |
539 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then |
540 | - | sg:SetCore("ResetButtonCallback", true) |
540 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid") |
541 | - | if destroyhum then |
541 | + | |
542 | - | c:BreakJoints() |
542 | + | if hit.Parent.className=="Hat" then |
543 | - | return |
543 | + | hit=hit.Parent.Parent:findFirstChild("Head") |
544 | end | |
545 | - | if hum0 and (hum0.Health > 0) then |
545 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then |
546 | - | model:BreakJoints() |
546 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end |
547 | - | hum0.Health = 0 |
547 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
548 | return | |
549 | - | if antirespawn then |
549 | + | end]] |
550 | - | respawnrequest() |
550 | + | -- hs(hit,1.2) |
551 | c=Instance.new("ObjectValue") | |
552 | c.Name="creator" | |
553 | - | sg:SetCore("ResetButtonCallback", rb) |
553 | + | c.Value=game:service("Players").LocalPlayer |
554 | c.Parent=h | |
555 | - | spawn(function() |
555 | + | game:GetService("Debris"):AddItem(c,.5) |
556 | - | while c do |
556 | + | Damage=math.random(minim,maxim) |
557 | - | if hum0 and hum1 then |
557 | + | -- h:TakeDamage(Damage) |
558 | - | hum1.Jump = hum0.Jump |
558 | + | blocked=false |
559 | block=hit.Parent:findFirstChild("Block") | |
560 | - | wait() |
560 | + | if block~=nil then |
561 | print(block.className) | |
562 | - | sg:SetCore("ResetButtonCallback", true) |
562 | + | if block.className=="NumberValue" then |
563 | if block.Value>0 then | |
564 | blocked=true | |
565 | - | R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15) |
565 | + | if decreaseblock==nil then |
566 | - | if R15toR6 then |
566 | + | block.Value=block.Value-1 |
567 | - | local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart") |
567 | + | end |
568 | - | if part then |
568 | + | end |
569 | - | local cfr = part.CFrame |
569 | + | end |
570 | - | local R6parts = { |
570 | + | if block.className=="IntValue" then |
571 | - | head = { |
571 | + | if block.Value>0 then |
572 | - | Name = "Head", |
572 | + | blocked=true |
573 | - | Size = v3(2, 1, 1), |
573 | + | if decreaseblock~=nil then |
574 | - | R15 = { |
574 | + | block.Value=block.Value-1 |
575 | - | Head = 0 |
575 | + | end |
576 | - | } |
576 | + | end |
577 | - | }, |
577 | + | end |
578 | - | torso = { |
578 | + | end |
579 | - | Name = "Torso", |
579 | + | if blocked==false then |
580 | - | Size = v3(2, 2, 1), |
580 | + | -- h:TakeDamage(Damage) |
581 | - | R15 = { |
581 | + | h.Health=h.Health-Damage |
582 | - | UpperTorso = 0.2, |
582 | + | showDamage(hit.Parent,Damage,.5,TorsoColor) |
583 | - | LowerTorso = -100 |
583 | + | else |
584 | - | } |
584 | + | h.Health=h.Health-(Damage/2) |
585 | - | }, |
585 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) |
586 | - | root = { |
586 | + | end |
587 | - | Name = "HumanoidRootPart", |
587 | + | if Type=="Knockdown" then |
588 | - | Size = v3(2, 2, 1), |
588 | + | hum=hit.Parent.Humanoid |
589 | - | R15 = { |
589 | + | hum.PlatformStand=true |
590 | - | HumanoidRootPart = 0 |
590 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
591 | - | } |
591 | + | |
592 | - | }, |
592 | + | HHumanoid.PlatformStand=false |
593 | - | leftArm = { |
593 | + | end),hum) |
594 | - | Name = "Left Arm", |
594 | + | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
595 | - | Size = v3(1, 2, 1), |
595 | + | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
596 | - | R15 = { |
596 | + | local bodvol=Instance.new("BodyVelocity") |
597 | - | LeftHand = -0.73, |
597 | + | bodvol.velocity=angle*knockback |
598 | - | LeftLowerArm = -0.2, |
598 | + | bodvol.P=5000 |
599 | - | LeftUpperArm = 0.4 |
599 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
600 | - | } |
600 | + | bodvol.Parent=hit |
601 | - | }, |
601 | + | rl=Instance.new("BodyAngularVelocity") |
602 | - | rightArm = { |
602 | + | rl.P=3000 |
603 | - | Name = "Right Arm", |
603 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
604 | - | Size = v3(1, 2, 1), |
604 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
605 | - | R15 = { |
605 | + | rl.Parent=hit |
606 | - | RightHand = -0.73, |
606 | + | game:GetService("Debris"):AddItem(bodvol,.5) |
607 | - | RightLowerArm = -0.2, |
607 | + | game:GetService("Debris"):AddItem(rl,.5) |
608 | - | RightUpperArm = 0.4 |
608 | + | elseif Type=="Normal" then |
609 | - | } |
609 | + | vp=Instance.new("BodyVelocity") |
610 | - | }, |
610 | + | vp.P=500 |
611 | - | leftLeg = { |
611 | + | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
612 | - | Name = "Left Leg", |
612 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
613 | - | Size = v3(1, 2, 1), |
613 | + | if KnockbackType==1 then |
614 | - | R15 = { |
614 | + | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
615 | - | LeftFoot = -0.73, |
615 | + | elseif KnockbackType==2 then |
616 | - | LeftLowerLeg = -0.15, |
616 | + | vp.velocity=Property.CFrame.lookVector*knockback |
617 | - | LeftUpperLeg = 0.6 |
617 | + | end |
618 | - | } |
618 | + | if knockback>0 then |
619 | - | }, |
619 | + | vp.Parent=hit.Parent.Torso |
620 | - | rightLeg = { |
620 | + | end |
621 | - | Name = "Right Leg", |
621 | + | game:GetService("Debris"):AddItem(vp,.5) |
622 | - | Size = v3(1, 2, 1), |
622 | + | elseif Type=="Up" then |
623 | - | R15 = { |
623 | + | local bodyVelocity=Instance.new("BodyVelocity") |
624 | - | RightFoot = -0.73, |
624 | + | bodyVelocity.velocity=vt(0,10,0) |
625 | - | RightLowerLeg = -0.15, |
625 | + | bodyVelocity.P=1000 |
626 | - | RightUpperLeg = 0.6 |
626 | + | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) |
627 | - | } |
627 | + | bodyVelocity.Parent=hit |
628 | - | } |
628 | + | game:GetService("Debris"):AddItem(bodyVelocity,1) |
629 | - | } |
629 | + | rl=Instance.new("BodyAngularVelocity") |
630 | - | for i, v in pairs(c:GetChildren()) do |
630 | + | rl.P=3000 |
631 | - | if v:IsA("BasePart") then |
631 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
632 | - | for i1, v1 in pairs(v:GetChildren()) do |
632 | + | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) |
633 | - | if v1:IsA("Motor6D") then |
633 | + | rl.Parent=hit |
634 | - | v1.Part0 = nil |
634 | + | game:GetService("Debris"):AddItem(rl,.5) |
635 | - | end |
635 | + | elseif Type=="Snare" then |
636 | bp=Instance.new("BodyPosition") | |
637 | bp.P=2000 | |
638 | bp.D=100 | |
639 | - | part.Archivable = true |
639 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
640 | - | for i, v in pairs(R6parts) do |
640 | + | bp.position=hit.Parent.Torso.Position |
641 | - | local part = part:Clone() |
641 | + | bp.Parent=hit.Parent.Torso |
642 | - | part:ClearAllChildren() |
642 | + | game:GetService("Debris"):AddItem(bp,1) |
643 | - | part.Name = v.Name |
643 | + | elseif Type=="Target" then |
644 | - | part.Size = v.Size |
644 | + | if Targetting==false then |
645 | - | part.CFrame = cfr |
645 | + | ZTarget=hit.Parent.Torso |
646 | - | part.Anchored = false |
646 | + | coroutine.resume(coroutine.create(function(Part) |
647 | - | part.Transparency = 1 |
647 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
648 | - | part.CanCollide = false |
648 | + | swait(5) |
649 | - | for i1, v1 in pairs(v.R15) do |
649 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
650 | - | local R15part = gp(c, i1, "BasePart") |
650 | + | end),ZTarget) |
651 | - | local att = gp(R15part, "att1_" .. i1, "Attachment") |
651 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid") |
652 | - | if R15part then |
652 | + | targetgui=Instance.new("BillboardGui") |
653 | - | local weld = Instance.new("Weld", R15part) |
653 | + | targetgui.Parent=ZTarget |
654 | - | weld.Name = "Weld_" .. i1 |
654 | + | targetgui.Size=UDim2.new(10,100,10,100) |
655 | - | weld.Part0 = part |
655 | + | targ=Instance.new("ImageLabel") |
656 | - | weld.Part1 = R15part |
656 | + | targ.Parent=targetgui |
657 | - | weld.C0 = cf(0, v1, 0) |
657 | + | targ.BackgroundTransparency=1 |
658 | - | weld.C1 = cf(0, 0, 0) |
658 | + | targ.Image="rbxassetid://4834067" |
659 | - | R15part.Massless = true |
659 | + | targ.Size=UDim2.new(1,0,1,0) |
660 | - | R15part.Name = "R15_" .. i1 |
660 | + | cam.CameraType="Scriptable" |
661 | - | R15part.Parent = part |
661 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
662 | - | if att then |
662 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
663 | - | att.Parent = part |
663 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
664 | - | att.Position = v3(0, v1, 0) |
664 | + | Targetting=true |
665 | - | end |
665 | + | RocketTarget=ZTarget |
666 | for i=1,Property do | |
667 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
668 | - | part.Parent = c |
668 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
669 | - | R6parts[i] = part |
669 | + | swait() |
670 | end | |
671 | - | local R6joints = { |
671 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
672 | - | neck = { |
672 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
673 | - | Parent = Scarf, |
673 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
674 | - | Name = "Neck", |
674 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
675 | - | Part0 = Scarf, --R6parts.torso |
675 | + | end |
676 | - | Part1 = Scarf, --R6parts.head |
676 | + | Targetting=false |
677 | - | C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), |
677 | + | RocketTarget=nil |
678 | - | C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
678 | + | targetgui.Parent=nil |
679 | - | }, |
679 | + | cam.CameraType="Custom" |
680 | - | rootJoint = { |
680 | + | end |
681 | - | Parent = R6parts.root, |
681 | + | end |
682 | - | Name = "RootJoint" , |
682 | + | debounce=Instance.new("BoolValue") |
683 | - | Part0 = R6parts.root, |
683 | + | debounce.Name="DebounceHit" |
684 | - | Part1 = R6parts.torso, |
684 | + | debounce.Parent=hit.Parent |
685 | - | C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), |
685 | + | debounce.Value=true |
686 | - | C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
686 | + | game:GetService("Debris"):AddItem(debounce,Delay) |
687 | - | }, |
687 | + | c=Instance.new("ObjectValue") |
688 | - | rightShoulder = { |
688 | + | c.Name="creator" |
689 | - | Parent = R6parts.torso, |
689 | + | c.Value=Player |
690 | - | Name = "Right Shoulder", |
690 | + | c.Parent=h |
691 | - | Part0 = R6parts.torso, |
691 | + | game:GetService("Debris"):AddItem(c,.5) |
692 | - | Part1 = R6parts.rightArm, |
692 | + | CRIT=false |
693 | - | C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), |
693 | + | hitDeb=true |
694 | - | C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
694 | + | AttackPos=6 |
695 | - | }, |
695 | + | |
696 | - | leftShoulder = { |
696 | + | |
697 | - | Parent = R6parts.torso, |
697 | + | |
698 | - | Name = "Left Shoulder", |
698 | + | showDamage=function(Char,Dealt,du,Color) |
699 | - | Part0 = R6parts.torso, |
699 | + | m=Instance.new("Model") |
700 | - | Part1 = R6parts.leftArm, |
700 | + | m.Name=tostring(Dealt) |
701 | - | C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), |
701 | + | h=Instance.new("Humanoid") |
702 | - | C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
702 | + | h.Health=0 |
703 | - | }, |
703 | + | h.MaxHealth=0 |
704 | - | rightHip = { |
704 | + | h.Parent=m |
705 | - | Parent = R6parts.torso, |
705 | + | c=Instance.new("Part") |
706 | - | Name = "Right Hip", |
706 | + | c.Transparency=0 |
707 | - | Part0 = R6parts.torso, |
707 | + | c.BrickColor=TorsoColor |
708 | - | Part1 = R6parts.rightLeg, |
708 | + | c.Name="Head" |
709 | - | C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), |
709 | + | c.TopSurface=0 |
710 | - | C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
710 | + | c.BottomSurface=0 |
711 | - | }, |
711 | + | c.formFactor="Plate" |
712 | - | leftHip = { |
712 | + | c.Size=Vector3.new(1,.4,1) |
713 | - | Parent = R6parts.torso, |
713 | + | ms=Instance.new("CylinderMesh") |
714 | - | Name = "Left Hip" , |
714 | + | ms.Scale=Vector3.new(.8,.8,.8) |
715 | - | Part0 = R6parts.torso, |
715 | + | so("http://www.roblox.com/asset/?id=199149269",c,1,1) |
716 | - | Part1 = R6parts.leftLeg, |
716 | + | if CRIT==true then |
717 | - | C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), |
717 | + | ms.Scale=Vector3.new(1,1.25,1) |
718 | - | C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
718 | + | |
719 | - | } |
719 | + | ms.Parent=c |
720 | - | } |
720 | + | c.Reflectance=0 |
721 | - | for i, v in pairs(R6joints) do |
721 | + | Instance.new("BodyGyro").Parent=c |
722 | - | local joint = Instance.new("Motor6D") |
722 | + | c.Parent=m |
723 | - | for prop, val in pairs(v) do |
723 | + | if Char:findFirstChild("Head")~=nil then |
724 | - | joint[prop] = val |
724 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
725 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
726 | - | R6joints[i] = joint |
726 | + | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
727 | end | |
728 | - | hum1.RigType = Enum.HumanoidRigType.R6 |
728 | + | f=Instance.new("BodyPosition") |
729 | - | hum1.HipHeight = 0 |
729 | + | f.P=2000 |
730 | f.D=100 | |
731 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
732 | f.position=c.Position+Vector3.new(0,3,0) | |
733 | f.Parent=c | |
734 | game:GetService("Debris"):AddItem(m,.5+du) | |
735 | - | --find rig joints |
735 | + | c.CanCollide=false |
736 | m.Parent=workspace | |
737 | - | local function fakemotor() |
737 | + | c.CanCollide=false |
738 | - | return {C0=cf(), C1=cf()} |
738 | + | |
739 | ||
740 | Player=game:GetService('Players').LocalPlayer | |
741 | - | local torso = gp(c, "Torso", "BasePart") |
741 | + | Character=Player.Character |
742 | - | local root = gp(c, "HumanoidRootPart", "BasePart") |
742 | + | Mouse=Player:GetMouse() |
743 | m=Instance.new('Model',Character) | |
744 | - | local neck = gp(torso, "Neck", "Motor6D") |
744 | + | |
745 | - | neck = neck or fakemotor() |
745 | + | |
746 | local function weldBetween(a, b) | |
747 | - | local rootJoint = gp(root, "RootJoint", "Motor6D") |
747 | + | local weldd = Instance.new("ManualWeld") |
748 | - | rootJoint = rootJoint or fakemotor() |
748 | + | weldd.Part0 = a |
749 | weldd.Part1 = b | |
750 | - | local leftShoulder = gp(torso, "Left Shoulder", "Motor6D") |
750 | + | weldd.C0 = CFrame.new() |
751 | - | leftShoulder = leftShoulder or fakemotor() |
751 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
752 | weldd.Parent = a | |
753 | - | local rightShoulder = gp(torso, "Right Shoulder", "Motor6D") |
753 | + | return weldd |
754 | - | rightShoulder = rightShoulder or fakemotor() |
754 | + | |
755 | ||
756 | - | local leftHip = gp(torso, "Left Hip", "Motor6D") |
756 | + | it=Instance.new |
757 | - | leftHip = leftHip or fakemotor() |
757 | + | |
758 | function nooutline(part) | |
759 | - | local rightHip = gp(torso, "Right Hip", "Motor6D") |
759 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
760 | - | rightHip = rightHip or fakemotor() |
760 | + | |
761 | ||
762 | - | --120 fps |
762 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
763 | local fp=it("Part") | |
764 | - | local fps = 0 |
764 | + | fp.formFactor=formfactor |
765 | - | local event = Instance.new("BindableEvent", c) |
765 | + | fp.Parent=parent |
766 | - | event.Name = "120 fps" |
766 | + | fp.Reflectance=reflectance |
767 | - | local floor = math.floor |
767 | + | fp.Transparency=transparency |
768 | - | fps = 1 / fps |
768 | + | fp.CanCollide=false |
769 | - | local tf = 0 |
769 | + | fp.Locked=true |
770 | - | local con = nil |
770 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
771 | - | con = game:GetService("RunService").RenderStepped:Connect(function(s) |
771 | + | fp.Name=name |
772 | - | if not c then |
772 | + | fp.Size=size |
773 | - | con:Disconnect() |
773 | + | fp.Position=Character.Torso.Position |
774 | - | return |
774 | + | nooutline(fp) |
775 | fp.Material=material | |
776 | - | --tf += s |
776 | + | fp:BreakJoints() |
777 | - | if tf >= fps then |
777 | + | return fp |
778 | - | for i=1, floor(tf / fps) do |
778 | + | |
779 | - | event:Fire(c) |
779 | + | |
780 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
781 | - | tf = 0 |
781 | + | local mesh=it(Mesh) |
782 | mesh.Parent=part | |
783 | if Mesh=="SpecialMesh" then | |
784 | - | local event = event.Event |
784 | + | mesh.MeshType=meshtype |
785 | mesh.MeshId=meshid | |
786 | - | local hedrot = v3(0, 5, 0) |
786 | + | |
787 | mesh.Offset=offset | |
788 | - | local uis = game:GetService("UserInputService") |
788 | + | mesh.Scale=scale |
789 | - | local function isPressed(key) |
789 | + | return mesh |
790 | - | return (not uis:GetFocusedTextBox()) and uis:IsKeyDown(Enum.KeyCode[key]) |
790 | + | |
791 | ||
792 | function weld(parent,part0,part1,c0,c1) | |
793 | - | local biggesthandle = nil |
793 | + | local weld=it("Weld") |
794 | - | for i, v in pairs(c:GetChildren()) do |
794 | + | weld.Parent=parent |
795 | - | if v:IsA("Accessory") and v.Name == "LongStraightHair" then |
795 | + | weld.Part0=part0 |
796 | - | local handle = gp(v, "Handle", "BasePart") |
796 | + | weld.Part1=part1 |
797 | - | if biggesthandle then |
797 | + | weld.C0=c0 |
798 | - | if biggesthandle.Size.Magnitude < handle.Size.Magnitude then |
798 | + | weld.C1=c1 |
799 | - | biggesthandle = Handle |
799 | + | return weld |
800 | - | end |
800 | + | |
801 | - | else |
801 | + | |
802 | - | biggesthandle = gp(v, "Handle", "BasePart") |
802 | + | local modelzorz=Instance.new("Model") |
803 | modelzorz.Parent=Character | |
804 | modelzorz.Name="Claw1" | |
805 | ||
806 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
807 | - | if not biggesthandle then |
807 | + | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) |
808 | - | return |
808 | + | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
809 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
810 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
811 | - | local handle1 = gp(gp(model, biggesthandle.Parent.Name, "Accessory"), "Handle", "BasePart") |
811 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
812 | - | if not handle1 then |
812 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) |
813 | - | return |
813 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
814 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
815 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
816 | - | handle1.Destroying:Connect(function() |
816 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
817 | - | handle1 = nil |
817 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) |
818 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
819 | - | biggesthandle.Destroying:Connect(function() |
819 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) |
820 | - | biggesthandle = nil |
820 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
821 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
822 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
823 | - | biggesthandle:BreakJoints() |
823 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) |
824 | - | biggesthandle.Anchored = true |
824 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
825 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
826 | - | for i, v in pairs(handle1:GetDescendants()) do |
826 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
827 | - | if v:IsA("AlignOrientation") then |
827 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) |
828 | - | v.Enabled = false |
828 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
829 | - | end |
829 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) |
830 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
831 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
832 | - | local mouse = lp:GetMouse() |
832 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
833 | - | local fling = false |
833 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
834 | - | mouse.Button1Down:Connect(function() |
834 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) |
835 | - | fling = true |
835 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
836 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
837 | - | mouse.Button1Up:Connect(function() |
837 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
838 | - | fling = false |
838 | + | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) |
839 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
840 | - | local function doForSignal(signal, vel) |
840 | + | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) |
841 | - | spawn(function() |
841 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
842 | - | while signal:Wait() and c and handle1 and biggesthandle do |
842 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) |
843 | - | if fling and mouse.Target then |
843 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
844 | - | biggesthandle.Position = mouse.Hit.Position |
844 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
845 | - | end |
845 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) |
846 | - | handle1.RotVelocity = vel |
846 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
847 | ||
848 | - | end) |
848 | + | local modelzorz2=Instance.new("Model") |
849 | modelzorz2.Parent=Character | |
850 | - | doForSignal(stepped, v3(10000, 10000, 10000)) |
850 | + | modelzorz2.Name="Claw2" |
851 | - | doForSignal(renderstepped, v3(10000, 10000, 10000)) |
851 | + | |
852 | - | doForSignal(heartbeat, v3(200000000000000, 200000000000000, 200000000000000)) --https://web.roblox.com/catalog/63690008/Pal-Hair |
852 | + | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) |
853 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
854 | - | local lp = game:GetService("Players").LocalPlayer |
854 | + | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
855 | - | local rs = game:GetService("RunService") |
855 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
856 | - | local stepped = rs.Stepped |
856 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) |
857 | - | local heartbeat = rs.Heartbeat |
857 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
858 | - | local renderstepped = rs.RenderStepped |
858 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) |
859 | - | local sg = game:GetService("StarterGui") |
859 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
860 | - | local ws = game:GetService("Workspace") |
860 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) |
861 | - | local cf = CFrame.new |
861 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
862 | - | local v3 = Vector3.new |
862 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) |
863 | - | local v3_0 = Vector3.zero |
863 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
864 | - | local inf = math.huge |
864 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
865 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
866 | - | local cplayer = lp.Character |
866 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
867 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
868 | - | local v3 = Vector3.new |
868 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) |
869 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
870 | - | local function gp(parent, name, className) |
870 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) |
871 | - | if typeof(parent) == "Instance" then |
871 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
872 | - | for i, v in pairs(parent:GetChildren()) do |
872 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
873 | - | if (v.Name == name) and v:IsA(className) then |
873 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) |
874 | - | return v |
874 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
875 | - | end |
875 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) |
876 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
877 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
878 | - | return nil |
878 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) |
879 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
880 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
881 | - | local hat2 = gp(cplayer, "Hat1", "Accessory") |
881 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
882 | - | local handle2 = gp(hat2, "Handle", "BasePart") |
882 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
883 | - | local att2 = gp(handle2, "att1_Handle", "Attachment") |
883 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) |
884 | - | att2.Parent = cplayer["Torso"] |
884 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
885 | - | att2.Position = Vector3.new(0.5, -0, 0) |
885 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) |
886 | - | att2.Rotation = Vector3.new(90, 0, 0) |
886 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
887 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
888 | - | local hat2 = gp(cplayer, "Pal Hair", "Accessory") |
888 | + | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) |
889 | - | local handle2 = gp(hat2, "Handle", "BasePart") |
889 | + | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) |
890 | - | local att2 = gp(handle2, "att1_Handle", "Attachment") |
890 | + | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) |
891 | - | att2.Parent = cplayer["Torso"] |
891 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
892 | - | att2.Position = Vector3.new(-0.5, -0, 0) |
892 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) |
893 | - | att2.Rotation = Vector3.new(90, 0, 0) |
893 | + | |
894 | local modelzorz3=Instance.new("Model") | |
895 | - | local hat2 = gp(cplayer, "Pink Hair", "Accessory") |
895 | + | modelzorz3.Parent=Character |
896 | - | local handle2 = gp(hat2, "Handle", "BasePart") |
896 | + | modelzorz3.Name="Eye" |
897 | - | local att2 = gp(handle2, "att1_Handle", "Attachment") |
897 | + | |
898 | - | att2.Parent = cplayer["Left Arm"] |
898 | + | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) |
899 | - | att2.Position = Vector3.new(0, -0, 0) |
899 | + | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
900 | - | att2.Rotation = Vector3.new(90, 0, 0) |
900 | + | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) |
901 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
902 | - | local hat2 = gp(cplayer, "Kate Hair", "Accessory") |
902 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
903 | - | local handle2 = gp(hat2, "Handle", "BasePart") |
903 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996)) |
904 | - | local att2 = gp(handle2, "att1_Handle", "Attachment") |
904 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) |
905 | - | att2.Parent = cplayer["Right Arm"] |
905 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
906 | - | att2.Position = Vector3.new(-0, -0, 0) |
906 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963)) |
907 | - | att2.Rotation = Vector3.new(90, 0, 0) --LavanderHair |
907 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) |
908 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
909 | - | local hat2 = gp(cplayer, "LavanderHair", "Accessory") |
909 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039)) |
910 | - | local handle2 = gp(hat2, "Handle", "BasePart") |
910 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) |
911 | - | local att2 = gp(handle2, "att1_Handle", "Attachment") |
911 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) |
912 | - | att2.Parent = cplayer["Right Leg"] |
912 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039)) |
913 | - | att2.Position = Vector3.new(0, 0, 0) --Robloxclassicred |
913 | + | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) |
914 | - | att2.Rotation = Vector3.new(90, 0, 0) |
914 | + | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) |
915 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
916 | - | local hat2 = gp(cplayer, "Robloxclassicred", "Accessory") |
916 | + | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
917 | - | local handle2 = gp(hat2, "Handle", "BasePart") |
917 | + | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) |
918 | - | local att2 = gp(handle2, "att1_Handle", "Attachment") |
918 | + | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) |
919 | - | att2.Parent = cplayer["Left Leg"] |
919 | + | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) |
920 | - | att2.Position = Vector3.new(-0, 0, 0) |
920 | + | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) |
921 | - | att2.Rotation = Vector3.new(90, 0, 0) |
921 | + | local moosick = it("Sound",Character) |
922 | moosick.SoundId = "rbxassetid://142653441" | |
923 | - | local hat2 = gp(cplayer, "LongStraightHair", "Accessory") |
923 | + | --142653441, 175067863 |
924 | - | local handle2 = gp(hat2, "Handle", "BasePart") |
924 | + | moosick.Looped = true |
925 | - | local att2 = gp(handle2, "att1_Handle", "Attachment") |
925 | + | moosick.Pitch = 1 |
926 | - | att2.Parent = cplayer["Right Arm"] |
926 | + | moosick.Volume = 0 |
927 | - | att2.Position = Vector3.new(-0, -2, -0) |
927 | + | moosick:Play() |
928 | - | att2.Rotation = Vector3.new(130, 85, -10) |
928 | + | |
929 | anim = Character:findFirstChild("Animate") | |
930 | if anim then | |
931 | anim:Destroy() | |
932 | - | wait(.2) |
932 | + | |
933 | - | rainParts={} |
933 | + | |
934 | - | plr=game.Players.LocalPlayer |
934 | + | local particleemitter = Instance.new("ParticleEmitter", Handle) |
935 | - | chr=plr.Character |
935 | + | particleemitter.VelocitySpread = 180 |
936 | - | Head=chr.Head |
936 | + | particleemitter.Lifetime = NumberRange.new(0.1) |
937 | - | Root=chr.HumanoidRootPart |
937 | + | particleemitter.Speed = NumberRange.new(2) |
938 | - | Torso=chr.Torso |
938 | + | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) |
939 | - | RArm=chr["Right Arm"] |
939 | + | particleemitter.RotSpeed = NumberRange.new(-45, 45) |
940 | - | LArm=chr["Left Arm"] |
940 | + | particleemitter.Rate = 100 |
941 | - | RLeg=chr["Right Leg"] |
941 | + | particleemitter.Rotation = NumberRange.new(-45, 45) |
942 | - | LLeg=chr["Left Leg"] |
942 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) |
943 | - | RJ=Root.RootJoint |
943 | + | particleemitter.LightEmission = 0 |
944 | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
945 | ||
946 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
947 | particleemitter.VelocitySpread = 180 | |
948 | particleemitter.Lifetime = NumberRange.new(0.1) | |
949 | - | hum=chr:FindFirstChildOfClass("Humanoid") |
949 | + | particleemitter.Speed = NumberRange.new(2) |
950 | - | mouse=plr:GetMouse() |
950 | + | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) |
951 | - | Pose="Idle" |
951 | + | particleemitter.RotSpeed = NumberRange.new(-45, 45) |
952 | - | attack=false |
952 | + | particleemitter.Rate = 100 |
953 | - | attack2=false |
953 | + | particleemitter.Rotation = NumberRange.new(-45, 45) |
954 | - | combo=1 |
954 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) |
955 | - | sin=0 |
955 | + | particleemitter.LightEmission = 0 |
956 | - | cha=1 |
956 | + | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) |
957 | - | choice=1 |
957 | + | |
958 | - | musicset="Character" |
958 | + | local particleemitter = Instance.new("ParticleEmitter", handle) |
959 | - | lal=1 |
959 | + | particleemitter.VelocitySpread = 180 |
960 | - | lal2=1 |
960 | + | particleemitter.Lifetime = NumberRange.new(0.1) |
961 | - | haa=nil |
961 | + | particleemitter.Speed = NumberRange.new(2) |
962 | - | aaa=false |
962 | + | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) |
963 | - | unleashed=false |
963 | + | particleemitter.RotSpeed = NumberRange.new(-45, 45) |
964 | - | col={"Really black","Institutional white"} |
964 | + | particleemitter.Rate = 100 |
965 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
966 | - | create=LoadLibrary("RbxUtility").Create |
966 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) |
967 | particleemitter.LightEmission = 0.8 | |
968 | - | chr.Animate:Remove() |
968 | + | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) |
969 | - | hum.Animator:Remove() |
969 | + | |
970 | local light = Instance.new("PointLight", Character.Torso) | |
971 | - | function clerp(a,b,t) |
971 | + | light.Color = Color3.new(255,255,255) |
972 | - | return a:lerp(b,t) |
972 | + | light.Brightness = 5 |
973 | light.Range = 15 | |
974 | ||
975 | - | local newMotor=function(name,p0,p1,c0,c1) |
975 | + | particleemitter.Enabled = true |
976 | - | local w=Instance.new('Motor',p0) |
976 | + | |
977 | - | w.Name=name |
977 | + | local Footsteps = it("Sound",Character.Torso) |
978 | - | w.Part0=p0 |
978 | + | Footsteps.SoundId = "rbxassetid://142665235" |
979 | - | w.Part1=p1 |
979 | + | Footsteps.Looped = true |
980 | - | w.C0=c0 |
980 | + | Footsteps.Pitch = 0.8 |
981 | - | w.C1=c1 |
981 | + | Footsteps.Volume = 0.3 |
982 | - | return w |
982 | + | |
983 | local Footsteps2 = it("Sound",Character.Torso) | |
984 | - | for _,c in pairs(Torso:children()) do |
984 | + | Footsteps2.SoundId = "rbxassetid://142665235" |
985 | - | if c:IsA("Motor") and c.Name~="Neck" then |
985 | + | Footsteps2.Looped = true |
986 | - | c:Remove() |
986 | + | Footsteps2.Pitch = 1 |
987 | Footsteps2.Volume = 0.4 | |
988 | ||
989 | local cam = game.Workspace.CurrentCamera | |
990 | - | RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0) |
990 | + | |
991 | - | Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0) |
991 | + | --cam.CameraSubject = Character |
992 | ||
993 | - | local RS=newMotor("Right Shoulder",Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) |
993 | + | for i,v in pairs(Head:children()) do |
994 | - | local LS=newMotor("Left Hip",Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) |
994 | + | if v:IsA("Sound") then |
995 | - | local RH=newMotor("Right Shoulder",Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) |
995 | + | v:Destroy() |
996 | - | local LH=newMotor("Left Hip",Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) |
996 | + | |
997 | end | |
998 | ||
999 | - | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10 |
999 | + | |
1000 | if attack==false and attacktype==1 then | |
1001 | attacktype=2 | |
1002 | - | function rayCast(Position,Direction,Range,Ignore) |
1002 | + | attackone() |
1003 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore) |
1003 | + | elseif attack==false and attacktype==2 then |
1004 | attacktype=3 | |
1005 | attacktwo() | |
1006 | - | ArtificialHB=create("BindableEvent"){ |
1006 | + | elseif attack==false and attacktype==3 then |
1007 | - | Parent=script, |
1007 | + | attacktype=4 |
1008 | - | Name="Heartbeat"} |
1008 | + | attackthree() |
1009 | elseif attack==false and attacktype==4 then | |
1010 | - | script:WaitForChild("Heartbeat") |
1010 | + | attacktype=1 |
1011 | attackfour() | |
1012 | - | frame=0.0166666666666666667 |
1012 | + | |
1013 | - | tf=0 |
1013 | + | |
1014 | - | allowframeloss=false |
1014 | + | |
1015 | - | tossremainder=false |
1015 | + | |
1016 | - | lastframe=tick() |
1016 | + | k=k:lower() |
1017 | - | script.Heartbeat:Fire() |
1017 | + | if k=='e' then |
1018 | if attack==false and mana>=20 then | |
1019 | - | game:GetService("RunService").Heartbeat:connect(function(s,p) |
1019 | + | Push() |
1020 | - | tf=tf+s |
1020 | + | |
1021 | - | if tf >=frame then |
1021 | + | elseif k=='g' then |
1022 | - | if allowframeloss then |
1022 | + | if attack==false and mana>=50 then |
1023 | - | script.Heartbeat:Fire() |
1023 | + | Twirl() |
1024 | - | lastframe=tick() |
1024 | + | |
1025 | elseif k=='v' then | |
1026 | - | for i=1,math.floor(tf/frame) do |
1026 | + | if attack==false and mana>=25 then |
1027 | - | script.Heartbeat:Fire() |
1027 | + | MagicJump() |
1028 | end | |
1029 | - | lastframe=tick() |
1029 | + | elseif k=='q' then |
1030 | if attack==false then | |
1031 | - | if tossremainder then |
1031 | + | idle=1000 |
1032 | - | tf=0 |
1032 | + | |
1033 | elseif k=='h' then | |
1034 | - | tf=tf-frame*math.floor(tf/frame) |
1034 | + | if attack==false then |
1035 | mana=100 | |
1036 | end | |
1037 | elseif k=='y' then | |
1038 | if attack==false and mana>=100 then | |
1039 | Shred() | |
1040 | end | |
1041 | - | ArtificialHB.Event:wait() |
1041 | + | elseif k=='f' then |
1042 | if attack==false and mana>=40 then | |
1043 | Spin() | |
1044 | - | ArtificialHB.Event:wait() |
1044 | + | |
1045 | elseif k=='r' then | |
1046 | if attack==false and mana>=20 then | |
1047 | Clap() | |
1048 | end | |
1049 | - | function parts(Par,name,size,color,mat,ref,tra) |
1049 | + | elseif k=='t' then |
1050 | - | local part=create("Part"){ |
1050 | + | if attack==false then |
1051 | - | Parent=Par, |
1051 | + | Hai() |
1052 | - | Name=name, |
1052 | + | |
1053 | - | Size=size, |
1053 | + | elseif k=='0' then |
1054 | - | CanCollide=false, |
1054 | + | if attack==false then |
1055 | - | Anchored=false, |
1055 | + | Humanoid.WalkSpeed=(24) |
1056 | - | BrickColor=BrickColor.new(color), |
1056 | + | |
1057 | - | Material=mat, |
1057 | + | elseif k=='j' then |
1058 | - | Reflectance=ref, |
1058 | + | if attack==false then |
1059 | - | Transparency=tra} |
1059 | + | Humanoid.Health = 10 |
1060 | - | NoOutline(part) |
1060 | + | print("Congrats, you commited suicide.") |
1061 | - | if choice==9 then |
1061 | + | |
1062 | - | part.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
1062 | + | |
1063 | end) | |
1064 | - | part:BreakJoints() |
1064 | + | |
1065 | - | return part |
1065 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
1066 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1067 | prt.Anchored=true | |
1068 | - | function meshs(Par,name,scale,mtype,id) |
1068 | + | prt.CFrame=cframe |
1069 | - | local mesh=create("SpecialMesh"){ |
1069 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
1070 | - | Parent=Par, |
1070 | + | game:GetService("Debris"):AddItem(prt,2) |
1071 | - | Name=name, |
1071 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1072 | - | Scale=scale, |
1072 | + | for i=0,1,delay do |
1073 | - | MeshType=mtype} |
1073 | + | wait() |
1074 | - | if id~="" then |
1074 | + | Part.CFrame=Part.CFrame |
1075 | - | mesh.MeshId="rbxassetid://"..id |
1075 | + | Part.Transparency=i |
1076 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1077 | - | return meshs |
1077 | + | |
1078 | Part.Parent=nil | |
1079 | end),prt,msh) | |
1080 | - | function welds(Par,name,p0,p1,c0,c1) |
1080 | + | |
1081 | - | local weld=create("Weld"){ |
1081 | + | |
1082 | - | Parent=Par, |
1082 | + | TrailDeb = false |
1083 | - | Name=name, |
1083 | + | |
1084 | - | Part0=p0, |
1084 | + | function equipanim() |
1085 | - | Part1=p1, |
1085 | + | attack=true |
1086 | - | C0=c0, |
1086 | + | Humanoid.WalkSpeed = 0 |
1087 | - | C1=c1} |
1087 | + | if TrailDeb == false then |
1088 | TrailDeb = true | |
1089 | end | |
1090 | ||
1091 | - | function sounds(Par,id,vol,pit) |
1091 | + | |
1092 | - | local sound=create("Sound"){ |
1092 | + | coroutine.wrap(function() |
1093 | - | Parent=Par, |
1093 | + | local Old = handle.CFrame.p |
1094 | - | SoundId="rbxassetid://"..id, |
1094 | + | while wait()do |
1095 | - | Volume=vol, |
1095 | + | if not TrailDeb then break end |
1096 | - | PlaybackSpeed=pit, |
1096 | + | local New = handle.CFrame.p |
1097 | - | MaxDistance=66666666} |
1097 | + | local Mag =(Old -New).magnitude |
1098 | - | sound:Play() |
1098 | + | local Dis =(Old +New)/2 |
1099 | - | game:GetService("Debris"):AddItem(sound,10) |
1099 | + | local Trail = Instance.new("Part",Character) |
1100 | - | return sound |
1100 | + | Trail.Material = "Neon" |
1101 | Trail.Anchored = true | |
1102 | Trail.CanCollide = false | |
1103 | - | m=create("Model"){ |
1103 | + | Trail.BrickColor = TorsoColor |
1104 | - | Parent=chr, |
1104 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1105 | - | Name="WModel"} |
1105 | + | Trail.TopSurface = 0 |
1106 | - | e=create("Model"){ |
1106 | + | Trail.BottomSurface = 0 |
1107 | - | Parent=chr, |
1107 | + | Trail.formFactor = "Custom" |
1108 | - | Name="Effect"} |
1108 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1109 | local ms = Instance.new("BlockMesh",Trail) | |
1110 | - | theme=create("Sound"){ |
1110 | + | ms.Scale = Vector3.new(1,1,1) |
1111 | - | Parent=chr, |
1111 | + | local TM = Instance.new("CylinderMesh",Trail) |
1112 | - | SoundId="rbxassetid://1845818501", |
1112 | + | TM.Scale = Vector3.new(1,1,1) |
1113 | - | Volume=1.6, |
1113 | + | Old = New |
1114 | - | PlaybackSpeed=1, |
1114 | + | coroutine.wrap(function() |
1115 | - | MaxDistance=66666666, |
1115 | + | for i = 1,0,-0.1 do |
1116 | - | Name="Theme", |
1116 | + | wait() |
1117 | - | Looped=true} |
1117 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1118 | - | theme:Play() |
1118 | + | |
1119 | Trail:remove() | |
1120 | - | local timeposit=create("NumberValue"){ |
1120 | + | end)() |
1121 | - | Name="STP", |
1121 | + | coroutine.wrap(function() |
1122 | - | Value=true, |
1122 | + | for i = 1,10 do |
1123 | - | Parent=script} |
1123 | + | wait() |
1124 | Trail.Transparency = Trail.Transparency +0.1 | |
1125 | - | R1=parts(m,"R1",Vector3.new(1, 0.100000016, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1125 | + | end end)()end end)() |
1126 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-06, 0.649999857, 0, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1126 | + | coroutine.wrap(function() |
1127 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1127 | + | local Old = Handle.CFrame.p |
1128 | - | R1=parts(m,"R1",Vector3.new(1, 0.700000048, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1128 | + | while wait()do |
1129 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-06, -0.349999428, 0, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1129 | + | if not TrailDeb then break end |
1130 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1130 | + | local New = Handle.CFrame.p |
1131 | - | R1=parts(m,"R1",Vector3.new(1, 0.300000131, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1131 | + | local Mag =(Old -New).magnitude |
1132 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.849998951, -3.81469727e-06, 0, -1.48607702e-41, 1, 0, 0.999999881, -1.48607702e-41, -1, 0, 0)) |
1132 | + | local Dis =(Old +New)/2 |
1133 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Wedge,"") |
1133 | + | local Trail = Instance.new("Part",Character) |
1134 | - | R1=parts(m,"R1",Vector3.new(1, 0.300000131, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1134 | + | Trail.Material = "Neon" |
1135 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.150000811, 3.81469727e-06, 0, -1.48607702e-41, 1, 0, -0.999999881, 1.48607702e-41, 1, 0, 0)) |
1135 | + | Trail.Anchored = true |
1136 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Wedge,"") |
1136 | + | Trail.CanCollide = false |
1137 | - | R1=parts(m,"R1",Vector3.new(1, 0.300000131, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1137 | + | Trail.BrickColor = TorsoColor |
1138 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.450000763, 3.81469727e-06, 0, 1.48607702e-41, -1, 0, 0.999999881, -1.48607702e-41, 1, 0, 0)) |
1138 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1139 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Wedge,"") |
1139 | + | Trail.TopSurface = 0 |
1140 | - | R1=parts(m,"R1",Vector3.new(1, 0.300000131, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1140 | + | Trail.BottomSurface = 0 |
1141 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.850000858, -3.81469727e-06, 0, 1.48607702e-41, -1, 0, -0.999999881, 1.48607702e-41, -1, 0, 0)) |
1141 | + | Trail.formFactor = "Custom" |
1142 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Wedge,"") |
1142 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1143 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.550000012, 0.550000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1143 | + | local ms = Instance.new("BlockMesh",Trail) |
1144 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409994125, 0.134350777, 0.148492813, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1144 | + | ms.Scale = Vector3.new(1,1,1) |
1145 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1145 | + | local TM = Instance.new("CylinderMesh",Trail) |
1146 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.400000006, 0.849999964),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1146 | + | TM.Scale = Vector3.new(1,1,1) |
1147 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409994125, -0.0100002289, -0.249998569, -1, 0, 0, 0, -1.48607702e-41, 1, 0, 0.999999881, -1.48607702e-41)) |
1147 | + | Old = New |
1148 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1148 | + | coroutine.wrap(function() |
1149 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.150000036, 1.1500001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1149 | + | for i = 1,0,-0.1 do |
1150 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409994125, -0.240001678, -0.399998426, -1, 0, 0, 0, -1.48607702e-41, 1, 0, 0.999999881, -1.48607702e-41)) |
1150 | + | wait() |
1151 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1151 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1152 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.150000036, 1.1500001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1152 | + | |
1153 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409994125, 0.220001221, -0.399998426, -1, 0, 0, 0, -1.48607702e-41, 1, 0, 0.999999881, -1.48607702e-41)) |
1153 | + | Trail:remove() |
1154 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1154 | + | end)() |
1155 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000018, 0.249999911),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1155 | + | coroutine.wrap(function() |
1156 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409994125, -0.0900020599, 0.799996614, -1, 0, 0, 0, 1.48607702e-41, -1, 0, -0.999999881, 1.48607702e-41)) |
1156 | + | for i = 1,10 do |
1157 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1157 | + | wait() |
1158 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000018, 0.249999911),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1158 | + | Trail.Transparency = Trail.Transparency +0.1 |
1159 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409994125, -0.109998703, 0.799996138, 1, 0, 0, 0, -1.48607702e-41, 1, 0, -0.999999881, 1.48607702e-41)) |
1159 | + | end end)()end end)() |
1160 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1160 | + | coroutine.wrap(function() |
1161 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.300000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1161 | + | local Old = Handle2.CFrame.p |
1162 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.919998169, 0.220001221, -0.259996414, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1, 1, 0, 0)) |
1162 | + | while wait()do |
1163 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1163 | + | if not TrailDeb then break end |
1164 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.300000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1164 | + | local New = Handle2.CFrame.p |
1165 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.919998169, -0.239999771, -0.259996414, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1, 1, 0, 0)) |
1165 | + | local Mag =(Old -New).magnitude |
1166 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1166 | + | local Dis =(Old +New)/2 |
1167 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.300000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1167 | + | local Trail = Instance.new("Part",Character) |
1168 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.919998169, -0.0848560333, -0.10455513, 0, 0.999999881, -1.48607702e-41, -0.707106829, -1.05083372e-41, 0.707106829, 0.707106829, -1.05083372e-41, 0.707106829)) |
1168 | + | Trail.Material = "Neon" |
1169 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1169 | + | Trail.Anchored = true |
1170 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.300000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1170 | + | Trail.CanCollide = false |
1171 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.919998169, 0.0707149506, -0.0904140472, 0, 0.999999881, -1.48607702e-41, 0.707106829, -1.05083372e-41, 0.707106829, 0.707106829, 1.05083372e-41, -0.707106829)) |
1171 | + | Trail.BrickColor = TorsoColor |
1172 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1172 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1173 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.350000024, 0.350000024),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1173 | + | Trail.TopSurface = 0 |
1174 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.919999123, 0.114140511, 0.12121582, 0, 0.999999881, -1.48607702e-41, 0.707106829, -1.05083372e-41, 0.707106829, 0.707106829, 1.05083372e-41, -0.707106829)) |
1174 | + | Trail.BottomSurface = 0 |
1175 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1175 | + | Trail.formFactor = "Custom" |
1176 | - | R1=parts(m,"R1",Vector3.new(0.200000003, 0.400000006, 0.400000006),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1176 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1177 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909999132, 0.114140511, 0.12121582, 0, 0.999999881, -1.48607702e-41, 0.707106829, -1.05083372e-41, 0.707106829, 0.707106829, 1.05083372e-41, -0.707106829)) |
1177 | + | local ms = Instance.new("BlockMesh",Trail) |
1178 | - | meshs(R1,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1178 | + | ms.Scale = Vector3.new(1,1,1) |
1179 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1179 | + | local TM = Instance.new("CylinderMesh",Trail) |
1180 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, 0.399998903, -0.260002136, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) |
1180 | + | TM.Scale = Vector3.new(1,1,1) |
1181 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1181 | + | Old = New |
1182 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1182 | + | coroutine.wrap(function() |
1183 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.50504303, -0.51999712, -0.360067368, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) |
1183 | + | for i = 1,0,-0.1 do |
1184 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1184 | + | wait() |
1185 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1185 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1186 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.50504303, 0.369997025, -0.360067368, -1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, -1.48607702e-41, 1)) |
1186 | + | |
1187 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1187 | + | Trail:remove() |
1188 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1188 | + | end)() |
1189 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, 0.5, -0.159999847, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) |
1189 | + | coroutine.wrap(function() |
1190 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1190 | + | for i = 1,10 do |
1191 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1191 | + | wait() |
1192 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, -0.500004053, 0.260000229, 1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, 1.48607702e-41, -1)) |
1192 | + | Trail.Transparency = Trail.Transparency +0.1 |
1193 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1193 | + | end end)()end end)() |
1194 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1194 | + | so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5) |
1195 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.50504303, -0.130002022, -0.360067368, -1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, -1.48607702e-41, 1)) |
1195 | + | for i=0,1,0.005 do |
1196 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1196 | + | swait() |
1197 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.400000006, 0.400000006),"Smoky grey",Enum.Material.Neon,0,0) |
1197 | + | moosick.Volume = 0+1*i |
1198 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, 0.134350777, 0.148492813, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1198 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2) |
1199 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1199 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) |
1200 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Smoky grey",Enum.Material.Neon,0,0) |
1200 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1201 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, -0.219202042, -0.205059052, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1201 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1202 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1202 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1203 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Smoky grey",Enum.Material.Neon,0,0) |
1203 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) |
1204 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, -0.473760605, -0.459617615, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1204 | + | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) |
1205 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1205 | + | |
1206 | - | R1=parts(m,"R1",Vector3.new(0.200000003, 0.0799999982, 0.0799999982),"Mid gray",Enum.Material.Neon,0,0) |
1206 | + | for i=0,1,0.005 do |
1207 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, -0.0212125778, -0.162633896, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1207 | + | swait() |
1208 | - | meshs(R1,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1208 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2) |
1209 | - | R1=parts(m,"R1",Vector3.new(0.200000003, 0.0799999982, 0.0799999982),"Mid gray",Enum.Material.Neon,0,0) |
1209 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) |
1210 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, -0.268699646, -0.41012001, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1210 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1211 | - | meshs(R1,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1211 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1212 | - | R1=parts(m,"R1",Vector3.new(0.200000003, 0.0799999982, 0.0799999982),"Mid gray",Enum.Material.Neon,0,0) |
1212 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1213 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, -0.424263954, -0.254556656, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1213 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) |
1214 | - | meshs(R1,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1214 | + | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) |
1215 | - | R1=parts(m,"R1",Vector3.new(0.200000003, 0.0799999982, 0.0799999982),"Mid gray",Enum.Material.Neon,0,0) |
1215 | + | |
1216 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, -0.176776886, -0.00706863403, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) |
1216 | + | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) |
1217 | - | meshs(R1,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1217 | + | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) |
1218 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.100000016),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1218 | + | for i=0,1,0.005 do |
1219 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.220001221, -0.509992599, 0.96999836, 0, 1.48607702e-41, -1, 1, 0, 0, 0, -0.999999881, 1.48607702e-41)) |
1219 | + | swait() |
1220 | - | meshs(R2,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1220 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) |
1221 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.100000016),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1221 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) |
1222 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.239999771, -0.509992599, 0.96999836, 0, 1.48607702e-41, -1, 1, 0, 0, 0, -0.999999881, 1.48607702e-41)) |
1222 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) |
1223 | - | meshs(R2,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1223 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) |
1224 | - | R1=parts(m,"R1",Vector3.new(0.180000007, 0.200000003, 0.100000001),"Medium stone grey",Enum.Material.Neon,0,0) |
1224 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) |
1225 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.220001221, -0.862760544, 0.739753723, 0, 1.48607702e-41, -1, 0.933451414, 0.358703732, -5.33053936e-42, 0.358703762, -0.933451295, 1.38714535e-41)) |
1225 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) |
1226 | - | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1226 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) |
1227 | - | R1=parts(m,"R1",Vector3.new(0.180000007, 0.200000003, 0.100000001),"Medium stone grey",Enum.Material.Neon,0,0) |
1227 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) |
1228 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.239999771, -0.862760544, 0.739753723, 0, 1.48607702e-41, -1, 0.933451414, 0.358703732, -5.33053936e-42, 0.358703762, -0.933451295, 1.38714535e-41)) |
1228 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) |
1229 | - | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1229 | + | |
1230 | - | R1=parts(m,"R1",Vector3.new(0.150000006, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Neon,0,0) |
1230 | + | for i=0,1,0.04 do |
1231 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.220001221, -0.896935225, -0.666307449, 0, 1.48607702e-41, -1, -0.280028909, 0.959991515, -1.42666197e-41, 0.959991634, 0.28002888, -4.16185644e-42)) |
1231 | + | swait() |
1232 | - | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1232 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) |
1233 | - | R1=parts(m,"R1",Vector3.new(0.150000006, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Neon,0,0) |
1233 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1234 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.239999771, -0.896935225, -0.666307449, 0, 1.48607702e-41, -1, -0.280028909, 0.959991515, -1.42666197e-41, 0.959991634, 0.28002888, -4.16185644e-42)) |
1234 | + | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1235 | - | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1235 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1236 | - | R1=parts(m,"R1",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1236 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) |
1237 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909999132, -0.0272817612, 0.262638092, 0, 0.999999881, -1.48607702e-41, 0.707106829, -1.05083372e-41, 0.707106829, 0.707106829, 1.05083372e-41, -0.707106829)) |
1237 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) |
1238 | - | meshs(R1,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1238 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) |
1239 | - | R1=parts(m,"R1",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1239 | + | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) |
1240 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909999132, 0.255561829, -0.0202064514, 0, 0.999999881, -1.48607702e-41, 0.707106829, -1.05083372e-41, 0.707106829, 0.707106829, 1.05083372e-41, -0.707106829)) |
1240 | + | |
1241 | - | meshs(R1,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") |
1241 | + | --dmgstop() |
1242 | - | R1=parts(m,"R1",Vector3.new(0.150000006, 0.400000006, 0.200000003),"Medium stone grey",Enum.Material.Neon,0,0) |
1242 | + | attack=false |
1243 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.239999771, -0.218418121, -1.05363274, 0, 1.48607702e-41, -1, -0.907014251, 0.42110002, -6.25819894e-42, 0.42110005, 0.907014132, -1.34790899e-41)) |
1243 | + | Humanoid.WalkSpeed = 12 |
1244 | - | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1244 | + | if TrailDeb == true then |
1245 | - | R1=parts(m,"R1",Vector3.new(0.150000006, 0.400000006, 0.200000003),"Medium stone grey",Enum.Material.Neon,0,0) |
1245 | + | TrailDeb = false |
1246 | - | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.220001221, -0.218418121, -1.05363274, 0, 1.48607702e-41, -1, -0.907014251, 0.42110002, -6.25819894e-42, 0.42110005, 0.907014132, -1.34790899e-41)) |
1246 | + | |
1247 | - | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") |
1247 | + | |
1248 | - | R2=parts(m,"R2",Vector3.new(1, 0.300000131, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1248 | + | |
1249 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.749999046, -3.81469727e-06, 0, -1.48607702e-41, 1, 0, 0.999999881, -1.48607702e-41, -1, 0, 0)) |
1249 | + | function attackone() |
1250 | - | meshs(R2,"Mesh",Vector3.new(1.01999998, 1, 1),Enum.MeshType.Wedge,"") |
1250 | + | attack=true |
1251 | - | R2=parts(m,"R2",Vector3.new(1, 0.300000131, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1251 | + | if TrailDeb == false then |
1252 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.449999332, 3.81469727e-06, 0, -1.48607702e-41, 1, 0, -0.999999881, 1.48607702e-41, 1, 0, 0)) |
1252 | + | TrailDeb = true |
1253 | - | meshs(R2,"Mesh",Vector3.new(1.01999998, 1, 1),Enum.MeshType.Wedge,"") |
1253 | + | end |
1254 | - | R2=parts(m,"R2",Vector3.new(1, 0.300000131, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1254 | + | |
1255 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.0500001907, 3.81469727e-06, 0, -1.48607702e-41, 1, 0, -0.999999881, 1.48607702e-41, 1, 0, 0)) |
1255 | + | |
1256 | - | meshs(R2,"Mesh",Vector3.new(1.01999998, 1, 1),Enum.MeshType.Wedge,"") |
1256 | + | coroutine.wrap(function() |
1257 | - | R2=parts(m,"R2",Vector3.new(1, 0.300000131, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1257 | + | local Old = Handle.CFrame.p |
1258 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.249999523, -3.81469727e-06, 0, -1.48607702e-41, 1, 0, 0.999999881, -1.48607702e-41, -1, 0, 0)) |
1258 | + | while wait()do |
1259 | - | meshs(R2,"Mesh",Vector3.new(1.01999998, 1, 1),Enum.MeshType.Wedge,"") |
1259 | + | if not TrailDeb then break end |
1260 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1260 | + | local New = Handle.CFrame.p |
1261 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.50504303, -0.0199980736, -0.35993576, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1261 | + | local Mag =(Old -New).magnitude |
1262 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1262 | + | local Dis =(Old +New)/2 |
1263 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1263 | + | local Trail = Instance.new("Part",Character) |
1264 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.50504303, -0.130002022, -0.35993576, 1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, 1.48607702e-41, -1)) |
1264 | + | Trail.Material = "Neon" |
1265 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1265 | + | Trail.Anchored = true |
1266 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1266 | + | Trail.CanCollide = false |
1267 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.50504303, -0.519997597, -0.35993576, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1267 | + | Trail.BrickColor = TorsoColor |
1268 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1268 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1269 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1269 | + | Trail.TopSurface = 0 |
1270 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.50504303, 0.369997501, -0.35993576, 1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, 1.48607702e-41, -1)) |
1270 | + | Trail.BottomSurface = 0 |
1271 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1271 | + | Trail.formFactor = "Custom" |
1272 | - | R2=parts(m,"R2",Vector3.new(0.099999927, 0.150000006, 0.299999923),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1272 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1273 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.50504303, -0.0199980736, -0.36006546, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) |
1273 | + | local ms = Instance.new("BlockMesh",Trail) |
1274 | - | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") |
1274 | + | ms.Scale = Vector3.new(1,1,1) |
1275 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1275 | + | local TM = Instance.new("CylinderMesh",Trail) |
1276 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, -0.400001049, 0.36000061, 1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, 1.48607702e-41, -1)) |
1276 | + | TM.Scale = Vector3.new(1,1,1) |
1277 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1277 | + | Old = New |
1278 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1278 | + | coroutine.wrap(function() |
1279 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, -0.400000811, 0.340000153, -1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, -1.48607702e-41, 1)) |
1279 | + | for i = 1,0,-0.1 do |
1280 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1280 | + | wait() |
1281 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1281 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1282 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410003662, 0.399998903, -0.240003586, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1282 | + | |
1283 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1283 | + | Trail:remove() |
1284 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1284 | + | end)() |
1285 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, -0.500003815, 0.240001678, -1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, -1.48607702e-41, 1)) |
1285 | + | coroutine.wrap(function() |
1286 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1286 | + | for i = 1,10 do |
1287 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1287 | + | wait() |
1288 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, 0.5, -0.13999939, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1288 | + | Trail.Transparency = Trail.Transparency +0.1 |
1289 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1289 | + | end end)()end end)() |
1290 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1290 | + | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) |
1291 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, -0.600003958, 0.159999847, 1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, 1.48607702e-41, -1)) |
1291 | + | for i=0,1,0.08 do |
1292 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1292 | + | swait() |
1293 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1293 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) |
1294 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, 0.599999905, -0.0599994659, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) |
1294 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) |
1295 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1295 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1296 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1296 | + | Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) |
1297 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, 0.599999905, -0.0399990082, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1297 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1298 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1298 | + | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) |
1299 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1299 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) |
1300 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, -0.600003719, 0.140001297, -1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, -1.48607702e-41, 1)) |
1300 | + | |
1301 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
1301 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9) |
1302 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1302 | + | so("http://www.roblox.com/asset/?id=159972643",Torso,1,1) |
1303 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199998856, -0.599999666, -0.40999794, -2.98023224e-08, 3.7033562e-08, 0.999999642, 4.63025478e-15, -0.999999642, 3.7033562e-08, 0.999999762, 1.08736457e-14, 2.98023153e-08)) |
1303 | + | for i=0,1,0.1 do |
1304 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1304 | + | swait() |
1305 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1305 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) |
1306 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.20000267, -0.599999666, -0.40999794, -2.98023224e-08, 3.7033562e-08, 0.999999642, 4.63025478e-15, -0.999999642, 3.7033562e-08, 0.999999762, 1.08736457e-14, 2.98023153e-08)) |
1306 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) |
1307 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1307 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1308 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1308 | + | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) |
1309 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.25, -0.549999714, -0.40999794, -2.98023224e-08, 3.7033562e-08, 0.999999642, 4.63025478e-15, -0.999999642, 3.7033562e-08, 0.999999762, 1.08736457e-14, 2.98023153e-08)) |
1309 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1310 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1310 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) |
1311 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1311 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) |
1312 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.250003815, -0.549999714, -0.40999794, -2.98023224e-08, 3.7033562e-08, 0.999999642, 4.63025478e-15, -0.999999642, 3.7033562e-08, 0.999999762, 1.08736457e-14, 2.98023153e-08)) |
1312 | + | |
1313 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1313 | + | --dmgstop() |
1314 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1314 | + | attack=false |
1315 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300001144, -0.5, -0.40999794, -2.98023224e-08, 3.7033562e-08, 0.999999642, 4.63025478e-15, -0.999999642, 3.7033562e-08, 0.999999762, 1.08736457e-14, 2.98023153e-08)) |
1315 | + | con1:disconnect() |
1316 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1316 | + | if TrailDeb == true then |
1317 | - | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1317 | + | TrailDeb = false |
1318 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300004959, -0.5, -0.40999794, -2.98023224e-08, 3.7033562e-08, 0.999999642, 4.63025478e-15, -0.999999642, 3.7033562e-08, 0.999999762, 1.08736457e-14, 2.98023153e-08)) |
1318 | + | |
1319 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1319 | + | |
1320 | - | R2=parts(m,"R2",Vector3.new(0.400000006, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1320 | + | |
1321 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0767774582, -0.572755814, -0.409999847, 0, 0.707106769, 0.707106829, 0, -0.707106769, 0.707106829, 1, 0, 0)) |
1321 | + | function attacktwo() |
1322 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1322 | + | attack=true |
1323 | - | R2=parts(m,"R2",Vector3.new(0.400000006, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1323 | + | if TrailDeb == false then |
1324 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0767745972, -0.572758675, -0.409999847, 0, -0.707106769, 0.707106829, -0, -0.707106769, -0.707106829, 1, 0, 0)) |
1324 | + | TrailDeb = true |
1325 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1325 | + | end |
1326 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1326 | + | |
1327 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.175271034, -0.636394501, -0.409999847, 0, 0.707106769, 0.707106829, 0, -0.707106769, 0.707106829, 1, 0, 0)) |
1327 | + | |
1328 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1328 | + | coroutine.wrap(function() |
1329 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000001, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1329 | + | local Old = Handle2.CFrame.p |
1330 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.175270081, -0.636396408, -0.409999847, 0, -0.707106769, 0.707106829, -0, -0.707106769, -0.707106829, 1, 0, 0)) |
1330 | + | while wait()do |
1331 | - | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") |
1331 | + | if not TrailDeb then break end |
1332 | - | R2=parts(m,"R2",Vector3.new(0.0999999568, 0.600000024, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1332 | + | local New = Handle2.CFrame.p |
1333 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.263830185, -0.35447979, 0, -0.965925872, 0.258818954, -3.84656428e-42, 0.258818984, 0.965925753, -1.43549015e-41, 0, 1.48607702e-41, -1)) |
1333 | + | local Mag =(Old -New).magnitude |
1334 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.01999998),Enum.MeshType.Brick,"") |
1334 | + | local Dis =(Old +New)/2 |
1335 | - | R2=parts(m,"R2",Vector3.new(0.0999999568, 0.600000024, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1335 | + | local Trail = Instance.new("Part",Character) |
1336 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0361690521, -0.354480743, 0, -0.965925872, 0.258818954, -3.84656428e-42, 0.258818984, 0.965925753, -1.43549015e-41, 0, 1.48607702e-41, -1)) |
1336 | + | Trail.Material = "Neon" |
1337 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.01999998),Enum.MeshType.Brick,"") |
1337 | + | Trail.Anchored = true |
1338 | - | R2=parts(m,"R2",Vector3.new(0.0999999568, 0.600000024, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1338 | + | Trail.CanCollide = false |
1339 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.336166382, -0.354481697, 0, -0.965925872, 0.258818954, -3.84656428e-42, 0.258818984, 0.965925753, -1.43549015e-41, 0, 1.48607702e-41, -1)) |
1339 | + | Trail.BrickColor = TorsoColor |
1340 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.01999998),Enum.MeshType.Brick,"") |
1340 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1341 | - | R2=parts(m,"R2",Vector3.new(0.199999958, 0.100000001, 1),"Medium stone grey",Enum.Material.Neon,0,0) |
1341 | + | Trail.TopSurface = 0 |
1342 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.201862335, -0.581261635, 0, -0.956305027, 0.292370975, -4.34542654e-42, 0.292371005, 0.956304908, -1.4211969e-41, 0, 1.48607702e-41, -1)) |
1342 | + | Trail.BottomSurface = 0 |
1343 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.02999997),Enum.MeshType.Brick,"") |
1343 | + | Trail.formFactor = "Custom" |
1344 | - | R2=parts(m,"R2",Vector3.new(0.0999999717, 0.300000012, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1344 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1345 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.504964828, -0.249998093, 0.0100650787, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1345 | + | local ms = Instance.new("BlockMesh",Trail) |
1346 | - | meshs(R2,"Mesh",Vector3.new(0.0799999982, 1, 1.04999995),Enum.MeshType.Brick,"") |
1346 | + | ms.Scale = Vector3.new(1,1,1) |
1347 | - | R2=parts(m,"R2",Vector3.new(0.0999999717, 0.300000012, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1347 | + | local TM = Instance.new("CylinderMesh",Trail) |
1348 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.504964828, -0.749997616, 0.0100650787, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) |
1348 | + | TM.Scale = Vector3.new(1,1,1) |
1349 | - | meshs(R2,"Mesh",Vector3.new(0.0799999982, 1, 1.04999995),Enum.MeshType.Brick,"") |
1349 | + | Old = New |
1350 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Olivine",Enum.Material.SmoothPlastic,0,0) |
1350 | + | coroutine.wrap(function() |
1351 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, -0.636394501, 0.424265862, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1351 | + | for i = 1,0,-0.1 do |
1352 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1352 | + | wait() |
1353 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Bright bluish green",Enum.Material.SmoothPlastic,0,0) |
1353 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1354 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, -0.282840729, 0.777820587, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1354 | + | |
1355 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1355 | + | Trail:remove() |
1356 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Maroon",Enum.Material.SmoothPlastic,0,0) |
1356 | + | end)() |
1357 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, -0.424263, 0.636398315, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1357 | + | coroutine.wrap(function() |
1358 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1358 | + | for i = 1,10 do |
1359 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Institutional white",Enum.Material.SmoothPlastic,0,0) |
1359 | + | wait() |
1360 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, -0.777816772, 0.28284359, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1360 | + | Trail.Transparency = Trail.Transparency +0.1 |
1361 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1361 | + | end end)()end end)() |
1362 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Neon orange",Enum.Material.SmoothPlastic,0,0) |
1362 | + | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) |
1363 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, -0.0707092285, 0.282844543, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1363 | + | for i=0,1,0.08 do |
1364 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1364 | + | swait() |
1365 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Daisy orange",Enum.Material.SmoothPlastic,0,0) |
1365 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) |
1366 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, -0.282842636, 0.0707130432, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1366 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) |
1367 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1367 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1368 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Royal purple",Enum.Material.SmoothPlastic,0,0) |
1368 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
1369 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, -0.424264908, -0.0707092285, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1369 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1370 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1370 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) |
1371 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Toothpaste",Enum.Material.SmoothPlastic,0,0) |
1371 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) |
1372 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, -0.282840729, 0.777820587, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1372 | + | |
1373 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1373 | + | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) |
1374 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Really red",Enum.Material.SmoothPlastic,0,0) |
1374 | + | so("http://www.roblox.com/asset/?id=159972627",Torso,1,1) |
1375 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, -0.424263, 0.636398315, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1375 | + | for i=0,1,0.1 do |
1376 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1376 | + | swait() |
1377 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Olivine",Enum.Material.SmoothPlastic,0,0) |
1377 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) |
1378 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, -0.636396408, 0.424264908, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1378 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) |
1379 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1379 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1380 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Really black",Enum.Material.SmoothPlastic,0,0) |
1380 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) |
1381 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, -0.77781868, 0.28284359, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1381 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1382 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1382 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) |
1383 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Pastel yellow",Enum.Material.SmoothPlastic,0,0) |
1383 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) |
1384 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, -0.282842636, 0.0707120895, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1384 | + | |
1385 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1385 | + | --dmgstop() |
1386 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Alder",Enum.Material.SmoothPlastic,0,0) |
1386 | + | attack=false |
1387 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, -0.424264908, -0.0707101822, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1387 | + | con1:disconnect() |
1388 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1388 | + | if TrailDeb == true then |
1389 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Bright yellow",Enum.Material.SmoothPlastic,0,0) |
1389 | + | TrailDeb = false |
1390 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, -0.0707092285, 0.282845497, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1390 | + | |
1391 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1391 | + | |
1392 | - | R2=parts(m,"R2",Vector3.new(0.199999958, 0.100000001, 1),"Medium stone grey",Enum.Material.Neon,0,0) |
1392 | + | |
1393 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0981369019, -0.581263542, 0, -0.956305027, 0.292370975, -4.34542654e-42, 0.292371005, 0.956304908, -1.4211969e-41, 0, 1.48607702e-41, -1)) |
1393 | + | function attackthree() |
1394 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.02999997),Enum.MeshType.Brick,"") |
1394 | + | attack=true |
1395 | - | R2=parts(m,"R2",Vector3.new(0.199999958, 0.100000001, 1),"Medium stone grey",Enum.Material.Neon,0,0) |
1395 | + | if TrailDeb == false then |
1396 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00185966492, -0.101263046, 0, -0.956305027, 0.292370975, -4.34542654e-42, 0.292371005, 0.956304908, -1.4211969e-41, 0, 1.48607702e-41, -1)) |
1396 | + | TrailDeb = true |
1397 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.02999997),Enum.MeshType.Brick,"") |
1397 | + | end |
1398 | - | R2=parts(m,"R2",Vector3.new(0.199999958, 0.100000001, 1),"Medium stone grey",Enum.Material.Neon,0,0) |
1398 | + | |
1399 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.398138046, -0.581264496, 0, -0.956305027, 0.292370975, -4.34542654e-42, 0.292371005, 0.956304908, -1.4211969e-41, 0, 1.48607702e-41, -1)) |
1399 | + | |
1400 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.02999997),Enum.MeshType.Brick,"") |
1400 | + | coroutine.wrap(function() |
1401 | - | R2=parts(m,"R2",Vector3.new(0.199999958, 0.100000001, 1),"Medium stone grey",Enum.Material.Neon,0,0) |
1401 | + | local Old = Handle.CFrame.p |
1402 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.298141479, -0.101261139, 0, -0.956305027, 0.292370975, -4.34542654e-42, 0.292371005, 0.956304908, -1.4211969e-41, 0, 1.48607702e-41, -1)) |
1402 | + | while wait()do |
1403 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.02999997),Enum.MeshType.Brick,"") |
1403 | + | if not TrailDeb then break end |
1404 | - | R2=parts(m,"R2",Vector3.new(0.199999958, 0.100000001, 1),"Medium stone grey",Enum.Material.Neon,0,0) |
1404 | + | local New = Handle.CFrame.p |
1405 | - | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.301858902, -0.101263046, 0, -0.956305027, 0.292370975, -4.34542654e-42, 0.292371005, 0.956304908, -1.4211969e-41, 0, 1.48607702e-41, -1)) |
1405 | + | local Mag =(Old -New).magnitude |
1406 | - | meshs(R2,"Mesh",Vector3.new(1, 1, 1.02999997),Enum.MeshType.Brick,"") |
1406 | + | local Dis =(Old +New)/2 |
1407 | - | R3=parts(m,"R3",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),"Deep blue",Enum.Material.SmoothPlastic,0,0) |
1407 | + | local Trail = Instance.new("Part",Character) |
1408 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, 0.0707130432, 0.424267769, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) |
1408 | + | Trail.Material = "Neon" |
1409 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1409 | + | Trail.Anchored = true |
1410 | - | table.insert(rainParts,#rainParts+1,R3) |
1410 | + | Trail.CanCollide = false |
1411 | - | R3=parts(m,"R3",Vector3.new(0.099999927, 0.100000001, 0.0999999568),"Deep blue",Enum.Material.SmoothPlastic,0,0) |
1411 | + | Trail.BrickColor = TorsoColor |
1412 | - | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.459999084, 0.0707130432, 0.424266815, -1.00000036, 1.86264515e-09, -1.86264515e-09, 3.95127042e-09, 0.707107544, -0.707107306, 1.31709066e-09, -0.707107306, -0.707107544)) |
1412 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1413 | - | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1413 | + | Trail.TopSurface = 0 |
1414 | - | table.insert(rainParts,#rainParts+1,R3) |
1414 | + | Trail.BottomSurface = 0 |
1415 | Trail.formFactor = "Custom" | |
1416 | - | R1=parts(m,"R1",Vector3.new(0.299999982, 1.50000024, 0.599999905),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1416 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1417 | - | R1Weld=welds(R1,"R1Weld",LArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452291489, 0.050109148, -0.000789642334, -1, 2.72032397e-13, 0, -2.72032397e-13, 1, -2.99999992e-05, 8.16097137e-18, -2.99999992e-05, -1)) |
1417 | + | local ms = Instance.new("BlockMesh",Trail) |
1418 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1418 | + | ms.Scale = Vector3.new(1,1,1) |
1419 | - | R1=parts(m,"R1",Vector3.new(1, 0.100000016, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1419 | + | local TM = Instance.new("CylinderMesh",Trail) |
1420 | - | R1Weld=welds(R1,"R1Weld",LArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00228977203, -0.449890375, -0.000789642334, -1, 2.72032397e-13, 0, -2.72032397e-13, 1, -2.99999992e-05, 8.16097137e-18, -2.99999992e-05, -1)) |
1420 | + | TM.Scale = Vector3.new(1,1,1) |
1421 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1421 | + | Old = New |
1422 | - | R1=parts(m,"R1",Vector3.new(1, 0.100000016, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1422 | + | coroutine.wrap(function() |
1423 | - | R1Weld=welds(R1,"R1Weld",LArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00228977203, 0.55010891, -0.000789642334, -1, 2.72032397e-13, 0, -2.72032397e-13, 1, -2.99999992e-05, 8.16097137e-18, -2.99999992e-05, -1)) |
1423 | + | for i = 1,0,-0.1 do |
1424 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1424 | + | wait() |
1425 | - | R1=parts(m,"R1",Vector3.new(0.300000012, 0.700000048, 0.700000048),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) |
1425 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1426 | - | R1Weld=welds(R1,"R1Weld",LArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452291489, 0.0348739624, -0.0359916687, -1, 2.72032397e-13, 0, -1.92350191e-13, 0.707085609, -0.707128048, 1.92361738e-13, -0.707128048, -0.707085609)) |
1426 | + | |
1427 | - | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1427 | + | Trail:remove() |
1428 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.200000003, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1428 | + | end)() |
1429 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452292442, 0.248123169, -0.177259445, -1, 2.72032397e-13, 0, -1.92361738e-13, 0.707128048, 0.707085609, -1.92350191e-13, 0.707085609, -0.707128048)) |
1429 | + | coroutine.wrap(function() |
1430 | - | meshs(R2,"Mesh",Vector3.new(1.01999998, 1, 1),Enum.MeshType.Wedge,"") |
1430 | + | for i = 1,10 do |
1431 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.200000003, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0) |
1431 | + | wait() |
1432 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452292442, 0.176141739, -0.24700737, -1, 2.72032397e-13, 0, 1.92361738e-13, -0.707128048, -0.707085609, 1.92350191e-13, -0.707085609, 0.707128048)) |
1432 | + | Trail.Transparency = Trail.Transparency +0.1 |
1433 | - | meshs(R2,"Mesh",Vector3.new(1.01999998, 1, 1),Enum.MeshType.Wedge,"") |
1433 | + | end end)()end end)() |
1434 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) | |
1435 | - | anti=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) |
1435 | + | for i=0,1,0.08 do |
1436 | - | anti.Anchored=true |
1436 | + | swait() |
1437 | - | anti.CFrame=Root.CFrame |
1437 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
1438 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1439 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1440 | - | Handle1=parts(m,"Handle",Vector3.new(.1,.1,.1),"Institutional white",Enum.Material.SmoothPlastic,0,1) |
1440 | + | Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) |
1441 | - | Handle1Weld=welds(Handle1,"HandleWeld",LArm,Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291718, 0.699890137, 0.000787714147, -1, 2.72032397e-13, 0, 2.72032397e-13, -1, 2.99999992e-05, -8.16097137e-18, 2.99999992e-05, 1)) |
1441 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1442 | - | meshs(Handle1,"Mesh",Vector3.new(1.04999995, 1, 1),Enum.MeshType.Cylinder,"") |
1442 | + | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3) |
1443 | - | Handle=parts(m,"R2",Vector3.new(0.300000012, 0.400000006, 0.400000006),"Institutional white",Enum.Material.SmoothPlastic,0,0) |
1443 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) |
1444 | - | HandleWeld=welds(Handle1,"HandleWeld",Handle1,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1444 | + | |
1445 | - | meshs(Handle,"Mesh",Vector3.new(1.04999995, 1, 1),Enum.MeshType.Cylinder,"") |
1445 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) |
1446 | - | R1=parts(m,"R1",Vector3.new(0.300000012, 0.400000006, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0) |
1446 | + | so("http://www.roblox.com/asset/?id=159882477",Torso,1,1) |
1447 | - | R1Weld=welds(R1,"R1Weld",Handle,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, -5.44064793e-13, 1.63219427e-17, -5.44064793e-13, 1, 0, 1.63219427e-17, 0, 1)) |
1447 | + | for i=0,1,0.05 do |
1448 | - | meshs(R1,"Mesh",Vector3.new(1.05999994, 0.800000012, 0.800000012),Enum.MeshType.Cylinder,"") |
1448 | + | swait() |
1449 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Institutional white",Enum.Material.SmoothPlastic,0,0) |
1449 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
1450 | - | R2Weld=welds(R2,"R2Weld",Handle,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, -1.48516847e-06, 1, -5.44064793e-13, 1.63219427e-17, -5.44064793e-13, 1, 0, 1.63219427e-17, 0, 1)) |
1450 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) |
1451 | - | meshs(R2,"Mesh",Vector3.new(1.04999995, 1, 1),Enum.MeshType.Brick,"") |
1451 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1452 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Institutional white",Enum.Material.SmoothPlastic,0,0) |
1452 | + | Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) |
1453 | - | R2Weld=welds(R2,"R2Weld",Handle,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.38418579e-07, -1.71089778e-06, 2.38418579e-07, 1, -2.72032397e-13, 8.16097137e-18, 8.16097137e-18, 0, 1, 2.72032397e-13, -1, 0)) |
1453 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1454 | - | meshs(R2,"Mesh",Vector3.new(1.04999995, 1, 1),Enum.MeshType.Brick,"") |
1454 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) |
1455 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Institutional white",Enum.Material.SmoothPlastic,0,0) |
1455 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) |
1456 | - | R2Weld=welds(R2,"R2Weld",Handle,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.38418579e-07, -1.43051147e-06, -1.1920929e-06, 1, -2.72032397e-13, 8.16097137e-18, -1.92350259e-13, 0.707107067, 0.70710659, 1.9236167e-13, -0.70710659, 0.707107067)) |
1456 | + | |
1457 | - | meshs(R2,"Mesh",Vector3.new(1.04999995, 1, 1),Enum.MeshType.Brick,"") |
1457 | + | --dmgstop() |
1458 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Institutional white",Enum.Material.SmoothPlastic,0,0) |
1458 | + | attack=false |
1459 | - | R2Weld=welds(R2,"R2Weld",Handle,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.38418579e-07, 1.1920929e-06, -1.43051147e-06, 1, -2.72032397e-13, 8.16097137e-18, -1.9236167e-13, 0.70710659, -0.707107067, -1.92350259e-13, 0.707107067, 0.70710659)) |
1459 | + | con1:disconnect() |
1460 | - | meshs(R2,"Mesh",Vector3.new(1.04999995, 1, 1),Enum.MeshType.Brick,"") |
1460 | + | if TrailDeb == true then |
1461 | - | R1=parts(m,"R1",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Really black",Enum.Material.SmoothPlastic,0,0) |
1461 | + | TrailDeb = false |
1462 | - | R1Weld=welds(R1,"R1Weld",Handle,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, -1.48516847e-06, 1, -5.44064793e-13, 1.63219427e-17, -5.44064793e-13, 1, 0, 1.63219427e-17, 0, 1)) |
1462 | + | |
1463 | - | meshs(R1,"Mesh",Vector3.new(1.05999994, 0.800000012, 0.800000012),Enum.MeshType.Brick,"") |
1463 | + | |
1464 | - | R1=parts(m,"R1",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Really black",Enum.Material.SmoothPlastic,0,0) |
1464 | + | |
1465 | - | R1Weld=welds(R1,"R1Weld",Handle,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.38418579e-07, -1.71089778e-06, 2.38418579e-07, 1, -2.72032397e-13, 8.16097137e-18, 8.16097137e-18, 0, 1, 2.72032397e-13, -1, 0)) |
1465 | + | function attackfour() |
1466 | - | meshs(R1,"Mesh",Vector3.new(1.05999994, 0.800000012, 0.800000012),Enum.MeshType.Brick,"") |
1466 | + | attack=true |
1467 | - | R1=parts(m,"R1",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Really black",Enum.Material.SmoothPlastic,0,0) |
1467 | + | if TrailDeb == false then |
1468 | - | R1Weld=welds(R1,"R1Weld",Handle,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.38418579e-07, -1.43051147e-06, -1.1920929e-06, 1, -2.72032397e-13, 8.16097137e-18, -1.92350259e-13, 0.707107067, 0.70710659, 1.9236167e-13, -0.70710659, 0.707107067)) |
1468 | + | TrailDeb = true |
1469 | - | meshs(R1,"Mesh",Vector3.new(1.05999994, 0.800000012, 0.800000012),Enum.MeshType.Brick,"") |
1469 | + | end |
1470 | - | R1=parts(m,"R1",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Really black",Enum.Material.SmoothPlastic,0,0) |
1470 | + | |
1471 | - | R1Weld=welds(R1,"R1Weld",Handle,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.38418579e-07, 1.1920929e-06, -1.43051147e-06, 1, -2.72032397e-13, 8.16097137e-18, -1.9236167e-13, 0.70710659, -0.707107067, -1.92350259e-13, 0.707107067, 0.70710659)) |
1471 | + | |
1472 | - | meshs(R1,"Mesh",Vector3.new(1.05999994, 0.800000012, 0.800000012),Enum.MeshType.Brick,"") |
1472 | + | coroutine.wrap(function() |
1473 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.25, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1473 | + | local Old = Handle2.CFrame.p |
1474 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291718, 0.699889421, 0.0707877204, -1, 2.72032397e-13, 0, 2.72032397e-13, -1, 2.99999992e-05, -8.16097137e-18, 2.99999992e-05, 1)) |
1474 | + | while wait()do |
1475 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") |
1475 | + | if not TrailDeb then break end |
1476 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000001, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1476 | + | local New = Handle2.CFrame.p |
1477 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291956, 0.0257844031, -0.819885492, -1, 0, 0, 0, 2.99999992e-05, 1, 0, 1, -2.99999992e-05)) |
1477 | + | local Mag =(Old -New).magnitude |
1478 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") |
1478 | + | local Dis =(Old +New)/2 |
1479 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000001, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1479 | + | local Trail = Instance.new("Part",Character) |
1480 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291956, 0.0257844049, -0.719885588, -1, 0, 0, 0, 2.99999992e-05, 1, 0, 1, -2.99999992e-05)) |
1480 | + | Trail.Material = "Neon" |
1481 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") |
1481 | + | Trail.Anchored = true |
1482 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.0500000045, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1482 | + | Trail.CanCollide = false |
1483 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462000012, 0.548022509, 0.492837429, -1, 0, 0, 0, -0.70712781, -0.707085848, 0, -0.707085848, 0.70712781)) |
1483 | + | Trail.BrickColor = TorsoColor |
1484 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") |
1484 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1485 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.0500000045, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1485 | + | Trail.TopSurface = 0 |
1486 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462000012, 0.54091835, -0.596107483, -1, 0, 0, 0, -0.707085371, 0.707128346, 0, 0.707128346, 0.707085371)) |
1486 | + | Trail.BottomSurface = 0 |
1487 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") |
1487 | + | Trail.formFactor = "Custom" |
1488 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.0600000024, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1488 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1489 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462000012, 0.465209961, -0.52539444, -1, 0, 0, 0, -0.707085371, 0.707128346, 0, 0.707128346, 0.707085371)) |
1489 | + | local ms = Instance.new("BlockMesh",Trail) |
1490 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") |
1490 | + | ms.Scale = Vector3.new(1,1,1) |
1491 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.110000007, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1491 | + | local TM = Instance.new("CylinderMesh",Trail) |
1492 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462000012, 0.629998207, -0.0620189011, -1, 2.72032397e-13, 0, 2.72032397e-13, -1, 2.99999992e-05, -8.16097137e-18, 2.99999992e-05, 1)) |
1492 | + | TM.Scale = Vector3.new(1,1,1) |
1493 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") |
1493 | + | Old = New |
1494 | - | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000001, 0.100000001),"Institutional white",Enum.Material.Neon,0,0) |
1494 | + | coroutine.wrap(function() |
1495 | - | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291956, 0.509591579, -0.579190969, -1, 0, 0, 0, -0.707085371, 0.707128346, 0, 0.707128346, 0.707085371)) |
1495 | + | for i = 1,0,-0.1 do |
1496 | - | meshs(R2,"Mesh",Vector3.new(1.07000005, 0.5, 0.5),Enum.MeshType.Brick,"") |
1496 | + | wait() |
1497 | - | R1=parts(m,"R1",Vector3.new(0.300000012, 0.100000001, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0) |
1497 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1498 | - | R1Weld=welds(R1,"R1Weld",LArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291956, 0.509591579, -0.579190969, -1, 0, 0, 0, -0.707085371, 0.707128346, 0, 0.707128346, 0.707085371)) |
1498 | + | |
1499 | - | meshs(R1,"Mesh",Vector3.new(1.08000004, 0.400000006, 0.400000006),Enum.MeshType.Brick,"") |
1499 | + | Trail:remove() |
1500 | end)() | |
1501 | coroutine.wrap(function() | |
1502 | for i = 1,10 do | |
1503 | wait() | |
1504 | Trail.Transparency = Trail.Transparency +0.1 | |
1505 | - | R34=parts(m,"R34",Vector3.new(0.299999982, 1.40000021, 0.499999911),"Black",Enum.Material.SmoothPlastic,0,0) |
1505 | + | end end)()end end)() |
1506 | - | R34Weld=welds(R34,"R34Weld",LArm,R34,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291718, -0.050109148, 0.000787734985, -1, 2.72032397e-13, 0, 2.72032397e-13, -1, 2.99999992e-05, -8.16097137e-18, 2.99999992e-05, 1)) |
1506 | + | coroutine.wrap(function() |
1507 | - | meshs(R34,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") |
1507 | + | local Old = Handle.CFrame.p |
1508 | while wait()do | |
1509 | - | local Ruin=create("ScreenGui"){ |
1509 | + | if not TrailDeb then break end |
1510 | - | Name="Ruin", |
1510 | + | local New = Handle.CFrame.p |
1511 | - | Parent=plr.PlayerGui} |
1511 | + | local Mag =(Old -New).magnitude |
1512 | local Dis =(Old +New)/2 | |
1513 | - | local Visss=create("SurfaceGui"){ |
1513 | + | local Trail = Instance.new("Part",Character) |
1514 | - | Name="Visss", |
1514 | + | Trail.Material = "Neon" |
1515 | - | Parent=R34, |
1515 | + | Trail.Anchored = true |
1516 | - | CanvasSize=Vector2.new(300,300), |
1516 | + | Trail.CanCollide = false |
1517 | - | LightInfluence=0, |
1517 | + | Trail.BrickColor = TorsoColor |
1518 | - | Face="Right"} |
1518 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1519 | Trail.TopSurface = 0 | |
1520 | - | haah=1 |
1520 | + | Trail.BottomSurface = 0 |
1521 | - | for i=.2,.8,.2 do |
1521 | + | Trail.formFactor = "Custom" |
1522 | - | local ssss=create("Frame"){ |
1522 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1523 | - | Name="vais"..haah, |
1523 | + | local ms = Instance.new("BlockMesh",Trail) |
1524 | - | Parent=Visss, |
1524 | + | ms.Scale = Vector3.new(1,1,1) |
1525 | - | AnchorPoint=Vector2.new(0.5, 0), |
1525 | + | local TM = Instance.new("CylinderMesh",Trail) |
1526 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1526 | + | TM.Scale = Vector3.new(1,1,1) |
1527 | - | BackgroundTransparency=0, |
1527 | + | Old = New |
1528 | - | BorderSizePixel=0, |
1528 | + | coroutine.wrap(function() |
1529 | - | Position=UDim2.new(i, 0, 0, 0), |
1529 | + | for i = 1,0,-0.1 do |
1530 | - | Size=UDim2.new(.15, 0, 0, 0)} |
1530 | + | wait() |
1531 | - | haah=haah+1 |
1531 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1532 | end | |
1533 | Trail:remove() | |
1534 | - | local Mode=create("Frame"){ |
1534 | + | end)() |
1535 | - | Name="Mode", |
1535 | + | coroutine.wrap(function() |
1536 | - | Parent=Ruin, |
1536 | + | for i = 1,10 do |
1537 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1537 | + | wait() |
1538 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1538 | + | Trail.Transparency = Trail.Transparency +0.1 |
1539 | - | BackgroundTransparency=1, |
1539 | + | end end)()end end)() |
1540 | - | Position=UDim2.new(1, 0, 0.899999976, 0), |
1540 | + | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) |
1541 | - | Size=UDim2.new(0, 340, 0, 340)} |
1541 | + | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) |
1542 | for i=0,1,0.08 do | |
1543 | - | local Astral=create("TextLabel"){ |
1543 | + | swait() |
1544 | - | Name="Astral", |
1544 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) |
1545 | - | Parent=Mode, |
1545 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1546 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1546 | + | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1547 | - | BackgroundColor3=Color3.new(0.666667, 0.666667, 1), |
1547 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1548 | - | BorderColor3=Color3.new(0.537255, 0, 0.807843), |
1548 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) |
1549 | - | BorderSizePixel=10, |
1549 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) |
1550 | - | Position=UDim2.new(1.22000003, 0, 0.5, 0), |
1550 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) |
1551 | - | Rotation=180, |
1551 | + | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) |
1552 | - | Size=UDim2.new(0, 250, 0, 60), |
1552 | + | |
1553 | - | ZIndex=3, |
1553 | + | if anim then |
1554 | - | Font=Enum.Font.Arcade, |
1554 | + | anim.Disabled=true |
1555 | - | Text="Astral", |
1555 | + | |
1556 | - | TextColor3=Color3.new(0.470588, 0, 0.705882), |
1556 | + | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7) |
1557 | - | TextScaled=true, |
1557 | + | so("http://www.roblox.com/asset/?id=159882584",Torso,1,1) |
1558 | - | TextSize=14, |
1558 | + | for i=0,1,0.04 do |
1559 | - | TextWrapped=true} |
1559 | + | swait() |
1560 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
1561 | - | local Misfortune=create("TextLabel"){ |
1561 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) |
1562 | - | Name="Misfortune", |
1562 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1563 | - | Parent=Mode, |
1563 | + | Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1564 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1564 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1565 | - | BackgroundColor3=Color3.new(0, 0, 0), |
1565 | + | RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1566 | - | BorderColor3=Color3.new(1, 1, 1), |
1566 | + | LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
1567 | - | BorderSizePixel=10, |
1567 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
1568 | - | Position=UDim2.new(-0.219999999, 0, 0.5, 0), |
1568 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
1569 | - | Size=UDim2.new(0, 250, 0, 60), |
1569 | + | |
1570 | - | ZIndex=3, |
1570 | + | --dmgstop() |
1571 | - | Font=Enum.Font.Arcade, |
1571 | + | attack=false |
1572 | - | Text="Misfortune", |
1572 | + | con1:disconnect() |
1573 | - | TextColor3=Color3.new(1, 1, 1), |
1573 | + | con2:disconnect() |
1574 | - | TextScaled=true, |
1574 | + | if anim then |
1575 | - | TextSize=14, |
1575 | + | anim.Disabled=false |
1576 | - | TextWrapped=true} |
1576 | + | |
1577 | if TrailDeb == true then | |
1578 | - | local Solar=create("TextLabel"){ |
1578 | + | TrailDeb = false |
1579 | - | Name="Solar", |
1579 | + | |
1580 | - | Parent=Mode, |
1580 | + | |
1581 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1581 | + | |
1582 | - | BackgroundColor3=Color3.new(1, 0.439216, 0.160784), |
1582 | + | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) |
1583 | - | BorderColor3=Color3.new(1, 0.666667, 0), |
1583 | + | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1584 | - | BorderSizePixel=10, |
1584 | + | prt.Anchored = true |
1585 | - | Position=UDim2.new(0.5, 0, 1.22000003, 0), |
1585 | + | prt.CFrame = cframe |
1586 | - | Rotation=270, |
1586 | + | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) |
1587 | - | Size=UDim2.new(0, 250, 0, 60), |
1587 | + | coroutine.resume(coroutine.create(function() |
1588 | - | ZIndex=3, |
1588 | + | for i = 0, 1, 0.05 do |
1589 | - | Font=Enum.Font.Arcade, |
1589 | + | wait() |
1590 | - | Text="Solar", |
1590 | + | prt.Transparency = i |
1591 | - | TextColor3=Color3.new(1, 0.666667, 0), |
1591 | + | msh.Scale = msh.Scale + vt(x2, y2, z2) |
1592 | - | TextScaled=true, |
1592 | + | |
1593 | - | TextSize=14, |
1593 | + | prt.Parent = nil |
1594 | - | TextWrapped=true} |
1594 | + | end)) |
1595 | end | |
1596 | - | local Agony=create("TextLabel"){ |
1596 | + | |
1597 | - | Name="Agony", |
1597 | + | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) |
1598 | - | Parent=Mode, |
1598 | + | for _, c in pairs(workspace:children()) do |
1599 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1599 | + | local hum = c:findFirstChild("Humanoid") |
1600 | - | BackgroundColor3=Color3.new(0.666667, 0, 0), |
1600 | + | if hum ~= nil then |
1601 | - | BorderColor3=Color3.new(1, 0.0470588, 0.0470588), |
1601 | + | local head = c:findFirstChild("Torso") |
1602 | - | BorderSizePixel=10, |
1602 | + | if head ~= nil then |
1603 | - | Position=UDim2.new(0.5, 0, -0.219999999, 0), |
1603 | + | local targ = head.Position - Part.Position |
1604 | - | Rotation=90, |
1604 | + | local mag = targ.magnitude |
1605 | - | Size=UDim2.new(0, 250, 0, 60), |
1605 | + | if mag <= magni and c.Name ~= Player.Name then |
1606 | - | ZIndex=3, |
1606 | + | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) |
1607 | - | Font=Enum.Font.Arcade, |
1607 | + | |
1608 | - | Text="Agony", |
1608 | + | |
1609 | - | TextColor3=Color3.new(1, 0, 0), |
1609 | + | |
1610 | - | TextScaled=true, |
1610 | + | |
1611 | - | TextSize=14, |
1611 | + | |
1612 | - | TextWrapped=true} |
1612 | + | |
1613 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1614 | - | local Mode2=create("Frame"){ |
1614 | + | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1615 | - | Name="Mode2", |
1615 | + | prt.Anchored = true |
1616 | - | Parent=Mode, |
1616 | + | prt.CFrame = cframe |
1617 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1617 | + | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1618 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1618 | + | game:GetService("Debris"):AddItem(prt, 2) |
1619 | - | BackgroundTransparency=1, |
1619 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1620 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1620 | + | for i = 0, 1, delay do |
1621 | - | Rotation=45, |
1621 | + | swait() |
1622 | - | Size=UDim2.new(0, 340, 0, 340)} |
1622 | + | Part.CFrame = Part.CFrame |
1623 | Part.Transparency = i | |
1624 | - | local Honor=create("TextLabel"){ |
1624 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1625 | - | Name="Honor", |
1625 | + | |
1626 | - | Parent=Mode2, |
1626 | + | Part.Parent = nil |
1627 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1627 | + | end), prt, msh) |
1628 | - | BackgroundColor3=Color3.new(1, 0.858824, 0.145098), |
1628 | + | |
1629 | - | BorderColor3=Color3.new(1, 1, 0.498039), |
1629 | + | |
1630 | - | BorderSizePixel=10, |
1630 | + | function MagicJump() |
1631 | - | Position=UDim2.new(1.22000003, 0, 0.5, 0), |
1631 | + | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then |
1632 | - | Rotation=180, |
1632 | + | attack=true |
1633 | - | Size=UDim2.new(0, 250, 0, 60), |
1633 | + | mana=mana-25 |
1634 | - | ZIndex=3, |
1634 | + | --[[ Humanoid.WalkSpeed = 0 |
1635 | - | Font=Enum.Font.Arcade, |
1635 | + | for i=0,1,0.01 do |
1636 | - | Text="Honor", |
1636 | + | swait() |
1637 | - | TextColor3=Color3.new(1, 1, 0.498039), |
1637 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1) |
1638 | - | TextScaled=true, |
1638 | + | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1) |
1639 | - | TextSize=14, |
1639 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) |
1640 | - | TextWrapped=true} |
1640 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1) |
1641 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1) | |
1642 | - | local Gale=create("TextLabel"){ |
1642 | + | RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1) |
1643 | - | Name="Gale", |
1643 | + | LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1) |
1644 | - | Parent=Mode2, |
1644 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1) |
1645 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1645 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1) |
1646 | - | BackgroundColor3=Color3.new(0.223529, 0.807843, 0.458824), |
1646 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1) |
1647 | - | BorderColor3=Color3.new(0.560784, 1, 0.482353), |
1647 | + | end]]-- |
1648 | - | BorderSizePixel=10, |
1648 | + | Humanoid.Jump = true |
1649 | - | Position=UDim2.new(-0.219999999, 0, 0.5, 0), |
1649 | + | Torso.Velocity = vt(0, 150, 0) |
1650 | - | Size=UDim2.new(0, 250, 0, 60), |
1650 | + | Humanoid.WalkSpeed = 64 |
1651 | - | ZIndex=3, |
1651 | + | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) |
1652 | - | Font=Enum.Font.Arcade, |
1652 | + | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) |
1653 | - | Text="Gale", |
1653 | + | for i=0,1,0.05 do |
1654 | - | TextColor3=Color3.new(0.560784, 1, 0.482353), |
1654 | + | swait() |
1655 | - | TextScaled=true, |
1655 | + | Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3) |
1656 | - | TextSize=14, |
1656 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) |
1657 | - | TextWrapped=true} |
1657 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3) |
1658 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
1659 | - | local Pastel=create("TextLabel"){ |
1659 | + | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) |
1660 | - | Name="Pastel", |
1660 | + | RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2) |
1661 | - | Parent=Mode2, |
1661 | + | LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) |
1662 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1662 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) |
1663 | - | BackgroundColor3=Color3.new(0, 0.666667, 1), |
1663 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2) |
1664 | - | BorderColor3=Color3.new(0.333333, 0.333333, 1), |
1664 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2) |
1665 | - | BorderSizePixel=10, |
1665 | + | |
1666 | - | Position=UDim2.new(0.5, 0, 1.22000003, 0), |
1666 | + | for i=0,1,0.02 do |
1667 | - | Rotation=270, |
1667 | + | swait() |
1668 | - | Size=UDim2.new(0, 250, 0, 60), |
1668 | + | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) |
1669 | - | ZIndex=3, |
1669 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) |
1670 | - | Font=Enum.Font.Arcade, |
1670 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) |
1671 | - | Text="Pastel", |
1671 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) |
1672 | - | TextColor3=Color3.new(0.333333, 0.333333, 1), |
1672 | + | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) |
1673 | - | TextScaled=true, |
1673 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) |
1674 | - | TextSize=14, |
1674 | + | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) |
1675 | - | TextWrapped=true} |
1675 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) |
1676 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
1677 | - | local Glace=create("TextLabel"){ |
1677 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
1678 | - | Name="Glace", |
1678 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) |
1679 | - | Parent=Mode2, |
1679 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) |
1680 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1680 | + | |
1681 | - | BackgroundColor3=Color3.new(10/255,140/255,212/255), |
1681 | + | Humanoid.WalkSpeed = 0 |
1682 | - | BorderColor3=Color3.new(90/255,190/255,246/255), |
1682 | + | swait(8) |
1683 | - | BorderSizePixel=10, |
1683 | + | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) |
1684 | - | Position=UDim2.new(0.5, 0, -0.219999999, 0), |
1684 | + | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) |
1685 | - | Rotation=90, |
1685 | + | local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) |
1686 | - | Size=UDim2.new(0, 250, 0, 60), |
1686 | + | if hit~=nil then |
1687 | - | ZIndex=3, |
1687 | + | swait(2) |
1688 | - | Font=Enum.Font.Arcade, |
1688 | + | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) |
1689 | - | Text="Glace", |
1689 | + | ref.Anchored=true |
1690 | - | TextColor3=Color3.new(90/255,190/255,246/255), |
1690 | + | ref.CFrame=cf(pos) |
1691 | - | TextScaled=true, |
1691 | + | game:GetService("Debris"):AddItem(ref,3) |
1692 | - | TextSize=14, |
1692 | + | for i=1,10 do |
1693 | - | TextWrapped=true} |
1693 | + | local Col=BrickColor.new("Really black") |
1694 | local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
1695 | groundpart.Anchored=true | |
1696 | - | local Roll=create("Frame"){ |
1696 | + | groundpart.CanCollide=false |
1697 | - | Name="Roll", |
1697 | + | groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1698 | - | Parent=Ruin, |
1698 | + | local Col2=TorsoColor |
1699 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1699 | + | local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) |
1700 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1700 | + | groundpart2.Anchored=true |
1701 | - | BackgroundTransparency=1, |
1701 | + | groundpart2.CanCollide=false |
1702 | - | Position=UDim2.new(1, 0, 0.899999976, 0), |
1702 | + | groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1703 | - | Size=UDim2.new(0, 300, 0, 300)} |
1703 | + | game:GetService("Debris"):AddItem(groundpart,5) |
1704 | game:GetService("Debris"):AddItem(groundpart2,5) | |
1705 | end | |
1706 | - | Trauma=create("TextLabel"){ |
1706 | + | BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4) |
1707 | - | Name="Trauma", |
1707 | + | BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2) |
1708 | - | Parent=Roll, |
1708 | + | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05) |
1709 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1709 | + | MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05) |
1710 | - | BackgroundColor3=Color3.new(0.666667, 0.666667, 1), |
1710 | + | for i=0,1,0.06 do |
1711 | - | BorderColor3=Color3.new(0.537255, 0, 0.807843), |
1711 | + | swait() |
1712 | - | BorderSizePixel=10, |
1712 | + | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) |
1713 | - | Position=UDim2.new(1.32000003, 0, 0.5, 0), |
1713 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) |
1714 | - | Rotation=180, |
1714 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3) |
1715 | - | Size=UDim2.new(0, 250, 0, 60), |
1715 | + | RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3) |
1716 | - | ZIndex=3, |
1716 | + | LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3) |
1717 | - | Font=Enum.Font.Arcade, |
1717 | + | RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) |
1718 | - | Text="Trauma", |
1718 | + | LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) |
1719 | - | TextColor3=Color3.new(0.470588, 0, 0.705882), |
1719 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
1720 | - | TextScaled=true, |
1720 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) |
1721 | - | TextSize=14, |
1721 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) |
1722 | - | TextTransparency=1, |
1722 | + | |
1723 | - | TextStrokeTransparency=1, |
1723 | + | |
1724 | - | BackgroundTransparency=1, |
1724 | + | swait(20) |
1725 | - | TextWrapped=true} |
1725 | + | Humanoid.WalkSpeed = 12 |
1726 | --dmgstop() | |
1727 | attack=false | |
1728 | - | local ImageLabel=create("ImageLabel"){ |
1728 | + | |
1729 | - | Parent=Roll, |
1729 | + | |
1730 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1730 | + | |
1731 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1731 | + | function Spin() |
1732 | - | BackgroundTransparency=1, |
1732 | + | attack=true |
1733 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1733 | + | mana=mana-40 |
1734 | - | Size=UDim2.new(1, 0, 1, 0), |
1734 | + | if TrailDeb == false then |
1735 | - | ZIndex=2, |
1735 | + | TrailDeb = true |
1736 | - | Image="rbxassetid://329394848", |
1736 | + | end |
1737 | - | ImageColor3=Color3.new(0, 0, 0)} |
1737 | + | |
1738 | coroutine.wrap(function() | |
1739 | - | local Vis=create("ImageLabel"){ |
1739 | + | local Old = Handle2.CFrame.p |
1740 | - | Name="Vis", |
1740 | + | while wait()do |
1741 | - | Parent=Roll, |
1741 | + | if not TrailDeb then break end |
1742 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1742 | + | local New = Handle2.CFrame.p |
1743 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1743 | + | local Mag =(Old -New).magnitude |
1744 | - | BackgroundTransparency=1, |
1744 | + | local Dis =(Old +New)/2 |
1745 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1745 | + | local Trail = Instance.new("Part",Character) |
1746 | - | Size=UDim2.new(0.899999976, 0, 0.899999976, 0), |
1746 | + | Trail.Material = "Neon" |
1747 | - | ZIndex=9, |
1747 | + | Trail.Anchored = true |
1748 | - | Image="rbxassetid://329394848"} |
1748 | + | Trail.CanCollide = false |
1749 | Trail.BrickColor = TorsoColor | |
1750 | - | local Vis_2=create("ImageLabel"){ |
1750 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1751 | - | Name="Vis", |
1751 | + | Trail.TopSurface = 0 |
1752 | - | Parent=Roll, |
1752 | + | Trail.BottomSurface = 0 |
1753 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1753 | + | Trail.formFactor = "Custom" |
1754 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1754 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1755 | - | BackgroundTransparency=1, |
1755 | + | local ms = Instance.new("BlockMesh",Trail) |
1756 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1756 | + | ms.Scale = Vector3.new(1,1,1) |
1757 | - | Size=UDim2.new(0.400000006, 0, 0.400000006, 0), |
1757 | + | local TM = Instance.new("CylinderMesh",Trail) |
1758 | - | ZIndex=2, |
1758 | + | TM.Scale = Vector3.new(1,1,1) |
1759 | - | Image="rbxassetid://329394848"} |
1759 | + | Old = New |
1760 | coroutine.wrap(function() | |
1761 | - | local Vis_3=create("ImageLabel"){ |
1761 | + | for i = 1,0,-0.1 do |
1762 | - | Name="Vis", |
1762 | + | wait() |
1763 | - | Parent=Mode, |
1763 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1764 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1764 | + | |
1765 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1765 | + | Trail:remove() |
1766 | - | BackgroundTransparency=1, |
1766 | + | end)() |
1767 | - | BorderColor3=Color3.new(1, 1, 1), |
1767 | + | coroutine.wrap(function() |
1768 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1768 | + | for i = 1,10 do |
1769 | - | Rotation=45, |
1769 | + | wait() |
1770 | - | Size=UDim2.new(0.200000012, 0, 0.200000012, 0), |
1770 | + | Trail.Transparency = Trail.Transparency +0.1 |
1771 | - | ZIndex=3, |
1771 | + | end end)()end end)() |
1772 | - | Image="rbxassetid://730778073"} |
1772 | + | coroutine.wrap(function() |
1773 | local Old = Handle.CFrame.p | |
1774 | - | local Frame=create("Frame"){ |
1774 | + | while wait()do |
1775 | - | Parent=Roll, |
1775 | + | if not TrailDeb then break end |
1776 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1776 | + | local New = Handle.CFrame.p |
1777 | - | BackgroundColor3=Color3.new(0, 0, 0), |
1777 | + | local Mag =(Old -New).magnitude |
1778 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1778 | + | local Dis =(Old +New)/2 |
1779 | - | Size=UDim2.new(0, 20, 0, 300)} |
1779 | + | local Trail = Instance.new("Part",Character) |
1780 | Trail.Material = "Neon" | |
1781 | - | local Frame_2=create("Frame"){ |
1781 | + | Trail.Anchored = true |
1782 | - | Parent=Roll, |
1782 | + | Trail.CanCollide = false |
1783 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1783 | + | Trail.BrickColor = TorsoColor |
1784 | - | BackgroundColor3=Color3.new(0, 0, 0), |
1784 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1785 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1785 | + | Trail.TopSurface = 0 |
1786 | - | Rotation=90, |
1786 | + | Trail.BottomSurface = 0 |
1787 | - | Size=UDim2.new(0, 20, 0, 300)} |
1787 | + | Trail.formFactor = "Custom" |
1788 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1789 | - | local Frame_3=create("Frame"){ |
1789 | + | local ms = Instance.new("BlockMesh",Trail) |
1790 | - | Parent=Roll, |
1790 | + | ms.Scale = Vector3.new(1,1,1) |
1791 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1791 | + | local TM = Instance.new("CylinderMesh",Trail) |
1792 | - | BackgroundColor3=Color3.new(0, 0, 0), |
1792 | + | TM.Scale = Vector3.new(1,1,1) |
1793 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1793 | + | Old = New |
1794 | - | Rotation=135, |
1794 | + | coroutine.wrap(function() |
1795 | - | Size=UDim2.new(0, 20, 0, 300)} |
1795 | + | for i = 1,0,-0.1 do |
1796 | wait() | |
1797 | - | local Frame_4=create("Frame"){ |
1797 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1798 | - | Parent=Roll, |
1798 | + | |
1799 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1799 | + | Trail:remove() |
1800 | - | BackgroundColor3=Color3.new(0, 0, 0), |
1800 | + | end)() |
1801 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1801 | + | coroutine.wrap(function() |
1802 | - | Rotation=45, |
1802 | + | for i = 1,10 do |
1803 | - | Size=UDim2.new(0, 20, 0, 300)} |
1803 | + | wait() |
1804 | Trail.Transparency = Trail.Transparency +0.1 | |
1805 | - | local Vis_4=create("Frame"){ |
1805 | + | end end)()end end)() |
1806 | - | Name="Vis", |
1806 | + | Footsteps:Stop() |
1807 | - | Parent=Roll, |
1807 | + | Footsteps2:Stop() |
1808 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1808 | + | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) |
1809 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1809 | + | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) |
1810 | - | BorderSizePixel=18, |
1810 | + | so("http://www.roblox.com/asset/?id=159882497",Torso,1,1) |
1811 | - | Position=UDim2.new(0.860000014, 0, 0.140000001, 0), |
1811 | + | for i=0,1,0.1 do |
1812 | - | Rotation=-45, |
1812 | + | swait() |
1813 | - | Size=UDim2.new(0, 75, 0, 50), |
1813 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
1814 | - | ZIndex=2} |
1814 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1815 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1816 | - | local Vis_5=create("Frame"){ |
1816 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1817 | - | Name="Vis", |
1817 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1818 | - | Parent=Roll, |
1818 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
1819 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1819 | + | |
1820 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1820 | + | if anim then |
1821 | - | BorderSizePixel=18, |
1821 | + | anim.Disabled=true |
1822 | - | Position=UDim2.new(0.860000014, 0, 0.860000014, 0), |
1822 | + | |
1823 | - | Rotation=45, |
1823 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) |
1824 | - | Size=UDim2.new(0, 75, 0, 50), |
1824 | + | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) |
1825 | - | ZIndex=2} |
1825 | + | for i=0,1,0.05 do |
1826 | swait() | |
1827 | - | local Vis_6=create("Frame"){ |
1827 | + | Torso.Velocity=RootPart.CFrame.lookVector*100 |
1828 | - | Name="Vis", |
1828 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) |
1829 | - | Parent=Roll, |
1829 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1830 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1830 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1831 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1831 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1832 | - | BorderSizePixel=18, |
1832 | + | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1833 | - | Position=UDim2.new(0.140000001, 0, 0.860000014, 0), |
1833 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
1834 | - | Rotation=-45, |
1834 | + | |
1835 | - | Size=UDim2.new(0, 75, 0, 50), |
1835 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) |
1836 | - | ZIndex=2} |
1836 | + | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) |
1837 | for i=0,1,0.05 do | |
1838 | - | local Vis_7=create("Frame"){ |
1838 | + | swait() |
1839 | - | Name="Vis", |
1839 | + | Torso.Velocity=RootPart.CFrame.lookVector*100 |
1840 | - | Parent=Roll, |
1840 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) |
1841 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1841 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1842 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1842 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1843 | - | BorderSizePixel=18, |
1843 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1844 | - | Position=UDim2.new(0.140000001, 0, 0.140000001, 0), |
1844 | + | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1845 | - | Rotation=45, |
1845 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
1846 | - | Size=UDim2.new(0, 75, 0, 50), |
1846 | + | |
1847 | - | ZIndex=2} |
1847 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) |
1848 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
1849 | - | local Vis_8=create("Frame"){ |
1849 | + | for i=0,1,0.05 do |
1850 | - | Name="Vis", |
1850 | + | swait() |
1851 | - | Parent=Roll, |
1851 | + | Torso.Velocity=RootPart.CFrame.lookVector*100 |
1852 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1852 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) |
1853 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1853 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1854 | - | BorderSizePixel=18, |
1854 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1855 | - | Position=UDim2.new(0, 0, 0.5, 0), |
1855 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1856 | - | Size=UDim2.new(0, 75, 0, 50), |
1856 | + | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1857 | - | ZIndex=2} |
1857 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
1858 | end | |
1859 | - | local Vis_9=create("Frame"){ |
1859 | + | --dmgstop() |
1860 | - | Name="Vis", |
1860 | + | Humanoid.WalkSpeed=12 |
1861 | - | Parent=Roll, |
1861 | + | attack=false |
1862 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1862 | + | con1:disconnect() |
1863 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1863 | + | con2:disconnect() |
1864 | - | BorderSizePixel=18, |
1864 | + | if anim then |
1865 | - | Position=UDim2.new(1, 0, 0.5, 0), |
1865 | + | anim.Disabled=false |
1866 | - | Size=UDim2.new(0, 75, 0, 50), |
1866 | + | |
1867 | - | ZIndex=2} |
1867 | + | if TrailDeb == true then |
1868 | TrailDeb = false | |
1869 | - | local Vis_10=create("Frame"){ |
1869 | + | |
1870 | - | Name="Vis", |
1870 | + | |
1871 | - | Parent=Roll, |
1871 | + | |
1872 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1872 | + | function Twirl() |
1873 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1873 | + | mana=mana-50 |
1874 | - | BorderSizePixel=18, |
1874 | + | attack=true |
1875 | - | Position=UDim2.new(0.5, 0, 0, 0), |
1875 | + | if TrailDeb == false then |
1876 | - | Rotation=90, |
1876 | + | TrailDeb = true |
1877 | - | Size=UDim2.new(0, 75, 0, 50), |
1877 | + | end |
1878 | - | ZIndex=2} |
1878 | + | |
1879 | ||
1880 | - | local Vis_11=create("Frame"){ |
1880 | + | coroutine.wrap(function() |
1881 | - | Name="Vis", |
1881 | + | local Old = Handle2.CFrame.p |
1882 | - | Parent=Roll, |
1882 | + | while wait()do |
1883 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1883 | + | if not TrailDeb then break end |
1884 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1884 | + | local New = Handle2.CFrame.p |
1885 | - | BorderSizePixel=18, |
1885 | + | local Mag =(Old -New).magnitude |
1886 | - | Position=UDim2.new(0.5, 0, 1, 0), |
1886 | + | local Dis =(Old +New)/2 |
1887 | - | Rotation=90, |
1887 | + | local Trail = Instance.new("Part",Character) |
1888 | - | Size=UDim2.new(0, 75, 0, 50), |
1888 | + | Trail.Material = "Neon" |
1889 | - | ZIndex=2} |
1889 | + | Trail.Anchored = true |
1890 | Trail.CanCollide = false | |
1891 | - | local ImageLabel_2=create("ImageLabel"){ |
1891 | + | Trail.BrickColor = TorsoColor |
1892 | - | Parent=Mode, |
1892 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1893 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1893 | + | Trail.TopSurface = 0 |
1894 | - | BackgroundColor3=Color3.new(0, 0, 0), |
1894 | + | Trail.BottomSurface = 0 |
1895 | - | BackgroundTransparency=1, |
1895 | + | Trail.formFactor = "Custom" |
1896 | - | BorderColor3=Color3.new(1, 1, 1), |
1896 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1897 | - | Position=UDim2.new(0.5, 0, 0.5, 0), |
1897 | + | local ms = Instance.new("BlockMesh",Trail) |
1898 | - | Rotation=45, |
1898 | + | ms.Scale = Vector3.new(1,1,1) |
1899 | - | Size=UDim2.new(0.140000003, 0, 0.140000003, 0), |
1899 | + | local TM = Instance.new("CylinderMesh",Trail) |
1900 | - | ZIndex=3, |
1900 | + | TM.Scale = Vector3.new(1,1,1) |
1901 | - | Image="rbxassetid://730778073", |
1901 | + | Old = New |
1902 | - | ImageColor3=Color3.new(0, 0, 0)} |
1902 | + | coroutine.wrap(function() |
1903 | for i = 1,0,-0.1 do | |
1904 | - | local Screen=create("Frame"){ |
1904 | + | wait() |
1905 | - | Name="Screen", |
1905 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1906 | - | Parent=Ruin, |
1906 | + | |
1907 | - | AnchorPoint=Vector2.new(0.5, 0.5), |
1907 | + | Trail:remove() |
1908 | - | BackgroundColor3=Color3.new(1, 1, 1), |
1908 | + | end)() |
1909 | - | BackgroundTransparency=1, |
1909 | + | coroutine.wrap(function() |
1910 | - | Position=UDim2.new(.5, 0, .5, 0), |
1910 | + | for i = 1,10 do |
1911 | - | Size=UDim2.new(1,0, 1,0)} |
1911 | + | wait() |
1912 | Trail.Transparency = Trail.Transparency +0.1 | |
1913 | - | lalsdl=.8 |
1913 | + | end end)()end end)() |
1914 | - | for i=1,8 do |
1914 | + | coroutine.wrap(function() |
1915 | - | local faf=create("Frame"){ |
1915 | + | local Old = Handle.CFrame.p |
1916 | - | Name="Bar"..i, |
1916 | + | while wait()do |
1917 | - | Parent=Screen, |
1917 | + | if not TrailDeb then break end |
1918 | - | AnchorPoint=Vector2.new(0, 0.5), |
1918 | + | local New = Handle.CFrame.p |
1919 | - | BackgroundColor3=Color3.new(0,0,0), |
1919 | + | local Mag =(Old -New).magnitude |
1920 | - | BackgroundTransparency=.3, |
1920 | + | local Dis =(Old +New)/2 |
1921 | - | Position=UDim2.new(0.915, 0, lalsdl, 0), |
1921 | + | local Trail = Instance.new("Part",Character) |
1922 | - | Rotation=180, |
1922 | + | Trail.Material = "Neon" |
1923 | - | Size=UDim2.new(0, 0, 0, 10), |
1923 | + | Trail.Anchored = true |
1924 | - | ZIndex=1, |
1924 | + | Trail.CanCollide = false |
1925 | - | BorderSizePixel=0} |
1925 | + | Trail.BrickColor = TorsoColor |
1926 | - | lalsdl=lalsdl+.03 |
1926 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1927 | Trail.TopSurface = 0 | |
1928 | Trail.BottomSurface = 0 | |
1929 | - | local rain=Color3.new() |
1929 | + | Trail.formFactor = "Custom" |
1930 | - | sincolor=function(sine) |
1930 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1931 | - | sine=math.deg(sine) |
1931 | + | local ms = Instance.new("BlockMesh",Trail) |
1932 | - | local radcolor=function(col) |
1932 | + | ms.Scale = Vector3.new(1,1,1) |
1933 | - | return math.rad(col/255*360) |
1933 | + | local TM = Instance.new("CylinderMesh",Trail) |
1934 | TM.Scale = Vector3.new(1,1,1) | |
1935 | - | local r=math.abs(math.sin(radcolor(sine + 10))) |
1935 | + | Old = New |
1936 | - | local g=math.abs(math.sin(radcolor(sine + 85))) |
1936 | + | coroutine.wrap(function() |
1937 | - | local b=math.abs(math.sin(radcolor(sine + 170))) |
1937 | + | for i = 1,0,-0.1 do |
1938 | - | return Color3.new(r, g, b) |
1938 | + | wait() |
1939 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1940 | end | |
1941 | - | local rain2=Color3.new() |
1941 | + | Trail:remove() |
1942 | - | sincolor2=function(sine2) |
1942 | + | end)() |
1943 | - | sine2=math.deg(sine2) |
1943 | + | coroutine.wrap(function() |
1944 | - | local radcolor=function(col) |
1944 | + | for i = 1,10 do |
1945 | - | return math.rad(col/255*360) |
1945 | + | wait() |
1946 | Trail.Transparency = Trail.Transparency +0.1 | |
1947 | - | local r=math.abs(math.sin(radcolor(sine2 + 25))) |
1947 | + | end end)()end end)() |
1948 | - | local g=math.abs(math.sin(radcolor(sine2 + 100))) |
1948 | + | Footsteps:Stop() |
1949 | - | local b=math.abs(math.sin(radcolor(sine2 + 185))) |
1949 | + | Footsteps2:Stop() |
1950 | - | return Color3.new(r, g, b) |
1950 | + | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) |
1951 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1952 | so("http://www.roblox.com/asset/?id=159882598",Torso,1,1) | |
1953 | - | HitSound={ |
1953 | + | for i=0,1,0.1 do |
1954 | - | "199149137", |
1954 | + | swait() |
1955 | - | "199149186", |
1955 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
1956 | - | "199149221", |
1956 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1957 | - | "199149235", |
1957 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1958 | - | "199149269", |
1958 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1959 | - | "199149297", |
1959 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1960 | - | } |
1960 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
1961 | end | |
1962 | - | function FindNearestTorso(pos,distance) |
1962 | + | if anim then |
1963 | - | local list=(workspace:children()) |
1963 | + | anim.Disabled=true |
1964 | - | local torso=nil |
1964 | + | |
1965 | - | local dist=distance |
1965 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) |
1966 | - | local temp,human,temp2=nil,nil,nil |
1966 | + | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) |
1967 | - | for x=1,#list do |
1967 | + | for i=0,1,0.05 do |
1968 | - | temp2=list[x] |
1968 | + | swait() |
1969 | - | if temp2.className=="Model"and temp2.Name~=chr.Name then |
1969 | + | Torso.Velocity=RootPart.CFrame.lookVector*80 |
1970 | - | temp=temp2:findFirstChild("Torso") |
1970 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) |
1971 | - | human=temp2:findFirstChildOfClass("Humanoid") |
1971 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1972 | - | if temp~=nil and human~=nil and human.Health>=0 and (temp.Position-pos).magnitude<dist then |
1972 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1973 | - | local dohit=true |
1973 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1974 | - | if dohit==true then |
1974 | + | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1975 | - | torso=temp |
1975 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
1976 | - | dist=(temp.Position-pos).magnitude |
1976 | + | |
1977 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
1978 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
1979 | for i=0,1,0.05 do | |
1980 | swait() | |
1981 | - | return torso,dist |
1981 | + | Torso.Velocity=RootPart.CFrame.lookVector*80 |
1982 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
1983 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1984 | - | function Damage(Type,Partzz,hit,dmg,delayz,hs,hv,hp) |
1984 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1985 | - | if hit.Parent==nil then |
1985 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1986 | - | return |
1986 | + | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1987 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1988 | - | local h=hit.Parent:FindFirstChildOfClass("Humanoid") |
1988 | + | |
1989 | - | for _,v in pairs(hit.Parent:children()) do |
1989 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) |
1990 | - | if v:IsA("Humanoid")then |
1990 | + | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) |
1991 | - | h=v |
1991 | + | for i=0,1,0.05 do |
1992 | swait() | |
1993 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
1994 | - | if h~=nil and hit.Parent.Name~=chr.Name then |
1994 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) |
1995 | - | if hit.Parent:findFirstChild("AHit")==nil then |
1995 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1996 | - | local c=create("BoolValue"){ |
1996 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
1997 | - | Name="AHit", |
1997 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
1998 | - | Value=true, |
1998 | + | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
1999 | - | Parent=hit.Parent} |
1999 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
2000 | - | game:GetService("Debris"):AddItem(c,delayz) |
2000 | + | |
2001 | - | if choice~=9 then |
2001 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) |
2002 | - | h.Health=h.Health |
2002 | + | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) |
2003 | for i=0,1,0.05 do | |
2004 | swait() | |
2005 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
2006 | - | if h.Health==math.huge then |
2006 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) |
2007 | - | elseif h.Health>=10000 then |
2007 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2008 | - | h.MaxHealth=100 |
2008 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2009 | - | h.Health=100 |
2009 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
2010 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2011 | - | if hs~=""and hit.Parent.Head.Parent~=nil then |
2011 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
2012 | - | sounds(hit.Parent.Head,hs,hv,hp) |
2012 | + | |
2013 | --dmgstop() | |
2014 | - | local ref=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) |
2014 | + | Humanoid.WalkSpeed=12 |
2015 | - | ref.Anchored=true |
2015 | + | attack=false |
2016 | - | ref.CFrame=CFrame.new(hit.Position+Vector3.new(math.random(-250,250)/100,math.random(-100,100)/100,math.random(-250,250)/100)) |
2016 | + | con1:disconnect() |
2017 | - | damagegui(ref,dmg) |
2017 | + | con2:disconnect() |
2018 | - | if Type=="Disappear"then |
2018 | + | if anim then |
2019 | - | Partzz.Parent=nil |
2019 | + | anim.Disabled=false |
2020 | end | |
2021 | if TrailDeb == true then | |
2022 | - | elseif Type=="None"then |
2022 | + | TrailDeb = false |
2023 | end | |
2024 | - | elseif Type=="Wind"then |
2024 | + | |
2025 | - | local angle=(hit.Position-(Partzz.Position + Vector3.new(0, 0, 0))).unit |
2025 | + | |
2026 | - | hit.Parent.Torso.Velocity=(angle*-25) |
2026 | + | function Shred() |
2027 | - | elseif Type=="Push" then |
2027 | + | attack=true |
2028 | - | hit.Parent.Torso.Velocity=(Root.CFrame.lookVector*80)+(Root.CFrame.upVector*80) |
2028 | + | mana=mana-100 |
2029 | - | elseif Type=="Push2" then |
2029 | + | if TrailDeb == false then |
2030 | - | hit.Parent.Torso.Velocity=(Root.CFrame.lookVector*80)+(-Root.CFrame.upVector*80) |
2030 | + | TrailDeb = true |
2031 | end | |
2032 | ||
2033 | ||
2034 | coroutine.wrap(function() | |
2035 | local Old = Handle2.CFrame.p | |
2036 | - | function Mdamage(Type,Partzz,Magn,Dmg,delayz,hs,hv,hp) |
2036 | + | while wait()do |
2037 | - | for _,c in pairs(workspace:children()) do |
2037 | + | if not TrailDeb then break end |
2038 | - | local hum=c:findFirstChildOfClass("Humanoid") |
2038 | + | local New = Handle2.CFrame.p |
2039 | - | if hum~=nil then |
2039 | + | local Mag =(Old -New).magnitude |
2040 | - | local ddee=c:findFirstChild("Head") |
2040 | + | local Dis =(Old +New)/2 |
2041 | - | if ddee~=nil then |
2041 | + | local Trail = Instance.new("Part",Character) |
2042 | - | local targ=ddee.Position-Partzz.Position |
2042 | + | Trail.Material = "Neon" |
2043 | - | local mag=targ.magnitude |
2043 | + | Trail.Anchored = true |
2044 | - | if mag<=Magn and c.Name~=plr.Name then |
2044 | + | Trail.CanCollide = false |
2045 | - | Damage(Type,Partzz,ddee,Dmg,delayz,hs,hv,hp) |
2045 | + | Trail.BrickColor = TorsoColor |
2046 | - | if hum.Health==math.huge then |
2046 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
2047 | Trail.TopSurface = 0 | |
2048 | Trail.BottomSurface = 0 | |
2049 | Trail.formFactor = "Custom" | |
2050 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2051 | local ms = Instance.new("BlockMesh",Trail) | |
2052 | ms.Scale = Vector3.new(1,1,1) | |
2053 | local TM = Instance.new("CylinderMesh",Trail) | |
2054 | TM.Scale = Vector3.new(1,1,1) | |
2055 | - | function damagegui(parz,text) |
2055 | + | Old = New |
2056 | - | local damag=create("BillboardGui"){ |
2056 | + | coroutine.wrap(function() |
2057 | - | Size=UDim2.new(5, 0, 15, 0), |
2057 | + | for i = 1,0,-0.1 do |
2058 | - | Adornee=parz, |
2058 | + | wait() |
2059 | - | Parent=parz, |
2059 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
2060 | - | ExtentsOffset=Vector3.new(0, 3, 0), |
2060 | + | |
2061 | - | AlwaysOnTop=true |
2061 | + | Trail:remove() |
2062 | - | } |
2062 | + | end)() |
2063 | - | local damagLabel=create("TextLabel"){ |
2063 | + | coroutine.wrap(function() |
2064 | - | AnchorPoint=Vector2.new(.5,.5), |
2064 | + | for i = 1,10 do |
2065 | - | BackgroundTransparency=1, |
2065 | + | wait() |
2066 | - | TextStrokeTransparency=0, |
2066 | + | Trail.Transparency = Trail.Transparency +0.1 |
2067 | - | TextTransparency=0, |
2067 | + | end end)()end end)() |
2068 | - | Position=UDim2.new(.5, 0, .5, 0), |
2068 | + | coroutine.wrap(function() |
2069 | - | Size=UDim2.new(1.5, 0, .5, 0), |
2069 | + | local Old = Handle.CFrame.p |
2070 | - | Text=text, |
2070 | + | while wait()do |
2071 | - | Font="Arcade", |
2071 | + | if not TrailDeb then break end |
2072 | - | TextScaled=true, |
2072 | + | local New = Handle.CFrame.p |
2073 | - | Parent=damag, |
2073 | + | local Mag =(Old -New).magnitude |
2074 | - | TextColor3=BrickColor.new(col[1]).Color, |
2074 | + | local Dis =(Old +New)/2 |
2075 | - | TextStrokeColor3=BrickColor.new(col[2]).Color |
2075 | + | local Trail = Instance.new("Part",Character) |
2076 | - | } |
2076 | + | Trail.Material = "Neon" |
2077 | - | if rainb==true then |
2077 | + | Trail.Anchored = true |
2078 | - | damagLabel.TextColor3=rain |
2078 | + | Trail.CanCollide = false |
2079 | - | damagLabel.TextStrokeColor3=rain2 |
2079 | + | Trail.BrickColor = TorsoColor |
2080 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2081 | - | local raise=.2 |
2081 | + | Trail.TopSurface = 0 |
2082 | - | local rot=math.random(-10,10)/15 |
2082 | + | Trail.BottomSurface = 0 |
2083 | - | game:GetService("Debris"):AddItem(par,4) |
2083 | + | Trail.formFactor = "Custom" |
2084 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2085 | - | for i=0,1.1,.02 do |
2085 | + | local ms = Instance.new("BlockMesh",Trail) |
2086 | ms.Scale = Vector3.new(1,1,1) | |
2087 | - | raise=raise-.008 |
2087 | + | local TM = Instance.new("CylinderMesh",Trail) |
2088 | - | if choice~=9 then |
2088 | + | TM.Scale = Vector3.new(1,1,1) |
2089 | - | damagLabel.Text=text |
2089 | + | Old = New |
2090 | coroutine.wrap(function() | |
2091 | - | damagLabel.TextColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2091 | + | for i = 1,0,-0.1 do |
2092 | - | damagLabel.TextStrokeColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2092 | + | wait() |
2093 | - | damagLabel.Text=math.random(6,666666)/math.random(math.random(6,66)) |
2093 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
2094 | end | |
2095 | - | damagLabel.TextTransparency=i |
2095 | + | Trail:remove() |
2096 | - | damagLabel.TextStrokeTransparency=i |
2096 | + | end)() |
2097 | - | damagLabel.Rotation=damagLabel.Rotation+rot |
2097 | + | coroutine.wrap(function() |
2098 | - | parz.Position=parz.Position+Vector3.new(0,raise,0) |
2098 | + | for i = 1,10 do |
2099 | wait() | |
2100 | - | parz:Remove() |
2100 | + | Trail.Transparency = Trail.Transparency +0.1 |
2101 | end end)()end end)() | |
2102 | Footsteps:Stop() | |
2103 | Footsteps2:Stop() | |
2104 | - | function Effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id,min,max,qu) |
2104 | + | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) |
2105 | - | local ex=create("Part"){ |
2105 | + | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) |
2106 | - | Size=Vector3.new(.2,.2,.2), |
2106 | + | so("http://www.roblox.com/asset/?id=159882578",Torso,1,1) |
2107 | - | BrickColor=BrickColor.new(color), |
2107 | + | for i=0,1,0.1 do |
2108 | - | CanCollide=false, |
2108 | + | swait() |
2109 | - | Material="Neon", |
2109 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2110 | - | Anchored=true, |
2110 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2111 | - | CFrame=CF, |
2111 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2112 | - | Parent=par} |
2112 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
2113 | - | if choice==8 then |
2113 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
2114 | - | ex.Color=rain |
2114 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
2115 | end | |
2116 | - | NoOutline(ex) |
2116 | + | if anim then |
2117 | - | local exe=create("SpecialMesh"){ |
2117 | + | anim.Disabled=true |
2118 | - | Scale=Vector3.new(x,y,z), |
2118 | + | |
2119 | - | MeshType=mtyp, |
2119 | + | for i=0,1,0.05 do |
2120 | - | Parent=ex} |
2120 | + | swait() |
2121 | - | if mtyp=="FileMesh"and id~=""then |
2121 | + | Torso.Velocity=RootPart.CFrame.lookVector*20 |
2122 | - | exe.MeshId="rbxassetid://"..id |
2122 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) |
2123 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
2124 | - | game:GetService("Debris"):AddItem(ex,10) |
2124 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5) |
2125 | - | local ez=ex.CFrame |
2125 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2126 | - | local nu=0 |
2126 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2127 | - | local no=math.random()-math.random() |
2127 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
2128 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2129 | - | for i=0,1.01,de do |
2129 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
2130 | end | |
2131 | - | if choice==8 then |
2131 | + | for i=0,1,0.05 do |
2132 | - | ex.Color=rain |
2132 | + | swait() |
2133 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
2134 | - | if typ~=5 then |
2134 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) |
2135 | - | ex.Transparency=i |
2135 | + | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) |
2136 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5) | |
2137 | - | if choice==9 then |
2137 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2138 | - | ex.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2138 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2139 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2140 | - | exe.Scale=exe.Scale+Vector3.new(x1,y1,z1) |
2140 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
2141 | - | if typ==1 then |
2141 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
2142 | - | ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
2142 | + | |
2143 | - | elseif typ==2 then |
2143 | + | for i=0,1,0.05 do |
2144 | - | ex.CFrame=ex.CFrame*CFrame.Angles(0,math.rad(rad),0) |
2144 | + | swait() |
2145 | - | elseif typ==3 then |
2145 | + | Torso.Velocity=RootPart.CFrame.lookVector*60 |
2146 | - | ex.CFrame=ex.CFrame*CFrame.new(0,0,rad) |
2146 | + | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) |
2147 | - | elseif typ==4 then |
2147 | + | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) |
2148 | - | nu=nu+no |
2148 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5) |
2149 | - | ez=ez*CFrame.new(0,math.random(min,max)/qu,0) |
2149 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2150 | - | ex.CFrame=ez*CFrame.Angles(nu,0,0) |
2150 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2151 | - | elseif typ==7 then |
2151 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
2152 | - | ex.CFrame=CFrame.new(ex.Position+Vector3.new(0,rad,0))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
2152 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
2153 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2154 | end | |
2155 | - | ex:Remove() |
2155 | + | so("http://www.roblox.com/asset/?id=159882625",Torso,1,1) |
2156 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
2157 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
2158 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
2159 | - | function REffect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id) |
2159 | + | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) |
2160 | - | local ex=create("Part"){ |
2160 | + | for i=0,1,0.05 do |
2161 | - | Size=Vector3.new(.2,.2,.2), |
2161 | + | swait() |
2162 | - | BrickColor=BrickColor.new(color), |
2162 | + | Torso.Velocity=RootPart.CFrame.lookVector*80 |
2163 | - | CanCollide=false, |
2163 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5) |
2164 | - | Material="Neon", |
2164 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2165 | - | Anchored=true, |
2165 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2166 | - | CFrame=CF, |
2166 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
2167 | - | Transparency=1, |
2167 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
2168 | - | Parent=par} |
2168 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
2169 | - | if choice==8 then |
2169 | + | |
2170 | - | ex.Color=rain |
2170 | + | for i=0,1,0.005 do |
2171 | swait() | |
2172 | - | NoOutline(ex) |
2172 | + | Torso.Velocity=RootPart.CFrame.lookVector*100 |
2173 | - | local exe=create("SpecialMesh"){ |
2173 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5) |
2174 | - | Scale=Vector3.new(x,y,z), |
2174 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2175 | - | MeshType=mtyp, |
2175 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2176 | - | Parent=ex} |
2176 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) |
2177 | - | if mtyp=="FileMesh"and id~=""then |
2177 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) |
2178 | - | exe.MeshId="rbxassetid://"..id |
2178 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) |
2179 | end | |
2180 | - | game:GetService("Debris"):AddItem(ex,10) |
2180 | + | --dmgstop() |
2181 | - | local ez=ex.CFrame |
2181 | + | Humanoid.WalkSpeed=12 |
2182 | - | local nu=0 |
2182 | + | attack=false |
2183 | - | local no=math.random()-math.random() |
2183 | + | con1:disconnect() |
2184 | con2:disconnect() | |
2185 | - | for i=1,-.01,-de do |
2185 | + | if anim then |
2186 | anim.Disabled=false | |
2187 | - | if choice==8 then |
2187 | + | |
2188 | - | ex.Color=rain |
2188 | + | if TrailDeb == true then |
2189 | TrailDeb = false | |
2190 | - | if typ~=5 then |
2190 | + | |
2191 | - | ex.Transparency=i |
2191 | + | |
2192 | ||
2193 | - | if choice==9 then |
2193 | + | function Push() |
2194 | - | ex.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2194 | + | attack=true |
2195 | mana=mana-20 | |
2196 | - | exe.Scale=exe.Scale+Vector3.new(x1,y1,z1) |
2196 | + | if TrailDeb == false then |
2197 | - | if typ==1 then |
2197 | + | TrailDeb = true |
2198 | - | ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
2198 | + | end |
2199 | - | elseif typ==2 then |
2199 | + | |
2200 | - | ex.CFrame=ex.CFrame*CFrame.Angles(0,math.rad(rad),0) |
2200 | + | |
2201 | - | elseif typ==3 then |
2201 | + | coroutine.wrap(function() |
2202 | - | ex.CFrame=ex.CFrame*CFrame.new(0,0,rad) |
2202 | + | local Old = Handle2.CFrame.p |
2203 | - | elseif typ==4 then |
2203 | + | while wait()do |
2204 | - | nu=nu+no |
2204 | + | if not TrailDeb then break end |
2205 | - | ez=ez*CFrame.new(0,rad,0) |
2205 | + | local New = Handle2.CFrame.p |
2206 | - | ex.CFrame=ez*CFrame.Angles(nu,0,0) |
2206 | + | local Mag =(Old -New).magnitude |
2207 | local Dis =(Old +New)/2 | |
2208 | local Trail = Instance.new("Part",Character) | |
2209 | - | ex:Remove() |
2209 | + | Trail.Material = "Neon" |
2210 | Trail.Anchored = true | |
2211 | Trail.CanCollide = false | |
2212 | Trail.BrickColor = TorsoColor | |
2213 | - | function LockEffect(par,color,CF,locke,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id) |
2213 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
2214 | - | local ex=create("Part"){ |
2214 | + | Trail.TopSurface = 0 |
2215 | - | Size=Vector3.new(.2,.2,.2), |
2215 | + | Trail.BottomSurface = 0 |
2216 | - | BrickColor=BrickColor.new(color), |
2216 | + | Trail.formFactor = "Custom" |
2217 | - | CanCollide=false, |
2217 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
2218 | - | Material="Neon", |
2218 | + | local ms = Instance.new("BlockMesh",Trail) |
2219 | - | Anchored=true, |
2219 | + | ms.Scale = Vector3.new(1,1,1) |
2220 | - | CFrame=CF, |
2220 | + | local TM = Instance.new("CylinderMesh",Trail) |
2221 | - | Parent=par} |
2221 | + | TM.Scale = Vector3.new(1,1,1) |
2222 | - | if choice==8 then |
2222 | + | Old = New |
2223 | - | ex.Color=rain |
2223 | + | coroutine.wrap(function() |
2224 | for i = 1,0,-0.1 do | |
2225 | - | NoOutline(ex) |
2225 | + | wait() |
2226 | - | local exe=create("SpecialMesh"){ |
2226 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
2227 | - | Scale=Vector3.new(x,y,z), |
2227 | + | |
2228 | - | MeshType=mtyp, |
2228 | + | Trail:remove() |
2229 | - | Parent=ex} |
2229 | + | end)() |
2230 | - | if mtyp=="FileMesh"and id~=""then |
2230 | + | coroutine.wrap(function() |
2231 | - | exe.MeshId="rbxassetid://"..id |
2231 | + | for i = 1,10 do |
2232 | wait() | |
2233 | - | game:GetService("Debris"):AddItem(ex,10) |
2233 | + | Trail.Transparency = Trail.Transparency +0.1 |
2234 | - | local ez=ex.CFrame |
2234 | + | end end)()end end)() |
2235 | - | local nu=0 |
2235 | + | coroutine.wrap(function() |
2236 | - | local no=math.random()-math.random() |
2236 | + | local Old = Handle.CFrame.p |
2237 | while wait()do | |
2238 | - | for i=0,1.01,de do |
2238 | + | if not TrailDeb then break end |
2239 | local New = Handle.CFrame.p | |
2240 | - | if choice==8 then |
2240 | + | local Mag =(Old -New).magnitude |
2241 | - | ex.Color=rain |
2241 | + | local Dis =(Old +New)/2 |
2242 | local Trail = Instance.new("Part",Character) | |
2243 | - | if typ~=5 then |
2243 | + | Trail.Material = "Neon" |
2244 | - | ex.Transparency=i |
2244 | + | Trail.Anchored = true |
2245 | Trail.CanCollide = false | |
2246 | - | if choice==9 then |
2246 | + | Trail.BrickColor = TorsoColor |
2247 | - | ex.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2247 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
2248 | Trail.TopSurface = 0 | |
2249 | - | exe.Scale=exe.Scale+Vector3.new(x1,y1,z1) |
2249 | + | Trail.BottomSurface = 0 |
2250 | - | if typ==1 then |
2250 | + | Trail.formFactor = "Custom" |
2251 | - | ex.CFrame=locke.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
2251 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
2252 | - | elseif typ==2 then |
2252 | + | local ms = Instance.new("BlockMesh",Trail) |
2253 | - | ex.CFrame=locke.CFrame*CFrame.Angles(0,math.rad(rad),0) |
2253 | + | ms.Scale = Vector3.new(1,1,1) |
2254 | - | elseif typ==3 then |
2254 | + | local TM = Instance.new("CylinderMesh",Trail) |
2255 | - | ex.CFrame=locke.CFrame*CFrame.new(0,0,rad) |
2255 | + | TM.Scale = Vector3.new(1,1,1) |
2256 | - | elseif typ==4 then |
2256 | + | Old = New |
2257 | - | nu=nu+no |
2257 | + | coroutine.wrap(function() |
2258 | - | locke=locke*CFrame.new(0,rad,0) |
2258 | + | for i = 1,0,-0.1 do |
2259 | - | ex.CFrame=locke*CFrame.Angles(nu,0,0) |
2259 | + | wait() |
2260 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
2261 | - | ex.CFrame=locke.CFrame |
2261 | + | |
2262 | Trail:remove() | |
2263 | end)() | |
2264 | - | ex:Remove() |
2264 | + | coroutine.wrap(function() |
2265 | for i = 1,10 do | |
2266 | wait() | |
2267 | Trail.Transparency = Trail.Transparency +0.1 | |
2268 | - | function Lightning(par,pos0, pos1, howmany, offset, color, thick, transp, de) |
2268 | + | end end)()end end)() |
2269 | - | local magz=(pos0 - pos1).magnitude |
2269 | + | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) |
2270 | - | local curpos=pos0 |
2270 | + | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) |
2271 | - | local trz={ |
2271 | + | for i=0,1,0.1 do |
2272 | - | -offset, |
2272 | + | swait() |
2273 | - | offset |
2273 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2274 | - | } |
2274 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2275 | - | for i=1, howmany do |
2275 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2276 | - | local li=create("Part"){ |
2276 | + | Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) |
2277 | - | Size=Vector3.new(thick,thick,magz/howmany), |
2277 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) |
2278 | - | BrickColor=BrickColor.new(color), |
2278 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) |
2279 | - | CanCollide=false, |
2279 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) |
2280 | - | Material="Neon", |
2280 | + | |
2281 | - | Anchored=true, |
2281 | + | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) |
2282 | - | Parent=par} |
2282 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) |
2283 | - | if choice==8 then |
2283 | + | so("http://www.roblox.com/asset/?id=159882481",Torso,1,1) |
2284 | - | li.Color=rain |
2284 | + | for i=0,1,0.1 do |
2285 | swait() | |
2286 | - | NoOutline(li) |
2286 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2287 | - | local ofz=Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) |
2287 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2288 | - | local trolpos=CFrame.new(curpos, pos1) * CFrame.new(0, 0, magz / howmany).p + ofz |
2288 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2289 | - | li.Material="Neon" |
2289 | + | Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) |
2290 | - | if howmany == i then |
2290 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) |
2291 | - | local magz2=(curpos - pos1).magnitude |
2291 | + | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) |
2292 | - | li.Size=Vector3.new(thick, thick, magz2) |
2292 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) |
2293 | - | li.CFrame=CFrame.new(curpos, pos1) * CFrame.new(0, 0, -magz2 / 2) |
2293 | + | |
2294 | --dmgstop() | |
2295 | - | for i=0,1.01,de do |
2295 | + | attack=false |
2296 | con1:disconnect() | |
2297 | - | if choice==8 then |
2297 | + | con2:disconnect() |
2298 | - | li.Color=rain |
2298 | + | if TrailDeb == true then |
2299 | TrailDeb = false | |
2300 | - | li.Transparency=i |
2300 | + | |
2301 | end | |
2302 | - | if li.Parent~=nil then |
2302 | + | |
2303 | - | li:Remove() |
2303 | + | function Clap() |
2304 | attack=true | |
2305 | mana=mana-20 | |
2306 | if TrailDeb == false then | |
2307 | - | do |
2307 | + | TrailDeb = true |
2308 | - | do |
2308 | + | end |
2309 | - | li.CFrame=CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / howmany / 2) |
2309 | + | |
2310 | - | curpos=li.CFrame * CFrame.new(0, 0, magz / howmany / 2).p |
2310 | + | |
2311 | - | game.Debris:AddItem(li, 10) |
2311 | + | coroutine.wrap(function() |
2312 | local Old = Handle2.CFrame.p | |
2313 | - | for i=0,1.01,de do |
2313 | + | while wait()do |
2314 | if not TrailDeb then break end | |
2315 | - | if choice==8 then |
2315 | + | local New = Handle2.CFrame.p |
2316 | - | li.Color=rain |
2316 | + | local Mag =(Old -New).magnitude |
2317 | local Dis =(Old +New)/2 | |
2318 | - | li.Transparency=i |
2318 | + | local Trail = Instance.new("Part",Character) |
2319 | Trail.Material = "Neon" | |
2320 | - | if li.Parent~=nil then |
2320 | + | Trail.Anchored = true |
2321 | - | li:Remove() |
2321 | + | Trail.CanCollide = false |
2322 | Trail.BrickColor = TorsoColor | |
2323 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2324 | Trail.TopSurface = 0 | |
2325 | Trail.BottomSurface = 0 | |
2326 | Trail.formFactor = "Custom" | |
2327 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2328 | local ms = Instance.new("BlockMesh",Trail) | |
2329 | ms.Scale = Vector3.new(1,1,1) | |
2330 | - | --v other |
2330 | + | local TM = Instance.new("CylinderMesh",Trail) |
2331 | - | function CameraShake(Intensity,par,mag,del) |
2331 | + | TM.Scale = Vector3.new(1,1,1) |
2332 | - | local magz=(par.Position-Root.Position).magnitude |
2332 | + | Old = New |
2333 | - | if magz<=mag then |
2333 | + | coroutine.wrap(function() |
2334 | for i = 1,0,-0.1 do | |
2335 | - | local Focus=(workspace.CurrentCamera.CoordinateFrame.p-workspace.CurrentCamera.Focus.p).magnitude |
2335 | + | wait() |
2336 | - | Focus=100/Intensity+Focus/150 |
2336 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
2337 | - | for i=math.random(150, 250)/100, 0, -del do |
2337 | + | |
2338 | - | hum.CameraOffset=Vector3.new(math.random(-30, 30)/20*(i*Focus), math.random(-30, 30)/20*(i*Focus), math.random(-30, 30)/20*(i*Focus)) |
2338 | + | Trail:remove() |
2339 | end)() | |
2340 | coroutine.wrap(function() | |
2341 | - | hum.CameraOffset=Vector3.new(0, 0, 0) |
2341 | + | for i = 1,10 do |
2342 | wait() | |
2343 | Trail.Transparency = Trail.Transparency +0.1 | |
2344 | end end)()end end)() | |
2345 | coroutine.wrap(function() | |
2346 | - | function LASER() |
2346 | + | local Old = Handle.CFrame.p |
2347 | - | local s=create("Model"){ |
2347 | + | while wait()do |
2348 | - | Parent=chr, |
2348 | + | if not TrailDeb then break end |
2349 | - | Name="asc"} |
2349 | + | local New = Handle.CFrame.p |
2350 | - | local asdfz=parts(s,"asdfz",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) |
2350 | + | local Mag =(Old -New).magnitude |
2351 | - | asdfz.CFrame=Root.CFrame |
2351 | + | local Dis =(Old +New)/2 |
2352 | - | local asdf2=parts(s,"asdf2",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) |
2352 | + | local Trail = Instance.new("Part",Character) |
2353 | - | local asdf2Weld=welds(asdf2,"asdf2Weld",asdfz,asdf2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
2353 | + | Trail.Material = "Neon" |
2354 | - | local asdf=parts(s,"asdf",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) |
2354 | + | Trail.Anchored = true |
2355 | - | local asdfWeld=welds(asdf,"asdfWeld",asdf2,asdf,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
2355 | + | Trail.CanCollide = false |
2356 | - | asdf.CFrame=Root.CFrame |
2356 | + | Trail.BrickColor = TorsoColor |
2357 | - | asdf2.CFrame=Root.CFrame |
2357 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
2358 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2358 | + | Trail.TopSurface = 0 |
2359 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999443, 0, 3.24249268e-05, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) |
2359 | + | Trail.BottomSurface = 0 |
2360 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2360 | + | Trail.formFactor = "Custom" |
2361 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2361 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
2362 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000549, -7.20024109e-05, -2.47955322e-05, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) |
2362 | + | local ms = Instance.new("BlockMesh",Trail) |
2363 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2363 | + | ms.Scale = Vector3.new(1,1,1) |
2364 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2364 | + | local TM = Instance.new("CylinderMesh",Trail) |
2365 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.8999863, -7.20024109e-05, -7.62939453e-05, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) |
2365 | + | TM.Scale = Vector3.new(1,1,1) |
2366 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2366 | + | Old = New |
2367 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2367 | + | coroutine.wrap(function() |
2368 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999786, 0, -1.52587891e-05, 0.707106829, -0.707106829, 0, 0, 0, -1, 0.707106829, 0.707106829, 0)) |
2368 | + | for i = 1,0,-0.1 do |
2369 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2369 | + | wait() |
2370 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2370 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
2371 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.8999939, -7.20024109e-05, -7.62939453e-05, 0.707106829, -0.707106829, 0, 0, 0, -1, 0.707106829, 0.707106829, 0)) |
2371 | + | |
2372 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2372 | + | Trail:remove() |
2373 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2373 | + | end)() |
2374 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999481, 0, 4.57763672e-05, 0.707106829, 0.707106829, 0, 0, 0, -1, -0.707106829, 0.707106829, 0)) |
2374 | + | coroutine.wrap(function() |
2375 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2375 | + | for i = 1,10 do |
2376 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2376 | + | wait() |
2377 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000397, -7.20024109e-05, -1.52587891e-05, 0.707106829, 0.707106829, 0, 0, 0, -1, -0.707106829, 0.707106829, 0)) |
2377 | + | Trail.Transparency = Trail.Transparency +0.1 |
2378 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2378 | + | end end)()end end)() |
2379 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2379 | + | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) |
2380 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999481, 0, 6.48498535e-05, 0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, 0.500000238, 0)) |
2380 | + | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) |
2381 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2381 | + | so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9) |
2382 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2382 | + | for i=0,1,0.08 do |
2383 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.899971, 0, -1.14440918e-05, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) |
2383 | + | swait() |
2384 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2384 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2385 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2385 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2386 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000435, -7.20024109e-05, -3.81469727e-06, 0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, 0.500000238, 0)) |
2386 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2387 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2387 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2) |
2388 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2388 | + | Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2) |
2389 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000015, -7.20024109e-05, -7.62939453e-05, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) |
2389 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) |
2390 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2390 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3) |
2391 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2391 | + | |
2392 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999958, 0, -2.28881836e-05, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) |
2392 | + | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) |
2393 | - | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") |
2393 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) |
2394 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2394 | + | for i=0,1,0.08 do |
2395 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-07, 7.50000381, 1.6000042, 0, 0, 1, 1, 0, 0, 0, 1, 0)) |
2395 | + | swait() |
2396 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2396 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2397 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2397 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2398 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-07, 7.50003433, 1.60000706, 0, 0, -1, 1, 0, 0, 0, -1, 0)) |
2398 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2399 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2399 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2) |
2400 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2400 | + | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2) |
2401 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.2999802, 1.6000061, 0, 0, -1, -1, 0, 0, 0, 1, 0)) |
2401 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) |
2402 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2402 | + | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) |
2403 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2403 | + | |
2404 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.3500252, 1.59999561, 0, 0, 1, -1, 0, 0, 0, -1, 0)) |
2404 | + | --dmgstop() |
2405 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2405 | + | attack=false |
2406 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2406 | + | con1:disconnect() |
2407 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-07, 7.7000351, 1.60000706, -0, -0, 1, -1, 0, 0, 0, -1, 0)) |
2407 | + | con2:disconnect() |
2408 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2408 | + | if TrailDeb == true then |
2409 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2409 | + | TrailDeb = false |
2410 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-07, 7.70000458, 1.6000042, 0, 0, -1, -1, 0, 0, 0, 1, 0)) |
2410 | + | |
2411 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2411 | + | |
2412 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2412 | + | |
2413 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.4999771, 1.6000061, -0, -0, 1, 1, 0, 0, 0, 1, 0)) |
2413 | + | function Hai() |
2414 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2414 | + | attack=true |
2415 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2415 | + | Humanoid.WalkSpeed=0 |
2416 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.5500259, 1.59999561, 0, 0, -1, 1, 0, 0, 0, -1, 0)) |
2416 | + | so("http://www.roblox.com/asset/?id=159882567",Torso,1,1) |
2417 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2417 | + | for i=0,1,0.1 do |
2418 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2418 | + | swait() |
2419 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.399971, 1.50000763, 0, 0, 1, 0, -1, 0, 1, 0, 0)) |
2419 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2420 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2420 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2421 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2421 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2422 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60000134, 1.50000763, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
2422 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) |
2423 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2423 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) |
2424 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2424 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2425 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60000134, 1.50000763, 0, 0, 1, 0, -1, 0, 1, 0, 0)) |
2425 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2426 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2426 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) |
2427 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2427 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) |
2428 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.4500275, 1.69998932, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
2428 | + | |
2429 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2429 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) |
2430 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2430 | + | |
2431 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60002995, 1.70001221, 0, 0, -1, 0, -1, 0, -1, 0, 0)) |
2431 | + | swait() |
2432 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2432 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2433 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2433 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2434 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60003948, 1.70001984, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
2434 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2435 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2435 | + | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) |
2436 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) |
2436 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2437 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.4500198, 1.69998932, 0, 0, -1, 0, -1, 0, -1, 0, 0)) |
2437 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2438 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2438 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2439 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) |
2439 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) |
2440 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.3999748, 1.50000763, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
2440 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) |
2441 | - | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") |
2441 | + | |
2442 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2442 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) |
2443 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999443, 0, -1.19997025, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) |
2443 | + | |
2444 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2444 | + | swait() |
2445 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2445 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2446 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.899971, 0, 1.1999855, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) |
2446 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2447 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2447 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2448 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2448 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) |
2449 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-13.073143, 0, -1.29996872, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) |
2449 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) |
2450 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2450 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2451 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2451 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2452 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-13.0731659, 0, 1.29998398, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) |
2452 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) |
2453 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2453 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) |
2454 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2454 | + | |
2455 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.936552, 0, -1.33655548, -0.500000238, -0.866025388, -0, 0, 0, -1, 0.866025388, -0.500000238, 0)) |
2455 | + | |
2456 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2456 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) |
2457 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2457 | + | |
2458 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-13.0365486, 0, 1.16339874, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) |
2458 | + | swait() |
2459 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2459 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2460 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2460 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2461 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.936552, 0, -1.33655548, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) |
2461 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2462 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2462 | + | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) |
2463 | - | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) |
2463 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2464 | - | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(13.0365715, 0, 1.16339493, -0.500000238, -0.866025388, -0, 0, 0, -1, 0.866025388, -0.500000238, 0)) |
2464 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2465 | - | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") |
2465 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2466 | - | s.PrimaryPart=asdfz |
2466 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) |
2467 | - | asdfz.Anchored=true |
2467 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) |
2468 | - | asdfz.CFrame=Root.CFrame |
2468 | + | |
2469 | - | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) |
2469 | + | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) |
2470 | - | local hec=0 |
2470 | + | |
2471 | - | LockEffect(e,col[1],asdf2.CFrame,asdf2,55,55,1,25,25,0,.06,"Sphere",6,0,"") |
2471 | + | swait() |
2472 | - | for i=0,1,0.01 do |
2472 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
2473 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2474 | - | hec=hec+.5 |
2474 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2475 | - | asdfz.CFrame=Root.CFrame |
2475 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) |
2476 | - | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) |
2476 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) |
2477 | - | asdf.CFrame=CFrame.new(asdf.CFrame.p,mouse.Hit.p) |
2477 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2478 | - | asdfWeld.C0=clerp(asdfWeld.C0,asdfWeld.C0*CFrame.Angles(0,0,math.rad(4+hec)),.3) |
2478 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
2479 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
2480 | - | local asdf3=parts(s,"asdf3",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) |
2480 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) |
2481 | - | asdf3.Anchored=true |
2481 | + | |
2482 | - | for i=1,200 do |
2482 | + | --dmgstop() |
2483 | Humanoid.WalkSpeed=12 | |
2484 | - | asdf3.CFrame=CFrame.new(mouse.Hit.p) |
2484 | + | attack=false |
2485 | - | asdfz.CFrame=Root.CFrame |
2485 | + | |
2486 | - | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) |
2486 | + | |
2487 | - | asdf.CFrame=CFrame.new(asdf.CFrame.p,mouse.Hit.p) |
2487 | + | function Die() |
2488 | - | asdfWeld.C0=clerp(asdfWeld.C0,asdfWeld.C0*CFrame.Angles(0,0,math.rad(4+hec)),.3) |
2488 | + | attack=true |
2489 | - | local mag=(asdf2.Position-asdf3.Position).magnitude |
2489 | + | Footsteps:Stop() |
2490 | - | Effect(e,col[1],CFrame.new((asdf2.Position+asdf3.Position)/2,asdf3.Position)*CFrame.Angles(0,math.rad(90),0),mag*5,40,40,0,.6,.6,.07,"Cylinder",6,0,"") |
2490 | + | Footsteps2:Stop() |
2491 | - | Effect(e,col[1],CFrame.new(asdf3.Position)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),41,41,122,-1,-1,0,.07,"Sphere",3,-5,"") |
2491 | + | local Fire = it("Sound",Character.Torso) |
2492 | - | Effect(e,col[1],CFrame.new(asdf3.Position),20,20,20,11,11,11,.07,"Sphere",6,0,"") |
2492 | + | Fire.SoundId = "rbxassetid://192104941" |
2493 | - | Effect(e,col[1],CFrame.new(asdf3.Position),20,20,20,11,11,11,.07,"Brick",1,0,"") |
2493 | + | Fire.Looped = true |
2494 | - | Mdamage("None",asdf3,11,math.random(10,18),0,"") |
2494 | + | Fire.Pitch = 1 |
2495 | Fire.Volume = 1 | |
2496 | - | for i=0,1.1,.02 do |
2496 | + | local Fire2 = it("Sound",Handle2) |
2497 | Fire2.SoundId = "rbxassetid://192104941" | |
2498 | - | asdf3.CFrame=CFrame.new(mouse.Hit.p) |
2498 | + | Fire2.Looped = true |
2499 | - | asdfz.CFrame=Root.CFrame |
2499 | + | Fire2.Pitch = 1 |
2500 | - | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) |
2500 | + | Fire2.Volume = 1 |
2501 | - | asdf.CFrame=CFrame.new(asdf.CFrame.p,mouse.Hit.p) |
2501 | + | local Fire3 = it("Sound",Handle) |
2502 | - | asdfWeld.C0=clerp(asdfWeld.C0,asdfWeld.C0*CFrame.Angles(0,0,math.rad(4+hec)),.3) |
2502 | + | Fire3.SoundId = "rbxassetid://192104941" |
2503 | - | for _,v in pairs(s:children()) do |
2503 | + | Fire3.Looped = true |
2504 | - | if v:IsA("BasePart") then |
2504 | + | Fire3.Pitch = 1 |
2505 | - | v.Transparency=i |
2505 | + | Fire3.Volume = 1 |
2506 | local Fire4 = it("Sound",handle) | |
2507 | Fire4.SoundId = "rbxassetid://192104941" | |
2508 | Fire4.Looped = true | |
2509 | - | s:Remove() |
2509 | + | Fire4.Pitch = 1 |
2510 | Fire4.Volume = 1 | |
2511 | local fire = Instance.new("ParticleEmitter", Character.Torso) | |
2512 | - | --v atak |
2512 | + | fire.Lifetime = NumberRange.new(0.5) |
2513 | - | function Attack() |
2513 | + | fire.Speed = NumberRange.new(1, 3) |
2514 | - | attack=true |
2514 | + | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) |
2515 | - | if combo==1 then |
2515 | + | fire.Rate = 0 |
2516 | - | combo=2 |
2516 | + | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) |
2517 | - | for i=0,1,0.12 do |
2517 | + | fire.LightEmission = 0.6 |
2518 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
2519 | - | Mdamage("None",RArm,4.2,math.random(10,20),.2,HitSound[math.random(1,#HitSound)],1,1) |
2519 | + | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) |
2520 | - | RJ.C0=clerp(RJ.C0,CFrame.new(-1.40964985e-05, -0.11372108, -0.099010177, 0.611814082, -4.5593481e-08, -0.791001678, 0.156692281, 0.980183184, 0.121196352, 0.775326431, -0.198093489, 0.599689901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2520 | + | local fire2 = Instance.new("ParticleEmitter", Handle) |
2521 | - | Neck.C0=clerp(Neck.C0,CFrame.new(-0.00178098679, 1.47727787, -0.00157509744, 0.6777668, 0.0772434175, 0.731208384, -4.27256055e-07, 0.994466662, -0.105053134, -0.735276997, 0.0712012053, 0.674016595)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2521 | + | fire2.Lifetime = NumberRange.new(0.5) |
2522 | - | RS.C0=clerp(RS.C0,CFrame.new(1.14380527, 0.516936123, -0.69855082, 0.0887541175, 0.434946328, 0.896071672, 0.986419916, -0.163200051, -0.0184868611, 0.138198152, 0.885543644, -0.443524361)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2522 | + | fire2.Speed = NumberRange.new(1, 3) |
2523 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.6822449, 0.177517071, -0.228325516, 0.954484642, 0.288956225, -0.0739153624, -0.297713399, 0.908013403, -0.294751585, -0.0180541277, 0.303341419, 0.952710986)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2523 | + | fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) |
2524 | - | RH.C0=clerp(RH.C0,CFrame.new(0.580742657, -2.05176497, 0.210113317, 0.933486521, -0.0691385269, 0.351884663, 1.72682337e-06, 0.981240153, 0.192790017, -0.358612567, -0.179966271, 0.915974498)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2524 | + | fire2.Rate = 0 |
2525 | - | LH.C0=clerp(LH.C0,CFrame.new(-1.01665866, -1.76135993, -0.431322992, 0.640841186, 0.179314032, 0.746437669, 1.48042e-06, 0.972337186, -0.233582348, -0.767673552, 0.149690285, 0.623113334)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2525 | + | fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) |
2526 | fire2.LightEmission = 0.6 | |
2527 | - | sounds(RArm,"200632136",1,1.2) |
2527 | + | fire2.Texture = "http://www.roblox.com/asset/?id=242911609" |
2528 | fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
2529 | local fire3 = Instance.new("ParticleEmitter", Handle2) | |
2530 | - | Mdamage("None",RArm,4.2,math.random(10,20),.2,HitSound[math.random(1,#HitSound)],1,1) |
2530 | + | fire3.Lifetime = NumberRange.new(0.5) |
2531 | - | RJ.C0=clerp(RJ.C0,CFrame.new(0.0256003067, -0.0520002246, -0.354070067, 0.350081027, -0.169843271, 0.921193123, -0.0253130943, 0.981350303, 0.19055441, -0.936377347, -0.0900277197, 0.339252859)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2531 | + | fire3.Speed = NumberRange.new(1, 3) |
2532 | - | Neck.C0=clerp(Neck.C0,CFrame.new(0.151640147, 1.4738127, 0.0224934965, 0.270301849, 0.125617236, -0.954545557, -0.154247329, 0.984295189, 0.085853532, 0.950339496, 0.124029756, 0.285432875)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2532 | + | fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) |
2533 | - | RS.C0=clerp(RS.C0,CFrame.new(1.80110931, 0.426911324, -0.625986278, 0.0936775953, -0.809836626, 0.579128146, 0.994559765, 0.0495007969, -0.0916557088, 0.0455588624, 0.584563673, 0.810067952)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2533 | + | fire3.Rate = 0 |
2534 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.85886598, 0.161566481, -0.2567029, 0.378758818, 0.837661624, -0.39352873, -0.89434731, 0.440661192, 0.0772067085, 0.238085926, 0.322708666, 0.91606462)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2534 | + | fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) |
2535 | - | RH.C0=clerp(RH.C0,CFrame.new(0.775518239, -1.92589116, -0.236844152, 0.481832683, -0.00619276613, -0.876241446, -0.169701144, 0.980383933, -0.100245029, 0.859673798, 0.197000504, 0.471330076)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2535 | + | fire3.LightEmission = 0.6 |
2536 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.90784061, -2.00480008, -0.172252461, 0.285467356, 0.359883249, -0.888252497, -0.223748147, 0.926233113, 0.303363025, 0.931904256, 0.112144619, 0.344932497)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2536 | + | fire3.Texture = "http://www.roblox.com/asset/?id=242911609" |
2537 | fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
2538 | - | local ref=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) |
2538 | + | local fire4 = Instance.new("ParticleEmitter", handle) |
2539 | - | ref.Anchored=true |
2539 | + | fire4.Lifetime = NumberRange.new(0.5) |
2540 | - | ref.CFrame=Root.CFrame*CFrame.new(0,0,-6) |
2540 | + | fire4.Speed = NumberRange.new(1, 3) |
2541 | - | Effect(e,col[2],ref.CFrame,5,5,5,5,5,5,.06,"Sphere",6,0,"") |
2541 | + | fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) |
2542 | - | Effect(e,col[1],ref.CFrame,5,5,5,7,7,7,.07,"Sphere",6,0,"") |
2542 | + | fire4.Rate = 0 |
2543 | - | Effect(e,col[2],ref.CFrame,5,5,5,6,0,0,.05,"Sphere",6,0,"") |
2543 | + | fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) |
2544 | - | Effect(e,col[2],ref.CFrame,5,5,5,0,6,0,.05,"Sphere",6,0,"") |
2544 | + | fire4.LightEmission = 0.6 |
2545 | - | Effect(e,col[2],ref.CFrame,5,5,5,0,0,6,.05,"Sphere",6,0,"") |
2545 | + | fire4.Texture = "http://www.roblox.com/asset/?id=242911609" |
2546 | - | Mdamage("None",ref,8,math.random(10,20),0,"") |
2546 | + | fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) |
2547 | - | sounds(ref,"161006093",1.2,1.2) |
2547 | + | Humanoid.WalkSpeed = 0 |
2548 | - | game:GetService("Debris"):AddItem(ref,4) |
2548 | + | so("http://www.roblox.com/asset/?id=199149297",Head,1,1) |
2549 | - | for i=0,1,0.08 do |
2549 | + | so("http://www.roblox.com/asset/?id=209527203",Head,1,1) |
2550 | for i=0,1,0.08 do | |
2551 | - | Torso.Velocity=Root.CFrame.lookVector*-20 |
2551 | + | swait() |
2552 | - | RJ.C0=clerp(RJ.C0,CFrame.new(2.77385116e-05, -0.397874027, -0.107908018, 0.504696071, -0.000202174866, -0.863297164, 0.254513651, 0.955589056, 0.1485686, 0.824927092, -0.294702888, 0.482333422)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) |
2552 | + | Torso.Velocity=RootPart.CFrame.lookVector*-30 |
2553 | - | Neck.C0=clerp(Neck.C0,CFrame.new(-0.0580789, 1.53893268, -0.0402470827, 0.606136084, -0.208425328, 0.767566264, 0.0864968821, 0.976604223, 0.196882278, -0.790643632, -0.0529453754, 0.609983265)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) |
2553 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2) |
2554 | - | RS.C0=clerp(RS.C0,CFrame.new(1.95940983, 0.502833605, -0.351823866, -0.0271940455, -0.944740415, 0.326689422, 0.988820434, -0.0733546838, -0.129820853, 0.146611214, 0.319506735, 0.936173439)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) |
2554 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2) |
2555 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.51987219, 0.114249595, -0.644724607, 0.409938663, 0.502568185, -0.761167288, -0.869661272, 0.466988117, -0.160036281, 0.275026947, 0.727562726, 0.628500462)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) |
2555 | + | handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) |
2556 | - | RH.C0=clerp(RH.C0,CFrame.new(0.759764791, -2.06948805, 0.377683461, 0.826902926, -0.343313456, 0.445384741, 0.158799037, 0.902335942, 0.400715649, -0.539457679, -0.260626286, 0.800661981)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) |
2556 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) |
2557 | - | LH.C0=clerp(LH.C0,CFrame.new(-1.10064852, -1.48462117, -0.274196982, 0.415272266, 0.443577677, 0.79422152, 3.56705277e-06, 0.873060644, -0.487611741, -0.909697294, 0.202494413, 0.362556309)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) |
2557 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) |
2558 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2) | |
2559 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2) | |
2560 | - | elseif combo==2 then |
2560 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) |
2561 | - | combo=3 |
2561 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) |
2562 | - | for i=0,1,0.09 do |
2562 | + | |
2563 | for i=0,1,0.005 do | |
2564 | - | Mdamage("None",LArm,4.2,math.random(10,20),.2,HitSound[math.random(1,#HitSound)],1,1) |
2564 | + | swait() |
2565 | - | RJ.C0=clerp(RJ.C0,CFrame.new(0, -0, 0, 0.908417106, -1.17093835e-15, -0.418065071, 1.25419519e-05, 1, 2.72525122e-05, 0.418065071, -2.99999992e-05, 0.908417106)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2565 | + | moosick.Volume=1-2*i |
2566 | - | Neck.C0=clerp(Neck.C0,CFrame.new(4.28571184e-06, 1.50002289, 4.94055348e-05, 0.886384606, 0, 0.462949723, 0, 1, 0, -0.462949723, 0, 0.886384606)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2566 | + | light.Range=15-10*i |
2567 | - | RS.C0=clerp(RS.C0,CFrame.new(1.56685495, 0.0783409849, 0.210455388, 0.96724993, -0.244476244, -0.0682572424, 0.253826082, 0.931572556, 0.260278672, -4.5388937e-05, -0.269079983, 0.963117838)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2567 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) |
2568 | - | LS.C0=clerp(LS.C0,CFrame.new(-0.546535552, 0.835143328, -0.873486161, 0.602048159, -0.729962826, 0.323562026, -0.075689964, -0.455583066, -0.886969686, 0.794864237, 0.509508073, -0.329533845)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2568 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) |
2569 | - | RH.C0=clerp(RH.C0,CFrame.new(0.602877498, -2.02466917, 0.29541105, 0.944397688, -0.0989037603, 0.313578069, 0, 0.953688264, 0.300797045, -0.328805655, -0.284072042, 0.900660932)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2569 | + | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) |
2570 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.661388874, -2.02991033, -0.260612905, 0.850234628, 0.0459307507, 0.5243963, 0, 0.996186137, -0.0872537941, -0.526403964, 0.0741862059, 0.846991897)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2570 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) |
2571 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
2572 | - | sounds(LArm,"200633377",1.2,1.4) |
2572 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) |
2573 | - | local ref1=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,.5) |
2573 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) |
2574 | - | meshs(ref1,"Mesh",Vector3.new(20,20,20),Enum.MeshType.Sphere,"") |
2574 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
2575 | - | ref1.Anchored=true |
2575 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
2576 | - | ref1.CFrame=Root.CFrame*CFrame.new(0,0,-4) |
2576 | + | |
2577 | - | local ref2=ref1:Clone() |
2577 | + | light.Range=0 |
2578 | - | ref2.Parent=e |
2578 | + | for i=0,1,0.01 do |
2579 | - | ref2.CFrame=ref1.CFrame |
2579 | + | swait() |
2580 | - | ref2.BrickColor=BrickColor.new(col[1]) |
2580 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) |
2581 | - | ref2:findFirstChild("Mesh").Scale=Vector3.new(30,30,30) |
2581 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) |
2582 | - | ref1.Transparency=0 |
2582 | + | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) |
2583 | - | if rainb==true then |
2583 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) |
2584 | - | ref1.Color=rain |
2584 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) |
2585 | - | ref2.Color=rain |
2585 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) |
2586 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
2587 | - | game:GetService("Debris"):AddItem(ref1,4) |
2587 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
2588 | - | game:GetService("Debris"):AddItem(ref2,4) |
2588 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
2589 | - | for i=0,1,0.07 do |
2589 | + | |
2590 | so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9) | |
2591 | - | Mdamage("None",ref1,7,math.random(10,20),.2,"") |
2591 | + | fire.Rate = 1000 |
2592 | - | ref1.CFrame=ref1.CFrame*CFrame.new(0,0,-5) |
2592 | + | fire2.Rate = 1000 |
2593 | - | ref2.CFrame=ref1.CFrame |
2593 | + | fire3.Rate = 1000 |
2594 | - | if choice==9 then |
2594 | + | fire4.Rate = 1000 |
2595 | - | ref1.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2595 | + | Fire:Play() |
2596 | - | ref2.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2596 | + | Fire2:Play() |
2597 | Fire3:Play() | |
2598 | - | Effect(e,col[2],ref1.CFrame*CFrame.new(math.random(-35,35)/10,math.random(-35,35)/10,math.random(-35,35)/10),3,3,3,0,0,0,.06,"Brick",1,0,"") |
2598 | + | Fire4:Play() |
2599 | - | Effect(e,col[2],ref1.CFrame*CFrame.new(math.random(-35,35)/10,math.random(-35,35)/10,math.random(-35,35)/10),3,3,3,0,0,0,.06,"Brick",1,0,"") |
2599 | + | for i=0,1,0.005 do |
2600 | - | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 0.957886219, -1.17093835e-15, 0.287148058, -8.61444187e-06, 1, 2.87365856e-05, -0.287148058, -2.99999992e-05, 0.957886219)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2600 | + | swait() |
2601 | - | Neck.C0=clerp(Neck.C0,CFrame.new(-1.29853488e-05, 1.50002289, 4.40614167e-05, 0.97937429, 0, -0.202054739, 0, 1, 0, 0.202054739, 0, 0.97937429)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2601 | + | Character.Head.face.Transparency = 0+1*i |
2602 | - | RS.C0=clerp(RS.C0,CFrame.new(1.71655941, 0.132248193, -0.0551169962, 0.862222314, -0.505995154, -0.0232733786, 0.496118933, 0.852876127, -0.162691191, 0.102170259, 0.128729627, 0.986402512)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2602 | + | LeftArm.Transparency=0+1*i |
2603 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.89950287, 0.433939457, -0.00832587667, 0.00264006853, 0.99847132, 0.0552114658, -0.0167260002, 0.0552480295, -0.99833262, -0.999856651, 0.00171220303, 0.0168462899)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2603 | + | RightArm.Transparency=0+1*i |
2604 | - | RH.C0=clerp(RH.C0,CFrame.new(0.672698855, -2.02514911, -0.2984671, 0.960695028, -0.0169820078, -0.277086377, 0.0515700057, 0.991670907, 0.11802268, 0.272774249, -0.127673134, 0.953568995)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2604 | + | LeftLeg.Transparency=0+1*i |
2605 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.706217289, -1.98748994, 0.169790402, 0.93224138, 0.16299127, -0.323047906, -0.100813977, 0.974446774, 0.200723708, 0.347509235, -0.154555187, 0.924851418)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2605 | + | RightLeg.Transparency=0+1*i |
2606 | Head.Transparency=0+1*i | |
2607 | - | sounds(ref1,"206083232",1.2,1.5) |
2607 | + | Torso.Transparency=0+1*i |
2608 | - | sounds(ref1,"206083252",1.2,1.3) |
2608 | + | for _,v in pairs(Character:children()) do |
2609 | - | Effect(e,col[2],ref1.CFrame,20,20,20,2,2,2,.04,"Sphere",6,0,"") |
2609 | + | if v:IsA("Hat") then |
2610 | - | Effect(e,col[1],ref1.CFrame,30,30,30,2,2,2,.04,"Sphere",6,0,"") |
2610 | + | v.Handle.Transparency = 0+1*i |
2611 | - | ref1.Transparency=1 |
2611 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) |
2612 | - | ref2.Transparency=1 |
2612 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) |
2613 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
2614 | - | elseif combo==3 then |
2614 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) |
2615 | - | combo=4 |
2615 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) |
2616 | - | sounds(RArm,"200632136",1,1.4) |
2616 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) |
2617 | - | local ref1=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) |
2617 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) |
2618 | - | ref1.Anchored=true |
2618 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
2619 | - | ref1.CFrame=Root.CFrame*CFrame.new(0,.5,-6) |
2619 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
2620 | - | local ref2=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) |
2620 | + | |
2621 | - | ref2.Anchored=true |
2621 | + | |
2622 | - | ref2.CFrame=Root.CFrame*CFrame.new(0,.5,6) |
2622 | + | --dmgstop() |
2623 | - | game:GetService("Debris"):AddItem(ref1,4) |
2623 | + | |
2624 | - | game:GetService("Debris"):AddItem(ref2,4) |
2624 | + | Humanoid.Health = 0 |
2625 | - | local gl=3 |
2625 | + | |
2626 | - | for i=0,1,0.06 do |
2626 | + | |
2627 | equipanim() | |
2628 | - | gl=gl+1 |
2628 | + | |
2629 | - | ref1.CFrame=Root.CFrame*CFrame.Angles(0,math.rad(0-720*i),0)*CFrame.new(0,.5,gl) |
2629 | + | local sine = 0 |
2630 | - | ref2.CFrame=Root.CFrame*CFrame.Angles(0,math.rad(0-720*i),0)*CFrame.new(0,.5,-gl) |
2630 | + | local change = 1 |
2631 | - | Effect(e,col[2],ref2.CFrame,5,5,5,4,4,4,.08,"Sphere",6,0,"") |
2631 | + | local val = 0 |
2632 | - | Effect(e,col[1],ref1.CFrame,5,5,5,4,4,4,.08,"Sphere",6,0,"") |
2632 | + | |
2633 | - | Mdamage("None",ref1,6,math.random(8,14),.05,"") |
2633 | + | local mananum=0 |
2634 | - | Mdamage("None",ref2,6,math.random(8,14),.05,"") |
2634 | + | while true do |
2635 | - | sounds(ref1,"206083252",1.2,1.6) |
2635 | + | |
2636 | - | sounds(ref2,"206083252",1.2,1.6) |
2636 | + | sine = sine + change |
2637 | - | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0-720*i),0),.4) |
2637 | + | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
2638 | - | Neck.C0=clerp(Neck.C0,CFrame.new(2.62259618e-07, 1.50002122, -1.16301089e-06, 0.966869354, -4.44266561e-06, -0.25527209, 7.65816276e-06, 1, 1.16024312e-05, 0.25527209, -1.31729485e-05, 0.966869354)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2638 | + | local velderp=RootPart.Velocity.y |
2639 | - | RS.C0=clerp(RS.C0,CFrame.new(1.97359252, 0.461725712, 0.132297397, -0.0138839949, -0.993113995, -0.116326779, 0.999903619, -0.0137932096, -0.0015854399, -2.9997107e-05, -0.116337582, 0.99320972)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2639 | + | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
2640 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.98128402, 0.443997294, -0.162216201, 0.175949037, 0.984316707, 0.0127538545, 0.0111114727, 0.0109692821, -0.999878168, -0.984336615, 0.176069304, -0.00900717359)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2640 | + | if equipped==true or equipped==false then |
2641 | - | RH.C0=clerp(RH.C0,CFrame.new(0.530800819, -1.99872804, 3.16160481e-07, 0.999048352, -0.0436170138, 1.30851083e-06, 0.0436170138, 0.999048352, 2.85399437e-08, -1.30851038e-06, 2.85599526e-08, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2641 | + | if Anim=="Idle" and attack==false then |
2642 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.575502217, -2.01157212, -1.7279857e-06, 0.998795986, 0.0490569994, -1.47170999e-06, -0.0490569994, 0.998795986, 3.61214916e-08, 1.47170999e-06, 3.61196726e-08, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2642 | + | idle=idle+1 |
2643 | else | |
2644 | - | hum.WalkSpeed=0 |
2644 | + | idle=0 |
2645 | - | for i=0,1,0.07 do |
2645 | + | |
2646 | if Humanoid.Health <=20 then | |
2647 | - | RJ.C0=clerp(RJ.C0,CFrame.new(-9.56654549e-06, -0.947861552, -0.387094289, 0.473338813, 7.18723072e-08, -0.880882382, 0.681949854, 0.632979989, 0.366442889, 0.557581186, -0.774168193, 0.299614102)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) |
2647 | + | if attack == false then |
2648 | - | Neck.C0=clerp(Neck.C0,CFrame.new(0.277080625, 1.45817256, -0.0415501148, 0.589401186, 0.338981122, 0.733280361, -2.8388813e-06, 0.90770328, -0.419612646, -0.807842851, 0.247317076, 0.535002112)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) |
2648 | + | Humanoid.Health = math.huge |
2649 | - | RS.C0=clerp(RS.C0,CFrame.new(1.88354349, 0.814501822, -0.372365743, -0.412279636, -0.839163423, 0.354727, 0.911057711, -0.379755259, 0.160498932, 2.44528055e-05, 0.389347881, 0.921091557)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) |
2649 | + | Die() |
2650 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.91487217, 0.304715246, -0.124129072, 0.140907407, 0.976222038, -0.164732158, -0.990021467, 0.139218867, -0.0218067821, 0.00164588168, 0.166160643, 0.986098051)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) |
2650 | + | |
2651 | - | RH.C0=clerp(RH.C0,CFrame.new(0.398423433, -1.85718119, -0.452500671, 0.599491179, 0.0752810985, 0.796833813, 0.184934542, 0.955598235, -0.229415059, -0.778724015, 0.284894049, 0.558950484)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) |
2651 | + | |
2652 | - | LH.C0=clerp(LH.C0,CFrame.new(-1.01205671, -0.524863005, -0.345139563, 0.60284251, 0.746555448, 0.281490713, -0.135852024, 0.443699926, -0.885818601, -0.786210477, 0.495767653, 0.368902445)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) |
2652 | + | if idle>=1000 then |
2653 | if attack==false then | |
2654 | --Sheath() | |
2655 | - | elseif combo==4 then |
2655 | + | |
2656 | - | combo=1 |
2656 | + | |
2657 | - | for i=0,1,0.07 do |
2657 | + | if RootPart.Velocity.y > 1 and hitfloor==nil then |
2658 | Anim="Jump" | |
2659 | - | RJ.C0=clerp(RJ.C0,CFrame.new(-2.61414241e-18, 0.0558129847, -0.142009795, 1, -4.63824687e-17, -6.51316803e-18, -4.68375339e-17, 0.990284204, 0.139058739, 0, -0.139058754, 0.990284204)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2659 | + | |
2660 | - | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.53615165, -0.133319393, 1, 0, 0, 0, 0.980868459, 0.194672525, 0, -0.19467257, 0.980868459)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2660 | + | Footsteps:Stop() |
2661 | - | RS.C0=clerp(RS.C0,CFrame.new(0.701637089, 0.589969814, -1.10076773, 0.905114114, 0.424492478, 0.0239735786, 0.0420583636, -0.0332833603, -0.998560727, -0.423083603, 0.904819667, -0.0479786843)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2661 | + | Footsteps2:Stop() |
2662 | - | LS.C0=clerp(LS.C0,CFrame.new(-0.882859528, 0.530957997, -0.990593553, -0.0114530027, -0.32663402, -0.945081472, -0.999210954, -0.0322082937, 0.0232406352, -0.0380306318, 0.944602013, -0.326007426)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2662 | + | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) |
2663 | - | RH.C0=clerp(RH.C0,CFrame.new(0.546855628, -2.05208206, -0.144755617, 0.997041583, -0.0768650472, 2.22908784e-06, 0.0761185661, 0.987354636, -0.139057681, 0.010686473, 0.138646439, 0.990284383)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2663 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) |
2664 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.552921951, -2.05310154, -0.144903407, 0.99881202, 0.0487289988, -1.46186994e-06, -0.0482557602, 0.989107788, -0.139058709, -0.00677474542, 0.138893574, 0.990284204)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2664 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) |
2665 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
2666 | - | sounds(Root,"200633492",1.2,1.2) |
2666 | + | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) |
2667 | - | Effect(e,col[1],Root.CFrame*CFrame.new(0,.5,-4),3,3,3,2,2,2,.05,"Sphere",6,0,"") |
2667 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) |
2668 | - | Effect(e,col[1],Root.CFrame*CFrame.new(0,.5,-4),3,3,3,3,3,3,.05,"Sphere",6,0,"") |
2668 | + | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) |
2669 | - | for i=-40,40,20 do |
2669 | + | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) |
2670 | - | local ref1=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,.5) |
2670 | + | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) |
2671 | - | meshs(ref1,"Mesh",Vector3.new(7,7,18),Enum.MeshType.Sphere,"") |
2671 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) |
2672 | - | ref1.Anchored=true |
2672 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) |
2673 | - | ref1.CFrame=Root.CFrame*CFrame.new(0,.5,-4)*CFrame.Angles(0,math.rad(i),0) |
2673 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) |
2674 | - | local ref2=ref1:Clone() |
2674 | + | |
2675 | - | ref2.Parent=e |
2675 | + | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
2676 | - | ref2.CFrame=ref1.CFrame |
2676 | + | Anim="Fall" |
2677 | - | ref2.BrickColor=BrickColor.new(col[1]) |
2677 | + | |
2678 | - | ref2:findFirstChild("Mesh").Scale=Vector3.new(10,10,25) |
2678 | + | Footsteps:Stop() |
2679 | - | ref1.Transparency=0 |
2679 | + | Footsteps2:Stop() |
2680 | - | if rainb==true then |
2680 | + | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) |
2681 | - | ref1.Color=rain |
2681 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) |
2682 | - | ref2.Color=rain |
2682 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) |
2683 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
2684 | - | game:GetService("Debris"):AddItem(ref1,4) |
2684 | + | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) |
2685 | - | game:GetService("Debris"):AddItem(ref2,4) |
2685 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) |
2686 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
2687 | - | for i=0,1,.04 do |
2687 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) |
2688 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
2689 | - | ref1.CFrame=ref1.CFrame*CFrame.new(0,0,-2) |
2689 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
2690 | - | ref2.CFrame=ref1.CFrame |
2690 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) |
2691 | - | if choice==9 then |
2691 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) |
2692 | - | ref1.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2692 | + | |
2693 | - | ref2.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) |
2693 | + | |
2694 | Anim="Idle" | |
2695 | - | Mdamage("None",ref1,4,math.random(9,16),.2,"") |
2695 | + | change=0.5 |
2696 | - | Effect(e,col[2],ref1.CFrame*CFrame.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10),1,1,1,0,0,0,.05,"Brick",1,0,"") |
2696 | + | if idle>=1000 then |
2697 | if attack==false then | |
2698 | - | ref1.Transparency=1 |
2698 | + | Footsteps:Stop() |
2699 | - | ref2.Transparency=1 |
2699 | + | Footsteps2:Stop() |
2700 | - | Effect(e,col[2],ref1.CFrame,7,7,18,1,1,4,.055,"Sphere",6,0,"") |
2700 | + | Humanoid.WalkSpeed=12 |
2701 | - | Effect(e,col[1],ref1.CFrame,10,10,25,1,1,4,.055,"Sphere",6,0,"") |
2701 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1) |
2702 | - | sounds(ref1,"206083232",1.2,1.5) |
2702 | + | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1) |
2703 | - | sounds(ref1,"206083252",1.2,1.6) |
2703 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) |
2704 | RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5) | |
2705 | LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5) | |
2706 | - | for i=0,1,0.05 do |
2706 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
2707 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
2708 | - | Torso.Velocity=Root.CFrame.lookVector*-18 |
2708 | + | handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) |
2709 | - | RJ.C0=clerp(RJ.C0,CFrame.new(-0.0297317505, 0.0401754044, 0.393005818, 1, -4.66701853e-17, 3.9558581e-18, -4.68375339e-17, 0.996427059, -0.0844591483, 0, 0.0844591483, 0.996427059)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2709 | + | Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4) |
2710 | - | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.53614163, -0.133327335, 1, 0, 0, 0, 0.980868399, 0.194672689, 0, -0.194672689, 0.980868399)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2710 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3) |
2711 | - | RS.C0=clerp(RS.C0,CFrame.new(1.95122457, 0.57680428, -0.30010882, 0.311983943, -0.947476506, 0.0703873113, -0.0381239727, -0.0865099505, -0.995521367, 0.949322283, 0.30790326, -0.0631112754)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2711 | + | |
2712 | - | LS.C0=clerp(LS.C0,CFrame.new(-2.03361034, 0.486680925, -0.248973221, -0.0547970086, 0.949463546, -0.309056938, -0.994616807, -0.02464021, 0.100651473, 0.0879496783, 0.31290853, 0.945702553)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2712 | + | |
2713 | - | RH.C0=clerp(RH.C0,CFrame.new(0.576583743, -2.04903936, -0.0633620992, 0.997041345, -0.0768679157, 1.12512282e-07, 0.076671347, 0.994491577, -0.0714716017, 0.00549376057, 0.0712601617, 0.997442722)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2713 | + | |
2714 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.523191214, -2.05006337, -0.0634361655, 0.998812258, 0.0487252697, -2.3978821e-06, -0.0486008301, 0.996257842, -0.0714741722, -0.00348020904, 0.0713893846, 0.997442663)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2714 | + | Footsteps:Stop() |
2715 | Footsteps2:Stop() | |
2716 | Humanoid.WalkSpeed=12 | |
2717 | - | attack=false |
2717 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3) |
2718 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3) | |
2719 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
2720 | - | function PERISH() |
2720 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3) |
2721 | - | attack2=true |
2721 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3) |
2722 | - | if haa~=nil then |
2722 | + | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3) |
2723 | - | local ref4=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) |
2723 | + | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3) |
2724 | - | ref4.Anchored=true |
2724 | + | handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) |
2725 | - | ref4.CFrame=haa.CFrame |
2725 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2) |
2726 | - | sounds(ref4,"206082273",3,.9) |
2726 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2) |
2727 | - | sounds(ref4,"199145534",3,1) |
2727 | + | |
2728 | - | CameraShake(60,ref4,25,.06) |
2728 | + | |
2729 | - | for i=1,15 do |
2729 | + | elseif torvel>2 and torvel<22 and hitfloor~=nil then |
2730 | - | Effect(e,col[1],ref4.CFrame*CFrame.new(math.random(-100,100)/6,math.random(-100,100)/6,math.random(0,20)/10)*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),5,5,5,0,0,2,.02,"Sphere",3,-.7,"") |
2730 | + | Anim="Walk" |
2731 | if attack==false then | |
2732 | - | Mdamage("None",ref4,20,0,0,"") |
2732 | + | change=0.8 |
2733 | - | Effect(e,col[1],ref4.CFrame*CFrame.Angles(math.rad(90),0,0),200,1,200,2,0,2,.03,"Sphere",6,0,"") |
2733 | + | --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) |
2734 | - | Effect(e,col[1],ref4.CFrame*CFrame.Angles(-math.rad(90),0,0),3,3,3,4,0,4,.05,"FileMesh",2,math.random(-10,10),"20329976") |
2734 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) |
2735 | - | Effect(e,col[1],ref4.CFrame*CFrame.Angles(-math.rad(90),0,0),3,3,3,5,0,5,.05,"FileMesh",2,math.random(-10,10),"20329976") |
2735 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) |
2736 | - | game:GetService("Debris"):AddItem(ref4,4) |
2736 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) |
2737 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
2738 | - | for i=0,1,0.07 do |
2738 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) |
2739 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2740 | - | RJ.C0=clerp(RJ.C0,CFrame.new(9.82645361e-07, -.2-.1*math.cos(sin/25), -5.42081143e-05, 0.647161186, -1.46387433e-11, 0.762353182, -2.28706049e-05, 1, 1.94148233e-05, -0.762353182, -2.99999992e-05, 0.647161186)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2740 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) |
2741 | - | Neck.C0=clerp(Neck.C0,CFrame.new(0.237783283, 1.5387131, -0.198758632, 0.641355515, 0.358043998, -0.678577662, 2.50000048e-05, 0.8844257, 0.466681093, 0.767243862, -0.299325466, 0.567222357)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2741 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) |
2742 | - | RS.C0=clerp(RS.C0,CFrame.new(1.66746926, 0.0401464105, -0.615105569, 0.556770682, -0.448266119, -0.699331045, -0.000109000051, 0.841852427, -0.539707899, 0.830666244, 0.300569803, 0.468669832)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2742 | + | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) |
2743 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.53162372, 0.100231051, -4.13375892e-06, 0.970351577, 0.241698042, -6.85453415e-07, -0.241698056, 0.970351517, -6.14382225e-06, -8.94069672e-07, 6.11692667e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2743 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) |
2744 | - | RH.C0=clerp(RH.C0,CFrame.new(0.500023007, -1.80007105+.1*math.cos(sin/25), -5.93066216e-05, 0.528373897, 0, -0.849011838, 0, 1, 0, 0.849011838, 0, 0.528373897)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2744 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) |
2745 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.500042558, -1.80007105+.1*math.cos(sin/25), -7.36862421e-05, 0.625953257, 0, -0.779860556, 0, 1, 0, 0.779860556, 0, 0.625953257)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2745 | + | RH.C0=clerp(RH.C0,RHC0,.3) |
2746 | LH.C0=clerp(LH.C0,LHC0,.3) | |
2747 | - | attack2=false |
2747 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2748 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2749 | ]]-- | |
2750 | - | local doing=false |
2750 | + | Footsteps:Play() |
2751 | - | function Skillone() |
2751 | + | Footsteps2:Stop() |
2752 | - | attack=true |
2752 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3) |
2753 | Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3) | |
2754 | - | if unleashed==false then |
2754 | + | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) |
2755 | RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
2756 | - | if choice==1 then |
2756 | + | LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) |
2757 | - | --sounds(Root,"588734356",1,1.8) |
2757 | + | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) |
2758 | - | sounds(Root,"588736245",1,1.4) |
2758 | + | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) |
2759 | - | Effect(e,col[1],Root.CFrame*CFrame.new(0,-2,0),1,2,1,1,0,1,.065,"FileMesh",2,math.random(-10,10),"20329976") |
2759 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2760 | - | Effect(e,col[2],Root.CFrame*CFrame.new(0,-2,0),1,2,1,1.8,0,1.8,.065,"FileMesh",2,math.random(-10,10),"20329976") |
2760 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2) |
2761 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2) | |
2762 | - | Root.Anchored=true |
2762 | + | |
2763 | - | hum.WalkSpeed=0 |
2763 | + | elseif torvel>=22 and hitfloor~=nil then |
2764 | - | hum.JumpPower=0 |
2764 | + | Anim="Run" |
2765 | - | --hum.AutoRotate=false |
2765 | + | change=1 |
2766 | - | for i=0,1.1,0.12 do |
2766 | + | |
2767 | Footsteps:Stop() | |
2768 | - | for _,v in pairs(m:children()) do |
2768 | + | Footsteps2:Play() |
2769 | - | if v:IsA("BasePart") then |
2769 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) |
2770 | - | v.Transparency=i |
2770 | + | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) |
2771 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
2772 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
2773 | - | for _,v in pairs(chr:children()) do |
2773 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) |
2774 | - | if v:IsA("BasePart") and v.Name~=Root.Name then |
2774 | + | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) |
2775 | - | v.Transparency=i |
2775 | + | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) |
2776 | - | if v.Name=="Head" and v:findFirstChildOfClass("Decal")~=nil then |
2776 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) |
2777 | - | v:findFirstChildOfClass("Decal").Transparency=i |
2777 | + | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2) |
2778 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2) | |
2779 | - | elseif v:IsA("Accessory") then |
2779 | + | |
2780 | - | v.Handle.Transparency=i |
2780 | + | |
2781 | end | |
2782 | fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true) | |
2783 | - | for _,v in pairs(Visss:children()) do |
2783 | + | fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]" |
2784 | - | if v:IsA("Frame") then |
2784 | + | if mana>=100 then |
2785 | - | v.BackgroundTransparency=i |
2785 | + | mana=100 |
2786 | else | |
2787 | if mananum<=8 then | |
2788 | - | RJ.C0=clerp(RJ.C0,CFrame.new(8.04073818e-18, -0.171673298, -5.39911079, 1, -3.36414918e-17, -3.25884114e-17, -4.68375339e-17, 0.718259215, 0.695775628, 0, -0.695775628, 0.718259215)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2788 | + | mananum=mananum+1 |
2789 | - | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.46953106, 0.131826505, 1, 0, 0, 0, 0.974297523, -0.225265354, 0, 0.225265354, 0.974297523)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2789 | + | |
2790 | - | RS.C0=clerp(RS.C0,CFrame.new(1.62392759, 0.0303899646, 0.307594776, 0.963093758, -0.269166172, 1.61457979e-06, 0.240263328, 0.859680355, 0.450802982, -0.121342286, -0.43416518, 0.892623544)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2790 | + | mananum=0 |
2791 | - | LS.C0=clerp(LS.C0,CFrame.new(-1.68626499, -0.0852672756, 0.377795845, 0.968706012, 0.24821119, 1.33306537e-06, -0.223841816, 0.873596013, 0.432116687, 0.107255027, -0.418594241, 0.901817739)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2791 | + | mana=mana+1 |
2792 | - | RH.C0=clerp(RH.C0,CFrame.new(0.502402782, -1.36833, -0.406561017, 0.999982774, 0.00105297484, -0.00578947924, 8.17072578e-06, 0.983610272, 0.180307716, 0.00588445039, -0.180304646, 0.983593285)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2792 | + | |
2793 | - | LH.C0=clerp(LH.C0,CFrame.new(-0.641488135, -2.06682062, 0.441533804, 0.976107895, 0.203549683, 0.0760326684, -0.216890514, 0.891615272, 0.39746803, 0.0131126046, -0.404462397, 0.914460659)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) |
2793 | + | |
2794 | end |