SHOW:
|
|
- or go back to the newest paste.
1 | --//====================================================\\-- | |
2 | --|| EDIT by 1x1x1x1x1x1x1x0x0x2 | |
3 | --\\====================================================//-- | |
4 | ||
5 | Player = game.Players.LocalPlayer | |
6 | Character = Player.Character | |
7 | local txt = Instance.new("BillboardGui", Character) | |
8 | txt.Adornee = Character.Head | |
9 | txt.Name = "_status" | |
10 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
11 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
12 | local text = Instance.new("TextLabel", txt) | |
13 | text.Size = UDim2.new(10, 0, 7, 0) | |
14 | text.FontSize = "Size24" | |
15 | text.TextScaled = true | |
16 | text.TextTransparency = 0 | |
17 | text.BackgroundTransparency = 1 | |
18 | text.TextTransparency = 0 | |
19 | text.TextStrokeTransparency = 0 | |
20 | text.Font = "Antique" | |
21 | text.TextStrokeColor3 = Color3.new(math.random(),math.random(),math.random()) | |
22 | text.Text = "Noob evil" | |
23 | print("Edited by 1x1x1x1x1x1x1x0x0x2") | |
24 | ||
25 | --//====================================================\\-- | |
26 | --|| CREATED BY SHACKLUSTER | |
27 | --\\====================================================//-- | |
28 | ||
29 | ||
30 | ||
31 | wait(0.2) | |
32 | - | sick.SoundId = "http://www.roblox.com/asset/?id=1562889257" |
32 | + | |
33 | ||
34 | ||
35 | Player = game:GetService("Players").LocalPlayer | |
36 | PlayerGui = Player.PlayerGui | |
37 | Cam = workspace.CurrentCamera | |
38 | Backpack = Player.Backpack | |
39 | Character = Player.Character | |
40 | Humanoid = Character.Humanoid | |
41 | Mouse = Player:GetMouse() | |
42 | RootPart = Character["HumanoidRootPart"] | |
43 | Torso = Character["Torso"] | |
44 | Head = Character["Head"] | |
45 | RightArm = Character["Right Arm"] | |
46 | LeftArm = Character["Left Arm"] | |
47 | RightLeg = Character["Right Leg"] | |
48 | LeftLeg = Character["Left Leg"] | |
49 | RootJoint = RootPart["RootJoint"] | |
50 | Neck = Torso["Neck"] | |
51 | RightShoulder = Torso["Right Shoulder"] | |
52 | LeftShoulder = Torso["Left Shoulder"] | |
53 | RightHip = Torso["Right Hip"] | |
54 | LeftHip = Torso["Left Hip"] | |
55 | local sick = Instance.new("Sound",Character) | |
56 | - | local NEWMESH = IT(MESH) |
56 | + | sick.SoundId = "http://www.roblox.com/asset/?id=276873987" |
57 | - | if MESH == "SpecialMesh" then |
57 | + | |
58 | - | NEWMESH.MeshType = MESHTYPE |
58 | + | |
59 | - | if MESHID ~= "nil" and MESHID ~= "" then |
59 | + | |
60 | - | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID |
60 | + | |
61 | IT = Instance.new | |
62 | - | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then |
62 | + | |
63 | - | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID |
63 | + | |
64 | RAD = math.rad | |
65 | C3 = Color3.new | |
66 | - | NEWMESH.Offset = OFFSET or VT(0, 0, 0) |
66 | + | |
67 | - | NEWMESH.Scale = SCALE |
67 | + | |
68 | - | NEWMESH.Parent = PARENT |
68 | + | |
69 | - | return NEWMESH |
69 | + | |
70 | COS = math.cos | |
71 | ACOS = math.acos | |
72 | SIN = math.sin | |
73 | - | local NEWPART = IT("Part") |
73 | + | |
74 | - | NEWPART.formFactor = FORMFACTOR |
74 | + | |
75 | - | NEWPART.Reflectance = REFLECTANCE |
75 | + | |
76 | - | NEWPART.Transparency = TRANSPARENCY |
76 | + | |
77 | - | NEWPART.CanCollide = false |
77 | + | |
78 | - | NEWPART.Locked = true |
78 | + | |
79 | - | NEWPART.Anchored = true |
79 | + | |
80 | - | if ANCHOR == false then |
80 | + | |
81 | - | NEWPART.Anchored = false |
81 | + | |
82 | UD2 = UDim2.new | |
83 | - | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) |
83 | + | |
84 | - | NEWPART.Name = NAME |
84 | + | |
85 | - | NEWPART.Size = SIZE |
85 | + | |
86 | - | NEWPART.Position = Torso.Position |
86 | + | |
87 | - | NEWPART.Material = MATERIAL |
87 | + | |
88 | - | NEWPART:BreakJoints() |
88 | + | |
89 | - | NEWPART.Parent = PARENT |
89 | + | |
90 | - | return NEWPART |
90 | + | |
91 | MRANDOM = math.random | |
92 | FLOOR = math.floor | |
93 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
94 | - | --|| CUSTOMIZATION |
94 | + | local NEWMESH = IT(MESH) |
95 | if MESH == "SpecialMesh" then | |
96 | NEWMESH.MeshType = MESHTYPE | |
97 | if MESHID ~= "nil" and MESHID ~= "" then | |
98 | - | Animation_Speed = 1 |
98 | + | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID |
99 | end | |
100 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
101 | - | local Speed = 36 |
101 | + | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID |
102 | end | |
103 | end | |
104 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
105 | - | --|| END OF CUSTOMIZATION |
105 | + | NEWMESH.Scale = SCALE |
106 | NEWMESH.Parent = PARENT | |
107 | return NEWMESH | |
108 | - | local function weldBetween(a, b) |
108 | + | |
109 | - | local weldd = Instance.new("ManualWeld") |
109 | + | |
110 | - | weldd.Part0 = a |
110 | + | |
111 | - | weldd.Part1 = b |
111 | + | local NEWPART = IT("Part") |
112 | - | weldd.C0 = CFrame.new() |
112 | + | NEWPART.formFactor = FORMFACTOR |
113 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
113 | + | NEWPART.Reflectance = REFLECTANCE |
114 | - | weldd.Parent = a |
114 | + | NEWPART.Transparency = TRANSPARENCY |
115 | - | return weldd |
115 | + | NEWPART.CanCollide = false |
116 | NEWPART.Locked = true | |
117 | NEWPART.Anchored = true | |
118 | if ANCHOR == false then | |
119 | - | --|| USEFUL VALUES |
119 | + | NEWPART.Anchored = false |
120 | end | |
121 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
122 | NEWPART.Name = NAME | |
123 | NEWPART.Size = SIZE | |
124 | NEWPART.Position = Torso.Position | |
125 | NEWPART.Material = MATERIAL | |
126 | NEWPART:BreakJoints() | |
127 | NEWPART.Parent = PARENT | |
128 | return NEWPART | |
129 | end | |
130 | ||
131 | --//=================================\\ | |
132 | --|| CUSTOMIZATION | |
133 | --\\=================================// | |
134 | ||
135 | Player_Size = 1 --Size of the player. | |
136 | Animation_Speed = 3 | |
137 | - | local CHANGE = 1 / Animation_Speed |
137 | + | |
138 | ||
139 | local Speed = 35 | |
140 | local Effects2 = {} | |
141 | ||
142 | --//=================================\\ | |
143 | --|| END OF CUSTOMIZATION | |
144 | --\\=================================// | |
145 | ||
146 | local function weldBetween(a, b) | |
147 | local weldd = Instance.new("ManualWeld") | |
148 | weldd.Part0 = a | |
149 | weldd.Part1 = b | |
150 | weldd.C0 = CFrame.new() | |
151 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
152 | weldd.Parent = a | |
153 | return weldd | |
154 | end | |
155 | ||
156 | --//=================================\\ | |
157 | --|| USEFUL VALUES | |
158 | --\\=================================// | |
159 | ||
160 | Player_Size = 1 --Size of the player. | |
161 | - | local SKILLTEXTCOLOR = C3(0,255/255,0) |
161 | + | Animation_Speed = 3 |
162 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
163 | ||
164 | local Speed = 200 | |
165 | local Effects2 = {} | |
166 | ||
167 | --//=================================\\ | |
168 | --|| END OF CUSTOMIZATION | |
169 | --\\=================================// | |
170 | ||
171 | local function weldBetween(a, b) | |
172 | local weldd = Instance.new("ManualWeld") | |
173 | weldd.Part0 = a | |
174 | weldd.Part1 = b | |
175 | weldd.C0 = CFrame.new() | |
176 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
177 | weldd.Parent = a | |
178 | return weldd | |
179 | end | |
180 | ||
181 | --//=================================\\ | |
182 | --|| USEFUL VALUES | |
183 | --\\=================================// | |
184 | - | tf = tf + s |
184 | + | |
185 | - | if tf >= frame then |
185 | + | |
186 | - | if allowframeloss then |
186 | + | |
187 | - | script.ArtificialHB:Fire() |
187 | + | |
188 | - | lastframe = tick() |
188 | + | |
189 | local CHANGEDEFENSE = 0 | |
190 | - | for i = 1, math.floor(tf / frame) do |
190 | + | |
191 | - | script.ArtificialHB:Fire() |
191 | + | |
192 | local ANIM = "Idle" | |
193 | - | lastframe = tick() |
193 | + | |
194 | local EQUIPPED = false | |
195 | - | if tossremainder then |
195 | + | |
196 | - | tf = 0 |
196 | + | |
197 | local Rooted = false | |
198 | - | tf = tf - frame * math.floor(tf / frame) |
198 | + | |
199 | local KEYHOLD = false | |
200 | local CHANGE = 2 / Animation_Speed | |
201 | local WALKINGANIM = false | |
202 | local WALK = 0 | |
203 | local VALUE1 = false | |
204 | local VALUE2 = false | |
205 | local ROBLOXIDLEANIMATION = IT("Animation") | |
206 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
207 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
208 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
209 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
210 | WEAPONGUI.Name = "Weapon GUI" | |
211 | - | --|| SOME FUNCTIONS |
211 | + | |
212 | Weapon.Name = "Adds" | |
213 | local HITFLOOR = nil | |
214 | local Effects = IT("Folder", Weapon) | |
215 | - | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
215 | + | |
216 | local ANIMATOR = Humanoid.Animator | |
217 | local ANIMATE = Character.Animate | |
218 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
219 | - | if NUMBER >= 0 then |
219 | + | |
220 | - | NUMBER = 0 |
220 | + | |
221 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
222 | - | return NUMBER |
222 | + | |
223 | ||
224 | local SKILLTEXTCOLOR = C3(239/255, 184/255, 56/255) | |
225 | ||
226 | - | if NUMBER <= 0 then |
226 | + | |
227 | - | NUMBER = 0 |
227 | + | |
228 | ||
229 | - | return NUMBER |
229 | + | |
230 | --//=================================\\ | |
231 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
232 | --\\=================================// | |
233 | - | if NUMBER == 0 or NUMBER == nil then |
233 | + | |
234 | - | ArtificialHB.Event:wait() |
234 | + | |
235 | ArtificialHB.Name = "ArtificialHB" | |
236 | - | for i = 1, NUMBER do |
236 | + | |
237 | - | ArtificialHB.Event:wait() |
237 | + | |
238 | ||
239 | frame = Frame_Speed | |
240 | tf = 0 | |
241 | allowframeloss = false | |
242 | tossremainder = false | |
243 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
243 | + | |
244 | - | local trace = m00 + m11 + m22 |
244 | + | |
245 | - | if trace > 0 then |
245 | + | |
246 | - | local s = math.sqrt(1 + trace) |
246 | + | |
247 | - | local recip = 0.5 / s |
247 | + | tf = tf + s |
248 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
248 | + | if tf >= frame then |
249 | if allowframeloss then | |
250 | - | local i = 0 |
250 | + | script.ArtificialHB:Fire() |
251 | - | if m11 > m00 then |
251 | + | lastframe = tick() |
252 | - | i = 1 |
252 | + | else |
253 | for i = 1, math.floor(tf / frame) do | |
254 | - | if m22 > (i == 0 and m00 or m11) then |
254 | + | script.ArtificialHB:Fire() |
255 | - | i = 2 |
255 | + | end |
256 | lastframe = tick() | |
257 | - | if i == 0 then |
257 | + | end |
258 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
258 | + | if tossremainder then |
259 | - | local recip = 0.5 / s |
259 | + | tf = 0 |
260 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
260 | + | else |
261 | - | elseif i == 1 then |
261 | + | tf = tf - frame * math.floor(tf / frame) |
262 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
262 | + | end |
263 | - | local recip = 0.5 / s |
263 | + | end |
264 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
264 | + | |
265 | - | elseif i == 2 then |
265 | + | |
266 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
266 | + | |
267 | - | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
267 | + | |
268 | ||
269 | ||
270 | ||
271 | ||
272 | ||
273 | - | local xs, ys, zs = x + x, y + y, z + z |
273 | + | |
274 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
274 | + | --|| SOME FUNCTIONS |
275 | - | local xx = x * xs |
275 | + | |
276 | - | local xy = x * ys |
276 | + | |
277 | - | local xz = x * zs |
277 | + | |
278 | - | local yy = y * ys |
278 | + | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
279 | - | local yz = y * zs |
279 | + | |
280 | - | local zz = z * zs |
280 | + | |
281 | - | 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)) |
281 | + | |
282 | if NUMBER >= 0 then | |
283 | NUMBER = 0 | |
284 | end | |
285 | - | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
285 | + | return NUMBER |
286 | - | local startInterp, finishInterp; |
286 | + | |
287 | - | if cosTheta >= 0.0001 then |
287 | + | |
288 | - | if (1 - cosTheta) > 0.0001 then |
288 | + | |
289 | - | local theta = ACOS(cosTheta) |
289 | + | if NUMBER <= 0 then |
290 | - | local invSinTheta = 1 / SIN(theta) |
290 | + | NUMBER = 0 |
291 | - | startInterp = SIN((1 - t) * theta) * invSinTheta |
291 | + | end |
292 | - | finishInterp = SIN(t * theta) * invSinTheta |
292 | + | return NUMBER |
293 | end | |
294 | - | startInterp = 1 - t |
294 | + | |
295 | - | finishInterp = t |
295 | + | |
296 | if NUMBER == 0 or NUMBER == nil then | |
297 | ArtificialHB.Event:wait() | |
298 | - | if (1 + cosTheta) > 0.0001 then |
298 | + | else |
299 | - | local theta = ACOS(-cosTheta) |
299 | + | for i = 1, NUMBER do |
300 | - | local invSinTheta = 1 / SIN(theta) |
300 | + | ArtificialHB.Event:wait() |
301 | - | startInterp = SIN((t - 1) * theta) * invSinTheta |
301 | + | end |
302 | - | finishInterp = SIN(t * theta) * invSinTheta |
302 | + | end |
303 | end | |
304 | - | startInterp = t - 1 |
304 | + | |
305 | - | finishInterp = t |
305 | + | |
306 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
307 | local trace = m00 + m11 + m22 | |
308 | - | 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 |
308 | + | if trace > 0 then |
309 | local s = math.sqrt(1 + trace) | |
310 | local recip = 0.5 / s | |
311 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
312 | - | local qa = {QuaternionFromCFrame(a)} |
312 | + | else |
313 | - | local qb = {QuaternionFromCFrame(b)} |
313 | + | local i = 0 |
314 | - | local ax, ay, az = a.x, a.y, a.z |
314 | + | if m11 > m00 then |
315 | - | local bx, by, bz = b.x, b.y, b.z |
315 | + | i = 1 |
316 | - | local _t = 1 - t |
316 | + | end |
317 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
317 | + | if m22 > (i == 0 and m00 or m11) then |
318 | i = 2 | |
319 | end | |
320 | if i == 0 then | |
321 | - | local frame = IT("Frame") |
321 | + | local s = math.sqrt(m00 - m11 - m22 + 1) |
322 | - | frame.BackgroundTransparency = TRANSPARENCY |
322 | + | local recip = 0.5 / s |
323 | - | frame.BorderSizePixel = BORDERSIZEPIXEL |
323 | + | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
324 | - | frame.Position = POSITION |
324 | + | elseif i == 1 then |
325 | - | frame.Size = SIZE |
325 | + | local s = math.sqrt(m11 - m22 - m00 + 1) |
326 | - | frame.BackgroundColor3 = COLOR |
326 | + | local recip = 0.5 / s |
327 | - | frame.BorderColor3 = BORDERCOLOR |
327 | + | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
328 | - | frame.Name = NAME |
328 | + | elseif i == 2 then |
329 | - | frame.Parent = PARENT |
329 | + | local s = math.sqrt(m22 - m00 - m11 + 1) |
330 | - | return frame |
330 | + | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
331 | end | |
332 | end | |
333 | end | |
334 | - | local label = IT("TextLabel") |
334 | + | |
335 | - | label.BackgroundTransparency = 1 |
335 | + | |
336 | - | label.Size = UD2(1, 0, 1, 0) |
336 | + | local xs, ys, zs = x + x, y + y, z + z |
337 | - | label.Position = UD2(0, 0, 0, 0) |
337 | + | local wx, wy, wz = w * xs, w * ys, w * zs |
338 | - | label.TextColor3 = TEXTCOLOR |
338 | + | local xx = x * xs |
339 | - | label.TextStrokeTransparency = STROKETRANSPARENCY |
339 | + | local xy = x * ys |
340 | - | label.TextTransparency = TRANSPARENCY |
340 | + | local xz = x * zs |
341 | - | label.FontSize = TEXTFONTSIZE |
341 | + | local yy = y * ys |
342 | - | label.Font = TEXTFONT |
342 | + | local yz = y * zs |
343 | - | label.BorderSizePixel = BORDERSIZEPIXEL |
343 | + | local zz = z * zs |
344 | - | label.TextScaled = false |
344 | + | 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)) |
345 | - | label.Text = TEXT |
345 | + | |
346 | - | label.Name = NAME |
346 | + | |
347 | - | label.Parent = PARENT |
347 | + | |
348 | - | return label |
348 | + | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
349 | local startInterp, finishInterp; | |
350 | if cosTheta >= 0.0001 then | |
351 | if (1 - cosTheta) > 0.0001 then | |
352 | - | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 |
352 | + | local theta = ACOS(cosTheta) |
353 | local invSinTheta = 1 / SIN(theta) | |
354 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
355 | finishInterp = SIN(t * theta) * invSinTheta | |
356 | else | |
357 | - | local NEWWELD = IT(TYPE) |
357 | + | startInterp = 1 - t |
358 | - | NEWWELD.Part0 = PART0 |
358 | + | finishInterp = t |
359 | - | NEWWELD.Part1 = PART1 |
359 | + | end |
360 | - | NEWWELD.C0 = C0 |
360 | + | else |
361 | - | NEWWELD.C1 = C1 |
361 | + | if (1 + cosTheta) > 0.0001 then |
362 | - | NEWWELD.Parent = PARENT |
362 | + | local theta = ACOS(-cosTheta) |
363 | - | return NEWWELD |
363 | + | local invSinTheta = 1 / SIN(theta) |
364 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
365 | finishInterp = SIN(t * theta) * invSinTheta | |
366 | else | |
367 | - | local NEWSOUND = nil |
367 | + | startInterp = t - 1 |
368 | - | coroutine.resume(coroutine.create(function() |
368 | + | finishInterp = t |
369 | - | NEWSOUND = IT("Sound", PARENT) |
369 | + | end |
370 | - | NEWSOUND.Volume = VOLUME |
370 | + | end |
371 | - | NEWSOUND.Pitch = PITCH |
371 | + | 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 |
372 | - | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID |
372 | + | |
373 | - | Swait() |
373 | + | |
374 | - | NEWSOUND:play() |
374 | + | |
375 | - | game:GetService("Debris"):AddItem(NEWSOUND, 10) |
375 | + | local qa = {QuaternionFromCFrame(a)} |
376 | - | end)) |
376 | + | local qb = {QuaternionFromCFrame(b)} |
377 | - | return NEWSOUND |
377 | + | local ax, ay, az = a.x, a.y, a.z |
378 | local bx, by, bz = b.x, b.y, b.z | |
379 | local _t = 1 - t | |
380 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
381 | - | local right = top:Cross(back) |
381 | + | |
382 | - | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) |
382 | + | |
383 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
384 | local frame = IT("Frame") | |
385 | frame.BackgroundTransparency = TRANSPARENCY | |
386 | - | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Dark red"), "Effect", VT(0,0,0)) |
386 | + | frame.BorderSizePixel = BORDERSIZEPIXEL |
387 | - | local mesh = IT("SpecialMesh",wave) |
387 | + | frame.Position = POSITION |
388 | - | mesh.MeshType = "FileMesh" |
388 | + | frame.Size = SIZE |
389 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" |
389 | + | frame.BackgroundColor3 = COLOR |
390 | - | mesh.Scale = SIZE |
390 | + | frame.BorderColor3 = BORDERCOLOR |
391 | - | mesh.Offset = VT(0,0,-SIZE.X/8) |
391 | + | frame.Name = NAME |
392 | - | wave.CFrame = CFRAME |
392 | + | frame.Parent = PARENT |
393 | - | coroutine.resume(coroutine.create(function(PART) |
393 | + | return frame |
394 | - | for i = 1, WAIT do |
394 | + | |
395 | - | Swait() |
395 | + | |
396 | - | mesh.Scale = mesh.Scale + GROW |
396 | + | |
397 | - | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) |
397 | + | local label = IT("TextLabel") |
398 | - | if DOESROT == true then |
398 | + | label.BackgroundTransparency = 1 |
399 | - | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) |
399 | + | label.Size = UD2(1, 0, 1, 0) |
400 | label.Position = UD2(0, 0, 0, 0) | |
401 | - | wave.Transparency = wave.Transparency + (0.5/WAIT) |
401 | + | label.TextColor3 = TEXTCOLOR |
402 | - | if wave.Transparency > 0.99 then |
402 | + | label.TextStrokeTransparency = STROKETRANSPARENCY |
403 | - | wave:remove() |
403 | + | label.TextTransparency = TRANSPARENCY |
404 | label.FontSize = TEXTFONTSIZE | |
405 | label.Font = TEXTFONT | |
406 | - | end)) |
406 | + | label.BorderSizePixel = BORDERSIZEPIXEL |
407 | label.TextScaled = false | |
408 | label.Text = TEXT | |
409 | label.Name = NAME | |
410 | - | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Black"), "Effect", VT(0,0,0)) |
410 | + | label.Parent = PARENT |
411 | - | local mesh = IT("SpecialMesh",wave) |
411 | + | return label |
412 | - | mesh.MeshType = "FileMesh" |
412 | + | |
413 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" |
413 | + | |
414 | - | mesh.Scale = SIZE |
414 | + | |
415 | - | --mesh.Offset = VT(0,0,-SIZE.X/8) |
415 | + | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 |
416 | - | wave.CFrame = CFRAME |
416 | + | |
417 | - | coroutine.resume(coroutine.create(function(PART) |
417 | + | |
418 | - | for i = 1, WAIT do |
418 | + | |
419 | - | Swait() |
419 | + | |
420 | - | mesh.Scale = mesh.Scale + GROW |
420 | + | local NEWWELD = IT(TYPE) |
421 | - | --mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) |
421 | + | NEWWELD.Part0 = PART0 |
422 | - | if DOESROT == true then |
422 | + | NEWWELD.Part1 = PART1 |
423 | - | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) |
423 | + | NEWWELD.C0 = C0 |
424 | NEWWELD.C1 = C1 | |
425 | - | wave.Transparency = wave.Transparency + (0.5/WAIT) |
425 | + | NEWWELD.Parent = PARENT |
426 | - | if wave.Transparency > 0.99 then |
426 | + | return NEWWELD |
427 | - | wave:remove() |
427 | + | |
428 | ||
429 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
430 | - | end)) |
430 | + | local NEWSOUND = nil |
431 | coroutine.resume(coroutine.create(function() | |
432 | NEWSOUND = IT("Sound", PARENT) | |
433 | NEWSOUND.Volume = VOLUME | |
434 | - | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Dark red"), "Effect", VT(0,0,0)) |
434 | + | NEWSOUND.Pitch = PITCH |
435 | - | local mesh = IT("SpecialMesh",wave) |
435 | + | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID |
436 | - | mesh.MeshType = "FileMesh" |
436 | + | Swait() |
437 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" |
437 | + | NEWSOUND:play() |
438 | - | mesh.Scale = SIZE |
438 | + | game:GetService("Debris"):AddItem(NEWSOUND, 10) |
439 | - | wave.CFrame = CFRAME |
439 | + | end)) |
440 | - | coroutine.resume(coroutine.create(function(PART) |
440 | + | return NEWSOUND |
441 | - | for i = 1, WAIT do |
441 | + | |
442 | - | Swait() |
442 | + | |
443 | - | mesh.Scale = mesh.Scale + GROW |
443 | + | |
444 | - | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) |
444 | + | local right = top:Cross(back) |
445 | - | if DOESROT == true then |
445 | + | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) |
446 | - | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) |
446 | + | |
447 | ||
448 | - | wave.Transparency = wave.Transparency + (0.5/WAIT) |
448 | + | |
449 | - | if wave.Transparency > 0.99 then |
449 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) |
450 | - | wave:remove() |
450 | + | local mesh = IT("SpecialMesh",wave) |
451 | mesh.MeshType = "FileMesh" | |
452 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
453 | - | end)) |
453 | + | mesh.Scale = SIZE |
454 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
455 | wave.CFrame = CFRAME | |
456 | coroutine.resume(coroutine.create(function(PART) | |
457 | for i = 1, WAIT do | |
458 | - | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Black"), "Effect", VT(1,1,1), true) |
458 | + | Swait() |
459 | - | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) |
459 | + | mesh.Scale = mesh.Scale + GROW |
460 | - | wave.CFrame = CFRAME |
460 | + | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) |
461 | - | coroutine.resume(coroutine.create(function(PART) |
461 | + | if DOESROT == true then |
462 | - | for i = 1, WAIT do |
462 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) |
463 | - | Swait() |
463 | + | end |
464 | - | mesh.Scale = mesh.Scale * GROW |
464 | + | wave.Transparency = wave.Transparency + (0.5/WAIT) |
465 | - | wave.Transparency = wave.Transparency + (0.5/WAIT) |
465 | + | if wave.Transparency > 0.99 then |
466 | - | if wave.Transparency > 0.99 then |
466 | + | wave:remove() |
467 | - | wave:remove() |
467 | + | end |
468 | end | |
469 | end)) | |
470 | - | end)) |
470 | + | |
471 | ||
472 | function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
473 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
474 | - | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Black"), "Effect", VT(1,1,1), true) |
474 | + | local mesh = IT("SpecialMesh",wave) |
475 | - | local mesh = IT("SpecialMesh",wave) |
475 | + | mesh.MeshType = "FileMesh" |
476 | - | mesh.MeshType = "Sphere" |
476 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" |
477 | - | mesh.Scale = SIZE |
477 | + | mesh.Scale = SIZE |
478 | - | mesh.Offset = VT(0,0,0) |
478 | + | --mesh.Offset = VT(0,0,-SIZE.X/8) |
479 | - | wave.CFrame = CFRAME |
479 | + | wave.CFrame = CFRAME |
480 | - | coroutine.resume(coroutine.create(function(PART) |
480 | + | coroutine.resume(coroutine.create(function(PART) |
481 | - | for i = 1, WAIT do |
481 | + | for i = 1, WAIT do |
482 | - | Swait() |
482 | + | Swait() |
483 | - | mesh.Scale = mesh.Scale + GROW |
483 | + | mesh.Scale = mesh.Scale + GROW |
484 | - | wave.Transparency = wave.Transparency + (1/WAIT) |
484 | + | --mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) |
485 | - | if wave.Transparency > 0.99 then |
485 | + | if DOESROT == true then |
486 | - | wave:remove() |
486 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) |
487 | end | |
488 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
489 | - | end)) |
489 | + | if wave.Transparency > 0.99 then |
490 | wave:remove() | |
491 | end | |
492 | end | |
493 | - | if TYPE == "Cyl" then |
493 | + | end)) |
494 | - | local MSH = IT("CylinderMesh",PART) |
494 | + | |
495 | - | elseif TYPE == "Ball" then |
495 | + | |
496 | - | local MSH = IT("SpecialMesh",PART) |
496 | + | |
497 | - | MSH.MeshType = "Sphere" |
497 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) |
498 | - | elseif TYPE == "Wedge" then |
498 | + | local mesh = IT("SpecialMesh",wave) |
499 | - | local MSH = IT("SpecialMesh",PART) |
499 | + | mesh.MeshType = "FileMesh" |
500 | - | MSH.MeshType = "Wedge" |
500 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" |
501 | mesh.Scale = SIZE | |
502 | wave.CFrame = CFRAME | |
503 | coroutine.resume(coroutine.create(function(PART) | |
504 | for i = 1, WAIT do | |
505 | - | if FLOOR ~= nil then |
505 | + | Swait() |
506 | - | coroutine.resume(coroutine.create(function() |
506 | + | mesh.Scale = mesh.Scale + GROW |
507 | - | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) |
507 | + | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) |
508 | - | PART.CFrame = CF(POSITION) |
508 | + | if DOESROT == true then |
509 | - | for i = 1, 45 do |
509 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) |
510 | - | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) |
510 | + | end |
511 | - | RingPiece.Material = FLOOR.Material |
511 | + | wave.Transparency = wave.Transparency + (0.5/WAIT) |
512 | - | RingPiece.Color = FLOOR.Color |
512 | + | if wave.Transparency > 0.99 then |
513 | - | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) |
513 | + | wave:remove() |
514 | - | Debris:AddItem(RingPiece,SWAIT/100) |
514 | + | end |
515 | end | |
516 | - | PART:remove() |
516 | + | end)) |
517 | - | end)) |
517 | + | |
518 | ||
519 | ||
520 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
521 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
522 | - | for i, v in pairs(Table) do |
522 | + | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) |
523 | - | if string.find(string.lower(String), string.lower(v)) then |
523 | + | wave.CFrame = CFRAME |
524 | - | return true |
524 | + | coroutine.resume(coroutine.create(function(PART) |
525 | for i = 1, WAIT do | |
526 | Swait() | |
527 | - | return false |
527 | + | mesh.Scale = mesh.Scale * GROW |
528 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
529 | if wave.Transparency > 0.99 then | |
530 | wave:remove() | |
531 | - | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} |
531 | + | end |
532 | - | if Hit and Hit.Parent then |
532 | + | end |
533 | - | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then |
533 | + | end)) |
534 | - | return true |
534 | + | |
535 | ||
536 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
537 | - | return false |
537 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) |
538 | local mesh = IT("SpecialMesh",wave) | |
539 | mesh.MeshType = "Sphere" | |
540 | mesh.Scale = SIZE | |
541 | mesh.Offset = VT(0,0,0) | |
542 | wave.CFrame = CFRAME | |
543 | - | local Direction = CFrame.new(StartPos, Vec).lookVector |
543 | + | coroutine.resume(coroutine.create(function(PART) |
544 | - | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) |
544 | + | for i = 1, WAIT do |
545 | - | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) |
545 | + | Swait() |
546 | - | if RayHit and CheckIntangible(RayHit) then |
546 | + | mesh.Scale = mesh.Scale + GROW |
547 | - | if DelayIfHit then |
547 | + | wave.Transparency = wave.Transparency + (1/WAIT) |
548 | - | wait() |
548 | + | if wave.Transparency > 0.99 then |
549 | wave:remove() | |
550 | - | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) |
550 | + | end |
551 | end | |
552 | - | return RayHit, RayPos, RayNormal |
552 | + | end)) |
553 | end | |
554 | ||
555 | function MakeForm(PART,TYPE) | |
556 | - | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) |
556 | + | if TYPE == "Cyl" then |
557 | local MSH = IT("CylinderMesh",PART) | |
558 | elseif TYPE == "Ball" then | |
559 | local MSH = IT("SpecialMesh",PART) | |
560 | MSH.MeshType = "Sphere" | |
561 | elseif TYPE == "Wedge" then | |
562 | local MSH = IT("SpecialMesh",PART) | |
563 | - | local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) |
563 | + | MSH.MeshType = "Wedge" |
564 | end | |
565 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Dark red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) |
565 | + | |
566 | ||
567 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
568 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
568 | + | if FLOOR ~= nil then |
569 | coroutine.resume(coroutine.create(function() | |
570 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
570 | + | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) |
571 | PART.CFrame = CF(POSITION) | |
572 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
572 | + | for i = 1, 45 do |
573 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
574 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
574 | + | RingPiece.Material = FLOOR.Material |
575 | RingPiece.Color = FLOOR.Color | |
576 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
577 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) |
577 | + | Debris:AddItem(RingPiece,SWAIT/100) |
578 | end | |
579 | - | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) |
579 | + | PART:remove() |
580 | end)) | |
581 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
581 | + | end |
582 | end | |
583 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
583 | + | |
584 | function CheckTableForString(Table, String) | |
585 | - | local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
585 | + | for i, v in pairs(Table) do |
586 | if string.find(string.lower(String), string.lower(v)) then | |
587 | return true | |
588 | end | |
589 | - | if c.ClassName == "Part" then |
589 | + | end |
590 | - | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
590 | + | return false |
591 | end | |
592 | ||
593 | function CheckIntangible(Hit) | |
594 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
595 | if Hit and Hit.Parent then | |
596 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
597 | - | ATTACK = true |
597 | + | return true |
598 | end | |
599 | end | |
600 | return false | |
601 | end | |
602 | ||
603 | Debris = game:GetService("Debris") | |
604 | ||
605 | - | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Death's Agreement", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1") |
605 | + | |
606 | - | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Grab Time", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2") |
606 | + | local Direction = CFrame.new(StartPos, Vec).lookVector |
607 | - | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Max Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3") |
607 | + | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) |
608 | - | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Green's Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4") |
608 | + | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) |
609 | if RayHit and CheckIntangible(RayHit) then | |
610 | if DelayIfHit then | |
611 | - | --|| DAMAGE FUNCTIONS |
611 | + | wait() |
612 | end | |
613 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
614 | - | function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) |
614 | + | end |
615 | - | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) |
615 | + | return RayHit, RayPos, RayNormal |
616 | - | STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) |
616 | + | |
617 | - | local BODYGYRO = IT("BodyGyro", STATPART) |
617 | + | |
618 | - | local BODYPOSITION = IT("BodyPosition", STATPART) |
618 | + | |
619 | - | BODYPOSITION.P = 2000 |
619 | + | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) |
620 | - | BODYPOSITION.D = 100 |
620 | + | |
621 | - | BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) |
621 | + | |
622 | - | BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) |
622 | + | |
623 | - | game:GetService("Debris"):AddItem(STATPART ,5) |
623 | + | |
624 | - | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) |
624 | + | |
625 | - | BILLBOARDGUI.Adornee = STATPART |
625 | + | |
626 | - | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) |
626 | + | local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) |
627 | - | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) |
627 | + | |
628 | - | BILLBOARDGUI.AlwaysOnTop = false |
628 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) |
629 | - | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) |
629 | + | |
630 | - | TEXTLABEL.BackgroundTransparency = 1 |
630 | + | |
631 | - | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) |
631 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
632 | - | TEXTLABEL.Text = TEXT |
632 | + | |
633 | - | TEXTLABEL.Font = "SciFi" |
633 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
634 | - | TEXTLABEL.FontSize="Size42" |
634 | + | |
635 | - | TEXTLABEL.TextColor3 = COLOR |
635 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
636 | - | TEXTLABEL.TextStrokeTransparency = 1 |
636 | + | |
637 | - | TEXTLABEL.TextScaled = true |
637 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) |
638 | - | TEXTLABEL.TextWrapped = true |
638 | + | |
639 | - | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) |
639 | + | |
640 | - | if LABELTYPE == "Normal" then |
640 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) |
641 | - | for i = 1, 30 do |
641 | + | |
642 | - | Swait() |
642 | + | local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) |
643 | - | STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0) |
643 | + | |
644 | - | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) |
644 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
645 | local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
646 | - | elseif LABELTYPE == "Debuff" then |
646 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
647 | - | for i = 1, 30 do |
647 | + | |
648 | - | Swait() |
648 | + | local part = CreatePart(3, Weapon, "Granite", 0, 0, "New Yeller", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) |
649 | - | STATPART.Position = STATPART.Position - VT(0, i/10 ,0) |
649 | + | |
650 | - | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) |
650 | + | |
651 | for _, c in pairs(Weapon:GetChildren()) do | |
652 | - | elseif LABELTYPE == "Shock" then |
652 | + | if c.ClassName == "Part" then |
653 | - | local ORIGIN = STATPART.Position |
653 | + | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
654 | - | for i = 1, 30 do |
654 | + | end |
655 | - | Swait() |
655 | + | |
656 | - | STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2)) |
656 | + | |
657 | - | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) |
657 | + | |
658 | ||
659 | Humanoid.Died:connect(function() | |
660 | - | THEPART.Parent = nil |
660 | + | ATTACK = true |
661 | - | end),STATPART, BODYPOSITION, TEXTLABEL) |
661 | + | |
662 | ||
663 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
664 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
665 | - | --|| DAMAGING |
665 | + | |
666 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
667 | ||
668 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Noob Agreement", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1") | |
669 | - | for i,v in ipairs(workspace:GetChildren()) do |
669 | + | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Noob Grab", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2") |
670 | - | local body = v:GetChildren() |
670 | + | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Noob Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3") |
671 | - | for part = 1, #body do |
671 | + | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Noob Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4") |
672 | - | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then |
672 | + | |
673 | - | if(body[part].Position - position).Magnitude < range then |
673 | + | |
674 | - | if v.ClassName == "Model" then |
674 | + | --|| DAMAGE FUNCTIONS |
675 | - | --v:BreakJoints() |
675 | + | |
676 | - | end |
676 | + | |
677 | - | local POS = position |
677 | + | function StatLabel(CFRAME, TEXT, COLOR) |
678 | - | coroutine.resume(coroutine.create(function() |
678 | + | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "", "Effect", VT()) |
679 | - | body[part].Anchored = true |
679 | + | STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5))) |
680 | - | body[part].Parent = Effects |
680 | + | local BODYGYRO = IT("BodyGyro", STATPART) |
681 | - | body[part].CanCollide = true |
681 | + | game:GetService("Debris"):AddItem(STATPART ,5) |
682 | - | local SIZE = body[part].Size |
682 | + | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) |
683 | - | body[part].Material = "Neon" |
683 | + | BILLBOARDGUI.Adornee = STATPART |
684 | - | CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10) |
684 | + | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) |
685 | - | for i = 1, 75 do |
685 | + | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) |
686 | - | Swait() |
686 | + | BILLBOARDGUI.AlwaysOnTop = false |
687 | - | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) |
687 | + | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) |
688 | - | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) |
688 | + | TEXTLABEL.BackgroundTransparency = 1 |
689 | - | end |
689 | + | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) |
690 | - | coroutine.resume(coroutine.create(function() |
690 | + | TEXTLABEL.Text = TEXT |
691 | - | while true do |
691 | + | TEXTLABEL.Font = SKILLFONT |
692 | - | Swait() |
692 | + | TEXTLABEL.FontSize="Size42" |
693 | - | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) |
693 | + | TEXTLABEL.TextColor3 = COLOR |
694 | - | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) |
694 | + | TEXTLABEL.TextStrokeTransparency = 0 |
695 | - | end |
695 | + | TEXTLABEL.TextScaled = true |
696 | - | end)) |
696 | + | TEXTLABEL.TextWrapped = true |
697 | - | body[part].Anchored = false |
697 | + | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) |
698 | - | body[part].Velocity = direction.lookVector*maxstrength |
698 | + | for i = 1, 50 do |
699 | - | end)) |
699 | + | Swait() |
700 | - | end |
700 | + | STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) |
701 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50) | |
702 | TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency | |
703 | - | if v.ClassName == "Part" then |
703 | + | end |
704 | - | if v.Anchored == false and (v.Position - position).Magnitude < range then |
704 | + | THEPART.Parent = nil |
705 | - | local POS = position |
705 | + | end),STATPART, TEXTLABEL) |
706 | - | coroutine.resume(coroutine.create(function() |
706 | + | |
707 | - | v.Anchored = true |
707 | + | |
708 | - | v.Parent = Effects |
708 | + | |
709 | - | local SIZE = v.Size |
709 | + | --|| DAMAGING |
710 | - | v.Material = "Neon" |
710 | + | |
711 | - | CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10) |
711 | + | |
712 | - | for i = 1, 75 do |
712 | + | |
713 | - | Swait() |
713 | + | for i,v in ipairs(workspace:GetChildren()) do |
714 | - | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) |
714 | + | local body = v:GetChildren() |
715 | - | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) |
715 | + | for part = 1, #body do |
716 | - | end |
716 | + | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then |
717 | - | coroutine.resume(coroutine.create(function() |
717 | + | if(body[part].Position - position).Magnitude < range then |
718 | - | while true do |
718 | + | if v.ClassName == "Model" then |
719 | - | Swait() |
719 | + | --v:BreakJoints() |
720 | - | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) |
720 | + | end |
721 | - | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) |
721 | + | local POS = position |
722 | - | end |
722 | + | coroutine.resume(coroutine.create(function() |
723 | - | end)) |
723 | + | body[part].Anchored = true |
724 | - | v.Anchored = false |
724 | + | body[part].Parent = Effects |
725 | - | v.Velocity = direction.lookVector*maxstrength |
725 | + | body[part].CanCollide = true |
726 | - | end)) |
726 | + | local SIZE = body[part].Size |
727 | body[part].Material = "Neon" | |
728 | CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10) | |
729 | for i = 1, 75 do | |
730 | Swait() | |
731 | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) | |
732 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
733 | - | --|| ATTACK FUNCTIONS AND STUFF |
733 | + | end |
734 | coroutine.resume(coroutine.create(function() | |
735 | while true do | |
736 | Swait() | |
737 | - | ATTACK = true |
737 | + | body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) |
738 | - | Rooted = false |
738 | + | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) |
739 | - | for i=0, 1, 0.1 / Animation_Speed do |
739 | + | end |
740 | - | Swait() |
740 | + | end)) |
741 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
741 | + | body[part].Anchored = false |
742 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
742 | + | body[part].Velocity = direction.lookVector*maxstrength |
743 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
743 | + | end)) |
744 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
744 | + | end |
745 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
745 | + | end |
746 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
746 | + | end |
747 | if v.ClassName == "Part" then | |
748 | - | ATTACK = false |
748 | + | if v.Anchored == false and (v.Position - position).Magnitude < range then |
749 | - | Rooted = false |
749 | + | local POS = position |
750 | coroutine.resume(coroutine.create(function() | |
751 | v.Anchored = true | |
752 | - | function DeathAgreement() |
752 | + | v.Parent = Effects |
753 | - | ATTACK = true |
753 | + | local SIZE = v.Size |
754 | - | Rooted = false |
754 | + | v.Material = "Neon" |
755 | - | local SPEED = Speed |
755 | + | CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10) |
756 | - | Speed = 10 |
756 | + | for i = 1, 75 do |
757 | - | CreateSound("416348742", RightArm, 10, 1.1) |
757 | + | Swait() |
758 | - | for i=0, 0, 0.1 / Animation_Speed do |
758 | + | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) |
759 | - | Swait() |
759 | + | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) |
760 | - | turnto(Mouse.Hit.p) |
760 | + | end |
761 | - | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15)) |
761 | + | coroutine.resume(coroutine.create(function() |
762 | - | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15)) |
762 | + | while true do |
763 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) |
763 | + | Swait() |
764 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) |
764 | + | v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) |
765 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
765 | + | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) |
766 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
766 | + | end |
767 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
767 | + | end)) |
768 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
768 | + | v.Anchored = false |
769 | v.Velocity = direction.lookVector*maxstrength | |
770 | - | for i=0, 0, 0.1 / Animation_Speed do |
770 | + | end)) |
771 | - | Swait() |
771 | + | end |
772 | - | turnto(Mouse.Hit.p) |
772 | + | end |
773 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) |
773 | + | end |
774 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) |
774 | + | |
775 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
775 | + | |
776 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
776 | + | |
777 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
777 | + | --|| ATTACK FUNCTIONS AND STUFF |
778 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
778 | + | |
779 | ||
780 | - | local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Lime green", "Punch", VT(50,50,50),false) |
780 | + | |
781 | - | PART.CFrame = RootPart.CFrame * CF(0,0,-25) |
781 | + | ATTACK = true |
782 | - | PART.Shape = "Ball" |
782 | + | Rooted = false |
783 | - | local bv = Instance.new("BodyVelocity") |
783 | + | for i=0, 1, 0.1 / Animation_Speed do |
784 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
784 | + | Swait() |
785 | - | bv.velocity = RootPart.CFrame.lookVector*600 |
785 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
786 | - | bv.Parent = PART |
786 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
787 | - | bv.Name = "PROJECTILEVELOCITY" |
787 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
788 | - | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(2.5,0.2,2.5)) |
788 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
789 | - | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(3,0.2,3)) |
789 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
790 | - | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(2,0.6,2)) |
790 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
791 | - | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(2.2,0.6,2.2)) |
791 | + | end |
792 | - | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) |
792 | + | ATTACK = false |
793 | - | coroutine.resume(coroutine.create(function() |
793 | + | Rooted = false |
794 | - | for i = 1, 10 do |
794 | + | |
795 | - | Swait() |
795 | + | |
796 | - | PART.Transparency = PART.Transparency + 0.2/10 |
796 | + | function GoldenPunch() |
797 | - | PART.Size = PART.Size + VT(5,5,5) |
797 | + | ATTACK = true |
798 | - | killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame) |
798 | + | Rooted = false |
799 | local SPEED = Speed | |
800 | - | PART:Destroy() |
800 | + | Speed = 99999 |
801 | - | end)) |
801 | + | CreateSound("169445572", RightArm, 10, 1.1) |
802 | - | for i=0, 1, 0.1 / Animation_Speed do |
802 | + | for i=0, 4, 0.1 / Animation_Speed do |
803 | - | Swait() |
803 | + | Swait() |
804 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) |
804 | + | turnto(Mouse.Hit.p) |
805 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) |
805 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) |
806 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
806 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) |
807 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) |
807 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
808 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) |
808 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
809 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) |
809 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
810 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
811 | - | Speed = SPEED |
811 | + | end |
812 | - | ATTACK = false |
812 | + | for i=0, 0.15, 0.1 / Animation_Speed do |
813 | - | Rooted = false |
813 | + | Swait() |
814 | turnto(Mouse.Hit.p) | |
815 | ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
816 | - | function GrabTime() |
816 | + | end |
817 | - | ATTACK = true |
817 | + | local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Gold", "Punch", VT(50,50,50),false) |
818 | - | Rooted = false |
818 | + | PART.CFrame = RootPart.CFrame * CF(0,0,-25) |
819 | - | local HASGRABBED = false |
819 | + | PART.Shape = "Ball" |
820 | - | local WELD = nil |
820 | + | local bv = Instance.new("BodyVelocity") |
821 | - | local TORS = nil |
821 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
822 | - | local hitting = FIST.Touched:connect(function(hit) |
822 | + | bv.velocity = RootPart.CFrame.lookVector*600 |
823 | - | if hit.Parent:FindFirstChild("Humanoid") then |
823 | + | bv.Parent = PART |
824 | - | if hit.Parent.Humanoid.Health ~= 0 then |
824 | + | bv.Name = "PROJECTILEVELOCITY" |
825 | - | UNANCHOR = false |
825 | + | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(2.5,0.2,2.5)) |
826 | - | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") |
826 | + | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(3,0.2,3)) |
827 | - | TORS.Anchored = true |
827 | + | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(2,0.6,2)) |
828 | - | TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0)) |
828 | + | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(2.2,0.6,2.2)) |
829 | - | WELD = weldBetween(RightArm,TORS) |
829 | + | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) |
830 | - | HASGRABBED = true |
830 | + | coroutine.resume(coroutine.create(function() |
831 | - | Rooted = true |
831 | + | for i = 1, 10 do |
832 | Swait() | |
833 | PART.Transparency = PART.Transparency + 0.2/10 | |
834 | - | end) |
834 | + | PART.Size = PART.Size + VT(5,5,5) |
835 | - | for i=0, 1, 0.1 / Animation_Speed do |
835 | + | killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame) |
836 | - | Swait() |
836 | + | end |
837 | - | if HASGRABBED == true then |
837 | + | PART:Destroy() |
838 | - | break |
838 | + | end)) |
839 | for i=0, 1, 0.1 / Animation_Speed do | |
840 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed) |
840 | + | Swait() |
841 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) |
841 | + | RANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) |
842 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) |
842 | + | end |
843 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) |
843 | + | Speed = SPEED |
844 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) |
844 | + | ATTACK = false |
845 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) |
845 | + | Rooted = false |
846 | end | |
847 | - | hitting:disconnect() |
847 | + | |
848 | - | if HASGRABBED == true then |
848 | + | function GoldenGrasp() |
849 | - | TORS.Anchored = false |
849 | + | ATTACK = true |
850 | Rooted = false | |
851 | - | for i=0, 2, 0.1 / Animation_Speed do |
851 | + | local HASGRABBED = false |
852 | - | Swait() |
852 | + | local WELD = nil |
853 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
853 | + | local TORS = nil |
854 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
854 | + | local hitting = FIST.Touched:connect(function(hit) |
855 | if hit.Parent:FindFirstChild("Humanoid") then | |
856 | if hit.Parent.Humanoid.Health ~= 0 then | |
857 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
857 | + | UNANCHOR = false |
858 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
858 | + | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") |
859 | TORS.Anchored = true | |
860 | - | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5)) |
860 | + | TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0)) |
861 | - | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6)) |
861 | + | WELD = weldBetween(RightArm,TORS) |
862 | - | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Sound", VT(0,0,0)) |
862 | + | HASGRABBED = true |
863 | - | SOUNDPART.CFrame = RootPart.CFrame |
863 | + | Rooted = true |
864 | - | Debris:AddItem(SOUNDPART,5) |
864 | + | end |
865 | - | CreateSound("357202073", SOUNDPART, 2, 1) |
865 | + | end |
866 | - | for i = 1, 15 do |
866 | + | end) |
867 | - | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15) |
867 | + | for i=0, 1, 0.1 / Animation_Speed do |
868 | Swait() | |
869 | - | for i=0, 2, 0.1 / Animation_Speed do |
869 | + | if HASGRABBED == true then |
870 | - | Swait() |
870 | + | break |
871 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) |
871 | + | end |
872 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
872 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed) |
873 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
874 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
875 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
876 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
877 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
878 | - | for i=0, 0.25, 0.1 / Animation_Speed do |
878 | + | end |
879 | - | Swait() |
879 | + | hitting:disconnect() |
880 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed) |
880 | + | if HASGRABBED == true then |
881 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed) |
881 | + | TORS.Anchored = false |
882 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
882 | + | |
883 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed) |
883 | + | for i=0, 2, 0.1 / Animation_Speed do |
884 | Swait() | |
885 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
886 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
887 | - | if HITFLOOR ~= nil then |
887 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
888 | - | CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85) |
888 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
889 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
890 | - | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) |
890 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
891 | - | WELD:remove() |
891 | + | end |
892 | - | for i = 1, 25 do |
892 | + | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5)) |
893 | - | Swait() |
893 | + | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6)) |
894 | - | killnearest(RootPart.Position,45,100,Torso.CFrame) |
894 | + | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0)) |
895 | - | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3)) |
895 | + | SOUNDPART.CFrame = RootPart.CFrame |
896 | - | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Lime green",VT(1,0.4,1)) |
896 | + | Debris:AddItem(SOUNDPART,5) |
897 | - | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Lime green",VT(2.3,0.3,2.3)) |
897 | + | CreateSound("1295446488", SOUNDPART, 2, 1) |
898 | - | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) |
898 | + | for i = 1, 15 do |
899 | - | Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Lime green", 1 + MRANDOM(1,30)/15) |
899 | + | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15) |
900 | end | |
901 | for i=0, 2, 0.1 / Animation_Speed do | |
902 | - | UNANCHOR = true |
902 | + | Swait() |
903 | - | ATTACK = false |
903 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) |
904 | - | Rooted = false |
904 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
905 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
906 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
907 | - | function MaxSpeed() |
907 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
908 | - | local ORIGIN = RootPart.Position |
908 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
909 | - | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) |
909 | + | end |
910 | - | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) |
910 | + | for i=0, 0.25, 0.1 / Animation_Speed do |
911 | - | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Sound", VT(0,0,0)) |
911 | + | Swait() |
912 | - | SOUNDPART.CFrame = RootPart.CFrame |
912 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed) |
913 | - | Debris:AddItem(SOUNDPART,5) |
913 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed) |
914 | - | CreateSound("414517163", SOUNDPART, 2, 1) |
914 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
915 | - | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z)) |
915 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed) |
916 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
917 | - | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) |
917 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
918 | - | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) |
918 | + | end |
919 | - | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Sound", VT(0,0,0)) |
919 | + | if HITFLOOR ~= nil then |
920 | - | SOUNDPART.CFrame = RootPart.CFrame |
920 | + | CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85) |
921 | - | Debris:AddItem(SOUNDPART,5) |
921 | + | end |
922 | - | CreateSound("1295446488", SOUNDPART, 2, 1) |
922 | + | CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) |
923 | - | if MRANDOM(1,8) == 1 then |
923 | + | WELD:remove() |
924 | - | ATTACK = true |
924 | + | for i = 1, 25 do |
925 | - | Rooted = true |
925 | + | Swait() |
926 | - | local FRUITSTABLE = { |
926 | + | killnearest(RootPart.Position,45,100,Torso.CFrame) |
927 | - | {MeshId = "16190555", TextureId = "16190577", Color = "Really red"}, |
927 | + | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3)) |
928 | - | {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"}, |
928 | + | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Gold",VT(1,0.4,1)) |
929 | - | {MeshId = "24394186", TextureId = "24394178", Color = "Brown"} |
929 | + | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Gold",VT(2.3,0.3,2.3)) |
930 | - | } |
930 | + | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) |
931 | - | local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)] |
931 | + | Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Gold", 1 + MRANDOM(1,30)/15) |
932 | - | local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false) |
932 | + | end |
933 | - | CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0)) |
933 | + | end |
934 | - | FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0) |
934 | + | UNANCHOR = true |
935 | - | weldBetween(RightArm,FRUITMODEL) |
935 | + | ATTACK = false |
936 | - | for i=0, 4, 0.1 / Animation_Speed do |
936 | + | Rooted = false |
937 | - | Swait() |
937 | + | |
938 | ||
939 | function Mach20() | |
940 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
940 | + | local ORIGIN = RootPart.Position |
941 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
942 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) | |
943 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0)) | |
944 | SOUNDPART.CFrame = RootPart.CFrame | |
945 | - | CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10) |
945 | + | Debris:AddItem(SOUNDPART,5) |
946 | - | FRUITMODEL:remove() |
946 | + | CreateSound("1295446488", SOUNDPART, 2, 1) |
947 | - | for i = 1, 15 do |
947 | + | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z)) |
948 | - | Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15) |
948 | + | Swait() |
949 | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) | |
950 | - | for i=0, 0.5, 0.1 / Animation_Speed do |
950 | + | CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) |
951 | - | Swait() |
951 | + | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0)) |
952 | SOUNDPART.CFrame = RootPart.CFrame | |
953 | Debris:AddItem(SOUNDPART,5) | |
954 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
954 | + | CreateSound("1295446488", SOUNDPART, 2, 1) |
955 | if MRANDOM(1,8) == 1 then | |
956 | ATTACK = true | |
957 | Rooted = true | |
958 | local FRUITSTABLE = { | |
959 | - | ATTACK = false |
959 | + | {MeshId = "16190555", TextureId = "16190577", Color = "Really red"}, |
960 | - | Rooted = false |
960 | + | {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"}, |
961 | {MeshId = "24394186", TextureId = "24394178", Color = "Brown"} | |
962 | } | |
963 | local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)] | |
964 | - | function GreenUltimate() |
964 | + | local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false) |
965 | - | ATTACK = true |
965 | + | CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0)) |
966 | - | Rooted = true |
966 | + | FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0) |
967 | - | CreateSound("358080470", RightArm, 10, 0.8) |
967 | + | weldBetween(RightArm,FRUITMODEL) |
968 | - | for i=0, 8, 0.1 / Animation_Speed do |
968 | + | for i=0, 4, 0.1 / Animation_Speed do |
969 | - | Swait() |
969 | + | Swait() |
970 | - | turnto(Mouse.Hit.p) |
970 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
971 | - | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Lime green",VT(0.2,0,0.2)) |
971 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
972 | - | Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Dark red", 1.1) |
972 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
973 | - | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0) |
973 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
974 | - | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Black",VT(0.001,0.001,2),0) |
974 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
975 | - | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15)) |
975 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
976 | - | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15)) |
976 | + | end |
977 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) |
977 | + | CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10) |
978 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) |
978 | + | FRUITMODEL:remove() |
979 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
979 | + | for i = 1, 15 do |
980 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
980 | + | Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15) |
981 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
981 | + | end |
982 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
982 | + | for i=0, 0.5, 0.1 / Animation_Speed do |
983 | Swait() | |
984 | - | for i=0, 0.15, 0.1 / Animation_Speed do |
984 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
985 | - | Swait() |
985 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
986 | - | turnto(Mouse.Hit.p) |
986 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
987 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) |
987 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
988 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) |
988 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
989 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
989 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
990 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
990 | + | end |
991 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
991 | + | ATTACK = false |
992 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
992 | + | Rooted = false |
993 | end | |
994 | - | MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Lime green",VT(-0.04,-0.04,-0.04)) |
994 | + | |
995 | - | MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035)) |
995 | + | |
996 | - | coroutine.resume(coroutine.create(function() |
996 | + | function ImplosionCollision() |
997 | - | Swait(100) |
997 | + | ATTACK = true |
998 | - | for i = 1, 5 do |
998 | + | Rooted = true |
999 | - | MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Lime green",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i)))) |
999 | + | CreateSound("169445572", RightArm, 10, 0.8) |
1000 | - | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Dark red",VT(4.5*i,0.2,4.5*i)) |
1000 | + | for i=0, 8, 0.1 / Animation_Speed do |
1001 | - | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Dark red",VT(5*i,0.2,5*i)) |
1001 | + | Swait() |
1002 | - | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Dark red",VT(4*i,0.6,4*i)) |
1002 | + | turnto(Mouse.Hit.p) |
1003 | - | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Dark red",VT(5.2*i,0.6,5.2*i)) |
1003 | + | CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Gold",VT(0.2,0,0.2)) |
1004 | Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Gold", 1.1) | |
1005 | - | killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame) |
1005 | + | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0) |
1006 | - | for i = 1, 5 do |
1006 | + | MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Gold",VT(0.001,0.001,2),0) |
1007 | - | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) |
1007 | + | MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Deep orange",VT(-1/15,-1/15,-1/15)) |
1008 | - | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) |
1008 | + | MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Gold",VT(-2/15,-2/15,-2/15)) |
1009 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) | |
1010 | - | coroutine.resume(coroutine.create(function() |
1010 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) |
1011 | - | for i = 1, 50 do |
1011 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
1012 | - | Swait() |
1012 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1013 | - | for i = 1, 1 do |
1013 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1014 | - | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) |
1014 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1015 | - | end |
1015 | + | end |
1016 | - | for i = 1, 2 do |
1016 | + | for i=0, 0.15, 0.1 / Animation_Speed do |
1017 | - | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/3) |
1017 | + | Swait() |
1018 | - | end |
1018 | + | turnto(Mouse.Hit.p) |
1019 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) | |
1020 | - | end)) |
1020 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) |
1021 | - | end)) |
1021 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1022 | - | for i=0, 4, 0.1 / Animation_Speed do |
1022 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1023 | - | Swait() |
1023 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
1024 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) |
1024 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
1025 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) |
1025 | + | end |
1026 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
1026 | + | MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Gold",VT(-0.04,-0.04,-0.04)) |
1027 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) |
1027 | + | MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035)) |
1028 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) |
1028 | + | coroutine.resume(coroutine.create(function() |
1029 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) |
1029 | + | Swait(100) |
1030 | for i = 1, 5 do | |
1031 | - | ATTACK = false |
1031 | + | MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Gold",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i)))) |
1032 | - | Rooted = false |
1032 | + | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(4.5*i,0.2,4.5*i)) |
1033 | CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(5*i,0.2,5*i)) | |
1034 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(4*i,0.6,4*i)) | |
1035 | CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(5.2*i,0.6,5.2*i)) | |
1036 | end | |
1037 | killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame) | |
1038 | for i = 1, 5 do | |
1039 | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) | |
1040 | - | if ATTACK == false then |
1040 | + | CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) |
1041 | end | |
1042 | coroutine.resume(coroutine.create(function() | |
1043 | for i = 1, 50 do | |
1044 | Swait() | |
1045 | for i = 1, 1 do | |
1046 | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5) | |
1047 | end | |
1048 | for i = 1, 2 do | |
1049 | - | KEYHOLD = true |
1049 | + | Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Gold", 1 + MRANDOM(1,30)/3) |
1050 | - | if Key == "z" and ATTACK == false then |
1050 | + | end |
1051 | - | DeathAgreement() |
1051 | + | end |
1052 | end)) | |
1053 | end)) | |
1054 | - | if Key == "b" and ATTACK == false then |
1054 | + | for i=0, 4, 0.1 / Animation_Speed do |
1055 | - | GrabTime() |
1055 | + | Swait() |
1056 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) | |
1057 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) | |
1058 | - | if Key == "c" and ATTACK == false then |
1058 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) |
1059 | - | MaxSpeed() |
1059 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) |
1060 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1061 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1062 | - | if Key == "x" and ATTACK == false then |
1062 | + | end |
1063 | - | GreenUltimate() |
1063 | + | ATTACK = false |
1064 | Rooted = false | |
1065 | end | |
1066 | - | if Key == "p" and ATTACK == false then |
1066 | + | |
1067 | - | if Speed == 16 then |
1067 | + | |
1068 | - | Speed = 150 |
1068 | + | |
1069 | - | elseif Speed == 150 then |
1069 | + | |
1070 | - | Speed = 16 |
1070 | + | |
1071 | function MouseDown(Mouse) | |
1072 | if ATTACK == false then | |
1073 | end | |
1074 | end | |
1075 | ||
1076 | - | KEYHOLD = false |
1076 | + | |
1077 | HOLD = false | |
1078 | end | |
1079 | - | Mouse.Button1Down:connect(function(NEWKEY) |
1079 | + | |
1080 | - | MouseDown(NEWKEY) |
1080 | + | |
1081 | - | end) |
1081 | + | KEYHOLD = true |
1082 | - | Mouse.Button1Up:connect(function(NEWKEY) |
1082 | + | if Key == "z" and ATTACK == false then |
1083 | - | MouseUp(NEWKEY) |
1083 | + | GoldenPunch() |
1084 | - | end) |
1084 | + | end |
1085 | - | Mouse.KeyDown:connect(function(NEWKEY) |
1085 | + | |
1086 | - | KeyDown(NEWKEY) |
1086 | + | if Key == "b" and ATTACK == false then |
1087 | - | end) |
1087 | + | GoldenGrasp() |
1088 | - | Mouse.KeyUp:connect(function(NEWKEY) |
1088 | + | end |
1089 | - | KeyUp(NEWKEY) |
1089 | + | |
1090 | - | end) |
1090 | + | if Key == "c" and ATTACK == false then |
1091 | Mach20() | |
1092 | end | |
1093 | ||
1094 | if Key == "x" and ATTACK == false then | |
1095 | ImplosionCollision() | |
1096 | end | |
1097 | ||
1098 | if Key == "p" and ATTACK == false then | |
1099 | if Speed == 16 then | |
1100 | Speed = 150 | |
1101 | elseif Speed == 150 then | |
1102 | Speed = 16 | |
1103 | end | |
1104 | end | |
1105 | end | |
1106 | ||
1107 | function KeyUp(Key) | |
1108 | KEYHOLD = false | |
1109 | end | |
1110 | ||
1111 | Mouse.Button1Down:connect(function(NEWKEY) | |
1112 | MouseDown(NEWKEY) | |
1113 | end) | |
1114 | Mouse.Button1Up:connect(function(NEWKEY) | |
1115 | MouseUp(NEWKEY) | |
1116 | end) | |
1117 | Mouse.KeyDown:connect(function(NEWKEY) | |
1118 | KeyDown(NEWKEY) | |
1119 | end) | |
1120 | Mouse.KeyUp:connect(function(NEWKEY) | |
1121 | KeyUp(NEWKEY) | |
1122 | end) | |
1123 | ||
1124 | --//=================================\\ | |
1125 | --\\=================================// | |
1126 | ||
1127 | ||
1128 | function unanchor() | |
1129 | if UNANCHOR == true then | |
1130 | g = Character:GetChildren() | |
1131 | for i = 1, #g do | |
1132 | if g[i].ClassName == "Part" then | |
1133 | g[i].Anchored = false | |
1134 | end | |
1135 | end | |
1136 | end | |
1137 | end | |
1138 | ||
1139 | ||
1140 | --//=================================\\ | |
1141 | --|| WRAP THE WHOLE SCRIPT UP | |
1142 | --\\=================================// | |
1143 | ||
1144 | Humanoid.Changed:connect(function(Jump) | |
1145 | if Jump == "Jump" and (Disable_Jump == true) then | |
1146 | Humanoid.Jump = false | |
1147 | end | |
1148 | end) | |
1149 | ||
1150 | while true do | |
1151 | Swait() | |
1152 | ANIMATE.Parent = nil | |
1153 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
1154 | IDLEANIMATION:Play() | |
1155 | SINE = SINE + CHANGE | |
1156 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1157 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1158 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
1159 | HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
1160 | local WALKSPEEDVALUE = 0 | |
1161 | if Speed < 35 then | |
1162 | WALKSPEEDVALUE = 6 | |
1163 | else | |
1164 | WALKSPEEDVALUE = 3 | |
1165 | end | |
1166 | if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then | |
1167 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed) | |
1168 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1169 | if Speed < 35 then | |
1170 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1171 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1172 | else | |
1173 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1174 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) | |
1175 | end | |
1176 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then | |
1177 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1178 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1179 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1180 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1181 | end | |
1182 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
1183 | ANIM = "Jump" | |
1184 | if ATTACK == false then | |
1185 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1186 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1187 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1188 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1189 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1190 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1191 | end | |
1192 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
1193 | ANIM = "Fall" | |
1194 | if ATTACK == false then | |
1195 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1196 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1197 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1198 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1199 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1200 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
1201 | end | |
1202 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1203 | ANIM = "Idle" | |
1204 | if ATTACK == false then | |
1205 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1206 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1207 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1208 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1209 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1210 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1211 | end | |
1212 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then | |
1213 | ANIM = "Walk" | |
1214 | WALK = WALK + 1 / Animation_Speed | |
1215 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
1216 | WALK = 0 | |
1217 | if WALKINGANIM == true then | |
1218 | WALKINGANIM = false | |
1219 | elseif WALKINGANIM == false then | |
1220 | WALKINGANIM = true | |
1221 | end | |
1222 | end | |
1223 | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1224 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1225 | if ATTACK == false then | |
1226 | if Speed < 35 then | |
1227 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1228 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1229 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1230 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1231 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1232 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1233 | else | |
1234 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1235 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1236 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1237 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1238 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1239 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1240 | end | |
1241 | end | |
1242 | end | |
1243 | unanchor() | |
1244 | Humanoid.MaxHealth = "inf" | |
1245 | Humanoid.Health = "inf" | |
1246 | if Rooted == false then | |
1247 | Disable_Jump = false | |
1248 | Humanoid.WalkSpeed = Speed | |
1249 | elseif Rooted == true then | |
1250 | Disable_Jump = true | |
1251 | Humanoid.WalkSpeed = 0 | |
1252 | end | |
1253 | local MATHS = {"0","1"} | |
1254 | Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] | |
1255 | Humanoid.PlatformStand = false | |
1256 | end | |
1257 | ||
1258 | --//=================================\\ | |
1259 | --\\=================================// | |
1260 | ||
1261 | ||
1262 | ||
1263 | ||
1264 | ||
1265 | --//====================================================\\-- | |
1266 | --|| END OF SCRIPT | |
1267 | --\\====================================================//-- |