SHOW:
|
|
- or go back to the newest paste.
1 | ----------------------- | |
2 | --[[ Name : Chips ]]-- | |
3 | --[[ Description : I think I found my specialty in scripts ]]-- | |
4 | --[[ \ None / ]]-- | |
5 | ------------------------------------------------------- | |
6 | --A script By Creterisk/makhail07 | |
7 | --Discord Creterisk#2958 | |
8 | ------------------------------------------------------- | |
9 | ||
10 | --Everything is Meaningless..... | |
11 | ||
12 | wait(1 / 60) | |
13 | ||
14 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
15 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
16 | do | |
17 | print("FE Compatibility code by Mokiros") | |
18 | script.Parent = Player.Character | |
19 | ||
20 | --RemoteEvent for communicating | |
21 | local Event = Instance.new("RemoteEvent") | |
22 | Event.Name = "UserInput_Event" | |
23 | ||
24 | --Fake event to make stuff like Mouse.KeyDown work | |
25 | local function fakeEvent() | |
26 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
27 | t.connect = t.Connect | |
28 | return t | |
29 | end | |
30 | ||
31 | --Creating fake input objects with fake variables | |
32 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
33 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
34 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
35 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
36 | end} | |
37 | --Merged 2 functions into one by checking amount of arguments | |
38 | CAS.UnbindAction = CAS.BindAction | |
39 | ||
40 | --This function will trigger the events that have been :Connect()'ed | |
41 | local function te(self,ev,...) | |
42 | local t = m[ev] | |
43 | if t and t._fakeEvent and t.Function then | |
44 | t.Function(...) | |
45 | end | |
46 | end | |
47 | m.TrigEvent = te | |
48 | UIS.TrigEvent = te | |
49 | ||
50 | Event.OnServerEvent:Connect(function(plr,io) | |
51 | if plr~=Player then return end | |
52 | if io.isMouse then | |
53 | m.Target = io.Target | |
54 | m.Hit = io.Hit | |
55 | else | |
56 | local b = io.UserInputState == Enum.UserInputState.Begin | |
57 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
58 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
59 | end | |
60 | for _,t in pairs(CAS.Actions) do | |
61 | for _,k in pairs(t.Keys) do | |
62 | if k==io.KeyCode then | |
63 | t.Function(t.Name,io.UserInputState,io) | |
64 | end | |
65 | end | |
66 | end | |
67 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
68 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
69 | end | |
70 | end) | |
71 | Event.Parent = NLS([==[ | |
72 | local Player = game:GetService("Players").LocalPlayer | |
73 | local Event = script:WaitForChild("UserInput_Event") | |
74 | ||
75 | local UIS = game:GetService("UserInputService") | |
76 | local input = function(io,a) | |
77 | if a then return end | |
78 | --Since InputObject is a client-side instance, we create and pass table instead | |
79 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
80 | end | |
81 | UIS.InputBegan:Connect(input) | |
82 | UIS.InputEnded:Connect(input) | |
83 | ||
84 | local Mouse = Player:GetMouse() | |
85 | local h,t | |
86 | --Give the server mouse data 30 times every second, but only if the values changed | |
87 | --If player is not moving their mouse, client won't fire events | |
88 | while wait(1/30) do | |
89 | if h~=Mouse.Hit or t~=Mouse.Target then | |
90 | h,t=Mouse.Hit,Mouse.Target | |
91 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
92 | end | |
93 | end]==],Player.Character) | |
94 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
95 | end | |
96 | ||
97 | ||
98 | local plr = owner | |
99 | print('Chips Loaded') | |
100 | print([[ | |
101 | Eat | |
102 | Inhale | |
103 | Vore | |
104 | Consume | |
105 | These are the four techniques of eating in the world that were used | |
106 | Until, the voring nation attacked | |
107 | ]]) | |
108 | local char = plr.Character | |
109 | local hum = char:FindFirstChildOfClass'Humanoid' | |
110 | local hed = char.Head | |
111 | local root = char:FindFirstChild'HumanoidRootPart' | |
112 | local rootj = root.RootJoint | |
113 | local tors = char.Torso | |
114 | local ra = char["Right Arm"] | |
115 | local la = char["Left Arm"] | |
116 | local rl = char["Right Leg"] | |
117 | local ll = char["Left Leg"] | |
118 | local neck = tors["Neck"] | |
119 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
120 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
121 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
122 | local maincolor = BrickColor.new("Institutional white") | |
123 | ||
124 | local Hair = Instance.new("Part") | |
125 | Hair.Parent = char | |
126 | - | Hair.Name = "GreenTopHat" |
126 | + | Hair.Name = "BURGER BITCH" |
127 | Hair.Size = Vector3.new(0.1, 0.1, 0.1) | |
128 | Hair.CFrame = char.Head.CFrame | |
129 | Hair:BreakJoints() | |
130 | Hair.CanCollide = false | |
131 | Hair.BrickColor = BrickColor.new("Medium Stone") | |
132 | Hair.TopSurface = "Smooth" | |
133 | Hair.BottomSurface = "Smooth" | |
134 | Weld = Instance.new("Weld") | |
135 | Weld.Name = "Weld" | |
136 | Weld.Part0 = char.Head | |
137 | Weld.Part1 = Hair | |
138 | Weld.Parent = char.Head | |
139 | Weld.C0 = CFrame.new(0, 0.77, 0)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0) | |
140 | Mesh = Instance.new("SpecialMesh") | |
141 | Mesh.Parent = Hair | |
142 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=856192793" |
142 | + | Mesh.MeshId = "http://www.roblox.com/asset/?id=694456803" |
143 | - | Mesh.TextureId = "http://www.roblox.com/asset/?id=856192969" |
143 | + | Mesh.TextureId = "http://www.roblox.com/asset/?id=694456849" |
144 | Mesh.Scale = Vector3.new(1, 1, 1) | |
145 | ------------------------------------------------------- | |
146 | --Start Good Stuff-- | |
147 | ------------------------------------------------------- | |
148 | cam = game.Workspace.CurrentCamera | |
149 | CF = CFrame.new | |
150 | angles = CFrame.Angles | |
151 | attack = false | |
152 | Euler = CFrame.fromEulerAnglesXYZ | |
153 | Rad = math.rad | |
154 | IT = Instance.new | |
155 | BrickC = BrickColor.new | |
156 | Cos = math.cos | |
157 | Acos = math.acos | |
158 | Sin = math.sin | |
159 | Asin = math.asin | |
160 | Abs = math.abs | |
161 | Mrandom = math.random | |
162 | Floor = math.floor | |
163 | ------------------------------------------------------- | |
164 | --End Good Stuff-- | |
165 | ------------------------------------------------------- | |
166 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
167 | RSH, LSH = nil, nil | |
168 | RW = Instance.new("Weld") | |
169 | LW = Instance.new("Weld") | |
170 | RH = tors["Right Hip"] | |
171 | LH = tors["Left Hip"] | |
172 | RSH = tors["Right Shoulder"] | |
173 | LSH = tors["Left Shoulder"] | |
174 | RSH.Parent = nil | |
175 | LSH.Parent = nil | |
176 | RW.Name = "RW" | |
177 | RW.Part0 = tors | |
178 | RW.C0 = CF(1.5, 0.5, 0) | |
179 | RW.C1 = CF(0, 0.5, 0) | |
180 | RW.Part1 = ra | |
181 | RW.Parent = tors | |
182 | LW.Name = "LW" | |
183 | LW.Part0 = tors | |
184 | LW.C0 = CF(-1.5, 0.5, 0) | |
185 | LW.C1 = CF(0, 0.5, 0) | |
186 | LW.Part1 = la | |
187 | LW.Parent = tors | |
188 | Effects = {} | |
189 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
190 | local wld = Instance.new("Weld", wp1) | |
191 | wld.Part0 = wp0 | |
192 | wld.Part1 = wp1 | |
193 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
194 | end | |
195 | newWeld(tors, ll, -0.5, -1, 0) | |
196 | ll.Weld.C1 = CFrame.new(0, 1, 0) | |
197 | newWeld(tors, rl, 0.5, -1, 0) | |
198 | rl.Weld.C1 = CFrame.new(0, 1, 0) | |
199 | ------------------------------------------------------- | |
200 | --Start HeartBeat-- | |
201 | ------------------------------------------------------- | |
202 | ArtificialHB = Instance.new("BindableEvent", script) | |
203 | ArtificialHB.Name = "Heartbeat" | |
204 | script:WaitForChild("Heartbeat") | |
205 | ||
206 | frame = 1 / 60 | |
207 | tf = 0 | |
208 | allowframeloss = false | |
209 | tossremainder = false | |
210 | ||
211 | ||
212 | lastframe = tick() | |
213 | script.Heartbeat:Fire() | |
214 | ||
215 | ||
216 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
217 | tf = tf + s | |
218 | if tf >= frame then | |
219 | if allowframeloss then | |
220 | script.Heartbeat:Fire() | |
221 | lastframe = tick() | |
222 | else | |
223 | for i = 1, math.floor(tf / frame) do | |
224 | script.Heartbeat:Fire() | |
225 | end | |
226 | lastframe = tick() | |
227 | end | |
228 | if tossremainder then | |
229 | tf = 0 | |
230 | else | |
231 | tf = tf - frame * math.floor(tf / frame) | |
232 | end | |
233 | end | |
234 | end) | |
235 | ------------------------------------------------------- | |
236 | --End HeartBeat-- | |
237 | ------------------------------------------------------- | |
238 | ||
239 | ------------------------------------------------------- | |
240 | --Start Important Functions-- | |
241 | ------------------------------------------------------- | |
242 | function swait(num) | |
243 | if num == 0 or num == nil then | |
244 | game:service("RunService").Stepped:wait(0) | |
245 | else | |
246 | for i = 0, num do | |
247 | game:service("RunService").Stepped:wait(0) | |
248 | end | |
249 | end | |
250 | end | |
251 | function thread(f) | |
252 | coroutine.resume(coroutine.create(f)) | |
253 | end | |
254 | function clerp(a, b, t) | |
255 | local qa = { | |
256 | QuaternionFromCFrame(a) | |
257 | } | |
258 | local qb = { | |
259 | QuaternionFromCFrame(b) | |
260 | } | |
261 | local ax, ay, az = a.x, a.y, a.z | |
262 | local bx, by, bz = b.x, b.y, b.z | |
263 | local _t = 1 - t | |
264 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
265 | end | |
266 | function QuaternionFromCFrame(cf) | |
267 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
268 | local trace = m00 + m11 + m22 | |
269 | if trace > 0 then | |
270 | local s = math.sqrt(1 + trace) | |
271 | local recip = 0.5 / s | |
272 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
273 | else | |
274 | local i = 0 | |
275 | if m00 < m11 then | |
276 | i = 1 | |
277 | end | |
278 | if m22 > (i == 0 and m00 or m11) then | |
279 | i = 2 | |
280 | end | |
281 | if i == 0 then | |
282 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
283 | local recip = 0.5 / s | |
284 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
285 | elseif i == 1 then | |
286 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
287 | local recip = 0.5 / s | |
288 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
289 | elseif i == 2 then | |
290 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
291 | local recip = 0.5 / s | |
292 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
293 | end | |
294 | end | |
295 | end | |
296 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
297 | local xs, ys, zs = x + x, y + y, z + z | |
298 | local wx, wy, wz = w * xs, w * ys, w * zs | |
299 | local xx = x * xs | |
300 | local xy = x * ys | |
301 | local xz = x * zs | |
302 | local yy = y * ys | |
303 | local yz = y * zs | |
304 | local zz = z * zs | |
305 | 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)) | |
306 | end | |
307 | function QuaternionSlerp(a, b, t) | |
308 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
309 | local startInterp, finishInterp | |
310 | if cosTheta >= 1.0E-4 then | |
311 | if 1 - cosTheta > 1.0E-4 then | |
312 | local theta = math.acos(cosTheta) | |
313 | local invSinTheta = 1 / Sin(theta) | |
314 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
315 | finishInterp = Sin(t * theta) * invSinTheta | |
316 | else | |
317 | startInterp = 1 - t | |
318 | finishInterp = t | |
319 | end | |
320 | elseif 1 + cosTheta > 1.0E-4 then | |
321 | local theta = math.acos(-cosTheta) | |
322 | local invSinTheta = 1 / Sin(theta) | |
323 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
324 | finishInterp = Sin(t * theta) * invSinTheta | |
325 | else | |
326 | startInterp = t - 1 | |
327 | finishInterp = t | |
328 | end | |
329 | 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 | |
330 | end | |
331 | function rayCast(Position, Direction, Range, Ignore) | |
332 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
333 | end | |
334 | local RbxUtility = LoadLibrary("RbxUtility") | |
335 | local Create = RbxUtility.Create | |
336 | ||
337 | warn("I'ma just call dis Soda Changer") | |
338 | ||
339 | warn("Please support the original creator, makhail07.") | |
340 | ||
341 | warn("This its My Edit") | |
342 | ||
343 | shirt = Instance.new("Shirt", char) | |
344 | shirt.Name = "Shirt" | |
345 | pants = Instance.new("Pants", char) | |
346 | pants.Name = "Pants" | |
347 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537" | |
348 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689" | |
349 | ||
350 | local BC = char["Body Colors"] | |
351 | BC.HeadColor = BrickColor.new("Fossil") | |
352 | BC.LeftArmColor = BrickColor.new("Fossil") | |
353 | BC.LeftLegColor = BrickColor.new("Fossil") | |
354 | - | BC.RightArmColor = BrickColor.new("Really red") |
354 | + | BC.RightArmColor = BrickColor.new("Fossil") |
355 | BC.RightLegColor = BrickColor.new("Fossil") | |
356 | BC.TorsoColor = BrickColor.new("Fossil") | |
357 | ------------------------------------------------------- | |
358 | --Start Damage Function-- | |
359 | ------------------------------------------------------- | |
360 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
361 | if hit.Parent == nil then | |
362 | return | |
363 | end | |
364 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
365 | for _, v in pairs(hit.Parent:children()) do | |
366 | if v:IsA("Humanoid") then | |
367 | h = v | |
368 | end | |
369 | end | |
370 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
371 | ||
372 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
373 | end | |
374 | ||
375 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
376 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
377 | if hit.Parent.DebounceHit.Value == true then | |
378 | return | |
379 | end | |
380 | end | |
381 | if insta == true then | |
382 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
383 | end | |
384 | local c = Create("ObjectValue"){ | |
385 | Name = "creator", | |
386 | Value = game:service("Players").LocalPlayer, | |
387 | Parent = h, | |
388 | } | |
389 | game:GetService("Debris"):AddItem(c, .5) | |
390 | if HitSound ~= nil and HitPitch ~= nil then | |
391 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
392 | end | |
393 | local Damage = math.random(minim, maxim) | |
394 | local blocked = false | |
395 | local block = hit.Parent:findFirstChild("Block") | |
396 | if block ~= nil then | |
397 | if block.className == "IntValue" then | |
398 | if block.Value > 0 then | |
399 | blocked = true | |
400 | - | block.Value = block.Value - 1 |
400 | + | block.Value = block.Value - 10000000000 |
401 | print(block.Value) | |
402 | end | |
403 | end | |
404 | end | |
405 | if blocked == false then | |
406 | h.Health = h.Health - Damage | |
407 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
407 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1000000000000, 0)), -Damage, 10000000000, tors.BrickColor.Color) |
408 | else | |
409 | h.Health = h.Health - (Damage / 2) | |
410 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
410 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1000000000000, 0)), -Damage, 10000000000, tors.BrickColor.Color) |
411 | end | |
412 | if Type == "Knockdown" then | |
413 | local hum = hit.Parent.Humanoid | |
414 | hum.PlatformStand = true | |
415 | coroutine.resume(coroutine.create(function(HHumanoid) | |
416 | swait(1) | |
417 | HHumanoid.PlatformStand = false | |
418 | end), hum) | |
419 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
420 | local bodvol = Create("BodyVelocity"){ | |
421 | velocity = angle * knockback, | |
422 | P = 5000, | |
423 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
424 | Parent = hit, | |
425 | } | |
426 | local rl = Create("BodyAngularVelocity"){ | |
427 | P = 3000, | |
428 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
429 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
430 | Parent = hit, | |
431 | } | |
432 | game:GetService("Debris"):AddItem(bodvol, .5) | |
433 | game:GetService("Debris"):AddItem(rl, .5) | |
434 | elseif Type == "Normal" then | |
435 | local vp = Create("BodyVelocity"){ | |
436 | P = 500, | |
437 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
438 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
439 | } | |
440 | - | if knockback > 0 then |
440 | + | if knockback > 10 then |
441 | vp.Parent = hit.Parent.Torso | |
442 | end | |
443 | game:GetService("Debris"):AddItem(vp, .5) | |
444 | elseif Type == "Up" then | |
445 | local bodyVelocity = Create("BodyVelocity"){ | |
446 | velocity = Vector3.new(0, 20, 0), | |
447 | P = 5000, | |
448 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
449 | Parent = hit, | |
450 | } | |
451 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
452 | elseif Type == "DarkUp" then | |
453 | coroutine.resume(coroutine.create(function() | |
454 | for i = 0, 1, 0.1 do | |
455 | swait() | |
456 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
457 | end | |
458 | end)) | |
459 | local bodyVelocity = Create("BodyVelocity"){ | |
460 | velocity = Vector3.new(0, 20, 0), | |
461 | P = 5000, | |
462 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
463 | Parent = hit, | |
464 | } | |
465 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
466 | elseif Type == "Snare" then | |
467 | local bp = Create("BodyPosition"){ | |
468 | P = 2000, | |
469 | D = 100, | |
470 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
471 | position = hit.Parent.Torso.Position, | |
472 | Parent = hit.Parent.Torso, | |
473 | } | |
474 | game:GetService("Debris"):AddItem(bp, 1) | |
475 | elseif Type == "Freeze" then | |
476 | local BodPos = Create("BodyPosition"){ | |
477 | P = 50000, | |
478 | D = 1000, | |
479 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
480 | position = hit.Parent.Torso.Position, | |
481 | Parent = hit.Parent.Torso, | |
482 | } | |
483 | local BodGy = Create("BodyGyro") { | |
484 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
485 | P = 20e+003, | |
486 | Parent = hit.Parent.Torso, | |
487 | cframe = hit.Parent.Torso.CFrame, | |
488 | } | |
489 | hit.Parent.Torso.Anchored = true | |
490 | coroutine.resume(coroutine.create(function(Part) | |
491 | swait(1.5) | |
492 | Part.Anchored = false | |
493 | end), hit.Parent.Torso) | |
494 | game:GetService("Debris"):AddItem(BodPos, 3) | |
495 | game:GetService("Debris"):AddItem(BodGy, 3) | |
496 | end | |
497 | local debounce = Create("BoolValue"){ | |
498 | Name = "DebounceHit", | |
499 | Parent = hit.Parent, | |
500 | Value = true, | |
501 | } | |
502 | game:GetService("Debris"):AddItem(debounce, Delay) | |
503 | c = Create("ObjectValue"){ | |
504 | Name = "creator", | |
505 | Value = Player, | |
506 | Parent = h, | |
507 | } | |
508 | game:GetService("Debris"):AddItem(c, .5) | |
509 | end | |
510 | end | |
511 | ------------------------------------------------------- | |
512 | --End Damage Function-- | |
513 | ------------------------------------------------------- | |
514 | ||
515 | ------------------------------------------------------- | |
516 | --Start Damage Function Customization-- | |
517 | ------------------------------------------------------- | |
518 | function ShowDamage(Pos, Text, Time, Color) | |
519 | local Rate = (1 / 30) | |
520 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
521 | local Text = (Text or "") | |
522 | local Time = (Time or 2) | |
523 | local Color = (Color or Color3.new(1, 0, 1)) | |
524 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
525 | EffectPart.Anchored = true | |
526 | local BillboardGui = Create("BillboardGui"){ | |
527 | Size = UDim2.new(3, 0, 3, 0), | |
528 | Adornee = EffectPart, | |
529 | Parent = EffectPart, | |
530 | } | |
531 | local TextLabel = Create("TextLabel"){ | |
532 | BackgroundTransparency = 1, | |
533 | Size = UDim2.new(1, 0, 1, 0), | |
534 | Text = Text, | |
535 | Font = "Bodoni", | |
536 | TextColor3 = Color, | |
537 | TextScaled = true, | |
538 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
539 | Parent = BillboardGui, | |
540 | } | |
541 | game.Debris:AddItem(EffectPart, (Time)) | |
542 | EffectPart.Parent = game:GetService("Workspace") | |
543 | delay(0, function() | |
544 | local Frames = (Time / Rate) | |
545 | for Frame = 1, Frames do | |
546 | wait(Rate) | |
547 | local Percent = (Frame / Frames) | |
548 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
549 | TextLabel.TextTransparency = Percent | |
550 | end | |
551 | if EffectPart and EffectPart.Parent then | |
552 | EffectPart:Destroy() | |
553 | end | |
554 | end) | |
555 | end | |
556 | ------------------------------------------------------- | |
557 | --End Damage Function Customization-- | |
558 | ------------------------------------------------------- | |
559 | ||
560 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
561 | for _, c in pairs(workspace:children()) do | |
562 | local hum = c:findFirstChild("Humanoid") | |
563 | if hum ~= nil then | |
564 | local head = c:findFirstChild("Head") | |
565 | if head ~= nil then | |
566 | local targ = head.Position - Part.Position | |
567 | local mag = targ.magnitude | |
568 | if magni >= mag and c.Name ~= plr.Name then | |
569 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
570 | end | |
571 | end | |
572 | end | |
573 | end | |
574 | end | |
575 | ||
576 | ||
577 | CFuncs = { | |
578 | Part = { | |
579 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
580 | local Part = Create("Part")({ | |
581 | Parent = Parent, | |
582 | Reflectance = Reflectance, | |
583 | Transparency = Transparency, | |
584 | CanCollide = false, | |
585 | Locked = true, | |
586 | BrickColor = BrickColor.new(tostring(BColor)), | |
587 | Name = Name, | |
588 | Size = Size, | |
589 | Material = Material | |
590 | }) | |
591 | RemoveOutlines(Part) | |
592 | return Part | |
593 | end | |
594 | }, | |
595 | Mesh = { | |
596 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
597 | local Msh = Create(Mesh)({ | |
598 | Parent = Part, | |
599 | Offset = OffSet, | |
600 | Scale = Scale | |
601 | }) | |
602 | if Mesh == "SpecialMesh" then | |
603 | Msh.MeshType = MeshType | |
604 | Msh.MeshId = MeshId | |
605 | end | |
606 | return Msh | |
607 | end | |
608 | }, | |
609 | Mesh = { | |
610 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
611 | local Msh = Create(Mesh)({ | |
612 | Parent = Part, | |
613 | Offset = OffSet, | |
614 | Scale = Scale | |
615 | }) | |
616 | if Mesh == "SpecialMesh" then | |
617 | Msh.MeshType = MeshType | |
618 | Msh.MeshId = MeshId | |
619 | end | |
620 | return Msh | |
621 | end | |
622 | }, | |
623 | Weld = { | |
624 | Create = function(Parent, Part0, Part1, C0, C1) | |
625 | local Weld = Create("Weld")({ | |
626 | Parent = Parent, | |
627 | Part0 = Part0, | |
628 | Part1 = Part1, | |
629 | C0 = C0, | |
630 | C1 = C1 | |
631 | }) | |
632 | return Weld | |
633 | end | |
634 | }, | |
635 | Sound = { | |
636 | Create = function(id, par, vol, pit) | |
637 | coroutine.resume(coroutine.create(function() | |
638 | local S = Create("Sound")({ | |
639 | Volume = vol, | |
640 | Pitch = pit or 1, | |
641 | SoundId = id, | |
642 | Parent = par or workspace | |
643 | }) | |
644 | wait() | |
645 | S:play() | |
646 | game:GetService("Debris"):AddItem(S, 6) | |
647 | end)) | |
648 | end | |
649 | }, | |
650 | ParticleEmitter = { | |
651 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
652 | local fp = Create("ParticleEmitter")({ | |
653 | Parent = Parent, | |
654 | Color = ColorSequence.new(Color1, Color2), | |
655 | LightEmission = LightEmission, | |
656 | Size = Size, | |
657 | Texture = Texture, | |
658 | Transparency = Transparency, | |
659 | ZOffset = ZOffset, | |
660 | Acceleration = Accel, | |
661 | Drag = Drag, | |
662 | LockedToPart = LockedToPart, | |
663 | VelocityInheritance = VelocityInheritance, | |
664 | EmissionDirection = EmissionDirection, | |
665 | Enabled = Enabled, | |
666 | Lifetime = LifeTime, | |
667 | Rate = Rate, | |
668 | Rotation = Rotation, | |
669 | RotSpeed = RotSpeed, | |
670 | Speed = Speed, | |
671 | VelocitySpread = VelocitySpread | |
672 | }) | |
673 | return fp | |
674 | end | |
675 | } | |
676 | } | |
677 | function RemoveOutlines(part) | |
678 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
679 | end | |
680 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
681 | local Part = Create("Part")({ | |
682 | formFactor = FormFactor, | |
683 | Parent = Parent, | |
684 | Reflectance = Reflectance, | |
685 | Transparency = Transparency, | |
686 | CanCollide = false, | |
687 | Locked = true, | |
688 | BrickColor = BrickColor.new(tostring(BColor)), | |
689 | Name = Name, | |
690 | Size = Size, | |
691 | Material = Material | |
692 | }) | |
693 | RemoveOutlines(Part) | |
694 | return Part | |
695 | end | |
696 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
697 | local Msh = Create(Mesh)({ | |
698 | Parent = Part, | |
699 | Offset = OffSet, | |
700 | Scale = Scale | |
701 | }) | |
702 | if Mesh == "SpecialMesh" then | |
703 | Msh.MeshType = MeshType | |
704 | Msh.MeshId = MeshId | |
705 | end | |
706 | return Msh | |
707 | end | |
708 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
709 | local Weld = Create("Weld")({ | |
710 | Parent = Parent, | |
711 | Part0 = Part0, | |
712 | Part1 = Part1, | |
713 | C0 = C0, | |
714 | C1 = C1 | |
715 | }) | |
716 | return Weld | |
717 | end | |
718 | ||
719 | ||
720 | ------------------------------------------------------- | |
721 | --Start Effect Function-- | |
722 | ------------------------------------------------------- | |
723 | EffectModel = Instance.new("Model", char) | |
724 | Effects = { | |
725 | Block = { | |
726 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
727 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
728 | prt.Anchored = true | |
729 | prt.CFrame = cframe | |
730 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
731 | game:GetService("Debris"):AddItem(prt, 10) | |
732 | if Type == 1 or Type == nil then | |
733 | table.insert(Effects, { | |
734 | prt, | |
735 | "Block1", | |
736 | delay, | |
737 | x3, | |
738 | y3, | |
739 | z3, | |
740 | msh | |
741 | }) | |
742 | elseif Type == 2 then | |
743 | table.insert(Effects, { | |
744 | prt, | |
745 | "Block2", | |
746 | delay, | |
747 | x3, | |
748 | y3, | |
749 | z3, | |
750 | msh | |
751 | }) | |
752 | else | |
753 | table.insert(Effects, { | |
754 | prt, | |
755 | "Block3", | |
756 | delay, | |
757 | x3, | |
758 | y3, | |
759 | z3, | |
760 | msh | |
761 | }) | |
762 | end | |
763 | end | |
764 | }, | |
765 | Sphere = { | |
766 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
767 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
768 | prt.Anchored = true | |
769 | prt.CFrame = cframe | |
770 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
771 | game:GetService("Debris"):AddItem(prt, 10) | |
772 | table.insert(Effects, { | |
773 | prt, | |
774 | "Cylinder", | |
775 | delay, | |
776 | x3, | |
777 | y3, | |
778 | z3, | |
779 | msh | |
780 | }) | |
781 | end | |
782 | }, | |
783 | Cylinder = { | |
784 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
785 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
786 | prt.Anchored = true | |
787 | prt.CFrame = cframe | |
788 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
789 | game:GetService("Debris"):AddItem(prt, 10) | |
790 | table.insert(Effects, { | |
791 | prt, | |
792 | "Cylinder", | |
793 | delay, | |
794 | x3, | |
795 | y3, | |
796 | z3, | |
797 | msh | |
798 | }) | |
799 | end | |
800 | }, | |
801 | Wave = { | |
802 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
803 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
804 | prt.Anchored = true | |
805 | prt.CFrame = cframe | |
806 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
807 | game:GetService("Debris"):AddItem(prt, 10) | |
808 | table.insert(Effects, { | |
809 | prt, | |
810 | "Cylinder", | |
811 | delay, | |
812 | x3 / 60, | |
813 | y3 / 60, | |
814 | z3 / 60, | |
815 | msh | |
816 | }) | |
817 | end | |
818 | }, | |
819 | Ring = { | |
820 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
821 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
822 | prt.Anchored = true | |
823 | prt.CFrame = cframe | |
824 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
825 | game:GetService("Debris"):AddItem(prt, 10) | |
826 | table.insert(Effects, { | |
827 | prt, | |
828 | "Cylinder", | |
829 | delay, | |
830 | x3, | |
831 | y3, | |
832 | z3, | |
833 | msh | |
834 | }) | |
835 | end | |
836 | }, | |
837 | Break = { | |
838 | Create = function(brickcolor, cframe, x1, y1, z1) | |
839 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
840 | prt.Anchored = true | |
841 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
842 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
843 | local num = math.random(10, 50) / 1000 | |
844 | game:GetService("Debris"):AddItem(prt, 10) | |
845 | table.insert(Effects, { | |
846 | prt, | |
847 | "Shatter", | |
848 | num, | |
849 | prt.CFrame, | |
850 | math.random() - math.random(), | |
851 | 0, | |
852 | math.random(50, 100) / 100 | |
853 | }) | |
854 | end | |
855 | }, | |
856 | Spiral = { | |
857 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
858 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
859 | prt.Anchored = true | |
860 | prt.CFrame = cframe | |
861 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
862 | game:GetService("Debris"):AddItem(prt, 10) | |
863 | table.insert(Effects, { | |
864 | prt, | |
865 | "Cylinder", | |
866 | delay, | |
867 | x3, | |
868 | y3, | |
869 | z3, | |
870 | msh | |
871 | }) | |
872 | end | |
873 | }, | |
874 | Push = { | |
875 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
876 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
877 | prt.Anchored = true | |
878 | prt.CFrame = cframe | |
879 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
880 | game:GetService("Debris"):AddItem(prt, 10) | |
881 | table.insert(Effects, { | |
882 | prt, | |
883 | "Cylinder", | |
884 | delay, | |
885 | x3, | |
886 | y3, | |
887 | z3, | |
888 | msh | |
889 | }) | |
890 | end | |
891 | } | |
892 | } | |
893 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
894 | local fp = IT("Part") | |
895 | fp.formFactor = formfactor | |
896 | fp.Parent = parent | |
897 | fp.Reflectance = reflectance | |
898 | fp.Transparency = transparency | |
899 | fp.CanCollide = false | |
900 | fp.Locked = true | |
901 | fp.BrickColor = brickcolor | |
902 | fp.Name = name | |
903 | fp.Size = size | |
904 | fp.Position = tors.Position | |
905 | RemoveOutlines(fp) | |
906 | fp.Material = "SmoothPlastic" | |
907 | fp:BreakJoints() | |
908 | return fp | |
909 | end | |
910 | ||
911 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
912 | local mesh = IT(Mesh) | |
913 | mesh.Parent = part | |
914 | if Mesh == "SpecialMesh" then | |
915 | mesh.MeshType = meshtype | |
916 | if meshid ~= "nil" then | |
917 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
918 | end | |
919 | end | |
920 | mesh.Offset = offset | |
921 | mesh.Scale = scale | |
922 | return mesh | |
923 | end | |
924 | ||
925 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
926 | local type = type | |
927 | local rng = Instance.new("Part", char) | |
928 | rng.Anchored = true | |
929 | rng.BrickColor = color | |
930 | rng.CanCollide = false | |
931 | rng.FormFactor = 3 | |
932 | rng.Name = "Ring" | |
933 | rng.Material = "Neon" | |
934 | rng.Size = Vector3.new(1, 1, 1) | |
935 | rng.Transparency = 0 | |
936 | rng.TopSurface = 0 | |
937 | rng.BottomSurface = 0 | |
938 | rng.CFrame = pos | |
939 | local rngm = Instance.new("SpecialMesh", rng) | |
940 | rngm.MeshType = MType | |
941 | rngm.Scale = scale | |
942 | local scaler2 = 1 | |
943 | if type == "Add" then | |
944 | scaler2 = 1 * value | |
945 | elseif type == "Divide" then | |
946 | scaler2 = 1 / value | |
947 | end | |
948 | coroutine.resume(coroutine.create(function() | |
949 | for i = 0, 10 / bonuspeed, 0.1 do | |
950 | swait() | |
951 | if type == "Add" then | |
952 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
953 | elseif type == "Divide" then | |
954 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
955 | end | |
956 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
957 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
958 | end | |
959 | rng:Destroy() | |
960 | end)) | |
961 | end | |
962 | ||
963 | function Eviscerate(dude) | |
964 | if dude.Name ~= char then | |
965 | local bgf = IT("BodyGyro", dude.Head) | |
966 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
967 | local val = IT("BoolValue", dude) | |
968 | val.Name = "IsHit" | |
969 | local ds = coroutine.wrap(function() | |
970 | dude:WaitForChild("Head"):BreakJoints() | |
971 | wait(0.5) | |
972 | target = nil | |
973 | coroutine.resume(coroutine.create(function() | |
974 | for i, v in pairs(dude:GetChildren()) do | |
975 | if v:IsA("Accessory") then | |
976 | v:Destroy() | |
977 | end | |
978 | if v:IsA("Humanoid") then | |
979 | v:Destroy() | |
980 | end | |
981 | if v:IsA("CharacterMesh") then | |
982 | v:Destroy() | |
983 | end | |
984 | if v:IsA("Model") then | |
985 | v:Destroy() | |
986 | end | |
987 | if v:IsA("Part") or v:IsA("MeshPart") then | |
988 | for x, o in pairs(v:GetChildren()) do | |
989 | if o:IsA("Decal") then | |
990 | o:Destroy() | |
991 | end | |
992 | end | |
993 | coroutine.resume(coroutine.create(function() | |
994 | v.Material = "Neon" | |
995 | v.CanCollide = false | |
996 | local PartEmmit1 = IT("ParticleEmitter", v) | |
997 | PartEmmit1.LightEmission = 1 | |
998 | PartEmmit1.Texture = "rbxassetid://284205403" | |
999 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1000 | PartEmmit1.Rate = 150 | |
1001 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1002 | PartEmmit1.Size = NumberSequence.new({ | |
1003 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1004 | NumberSequenceKeypoint.new(1, 0, 0) | |
1005 | }) | |
1006 | PartEmmit1.Transparency = NumberSequence.new({ | |
1007 | NumberSequenceKeypoint.new(0, 0, 0), | |
1008 | NumberSequenceKeypoint.new(1, 1, 0) | |
1009 | }) | |
1010 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1011 | PartEmmit1.VelocitySpread = 30000 | |
1012 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1013 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1014 | local BodPoss = IT("BodyPosition", v) | |
1015 | BodPoss.P = 3000 | |
1016 | BodPoss.D = 1000 | |
1017 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1018 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1019 | v.Color = maincolor.Color | |
1020 | coroutine.resume(coroutine.create(function() | |
1021 | for i = 0, 49 do | |
1022 | swait(1) | |
1023 | v.Transparency = v.Transparency + 0.08 | |
1024 | end | |
1025 | wait(0.5) | |
1026 | PartEmmit1.Enabled = false | |
1027 | wait(3) | |
1028 | v:Destroy() | |
1029 | dude:Destroy() | |
1030 | end)) | |
1031 | end)) | |
1032 | end | |
1033 | end | |
1034 | end)) | |
1035 | end) | |
1036 | ds() | |
1037 | end | |
1038 | end | |
1039 | ||
1040 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1041 | if SinglePlayer then | |
1042 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1043 | end | |
1044 | local List = {} | |
1045 | for i, v in pairs(workspace:GetChildren()) do | |
1046 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1047 | table.insert(List, v) | |
1048 | end | |
1049 | end | |
1050 | return List | |
1051 | end | |
1052 | ||
1053 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1054 | local type = type | |
1055 | local rng = Instance.new("Part", char) | |
1056 | rng.Anchored = true | |
1057 | rng.BrickColor = color | |
1058 | rng.CanCollide = false | |
1059 | rng.FormFactor = 3 | |
1060 | rng.Name = "Ring" | |
1061 | rng.Material = "Neon" | |
1062 | rng.Size = Vector3.new(1, 1, 1) | |
1063 | rng.Transparency = 0 | |
1064 | rng.TopSurface = 0 | |
1065 | rng.BottomSurface = 0 | |
1066 | rng.CFrame = pos | |
1067 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1068 | local rngm = Instance.new("SpecialMesh", rng) | |
1069 | rngm.MeshType = MType | |
1070 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1071 | local scaler2 = 1 | |
1072 | local speeder = FastSpeed | |
1073 | if type == "Add" then | |
1074 | scaler2 = 1 * value | |
1075 | elseif type == "Divide" then | |
1076 | scaler2 = 1 / value | |
1077 | end | |
1078 | coroutine.resume(coroutine.create(function() | |
1079 | for i = 0, 10 / bonuspeed, 0.1 do | |
1080 | swait() | |
1081 | if type == "Add" then | |
1082 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1083 | elseif type == "Divide" then | |
1084 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1085 | end | |
1086 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1087 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1088 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1089 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1090 | end | |
1091 | rng:Destroy() | |
1092 | end)) | |
1093 | end | |
1094 | ||
1095 | function SoulSteal(dude) | |
1096 | if dude.Name ~= char then | |
1097 | local bgf = IT("BodyGyro", dude.Head) | |
1098 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1099 | local val = IT("BoolValue", dude) | |
1100 | val.Name = "IsHit" | |
1101 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1102 | local soulst = coroutine.wrap(function() | |
1103 | local soul = Instance.new("Part",dude) | |
1104 | soul.Size = Vector3.new(1,1,1) | |
1105 | soul.CanCollide = false | |
1106 | soul.Anchored = false | |
1107 | soul.Position = torso.Position | |
1108 | soul.Transparency = 1 | |
1109 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1110 | PartEmmit1.LightEmission = 1 | |
1111 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1112 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1113 | PartEmmit1.Rate = 250 | |
1114 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1115 | PartEmmit1.Size = NumberSequence.new({ | |
1116 | NumberSequenceKeypoint.new(0, 1, 0), | |
1117 | NumberSequenceKeypoint.new(1, 0, 0) | |
1118 | }) | |
1119 | PartEmmit1.Transparency = NumberSequence.new({ | |
1120 | NumberSequenceKeypoint.new(0, 0, 0), | |
1121 | NumberSequenceKeypoint.new(1, 1, 0) | |
1122 | }) | |
1123 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1124 | PartEmmit1.VelocitySpread = 30000 | |
1125 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1126 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1127 | local BodPoss = IT("BodyPosition", soul) | |
1128 | BodPoss.P = 3000 | |
1129 | BodPoss.D = 1000 | |
1130 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1131 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1132 | wait(1.6) | |
1133 | soul.Touched:connect(function(hit) | |
1134 | if hit.Parent == char then | |
1135 | soul:Destroy() | |
1136 | end | |
1137 | end) | |
1138 | wait(1.2) | |
1139 | while soul do | |
1140 | swait() | |
1141 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1142 | BodPoss.Position = tors.Position | |
1143 | end | |
1144 | end) | |
1145 | soulst() | |
1146 | end | |
1147 | end | |
1148 | function FaceMouse() | |
1149 | local Cam = workspace.CurrentCamera | |
1150 | return { | |
1151 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1152 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1153 | } | |
1154 | end | |
1155 | Effects = { | |
1156 | Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor) | |
1157 | local p = Instance.new("Part",EffectModel) | |
1158 | p.BrickColor = BrickColor.new(colour) | |
1159 | p.Size = partsize | |
1160 | p.Anchored = true | |
1161 | p.CanCollide = false | |
1162 | p.Material = matr | |
1163 | p.CFrame = cf | |
1164 | if inverse == true then | |
1165 | p.Transparency = 1 | |
1166 | else | |
1167 | p.Transparency = 0 | |
1168 | end | |
1169 | local m = Instance.new("BlockMesh",p) | |
1170 | m.Scale = meshstart | |
1171 | coroutine.wrap(function() | |
1172 | for i = 0, 1, factor do | |
1173 | swait() | |
1174 | if inverse == true then | |
1175 | p.Transparency = 1-i | |
1176 | else | |
1177 | p.Transparency = i | |
1178 | end | |
1179 | m.Scale = m.Scale + meshadd | |
1180 | if spin == true then | |
1181 | p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1182 | end | |
1183 | end | |
1184 | p:Destroy() | |
1185 | end)() | |
1186 | return p | |
1187 | end, | |
1188 | Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
1189 | local p = Instance.new("Part",EffectModel) | |
1190 | p.BrickColor = BrickColor.new(colour) | |
1191 | p.Size = partsize | |
1192 | p.Anchored = true | |
1193 | p.CanCollide = false | |
1194 | p.Material = matr | |
1195 | p.CFrame = cf | |
1196 | if inverse == true then | |
1197 | p.Transparency = 1 | |
1198 | else | |
1199 | p.Transparency = 0 | |
1200 | end | |
1201 | local m = Instance.new("SpecialMesh",p) | |
1202 | m.MeshType = "Sphere" | |
1203 | m.Scale = meshstart | |
1204 | coroutine.wrap(function() | |
1205 | for i=0,1,factor do | |
1206 | swait() | |
1207 | if inverse == true then | |
1208 | p.Transparency = 1-i | |
1209 | else | |
1210 | p.Transparency = i | |
1211 | end | |
1212 | m.Scale = m.Scale + meshadd | |
1213 | end | |
1214 | p:Destroy() | |
1215 | end)() | |
1216 | return p | |
1217 | end, | |
1218 | ||
1219 | Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
1220 | local p = Instance.new("Part",EffectModel) | |
1221 | p.BrickColor = BrickColor.new(colour) | |
1222 | p.Size = partsize | |
1223 | p.Anchored = true | |
1224 | p.CanCollide = false | |
1225 | p.Material = matr | |
1226 | p.CFrame = cf | |
1227 | if inverse == true then | |
1228 | p.Transparency = 1 | |
1229 | else | |
1230 | p.Transparency = 0 | |
1231 | end | |
1232 | local m = Instance.new("CylinderMesh",p) | |
1233 | m.Scale = meshstart | |
1234 | coroutine.wrap(function() | |
1235 | for i=0,1,factor do | |
1236 | swait() | |
1237 | if inverse == true then | |
1238 | p.Transparency = 1-i | |
1239 | else | |
1240 | p.Transparency = i | |
1241 | end | |
1242 | m.Scale = m.Scale + meshadd | |
1243 | end | |
1244 | p:Destroy() | |
1245 | end)() | |
1246 | return p | |
1247 | end, | |
1248 | ||
1249 | Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor) | |
1250 | local p = Instance.new("Part",EffectModel) | |
1251 | p.BrickColor = BrickColor.new(colour) | |
1252 | p.Size = Vector3.new() | |
1253 | p.Anchored = true | |
1254 | p.CanCollide = false | |
1255 | p.CFrame = cf | |
1256 | if inverse == true then | |
1257 | p.Transparency = 1 | |
1258 | else | |
1259 | p.Transparency = 0 | |
1260 | end | |
1261 | local m = Instance.new("SpecialMesh",p) | |
1262 | m.MeshId = "rbxassetid://20329976" | |
1263 | m.Scale = meshstart | |
1264 | coroutine.wrap(function() | |
1265 | for i=0,1,factor do | |
1266 | swait() | |
1267 | if inverse == true then | |
1268 | p.Transparency = 1-i | |
1269 | else | |
1270 | p.Transparency = i | |
1271 | end | |
1272 | m.Scale = m.Scale + meshadd | |
1273 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
1274 | end | |
1275 | p:Destroy() | |
1276 | end)() | |
1277 | return p | |
1278 | end, | |
1279 | ||
1280 | Ring = function(cf,meshstart,meshadd,colour,inverse,factor) | |
1281 | local p = Instance.new("Part",EffectModel) | |
1282 | p.BrickColor = BrickColor.new(colour) | |
1283 | p.Size = Vector3.new() | |
1284 | p.Anchored = true | |
1285 | p.CanCollide = false | |
1286 | p.CFrame = cf | |
1287 | if inverse == true then | |
1288 | p.Transparency = 1 | |
1289 | else | |
1290 | p.Transparency = 0 | |
1291 | end | |
1292 | local m = Instance.new("SpecialMesh",p) | |
1293 | m.MeshId = "rbxassetid://3270017" | |
1294 | m.Scale = meshstart | |
1295 | coroutine.wrap(function() | |
1296 | for i=0,1,factor do | |
1297 | swait() | |
1298 | if inverse == true then | |
1299 | p.Transparency = 1-i | |
1300 | else | |
1301 | p.Transparency = i | |
1302 | end | |
1303 | m.Scale = m.Scale + meshadd | |
1304 | end | |
1305 | p:Destroy() | |
1306 | end)() | |
1307 | return p | |
1308 | end, | |
1309 | ||
1310 | Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor) | |
1311 | local p = Instance.new("Part",EffectModel) | |
1312 | p.BrickColor = BrickColor.new(colour) | |
1313 | p.Size = Vector3.new() | |
1314 | p.Anchored = true | |
1315 | p.CanCollide = false | |
1316 | p.CFrame = cf | |
1317 | if inverse == true then | |
1318 | p.Transparency = 1 | |
1319 | else | |
1320 | p.Transparency = 0 | |
1321 | end | |
1322 | local m = Instance.new("SpecialMesh",p) | |
1323 | m.MeshId = meshid | |
1324 | m.TextureId = textid | |
1325 | m.Scale = meshstart | |
1326 | coroutine.wrap(function() | |
1327 | for i=0,1,factor do | |
1328 | swait() | |
1329 | if inverse == true then | |
1330 | p.Transparency = 1-i | |
1331 | else | |
1332 | p.Transparency = i | |
1333 | end | |
1334 | m.Scale = m.Scale + meshadd | |
1335 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
1336 | end | |
1337 | p:Destroy() | |
1338 | end)() | |
1339 | return p | |
1340 | end, | |
1341 | ||
1342 | Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor) | |
1343 | local p = Instance.new("Part",EffectModel) | |
1344 | p.BrickColor = BrickColor.new(colour) | |
1345 | p.Size = partsize | |
1346 | p.Anchored = true | |
1347 | p.CanCollide = false | |
1348 | p.Material = matr | |
1349 | p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
1350 | if inverse == true then | |
1351 | p.Transparency = 1 | |
1352 | else | |
1353 | p.Transparency = 0 | |
1354 | end | |
1355 | local m = Instance.new("SpecialMesh",p) | |
1356 | m.MeshType = "Sphere" | |
1357 | m.Scale = meshstart | |
1358 | coroutine.wrap(function() | |
1359 | for i=0,1,factor do | |
1360 | swait() | |
1361 | if inverse == true then | |
1362 | p.Transparency = 1-i | |
1363 | else | |
1364 | p.Transparency = i | |
1365 | end | |
1366 | m.Scale = m.Scale + meshadd | |
1367 | p.CFrame = p.CFrame * CFrame.new(0,move,0) | |
1368 | end | |
1369 | p:Destroy() | |
1370 | end)() | |
1371 | return p | |
1372 | end, | |
1373 | ||
1374 | } | |
1375 | ------------------------------------------------------- | |
1376 | --End Effect Function-- | |
1377 | ------------------------------------------------------- | |
1378 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1379 | local NSound = nil | |
1380 | coroutine.resume(coroutine.create(function() | |
1381 | NSound = IT("Sound", PARENT) | |
1382 | NSound.Volume = VOLUME | |
1383 | NSound.Pitch = PITCH | |
1384 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1385 | swait() | |
1386 | NSound:play() | |
1387 | game:GetService("Debris"):AddItem(NSound, 10) | |
1388 | end)) | |
1389 | return NSound | |
1390 | end | |
1391 | function CamShake(Length, Intensity) | |
1392 | coroutine.resume(coroutine.create(function() | |
1393 | - | local intensity = 1 * Intensity |
1393 | + | local intensity = 7 * Intensity |
1394 | local rotM = 0.01 * Intensity | |
1395 | for i = 0, Length, 0.1 do | |
1396 | swait() | |
1397 | - | intensity = intensity - 0.05 * Intensity / Length |
1397 | + | intensity = intensity - 7 * Intensity / Length |
1398 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1399 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1400 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
1401 | end | |
1402 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1403 | end)) | |
1404 | end | |
1405 | NewInstance = function(instance,parent,properties) | |
1406 | local inst = Instance.new(instance) | |
1407 | inst.Parent = parent | |
1408 | if(properties)then | |
1409 | for i,v in next, properties do | |
1410 | pcall(function() inst[i] = v end) | |
1411 | end | |
1412 | end | |
1413 | return inst; | |
1414 | end | |
1415 | hum.MaxHealth = 1.0E298 | |
1416 | hum.Health = 1.0E298 | |
1417 | game:GetService("RunService"):BindToRenderStep("HOT", 0, function() | |
1418 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
1419 | hum.MaxHealth = 1.0E298 | |
1420 | hum.Health = 1.0E298 | |
1421 | end | |
1422 | end) | |
1423 | ------------------------------------------------------- | |
1424 | --End Important Functions-- | |
1425 | ------------------------------------------------------- | |
1426 | ||
1427 | ||
1428 | ------------------------------------------------------- | |
1429 | --Start Customization-- | |
1430 | ------------------------------------------------------- | |
1431 | - | local Player_Size = 1 |
1431 | + | local Player_Size = 2 |
1432 | - | if Player_Size ~= 1 then |
1432 | + | if Player_Size ~= 2 then |
1433 | root.Size = root.Size * Player_Size | |
1434 | tors.Size = tors.Size * Player_Size | |
1435 | hed.Size = hed.Size * Player_Size | |
1436 | ra.Size = ra.Size * Player_Size | |
1437 | la.Size = la.Size * Player_Size | |
1438 | rl.Size = rl.Size * Player_Size | |
1439 | ll.Size = ll.Size * Player_Size | |
1440 | ---------------------------------------------------------------------------------- | |
1441 | rootj.Parent = root | |
1442 | neck.Parent = tors | |
1443 | RW.Parent = tors | |
1444 | LW.Parent = tors | |
1445 | RH.Parent = tors | |
1446 | LH.Parent = tors | |
1447 | ---------------------------------------------------------------------------------- | |
1448 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1449 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1450 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1451 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1452 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1453 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1454 | ---------------------------------------------------------------------------------- | |
1455 | RH.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)) | |
1456 | LH.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)) | |
1457 | RH.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)) | |
1458 | LH.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)) | |
1459 | --hat.Parent = Character | |
1460 | end | |
1461 | ---------------------------------------------------------------------------------- | |
1462 | - | local SONG = 525565668 |
1462 | + | local SONG = 200175942 |
1463 | local SONG2 = 0 | |
1464 | local Music = Instance.new("Sound",tors) | |
1465 | - | Music.Volume = 2.5 |
1465 | + | Music.Volume = 6 |
1466 | Music.Looped = true | |
1467 | - | Music.Pitch = 1 --Pitcher |
1467 | + | Music.Pitch = 2 --Pitcher |
1468 | ---------------------------------------------------------------------------------- | |
1469 | local equipped = false | |
1470 | local idle = 0 | |
1471 | local change = 1 | |
1472 | local val = 0 | |
1473 | local toim = 0 | |
1474 | local idleanim = 0.4 | |
1475 | local sine = 0 | |
1476 | local Sit = 1 | |
1477 | local WasAir = false | |
1478 | local InAir = false | |
1479 | local LandTick = 0 | |
1480 | local movelegs = false | |
1481 | local FF = Instance.new("ForceField",char) | |
1482 | FF.Visible = false | |
1483 | local Speed = 56 | |
1484 | local Chips = "onebearnakedwoman" | |
1485 | ---------------------------------------------------------------------------------- | |
1486 | hum.JumpPower = 55 | |
1487 | hum.Animator.Parent = nil | |
1488 | ---------------------------------------------------------------------------------- | |
1489 | Chips = IT("Model") | |
1490 | Chips.Parent = char | |
1491 | Chips.Name = "Chips" | |
1492 | RHe = IT("Part") | |
1493 | RHe.Parent = Chips | |
1494 | RHe.BrickColor = BrickColor.new("Really black") | |
1495 | RHe.Locked = true | |
1496 | RHe.CanCollide = false | |
1497 | RHe.Transparency = 0 | |
1498 | PMesh = IT("SpecialMesh") | |
1499 | RHe.formFactor = "Symmetric" | |
1500 | PMesh.MeshType = "FileMesh" | |
1501 | PMesh.MeshId = "rbxassetid://10470609" | |
1502 | - | PMesh.TextureId = "rbxassetid://10483355" |
1502 | + | PMesh.TextureId = "rbxassetid://2671406728" |
1503 | PMesh.Scale = Vector3.new(1, 1.4, 0.8) | |
1504 | PMesh.Parent = RHe | |
1505 | local RWeld = IT("Weld") | |
1506 | RWeld.Parent = RHe | |
1507 | RWeld.Part0 = RHe | |
1508 | RWeld.Part1 = ra | |
1509 | RWeld.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90)) | |
1510 | ------------------------------------------------------- | |
1511 | --End Customization-- | |
1512 | ------------------------------------------------------- | |
1513 | ||
1514 | ||
1515 | ------------------------------------------------------- | |
1516 | --Start Attacks N Stuff-- | |
1517 | ------------------------------------------------------- | |
1518 | function AttackTemplate() | |
1519 | attack = true | |
1520 | for i = 0, 2, 0.1 do | |
1521 | swait() | |
1522 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1523 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
1524 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1525 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1526 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
1527 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
1528 | end | |
1529 | attack = false | |
1530 | end | |
1531 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1532 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1533 | RemoveOutlines(Hitboxpart) | |
1534 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1535 | Hitboxpart.CanCollide = false | |
1536 | Hitboxpart.Transparency = 1 | |
1537 | Hitboxpart.Anchored = true | |
1538 | Hitboxpart.CFrame = Pose | |
1539 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1540 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1541 | end | |
1542 | wait2 = false | |
1543 | combo = 1 | |
1544 | mouse.Button1Down:connect(function(key) | |
1545 | if attack == false then | |
1546 | attack = true | |
1547 | Speed = 3.01 | |
1548 | if combo == 1 and wait2 == false then | |
1549 | wait2 = true | |
1550 | for i = 0, 1.6, 0.1 do | |
1551 | swait() | |
1552 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.2) | |
1553 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.2) | |
1554 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-45), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.2) | |
1555 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.2) | |
1556 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0 + 5 * Sin(sine / 20)), Rad(25 + 5 * Sin(sine / 20))), 0.2) | |
1557 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.2) | |
1558 | end | |
1559 | Cso("138097048", ra, 1.2, 0.8) | |
1560 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
1561 | for i = 0, 1.2, 0.1 do | |
1562 | swait() | |
1563 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(45)), 0.3) | |
1564 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.3) | |
1565 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.3) | |
1566 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(45), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
1567 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(85), Rad(0 + 5 * Sin(sine / 20)), Rad(45 + 5 * Sin(sine / 20))), 0.3) | |
1568 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-45), Rad(0 - 5 * Sin(sine / 20)), Rad(-25 - 5 * Sin(sine / 20))), 0.3) | |
1569 | end | |
1570 | combo = 1 | |
1571 | end | |
1572 | Speed = 56 | |
1573 | wait2 = false | |
1574 | attack = false | |
1575 | end | |
1576 | end) | |
1577 | function Taunt() | |
1578 | attack = true | |
1579 | Speed = 3 | |
1580 | if Chips == "onebearnakedwoman" then | |
1581 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=265057155" | |
1582 | local Munch = Cso("338816827", hed, 5, 1) | |
1583 | swait(2) | |
1584 | repeat | |
1585 | swait() | |
1586 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1587 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1588 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3) | |
1589 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3) | |
1590 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1) | |
1591 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3) | |
1592 | until Munch.Playing == false | |
1593 | elseif Chips == "layonme" then | |
1594 | for i = 0, 6, 0.1 do | |
1595 | swait() | |
1596 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1597 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0 - 255.45 * i)), 0.15) | |
1598 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1599 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1600 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(30 + 5 * Sin(sine / 20)), Rad(45 + 5 * Sin(sine / 20))), 0.1) | |
1601 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-30 - 5 * Sin(sine / 20)), Rad(-45 - 5 * Sin(sine / 20))), 0.1) | |
1602 | end | |
1603 | elseif Chips == "howitfeelstochew5gum" then | |
1604 | local Munch = Cso("338816827", hed, 5, 1) | |
1605 | swait(2) | |
1606 | repeat | |
1607 | swait() | |
1608 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1609 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1610 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3) | |
1611 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3) | |
1612 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1) | |
1613 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3) | |
1614 | until Munch.Playing == false | |
1615 | Cso("172324194", hed, 5, 1) | |
1616 | for i = 0, 5, 0.1 do | |
1617 | swait() | |
1618 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 * Player_Size) * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1619 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35), Rad(0), Rad(0)), 0.3) | |
1620 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3) | |
1621 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3) | |
1622 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1) | |
1623 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(-10)), 0.3) | |
1624 | end | |
1625 | local RUN = Cso("957655044", hed, 5, 1) | |
1626 | swait(2) | |
1627 | repeat | |
1628 | swait() | |
1629 | Speed = 56 | |
1630 | local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16) | |
1631 | root.Velocity = root.CFrame.lookVector * 75 | |
1632 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.65 * Cos(sine / ( WALKSPEEDVALUE / 2 ))) * angles(Rad(-25), Rad(0), Rad(0 - 1.75 * Cos(sine / ( WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1) | |
1633 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1) | |
1634 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 - 95 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
1635 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 + 95 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
1636 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(45)), 0.1) | |
1637 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(-45)), 0.1) | |
1638 | until RUN.Playing == false | |
1639 | elseif Chips == "5gumdowngrade" then | |
1640 | Cso("1826625760", hed, 5, 1) | |
1641 | for i = 0, 5, 0.1 do | |
1642 | swait() | |
1643 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
1644 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
1645 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1646 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1647 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
1648 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
1649 | end | |
1650 | end | |
1651 | Speed = 56 | |
1652 | movelegs = false | |
1653 | attack = false | |
1654 | end | |
1655 | function BOI() | |
1656 | attack = true | |
1657 | hum.WalkSpeed = 1.01 | |
1658 | Cso("390901873", hed, 10, 1) | |
1659 | char.Head.face.Texture = "rbxassetid://282463320" | |
1660 | for i = 0,4,0.1 do | |
1661 | swait() | |
1662 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1663 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1664 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1665 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1666 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(50), Rad(90)), 0.1) | |
1667 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-50), Rad(-90)), 0.1) | |
1668 | end | |
1669 | for i = 0,4,0.1 do | |
1670 | swait() | |
1671 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1672 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3) | |
1673 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1674 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1675 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(140), Rad(60)), 0.1) | |
1676 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-140), Rad(-60)), 0.1) | |
1677 | end | |
1678 | attack = false | |
1679 | hum.WalkSpeed = 56 | |
1680 | end | |
1681 | function Gum() | |
1682 | attack = true | |
1683 | Speed = 0 | |
1684 | local Senses = Cso("605297168", hed, 6, 1) | |
1685 | swait(2) | |
1686 | repeat | |
1687 | swait() | |
1688 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.2) | |
1689 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.2) | |
1690 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2) | |
1691 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2) | |
1692 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.2) | |
1693 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.2) | |
1694 | until Senses.TimePosition > 2.7 | |
1695 | for i = 0, 3, 0.1 do | |
1696 | swait() | |
1697 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.5) | |
1698 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
1699 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
1700 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
1701 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5) | |
1702 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5) | |
1703 | end | |
1704 | root.Anchored = true | |
1705 | repeat | |
1706 | swait() | |
1707 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(90), Rad(0), Rad(0)), 0.5) | |
1708 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
1709 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
1710 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
1711 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5) | |
1712 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5) | |
1713 | until Senses.Playing == false | |
1714 | Speed = 56 | |
1715 | attack = false | |
1716 | root.Anchored = false | |
1717 | end | |
1718 | function OHHHHHHH() | |
1719 | attack = true | |
1720 | Speed = 0 | |
1721 | Cso("663306786", tors, 3, 1) | |
1722 | for i = 0, 12, 0.1 do | |
1723 | swait() | |
1724 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0 + 1 * i * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.1) | |
1725 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
1726 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1727 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1728 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
1729 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(143), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
1730 | end | |
1731 | Cso("663307468", tors, 6, 1) | |
1732 | for i = 0, 6, 0.1 do | |
1733 | swait() | |
1734 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 4500 * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1735 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
1736 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
1737 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1738 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
1739 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(156), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
1740 | end | |
1741 | Speed = 56 | |
1742 | attack = false | |
1743 | end | |
1744 | function WoodyGotWood() | |
1745 | attack = true | |
1746 | Speed = 0 | |
1747 | local Woodlenny = Cso("1764642350", hed, 6, 1) | |
1748 | swait(2) | |
1749 | repeat | |
1750 | swait() | |
1751 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 5)) * angles(Rad(20), Rad(0), Rad(5)), 0.2) | |
1752 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(-5 - 15 * Sin(sine / 20))), 0.2) | |
1753 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2) | |
1754 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2) | |
1755 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.2) | |
1756 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0), Rad(-10)), 0.2) | |
1757 | until Woodlenny.TimePosition > 3.6 | |
1758 | root.Anchored = true | |
1759 | repeat | |
1760 | swait() | |
1761 | for i = 0, 2, 0.1 do | |
1762 | swait() | |
1763 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5) | |
1764 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
1765 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
1766 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
1767 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(90)), 0.5) | |
1768 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5) | |
1769 | end | |
1770 | for i = 0, 1.6, 0.1 do | |
1771 | swait() | |
1772 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.4 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5) | |
1773 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) | |
1774 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5) | |
1775 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5) | |
1776 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(75)), 0.5) | |
1777 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-75)), 0.5) | |
1778 | end | |
1779 | until Woodlenny.Playing == false | |
1780 | Speed = 56 | |
1781 | attack = false | |
1782 | root.Anchored = false | |
1783 | end | |
1784 | function AnotherOne() --WhAT ANOTHER ONE | |
1785 | attack = true | |
1786 | hum.WalkSpeed = 1.01 | |
1787 | local icri = Cso("1205111204", hed, 10, 1) | |
1788 | swait(165) | |
1789 | local FRAME = tors.CFrame | |
1790 | repeat | |
1791 | swait() | |
1792 | char.Head.face.Texture = "rbxassetid://582931093" | |
1793 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1794 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1795 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1796 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1797 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
1798 | tors.CFrame = FRAME * CF(0,1,0) | |
1799 | swait() | |
1800 | tors.CFrame = FRAME | |
1801 | until icri.Playing == false | |
1802 | char.Head.face.Texture = "rbxassetid://620619801" | |
1803 | attack = false | |
1804 | hum.WalkSpeed = 56 | |
1805 | end | |
1806 | function NEN() | |
1807 | attack = true | |
1808 | hum.WalkSpeed = 1.01 | |
1809 | Cso("230292011", hed, 10, 1) | |
1810 | char.Head.face.Texture = "rbxassetid://705269463" | |
1811 | for i = 0,4,0.1 do | |
1812 | swait() | |
1813 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1814 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-90), Rad(0), Rad(0)), 0.3) | |
1815 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1816 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1817 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
1818 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
1819 | end | |
1820 | attack = false | |
1821 | char.Head.face.Texture = "rbxassetid://620619801" | |
1822 | hum.WalkSpeed = 56 | |
1823 | end | |
1824 | function WRY() --WRYYYYYYY | |
1825 | attack = true | |
1826 | hum.WalkSpeed = 0.30 | |
1827 | Cso("794081034", hed, 10, 1) | |
1828 | char.Head.face.Texture = "rbxassetid://396389196" | |
1829 | for i = 0,2,0.1 do | |
1830 | swait() | |
1831 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1832 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3) | |
1833 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1834 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1835 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(140), Rad(60)), 0.1) | |
1836 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-140), Rad(-60)), 0.1) | |
1837 | end | |
1838 | for i = 0,14.7,0.1 do | |
1839 | swait() | |
1840 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 1, -1 + 0.1) * angles(Rad(-75), Rad(0), Rad(0)), 0.15) | |
1841 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(65), Rad(0), Rad(0)), 0.3) | |
1842 | RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-70)), 0.15) | |
1843 | LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(70)), 0.15) | |
1844 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(40)), 0.1) | |
1845 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(-0), Rad(-40)), 0.1) | |
1846 | end | |
1847 | attack = false | |
1848 | char.Head.face.Texture = "rbxassetid://620619801" | |
1849 | hum.WalkSpeed = 56 | |
1850 | end | |
1851 | ||
1852 | ------------------------------------------------------- | |
1853 | --End Attacks N Stuff-- | |
1854 | ------------------------------------------------------- | |
1855 | mouse.KeyDown:connect(function(key) | |
1856 | if attack == false then | |
1857 | if key == "t" then | |
1858 | Taunt() | |
1859 | elseif key == "z" then | |
1860 | Gum() | |
1861 | elseif key == "h" then | |
1862 | AnotherOne() | |
1863 | elseif key == "j" then | |
1864 | NEN() | |
1865 | elseif key == "e" then | |
1866 | WRY() | |
1867 | elseif key == "g" then | |
1868 | BOI() | |
1869 | elseif key == "x" then | |
1870 | OHHHHHHH() | |
1871 | elseif key == "c" then | |
1872 | WoodyGotWood() | |
1873 | elseif key == "f" then | |
1874 | Cso("289556450", tors, 7, 1) | |
1875 | Cso("1650073108", tors, 7, 1) | |
1876 | - | SONG = 690663957 |
1876 | + | SONG = 585883848 |
1877 | Music.TimePosition = 0 | |
1878 | - | PMesh.TextureId = "rbxassetid://24878483" |
1878 | + | PMesh.TextureId = "rbxassetid://1757132381" |
1879 | Chips = "cheesexd" | |
1880 | elseif key == "m" then | |
1881 | Cso("289556450", tors, 7, 1) | |
1882 | Cso("1650073108", tors, 7, 1) | |
1883 | - | SONG = 525565668 |
1883 | + | SONG = 2338397562 |
1884 | Music.TimePosition = 0 | |
1885 | - | PMesh.TextureId = "rbxassetid://10483355" |
1885 | + | PMesh.TextureId = "rbxassetid://431532899" |
1886 | Chips = "onebearnakedwoman" | |
1887 | BC.HeadColor = BrickColor.new("Fossil") | |
1888 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
1888 | + | BC.LeftArmColor = BrickColor.new("Dark blue") |
1889 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
1889 | + | BC.LeftLegColor = BrickColor.new("Cyan") |
1890 | - | BC.RightArmColor = BrickColor.new("Really red") |
1890 | + | |
1891 | - | BC.RightLegColor = BrickColor.new("Fossil") |
1891 | + | BC.RightLegColor = BrickColor.new("Crimson") |
1892 | - | BC.TorsoColor = BrickColor.new("Fossil") |
1892 | + | BC.TorsoColor = BrickColor.new("Hot pink") |
1893 | elseif key == "n" then | |
1894 | Cso("289556450", tors, 7, 1) | |
1895 | Cso("1650073108", tors, 7, 1) | |
1896 | - | SONG = 391647234 |
1896 | + | SONG = 2579777475 |
1897 | Music.TimePosition = 0 | |
1898 | - | PMesh.TextureId = "rbxassetid://10549894" |
1898 | + | PMesh.TextureId = "rbxassetid://1726181312" |
1899 | Chips = "layonme" | |
1900 | BC.HeadColor = BrickColor.new("Fossil") | |
1901 | - | BC.LeftArmColor = BrickColor.new("Dark blue") |
1901 | + | BC.LeftArmColor = BrickColor.new("Hot pink") |
1902 | - | BC.LeftLegColor = BrickColor.new("Dark blue") |
1902 | + | BC.LeftLegColor = BrickColor.new("Hot pink") |
1903 | - | BC.RightArmColor = BrickColor.new("Dark blue") |
1903 | + | BC.RightArmColor = BrickColor.new("Hot pink") |
1904 | - | BC.RightLegColor = BrickColor.new("Dark blue") |
1904 | + | BC.RightLegColor = BrickColor.new("Hot pink") |
1905 | - | BC.TorsoColor = BrickColor.new("Dark blue") |
1905 | + | BC.TorsoColor = BrickColor.new("Hot pink") |
1906 | elseif key == "b" then | |
1907 | Cso("289556450", tors, 7, 1) | |
1908 | Cso("1650073108", tors, 7, 1) | |
1909 | - | SONG = 1386299751 |
1909 | + | SONG = 847063107 |
1910 | Music.TimePosition = 0 | |
1911 | - | PMesh.TextureId = "rbxassetid://16574454" |
1911 | + | PMesh.TextureId = "rbxassetid://431826466" |
1912 | Chips = "howitfeelstochew5gum" | |
1913 | - | BC.LeftArmColor = BrickColor.new("Deep Orange") |
1913 | + | BC.LeftArmColor = BrickColor.new("Cyan") |
1914 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
1914 | + | BC.LeftLegColor = BrickColor.new("Cyan") |
1915 | BC.RightArmColor = BrickColor.new("Cyan") | |
1916 | - | BC.RightLegColor = BrickColor.new("Fossil") |
1916 | + | BC.RightLegColor = BrickColor.new("Cyan") |
1917 | - | BC.TorsoColor = BrickColor.new("Fossil") |
1917 | + | BC.TorsoColor = BrickColor.new("Deep orange") |
1918 | elseif key == "v" then | |
1919 | Cso("289556450", tors, 7, 1) | |
1920 | Cso("1650073108", tors, 7, 1) | |
1921 | - | SONG = 554967156 |
1921 | + | SONG = 596886258 |
1922 | Music.TimePosition = 0 | |
1923 | - | PMesh.TextureId = "rbxassetid://15218018" |
1923 | + | PMesh.TextureId = "rbxassetid://236380645" |
1924 | Chips = "5gumdowngrade" | |
1925 | - | BC.LeftArmColor = BrickColor.new("White") |
1925 | + | BC.LeftArmColor = BrickColor.new("Cyan") |
1926 | - | BC.LeftLegColor = BrickColor.new("Really red") |
1926 | + | BC.LeftLegColor = BrickColor.new("Dark blue") |
1927 | - | BC.RightArmColor = BrickColor.new("Dark Blue") |
1927 | + | BC.RightArmColor = BrickColor.new("Cyan") |
1928 | - | BC.RightLegColor = BrickColor.new("White") |
1928 | + | BC.RightLegColor = BrickColor.new("Dark blue") |
1929 | - | BC.TorsoColor = BrickColor.new("White") |
1929 | + | BC.TorsoColor = BrickColor.new("Cyan") |
1930 | end | |
1931 | end | |
1932 | end) | |
1933 | ||
1934 | ||
1935 | ||
1936 | ||
1937 | ||
1938 | ||
1939 | ||
1940 | ||
1941 | ------------------------------------------------------- | |
1942 | --Start Animations-- | |
1943 | ------------------------------------------------------- | |
1944 | print("By Makhail07") | |
1945 | while true do | |
1946 | swait() | |
1947 | sine = sine + change | |
1948 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1949 | local velderp = root.Velocity.y | |
1950 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
1951 | if equipped == true or equipped == false then | |
1952 | if attack == false then | |
1953 | idle = idle + 1 | |
1954 | else | |
1955 | idle = 0 | |
1956 | end | |
1957 | local Landed = false | |
1958 | if(hitfloor)then | |
1959 | WasAir = false | |
1960 | else | |
1961 | WasAir = true | |
1962 | end | |
1963 | if(WasAir == false)then | |
1964 | if(InAir == true)then | |
1965 | LandTick = time() | |
1966 | Landed = true | |
1967 | end | |
1968 | end | |
1969 | if(time()-LandTick < .3)then | |
1970 | Landed = true | |
1971 | end | |
1972 | if(hitfloor)then | |
1973 | InAir = false | |
1974 | else | |
1975 | InAir = true | |
1976 | end | |
1977 | local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16) | |
1978 | local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1) | |
1979 | local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") | |
1980 | if(State == 'Jump')then | |
1981 | hum.JumpPower = 55 | |
1982 | if attack == false then | |
1983 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1) | |
1984 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1985 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1) | |
1986 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1) | |
1987 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
1988 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
1989 | end | |
1990 | elseif(State == 'Fall')then | |
1991 | if attack == false then | |
1992 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
1993 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1994 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
1995 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
1996 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
1997 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
1998 | end | |
1999 | elseif(State == 'Land')then | |
2000 | hum.JumpPower = 0 | |
2001 | if attack == false then | |
2002 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
2003 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2004 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15) | |
2005 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15) | |
2006 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1) | |
2007 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1) | |
2008 | end | |
2009 | elseif(State == 'Idle')then | |
2010 | change = 1 | |
2011 | if attack == false then | |
2012 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
2013 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
2014 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) | |
2015 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
2016 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) | |
2017 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) | |
2018 | end | |
2019 | elseif(State == 'Walk')then | |
2020 | change = 0.55 | |
2021 | hum.JumpPower = 55 | |
2022 | if attack == false then | |
2023 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.65 * Cos(sine / ( WALKSPEEDVALUE / 2 ))) * angles(Rad(-25), Rad(0), Rad(0 - 1.75 * Cos(sine / ( WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1) | |
2024 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1) | |
2025 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 - 95 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
2026 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 + 95 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
2027 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(45)), 0.1) | |
2028 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(-45)), 0.1) | |
2029 | elseif attack == true and movelegs == true then | |
2030 | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
2031 | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) | |
2032 | end | |
2033 | end | |
2034 | end | |
2035 | hum.Name = "HUM" | |
2036 | hum.WalkSpeed = Speed | |
2037 | Music.SoundId = "rbxassetid://"..SONG | |
2038 | Music.Looped = true | |
2039 | Music.Pitch = 1 | |
2040 | Music.Volume = 1.5 | |
2041 | Music.Parent = tors | |
2042 | Music.Playing = true | |
2043 | if 0 < #Effects then | |
2044 | for e = 1, #Effects do | |
2045 | if Effects[e] ~= nil then | |
2046 | local Thing = Effects[e] | |
2047 | if Thing ~= nil then | |
2048 | local Part = Thing[1] | |
2049 | local Mode = Thing[2] | |
2050 | local Delay = Thing[3] | |
2051 | local IncX = Thing[4] | |
2052 | local IncY = Thing[5] | |
2053 | local IncZ = Thing[6] | |
2054 | if 1 >= Thing[1].Transparency then | |
2055 | if Thing[2] == "Block1" then | |
2056 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2057 | local Mesh = Thing[1].Mesh | |
2058 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2059 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2060 | elseif Thing[2] == "Block2" then | |
2061 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2062 | local Mesh = Thing[7] | |
2063 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2064 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2065 | elseif Thing[2] == "Block3" then | |
2066 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
2067 | local Mesh = Thing[7] | |
2068 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2069 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2070 | elseif Thing[2] == "Cylinder" then | |
2071 | local Mesh = Thing[1].Mesh | |
2072 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2073 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2074 | elseif Thing[2] == "Blood" then | |
2075 | local Mesh = Thing[7] | |
2076 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2077 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2078 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2079 | elseif Thing[2] == "Elec" then | |
2080 | local Mesh = Thing[1].Mesh | |
2081 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2082 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2083 | elseif Thing[2] == "Disappear" then | |
2084 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2085 | elseif Thing[2] == "Shatter" then | |
2086 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2087 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2088 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2089 | Thing[6] = Thing[6] + Thing[5] | |
2090 | end | |
2091 | else | |
2092 | Part.Parent = nil | |
2093 | table.remove(Effects, e) | |
2094 | end | |
2095 | end | |
2096 | end | |
2097 | end | |
2098 | end | |
2099 | end | |
2100 | ------------------------------------------------------- | |
2101 | - | --End Animations And Script-- |
2101 | + | --End Animations And Script-- EDIT BY TIMETODIE23232223 |
2102 | ------------------------------------------------------- |