SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | local rp = RealPlayer | |
6 | script.Parent = rp.Character | |
7 | ||
8 | --RemoteEvent for communicating | |
9 | local Event = Instance.new("RemoteEvent") | |
10 | Event.Name = "UserInput_Event" | |
11 | ||
12 | --Fake event to make stuff like Mouse.KeyDown work | |
13 | local function fakeEvent() | |
14 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
15 | t.connect = t.Connect | |
16 | return t | |
17 | end | |
18 | ||
19 | --Creating fake input objects with fake variables | |
20 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
21 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
22 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
23 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
24 | end} | |
25 | --Merged 2 functions into one by checking amount of arguments | |
26 | CAS.UnbindAction = CAS.BindAction | |
27 | ||
28 | --This function will trigger the events that have been :Connect()'ed | |
29 | local function te(self,ev,...) | |
30 | local t = m[ev] | |
31 | if t and t._fakeEvent then | |
32 | for _,f in pairs(t.Functions) do | |
33 | f(...) | |
34 | end | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=rp then return end | |
42 | m.Target = io.Target | |
43 | m.Hit = io.Hit | |
44 | if not io.isMouse then | |
45 | local b = io.UserInputState == Enum.UserInputState.Begin | |
46 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
47 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
48 | end | |
49 | for _,t in pairs(CAS.Actions) do | |
50 | for _,k in pairs(t.Keys) do | |
51 | if k==io.KeyCode then | |
52 | t.Function(t.Name,io.UserInputState,io) | |
53 | end | |
54 | end | |
55 | end | |
56 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
57 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
58 | end | |
59 | end) | |
60 | Event.Parent = NLS([==[ | |
61 | local Player = game:GetService("Players").LocalPlayer | |
62 | local Event = script:WaitForChild("UserInput_Event") | |
63 | ||
64 | local Mouse = Player:GetMouse() | |
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local h,t | |
75 | --Give the server mouse data 30 times every second, but only if the values changed | |
76 | --If player is not moving their mouse, client won't fire events | |
77 | while wait(1/30) do | |
78 | if h~=Mouse.Hit or t~=Mouse.Target then | |
79 | h,t=Mouse.Hit,Mouse.Target | |
80 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
81 | end | |
82 | end]==],Player.Character) | |
83 | ||
84 | ----Sandboxed game object that allows the usage of client-side methods and services | |
85 | --Real game object | |
86 | local _rg = game | |
87 | ||
88 | --Metatable for fake service | |
89 | local fsmt = { | |
90 | __index = function(self,k) | |
91 | local s = rawget(self,"_RealService") | |
92 | if s then return s[k] end | |
93 | end, | |
94 | __newindex = function(self,k,v) | |
95 | local s = rawget(self,"_RealService") | |
96 | if s then s[k]=v end | |
97 | end, | |
98 | __call = function(self,...) | |
99 | local s = rawget(self,"_RealService") | |
100 | if s then return s(...) end | |
101 | end | |
102 | } | |
103 | local function FakeService(t,RealService) | |
104 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
105 | return setmetatable(t,fsmt) | |
106 | end | |
107 | ||
108 | --Fake game object | |
109 | local g = { | |
110 | GetService = function(self,s) | |
111 | return self[s] | |
112 | end, | |
113 | Players = FakeService({ | |
114 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
115 | },"Players"), | |
116 | UserInputService = FakeService(UIS,"UserInputService"), | |
117 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
118 | } | |
119 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
120 | g.service = g.GetService | |
121 | ||
122 | g.RunService = FakeService({ | |
123 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
124 | BindToRenderStep = function(self,name,_,fun) | |
125 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
126 | end, | |
127 | UnbindFromRenderStep = function(self,name) | |
128 | self._btrs[name]:Disconnect() | |
129 | end, | |
130 | },"RunService") | |
131 | ||
132 | setmetatable(g,{ | |
133 | __index=function(self,s) | |
134 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
135 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
136 | end, | |
137 | __newindex = fsmt.__newindex, | |
138 | __call = fsmt.__call | |
139 | }) | |
140 | --Changing owner to fake player object to support owner:GetMouse() | |
141 | game,owner = g,g.Players.LocalPlayer | |
142 | end | |
143 | ||
144 | Player = owner | |
145 | PlayerGui = Player.PlayerGui | |
146 | Cam = workspace.CurrentCamera | |
147 | Backpack = Player.Backpack | |
148 | Character = Player.Character | |
149 | Humanoid = Character.Humanoid | |
150 | Mouse = Player:GetMouse() | |
151 | RootPart = Character["HumanoidRootPart"] | |
152 | Torso = Character["Torso"] | |
153 | Head = Character["Head"] | |
154 | RightArm = Character["Right Arm"] | |
155 | LeftArm = Character["Left Arm"] | |
156 | RightLeg = Character["Right Leg"] | |
157 | LeftLeg = Character["Left Leg"] | |
158 | RootJoint = RootPart["RootJoint"] | |
159 | Neck = Torso["Neck"] | |
160 | RightShoulder = Torso["Right Shoulder"] | |
161 | LeftShoulder = Torso["Left Shoulder"] | |
162 | RightHip = Torso["Right Hip"] | |
163 | LeftHip = Torso["Left Hip"] | |
164 | ||
165 | Character = Player.Character | |
166 | Humanoid = Character.Humanoid | |
167 | ||
168 | ------------------------------------------------------- | |
169 | ||
170 | local FavIDs = { | |
171 | 340106355, --Nefl Crystals | |
172 | 927529620, --Dimension | |
173 | 876981900, --Fantasy | |
174 | 398987889, --Ordinary Days | |
175 | 1117396305, --Oh wait, it's you. | |
176 | 885996042, --Action Winter Journey | |
177 | 919231299, --Sprawling Idiot Effigy | |
178 | 743466274, --Good Day Sunshine | |
179 | 727411183, --Knife Fight | |
180 | 1402748531, --The Earth Is Counting On You! | |
181 | 595230126 --Robot Language | |
182 | } | |
183 | ||
184 | ||
185 | ||
186 | wait(0.2) | |
187 | local plr = game:service'Players'.LocalPlayer | |
188 | local char = plr.Character | |
189 | local hum = char.Humanoid | |
190 | local hed = char.Head | |
191 | local root = char.HumanoidRootPart | |
192 | local rootj = root.RootJoint | |
193 | local tors = char.Torso | |
194 | local ra = char["Right Arm"] | |
195 | local la = char["Left Arm"] | |
196 | local rl = char["Right Leg"] | |
197 | local ll = char["Left Leg"] | |
198 | local neck = tors["Neck"] | |
199 | local mouse = plr:GetMouse() | |
200 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
201 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
202 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
203 | local maincolor = BrickColor.new("Institutional white") | |
204 | ||
205 | ------------------------------------------------------- | |
206 | --Start Good Stuff-- | |
207 | ------------------------------------------------------- | |
208 | cam = game.Workspace.CurrentCamera | |
209 | CF = CFrame.new | |
210 | angles = CFrame.Angles | |
211 | attack = false | |
212 | Euler = CFrame.fromEulerAnglesXYZ | |
213 | Rad = math.rad | |
214 | IT = Instance.new | |
215 | BrickC = BrickColor.new | |
216 | Cos = math.cos | |
217 | Acos = math.acos | |
218 | Sin = math.sin | |
219 | Asin = math.asin | |
220 | Abs = math.abs | |
221 | Mrandom = math.random | |
222 | Floor = math.floor | |
223 | ------------------------------------------------------- | |
224 | --End Good Stuff-- | |
225 | ------------------------------------------------------- | |
226 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
227 | RSH, LSH = nil, nil | |
228 | RW = Instance.new("Weld") | |
229 | LW = Instance.new("Weld") | |
230 | RH = tors["Right Hip"] | |
231 | LH = tors["Left Hip"] | |
232 | RSH = tors["Right Shoulder"] | |
233 | LSH = tors["Left Shoulder"] | |
234 | RSH.Parent = nil | |
235 | LSH.Parent = nil | |
236 | RW.Name = "RW" | |
237 | RW.Part0 = tors | |
238 | RW.C0 = CF(1.5, 0.5, 0) | |
239 | RW.C1 = CF(0, 0.5, 0) | |
240 | RW.Part1 = ra | |
241 | RW.Parent = tors | |
242 | LW.Name = "LW" | |
243 | LW.Part0 = tors | |
244 | LW.C0 = CF(-1.5, 0.5, 0) | |
245 | LW.C1 = CF(0, 0.5, 0) | |
246 | LW.Part1 = la | |
247 | LW.Parent = tors | |
248 | Effects = {} | |
249 | ------------------------------------------------------- | |
250 | --Start HeartBeat-- | |
251 | ------------------------------------------------------- | |
252 | ArtificialHB = Instance.new("BindableEvent", script) | |
253 | ArtificialHB.Name = "Heartbeat" | |
254 | script:WaitForChild("Heartbeat") | |
255 | ||
256 | frame = 1 / 60 | |
257 | tf = 0 | |
258 | allowframeloss = false | |
259 | tossremainder = false | |
260 | ||
261 | ||
262 | lastframe = tick() | |
263 | script.Heartbeat:Fire() | |
264 | ||
265 | ||
266 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
267 | tf = tf + s | |
268 | if tf >= frame then | |
269 | if allowframeloss then | |
270 | script.Heartbeat:Fire() | |
271 | lastframe = tick() | |
272 | else | |
273 | for i = 1, math.floor(tf / frame) do | |
274 | script.Heartbeat:Fire() | |
275 | end | |
276 | lastframe = tick() | |
277 | end | |
278 | if tossremainder then | |
279 | tf = 0 | |
280 | else | |
281 | tf = tf - frame * math.floor(tf / frame) | |
282 | end | |
283 | end | |
284 | end) | |
285 | ------------------------------------------------------- | |
286 | --End HeartBeat-- | |
287 | ------------------------------------------------------- | |
288 | ||
289 | ------------------------------------------------------- | |
290 | --Start Important Functions-- | |
291 | ------------------------------------------------------- | |
292 | function swait(num) | |
293 | if num == 0 or num == nil then | |
294 | game:service("RunService").Stepped:wait(0) | |
295 | else | |
296 | for i = 0, num do | |
297 | game:service("RunService").Stepped:wait(0) | |
298 | end | |
299 | end | |
300 | end | |
301 | function thread(f) | |
302 | coroutine.resume(coroutine.create(f)) | |
303 | end | |
304 | function clerp(a, b, t) | |
305 | local qa = { | |
306 | QuaternionFromCFrame(a) | |
307 | } | |
308 | local qb = { | |
309 | QuaternionFromCFrame(b) | |
310 | } | |
311 | local ax, ay, az = a.x, a.y, a.z | |
312 | local bx, by, bz = b.x, b.y, b.z | |
313 | local _t = 1 - t | |
314 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
315 | end | |
316 | function QuaternionFromCFrame(cf) | |
317 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
318 | local trace = m00 + m11 + m22 | |
319 | if trace > 0 then | |
320 | local s = math.sqrt(1 + trace) | |
321 | local recip = 0.5 / s | |
322 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
323 | else | |
324 | local i = 0 | |
325 | if m00 < m11 then | |
326 | i = 1 | |
327 | end | |
328 | if m22 > (i == 0 and m00 or m11) then | |
329 | i = 2 | |
330 | end | |
331 | if i == 0 then | |
332 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
333 | local recip = 0.5 / s | |
334 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
335 | elseif i == 1 then | |
336 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
337 | local recip = 0.5 / s | |
338 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
339 | elseif i == 2 then | |
340 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
341 | local recip = 0.5 / s | |
342 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
343 | end | |
344 | end | |
345 | end | |
346 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
347 | local xs, ys, zs = x + x, y + y, z + z | |
348 | local wx, wy, wz = w * xs, w * ys, w * zs | |
349 | local xx = x * xs | |
350 | local xy = x * ys | |
351 | local xz = x * zs | |
352 | local yy = y * ys | |
353 | local yz = y * zs | |
354 | local zz = z * zs | |
355 | 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)) | |
356 | end | |
357 | function QuaternionSlerp(a, b, t) | |
358 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
359 | local startInterp, finishInterp | |
360 | if cosTheta >= 1.0E-4 then | |
361 | if 1 - cosTheta > 1.0E-4 then | |
362 | local theta = math.acos(cosTheta) | |
363 | local invSinTheta = 1 / Sin(theta) | |
364 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
365 | finishInterp = Sin(t * theta) * invSinTheta | |
366 | else | |
367 | startInterp = 1 - t | |
368 | finishInterp = t | |
369 | end | |
370 | elseif 1 + cosTheta > 1.0E-4 then | |
371 | local theta = math.acos(-cosTheta) | |
372 | local invSinTheta = 1 / Sin(theta) | |
373 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
374 | finishInterp = Sin(t * theta) * invSinTheta | |
375 | else | |
376 | startInterp = t - 1 | |
377 | finishInterp = t | |
378 | end | |
379 | 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 | |
380 | end | |
381 | function rayCast(Position, Direction, Range, Ignore) | |
382 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
383 | end | |
384 | local RbxUtility = LoadLibrary("RbxUtility") | |
385 | local Create = RbxUtility.Create | |
386 | ||
387 | ------------------------------------------------------- | |
388 | --Start Damage Function-- | |
389 | ------------------------------------------------------- | |
390 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
391 | if hit.Parent == nil then | |
392 | return | |
393 | end | |
394 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
395 | for _, v in pairs(hit.Parent:children()) do | |
396 | if v:IsA("Humanoid") then | |
397 | h = v | |
398 | end | |
399 | end | |
400 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
401 | ||
402 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
403 | end | |
404 | ||
405 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
406 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
407 | if hit.Parent.DebounceHit.Value == true then | |
408 | return | |
409 | end | |
410 | end | |
411 | if insta == true then | |
412 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
413 | end | |
414 | local c = Create("ObjectValue"){ | |
415 | Name = "creator", | |
416 | Value = game:service("Players").LocalPlayer, | |
417 | Parent = h, | |
418 | } | |
419 | game:GetService("Debris"):AddItem(c, .5) | |
420 | if HitSound ~= nil and HitPitch ~= nil then | |
421 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
422 | end | |
423 | local Damage = math.random(minim, maxim) | |
424 | local blocked = false | |
425 | local block = hit.Parent:findFirstChild("Block") | |
426 | if block ~= nil then | |
427 | if block.className == "IntValue" then | |
428 | if block.Value > 0 then | |
429 | blocked = true | |
430 | block.Value = block.Value - 1 | |
431 | print(block.Value) | |
432 | end | |
433 | end | |
434 | end | |
435 | if blocked == false then | |
436 | h.Health = h.Health - Damage | |
437 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
438 | else | |
439 | h.Health = h.Health - (Damage / 2) | |
440 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
441 | end | |
442 | if Type == "Knockdown" then | |
443 | local hum = hit.Parent.Humanoid | |
444 | hum.PlatformStand = true | |
445 | coroutine.resume(coroutine.create(function(HHumanoid) | |
446 | swait(1) | |
447 | HHumanoid.PlatformStand = false | |
448 | end), hum) | |
449 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
450 | local bodvol = Create("BodyVelocity"){ | |
451 | velocity = angle * knockback, | |
452 | P = 5000, | |
453 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
454 | Parent = hit, | |
455 | } | |
456 | local rl = Create("BodyAngularVelocity"){ | |
457 | P = 3000, | |
458 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
459 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
460 | Parent = hit, | |
461 | } | |
462 | game:GetService("Debris"):AddItem(bodvol, .5) | |
463 | game:GetService("Debris"):AddItem(rl, .5) | |
464 | elseif Type == "Normal" then | |
465 | local vp = Create("BodyVelocity"){ | |
466 | P = 500, | |
467 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
468 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
469 | } | |
470 | if knockback > 0 then | |
471 | vp.Parent = hit.Parent.Torso | |
472 | end | |
473 | game:GetService("Debris"):AddItem(vp, .5) | |
474 | elseif Type == "Up" then | |
475 | local bodyVelocity = Create("BodyVelocity"){ | |
476 | velocity = Vector3.new(0, 20, 0), | |
477 | P = 5000, | |
478 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
479 | Parent = hit, | |
480 | } | |
481 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
482 | elseif Type == "DarkUp" then | |
483 | coroutine.resume(coroutine.create(function() | |
484 | for i = 0, 1, 0.1 do | |
485 | swait() | |
486 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
487 | end | |
488 | end)) | |
489 | local bodyVelocity = Create("BodyVelocity"){ | |
490 | velocity = Vector3.new(0, 20, 0), | |
491 | P = 5000, | |
492 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
493 | Parent = hit, | |
494 | } | |
495 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
496 | elseif Type == "Snare" then | |
497 | local bp = Create("BodyPosition"){ | |
498 | P = 2000, | |
499 | D = 100, | |
500 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
501 | position = hit.Parent.Torso.Position, | |
502 | Parent = hit.Parent.Torso, | |
503 | } | |
504 | game:GetService("Debris"):AddItem(bp, 1) | |
505 | elseif Type == "Freeze" then | |
506 | local BodPos = Create("BodyPosition"){ | |
507 | P = 50000, | |
508 | D = 1000, | |
509 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
510 | position = hit.Parent.Torso.Position, | |
511 | Parent = hit.Parent.Torso, | |
512 | } | |
513 | local BodGy = Create("BodyGyro") { | |
514 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
515 | P = 20e+003, | |
516 | Parent = hit.Parent.Torso, | |
517 | cframe = hit.Parent.Torso.CFrame, | |
518 | } | |
519 | hit.Parent.Torso.Anchored = true | |
520 | coroutine.resume(coroutine.create(function(Part) | |
521 | swait(1.5) | |
522 | Part.Anchored = false | |
523 | end), hit.Parent.Torso) | |
524 | game:GetService("Debris"):AddItem(BodPos, 3) | |
525 | game:GetService("Debris"):AddItem(BodGy, 3) | |
526 | end | |
527 | local debounce = Create("BoolValue"){ | |
528 | Name = "DebounceHit", | |
529 | Parent = hit.Parent, | |
530 | Value = true, | |
531 | } | |
532 | game:GetService("Debris"):AddItem(debounce, Delay) | |
533 | c = Create("ObjectValue"){ | |
534 | Name = "creator", | |
535 | Value = Player, | |
536 | Parent = h, | |
537 | } | |
538 | game:GetService("Debris"):AddItem(c, .5) | |
539 | end | |
540 | end | |
541 | ------------------------------------------------------- | |
542 | --End Damage Function-- | |
543 | ------------------------------------------------------- | |
544 | ||
545 | ------------------------------------------------------- | |
546 | --Start Damage Function Customization-- | |
547 | ------------------------------------------------------- | |
548 | function ShowDamage(Pos, Text, Time, Color) | |
549 | local Rate = (1 / 30) | |
550 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
551 | local Text = (Text or "") | |
552 | local Time = (Time or 2) | |
553 | local Color = (Color or Color3.new(1, 0, 1)) | |
554 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
555 | EffectPart.Anchored = true | |
556 | local BillboardGui = Create("BillboardGui"){ | |
557 | Size = UDim2.new(3, 0, 3, 0), | |
558 | Adornee = EffectPart, | |
559 | Parent = EffectPart, | |
560 | } | |
561 | local TextLabel = Create("TextLabel"){ | |
562 | BackgroundTransparency = 1, | |
563 | Size = UDim2.new(1, 0, 1, 0), | |
564 | Text = Text, | |
565 | Font = "Bodoni", | |
566 | TextColor3 = Color, | |
567 | TextScaled = true, | |
568 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
569 | Parent = BillboardGui, | |
570 | } | |
571 | game.Debris:AddItem(EffectPart, (Time)) | |
572 | EffectPart.Parent = game:GetService("Workspace") | |
573 | delay(0, function() | |
574 | local Frames = (Time / Rate) | |
575 | for Frame = 1, Frames do | |
576 | wait(Rate) | |
577 | local Percent = (Frame / Frames) | |
578 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
579 | TextLabel.TextTransparency = Percent | |
580 | end | |
581 | if EffectPart and EffectPart.Parent then | |
582 | EffectPart:Destroy() | |
583 | end | |
584 | end) | |
585 | end | |
586 | ------------------------------------------------------- | |
587 | --End Damage Function Customization-- | |
588 | ------------------------------------------------------- | |
589 | ||
590 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
591 | for _, c in pairs(workspace:children()) do | |
592 | local hum = c:findFirstChild("Humanoid") | |
593 | if hum ~= nil then | |
594 | local head = c:findFirstChild("Head") | |
595 | if head ~= nil then | |
596 | local targ = head.Position - Part.Position | |
597 | local mag = targ.magnitude | |
598 | if magni >= mag and c.Name ~= plr.Name then | |
599 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
600 | end | |
601 | end | |
602 | end | |
603 | end | |
604 | end | |
605 | ||
606 | ||
607 | CFuncs = { | |
608 | Part = { | |
609 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
610 | local Part = Create("Part")({ | |
611 | Parent = Parent, | |
612 | Reflectance = Reflectance, | |
613 | Transparency = Transparency, | |
614 | CanCollide = false, | |
615 | Locked = true, | |
616 | BrickColor = BrickColor.new(tostring(BColor)), | |
617 | Name = Name, | |
618 | Size = Size, | |
619 | Material = Material | |
620 | }) | |
621 | RemoveOutlines(Part) | |
622 | return Part | |
623 | end | |
624 | }, | |
625 | Mesh = { | |
626 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
627 | local Msh = Create(Mesh)({ | |
628 | Parent = Part, | |
629 | Offset = OffSet, | |
630 | Scale = Scale | |
631 | }) | |
632 | if Mesh == "SpecialMesh" then | |
633 | Msh.MeshType = MeshType | |
634 | Msh.MeshId = MeshId | |
635 | end | |
636 | return Msh | |
637 | end | |
638 | }, | |
639 | Mesh = { | |
640 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
641 | local Msh = Create(Mesh)({ | |
642 | Parent = Part, | |
643 | Offset = OffSet, | |
644 | Scale = Scale | |
645 | }) | |
646 | if Mesh == "SpecialMesh" then | |
647 | Msh.MeshType = MeshType | |
648 | Msh.MeshId = MeshId | |
649 | end | |
650 | return Msh | |
651 | end | |
652 | }, | |
653 | Weld = { | |
654 | Create = function(Parent, Part0, Part1, C0, C1) | |
655 | local Weld = Create("Weld")({ | |
656 | Parent = Parent, | |
657 | Part0 = Part0, | |
658 | Part1 = Part1, | |
659 | C0 = C0, | |
660 | C1 = C1 | |
661 | }) | |
662 | return Weld | |
663 | end | |
664 | }, | |
665 | Sound = { | |
666 | Create = function(id, par, vol, pit) | |
667 | coroutine.resume(coroutine.create(function() | |
668 | local S = Create("Sound")({ | |
669 | Volume = vol, | |
670 | Pitch = pit or 1, | |
671 | SoundId = id, | |
672 | Parent = par or workspace | |
673 | }) | |
674 | wait() | |
675 | S:play() | |
676 | game:GetService("Debris"):AddItem(S, 6) | |
677 | end)) | |
678 | end | |
679 | }, | |
680 | ParticleEmitter = { | |
681 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
682 | local fp = Create("ParticleEmitter")({ | |
683 | Parent = Parent, | |
684 | Color = ColorSequence.new(Color1, Color2), | |
685 | LightEmission = LightEmission, | |
686 | Size = Size, | |
687 | Texture = Texture, | |
688 | Transparency = Transparency, | |
689 | ZOffset = ZOffset, | |
690 | Acceleration = Accel, | |
691 | Drag = Drag, | |
692 | LockedToPart = LockedToPart, | |
693 | VelocityInheritance = VelocityInheritance, | |
694 | EmissionDirection = EmissionDirection, | |
695 | Enabled = Enabled, | |
696 | Lifetime = LifeTime, | |
697 | Rate = Rate, | |
698 | Rotation = Rotation, | |
699 | RotSpeed = RotSpeed, | |
700 | Speed = Speed, | |
701 | VelocitySpread = VelocitySpread | |
702 | }) | |
703 | return fp | |
704 | end | |
705 | } | |
706 | } | |
707 | function RemoveOutlines(part) | |
708 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
709 | end | |
710 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
711 | local Part = Create("Part")({ | |
712 | formFactor = FormFactor, | |
713 | Parent = Parent, | |
714 | Reflectance = Reflectance, | |
715 | Transparency = Transparency, | |
716 | CanCollide = false, | |
717 | Locked = true, | |
718 | BrickColor = BrickColor.new(tostring(BColor)), | |
719 | Name = Name, | |
720 | Size = Size, | |
721 | Material = Material | |
722 | }) | |
723 | RemoveOutlines(Part) | |
724 | return Part | |
725 | end | |
726 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
727 | local Msh = Create(Mesh)({ | |
728 | Parent = Part, | |
729 | Offset = OffSet, | |
730 | Scale = Scale | |
731 | }) | |
732 | if Mesh == "SpecialMesh" then | |
733 | Msh.MeshType = MeshType | |
734 | Msh.MeshId = MeshId | |
735 | end | |
736 | return Msh | |
737 | end | |
738 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
739 | local Weld = Create("Weld")({ | |
740 | Parent = Parent, | |
741 | Part0 = Part0, | |
742 | Part1 = Part1, | |
743 | C0 = C0, | |
744 | C1 = C1 | |
745 | }) | |
746 | return Weld | |
747 | end | |
748 | ||
749 | ||
750 | ------------------------------------------------------- | |
751 | --Start Effect Function-- | |
752 | ------------------------------------------------------- | |
753 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
754 | local NEWWELD = IT(TYPE) | |
755 | NEWWELD.Part0 = PART0 | |
756 | NEWWELD.Part1 = PART1 | |
757 | NEWWELD.C0 = C0 | |
758 | NEWWELD.C1 = C1 | |
759 | NEWWELD.Parent = PARENT | |
760 | return NEWWELD | |
761 | end | |
762 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
763 | local NEWMESH = IT(MESH) | |
764 | if MESH == "SpecialMesh" then | |
765 | NEWMESH.MeshType = MESHTYPE | |
766 | if MESHID ~= "nil" and MESHID ~= "" then | |
767 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
768 | end | |
769 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
770 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
771 | end | |
772 | end | |
773 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
774 | NEWMESH.Scale = SCALE | |
775 | NEWMESH.Parent = PARENT | |
776 | return NEWMESH | |
777 | end | |
778 | ||
779 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Red", "Top Hat", Vector3.new(1,1,1),false) | |
780 | PRT.Color = Color3.new(236, 236, 236) | |
781 | local TopHat = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.87,0), CF(0, 0, 0)) | |
782 | CreateMesh("SpecialMesh", PRT, "FileMesh", "1033213385", "", Vector3.new(1,1,1)*1.05, Vector3.new(0,0,0)) | |
783 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Red", "Top Hat", Vector3.new(1,1,1),false) | |
784 | PRT.Color = Color3.new(27, 42, 53) | |
785 | EffectModel = Instance.new("Model", char) | |
786 | Effects = { | |
787 | Block = { | |
788 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
789 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
790 | prt.Anchored = true | |
791 | prt.CFrame = cframe | |
792 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
793 | game:GetService("Debris"):AddItem(prt, 10) | |
794 | if Type == 1 or Type == nil then | |
795 | table.insert(Effects, { | |
796 | prt, | |
797 | "Block1", | |
798 | delay, | |
799 | x3, | |
800 | y3, | |
801 | z3, | |
802 | msh | |
803 | }) | |
804 | elseif Type == 2 then | |
805 | table.insert(Effects, { | |
806 | prt, | |
807 | "Block2", | |
808 | delay, | |
809 | x3, | |
810 | y3, | |
811 | z3, | |
812 | msh | |
813 | }) | |
814 | else | |
815 | table.insert(Effects, { | |
816 | prt, | |
817 | "Block3", | |
818 | delay, | |
819 | x3, | |
820 | y3, | |
821 | z3, | |
822 | msh | |
823 | }) | |
824 | end | |
825 | end | |
826 | }, | |
827 | Sphere = { | |
828 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
829 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
830 | prt.Anchored = true | |
831 | prt.CFrame = cframe | |
832 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
833 | game:GetService("Debris"):AddItem(prt, 10) | |
834 | table.insert(Effects, { | |
835 | prt, | |
836 | "Cylinder", | |
837 | delay, | |
838 | x3, | |
839 | y3, | |
840 | z3, | |
841 | msh | |
842 | }) | |
843 | end | |
844 | }, | |
845 | Cylinder = { | |
846 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
847 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
848 | prt.Anchored = true | |
849 | prt.CFrame = cframe | |
850 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
851 | game:GetService("Debris"):AddItem(prt, 10) | |
852 | table.insert(Effects, { | |
853 | prt, | |
854 | "Cylinder", | |
855 | delay, | |
856 | x3, | |
857 | y3, | |
858 | z3, | |
859 | msh | |
860 | }) | |
861 | end | |
862 | }, | |
863 | Wave = { | |
864 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
865 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
866 | prt.Anchored = true | |
867 | prt.CFrame = cframe | |
868 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://0", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
869 | Cso("2755928629", tors, 10, 1) | |
870 | chatfunc("!print ((you got that))", BrickColor.new("Really red").Color) | |
871 | wait(0,35) | |
872 | game:GetService("Debris"):AddItem(prt, 10) | |
873 | table.insert(Effects, { | |
874 | prt, | |
875 | "Cylinder", | |
876 | delay, | |
877 | x3 / 60, | |
878 | y3 / 60, | |
879 | z3 / 60, | |
880 | msh | |
881 | }) | |
882 | end | |
883 | }, | |
884 | Ring = { | |
885 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
886 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
887 | prt.Anchored = true | |
888 | prt.CFrame = cframe | |
889 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
890 | game:GetService("Debris"):AddItem(prt, 10) | |
891 | table.insert(Effects, { | |
892 | prt, | |
893 | "Cylinder", | |
894 | delay, | |
895 | x3, | |
896 | y3, | |
897 | z3, | |
898 | msh | |
899 | }) | |
900 | end | |
901 | }, | |
902 | Break = { | |
903 | Create = function(brickcolor, cframe, x1, y1, z1) | |
904 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
905 | prt.Anchored = true | |
906 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
907 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
908 | local num = math.random(10, 50) / 1000 | |
909 | game:GetService("Debris"):AddItem(prt, 10) | |
910 | table.insert(Effects, { | |
911 | prt, | |
912 | "Shatter", | |
913 | num, | |
914 | prt.CFrame, | |
915 | math.random() - math.random(), | |
916 | 0, | |
917 | math.random(50, 100) / 100 | |
918 | }) | |
919 | end | |
920 | }, | |
921 | Spiral = { | |
922 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
923 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
924 | prt.Anchored = true | |
925 | prt.CFrame = cframe | |
926 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
927 | game:GetService("Debris"):AddItem(prt, 10) | |
928 | table.insert(Effects, { | |
929 | prt, | |
930 | "Cylinder", | |
931 | delay, | |
932 | x3, | |
933 | y3, | |
934 | z3, | |
935 | msh | |
936 | }) | |
937 | end | |
938 | }, | |
939 | Push = { | |
940 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
941 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
942 | prt.Anchored = true | |
943 | prt.CFrame = cframe | |
944 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
945 | game:GetService("Debris"):AddItem(prt, 10) | |
946 | table.insert(Effects, { | |
947 | prt, | |
948 | "Cylinder", | |
949 | delay, | |
950 | x3, | |
951 | y3, | |
952 | z3, | |
953 | msh | |
954 | }) | |
955 | end | |
956 | } | |
957 | } | |
958 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
959 | local fp = IT("Part") | |
960 | fp.formFactor = formfactor | |
961 | fp.Parent = parent | |
962 | fp.Reflectance = reflectance | |
963 | fp.Transparency = transparency | |
964 | fp.CanCollide = false | |
965 | fp.Locked = true | |
966 | fp.BrickColor = brickcolor | |
967 | fp.Name = name | |
968 | fp.Size = size | |
969 | fp.Position = tors.Position | |
970 | RemoveOutlines(fp) | |
971 | fp.Material = "SmoothPlastic" | |
972 | fp:BreakJoints() | |
973 | return fp | |
974 | end | |
975 | ||
976 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
977 | local mesh = IT(Mesh) | |
978 | mesh.Parent = part | |
979 | if Mesh == "SpecialMesh" then | |
980 | mesh.MeshType = meshtype | |
981 | if meshid ~= "nil" then | |
982 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
983 | end | |
984 | end | |
985 | mesh.Offset = offset | |
986 | mesh.Scale = scale | |
987 | return mesh | |
988 | end | |
989 | ||
990 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
991 | local type = type | |
992 | local rng = Instance.new("Part", char) | |
993 | rng.Anchored = true | |
994 | rng.BrickColor = color | |
995 | rng.CanCollide = false | |
996 | rng.FormFactor = 3 | |
997 | rng.Name = "Ring" | |
998 | rng.Material = "Neon" | |
999 | rng.Size = Vector3.new(1, 1, 1) | |
1000 | rng.Transparency = 0 | |
1001 | rng.TopSurface = 0 | |
1002 | rng.BottomSurface = 0 | |
1003 | rng.CFrame = pos | |
1004 | local rngm = Instance.new("SpecialMesh", rng) | |
1005 | rngm.MeshType = MType | |
1006 | rngm.Scale = scale | |
1007 | local scaler2 = 1 | |
1008 | if type == "Add" then | |
1009 | scaler2 = 1 * value | |
1010 | elseif type == "Divide" then | |
1011 | scaler2 = 1 / value | |
1012 | end | |
1013 | coroutine.resume(coroutine.create(function() | |
1014 | for i = 0, 10 / bonuspeed, 0.1 do | |
1015 | swait() | |
1016 | if type == "Add" then | |
1017 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1018 | elseif type == "Divide" then | |
1019 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1020 | end | |
1021 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1022 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1023 | end | |
1024 | rng:Destroy() | |
1025 | end)) | |
1026 | end | |
1027 | ||
1028 | function Eviscerate(dude) | |
1029 | if dude.Name ~= char then | |
1030 | local bgf = IT("BodyGyro", dude.Head) | |
1031 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1032 | local val = IT("BoolValue", dude) | |
1033 | val.Name = "IsHit" | |
1034 | local ds = coroutine.wrap(function() | |
1035 | dude:WaitForChild("Head"):BreakJoints() | |
1036 | wait(0.5) | |
1037 | target = nil | |
1038 | coroutine.resume(coroutine.create(function() | |
1039 | for i, v in pairs(dude:GetChildren()) do | |
1040 | if v:IsA("Accessory") then | |
1041 | v:Destroy() | |
1042 | end | |
1043 | if v:IsA("Humanoid") then | |
1044 | v:Destroy() | |
1045 | end | |
1046 | if v:IsA("CharacterMesh") then | |
1047 | v:Destroy() | |
1048 | end | |
1049 | if v:IsA("Model") then | |
1050 | v:Destroy() | |
1051 | end | |
1052 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1053 | for x, o in pairs(v:GetChildren()) do | |
1054 | if o:IsA("Decal") then | |
1055 | o:Destroy() | |
1056 | end | |
1057 | end | |
1058 | coroutine.resume(coroutine.create(function() | |
1059 | v.Material = "Neon" | |
1060 | v.CanCollide = false | |
1061 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1062 | PartEmmit1.LightEmission = 1 | |
1063 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1064 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1065 | PartEmmit1.Rate = 150 | |
1066 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1067 | PartEmmit1.Size = NumberSequence.new({ | |
1068 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1069 | NumberSequenceKeypoint.new(1, 0, 0) | |
1070 | }) | |
1071 | PartEmmit1.Transparency = NumberSequence.new({ | |
1072 | NumberSequenceKeypoint.new(0, 0, 0), | |
1073 | NumberSequenceKeypoint.new(1, 1, 0) | |
1074 | }) | |
1075 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1076 | PartEmmit1.VelocitySpread = 30000 | |
1077 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1078 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1079 | local BodPoss = IT("BodyPosition", v) | |
1080 | BodPoss.P = 3000 | |
1081 | BodPoss.D = 1000 | |
1082 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1083 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1084 | v.Color = maincolor.Color | |
1085 | coroutine.resume(coroutine.create(function() | |
1086 | for i = 0, 49 do | |
1087 | swait(1) | |
1088 | v.Transparency = v.Transparency + 0.08 | |
1089 | end | |
1090 | wait(0.5) | |
1091 | PartEmmit1.Enabled = false | |
1092 | wait(3) | |
1093 | v:Destroy() | |
1094 | dude:Destroy() | |
1095 | end)) | |
1096 | end)) | |
1097 | end | |
1098 | end | |
1099 | end)) | |
1100 | end) | |
1101 | ds() | |
1102 | end | |
1103 | end | |
1104 | ||
1105 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1106 | if SinglePlayer then | |
1107 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1108 | end | |
1109 | local List = {} | |
1110 | for i, v in pairs(workspace:GetChildren()) do | |
1111 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1112 | table.insert(List, v) | |
1113 | end | |
1114 | end | |
1115 | return List | |
1116 | end | |
1117 | ||
1118 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1119 | local type = type | |
1120 | local rng = Instance.new("Part", char) | |
1121 | rng.Anchored = true | |
1122 | rng.BrickColor = color | |
1123 | rng.CanCollide = false | |
1124 | rng.FormFactor = 3 | |
1125 | rng.Name = "Ring" | |
1126 | rng.Material = "Neon" | |
1127 | rng.Size = Vector3.new(1, 1, 1) | |
1128 | rng.Transparency = 0 | |
1129 | rng.TopSurface = 0 | |
1130 | rng.BottomSurface = 0 | |
1131 | rng.CFrame = pos | |
1132 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1133 | local rngm = Instance.new("SpecialMesh", rng) | |
1134 | rngm.MeshType = MType | |
1135 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1136 | local scaler2 = 1 | |
1137 | local speeder = FastSpeed | |
1138 | if type == "Add" then | |
1139 | scaler2 = 1 * value | |
1140 | elseif type == "Divide" then | |
1141 | scaler2 = 1 / value | |
1142 | end | |
1143 | coroutine.resume(coroutine.create(function() | |
1144 | for i = 0, 10 / bonuspeed, 0.1 do | |
1145 | swait() | |
1146 | if type == "Add" then | |
1147 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1148 | elseif type == "Divide" then | |
1149 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1150 | end | |
1151 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1152 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1153 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1154 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1155 | end | |
1156 | rng:Destroy() | |
1157 | end)) | |
1158 | end | |
1159 | ||
1160 | function SoulSteal(dude) | |
1161 | if dude.Name ~= char then | |
1162 | local bgf = IT("BodyGyro", dude.Head) | |
1163 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1164 | local val = IT("BoolValue", dude) | |
1165 | val.Name = "IsHit" | |
1166 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1167 | local soulst = coroutine.wrap(function() | |
1168 | local soul = Instance.new("Part",dude) | |
1169 | soul.Size = Vector3.new(1,1,1) | |
1170 | soul.CanCollide = false | |
1171 | soul.Anchored = false | |
1172 | soul.Position = torso.Position | |
1173 | soul.Transparency = 1 | |
1174 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1175 | PartEmmit1.LightEmission = 1 | |
1176 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1177 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1178 | PartEmmit1.Rate = 250 | |
1179 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1180 | PartEmmit1.Size = NumberSequence.new({ | |
1181 | NumberSequenceKeypoint.new(0, 1, 0), | |
1182 | NumberSequenceKeypoint.new(1, 0, 0) | |
1183 | }) | |
1184 | PartEmmit1.Transparency = NumberSequence.new({ | |
1185 | NumberSequenceKeypoint.new(0, 0, 0), | |
1186 | NumberSequenceKeypoint.new(1, 1, 0) | |
1187 | }) | |
1188 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1189 | PartEmmit1.VelocitySpread = 30000 | |
1190 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1191 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1192 | local BodPoss = IT("BodyPosition", soul) | |
1193 | BodPoss.P = 3000 | |
1194 | BodPoss.D = 1000 | |
1195 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1196 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1197 | wait(1.6) | |
1198 | soul.Touched:connect(function(hit) | |
1199 | if hit.Parent == char then | |
1200 | soul:Destroy() | |
1201 | end | |
1202 | end) | |
1203 | wait(1.2) | |
1204 | while soul do | |
1205 | swait() | |
1206 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1207 | BodPoss.Position = tors.Position | |
1208 | end | |
1209 | end) | |
1210 | soulst() | |
1211 | end | |
1212 | end | |
1213 | function FaceMouse() | |
1214 | local Cam = workspace.CurrentCamera | |
1215 | return { | |
1216 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1217 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1218 | } | |
1219 | end | |
1220 | ||
1221 | BTAUNT = Instance.new("Sound", tors) | |
1222 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1843671833" | |
1223 | BTAUNT.Volume = 10 | |
1224 | BTAUNT.Pitch = 1 | |
1225 | BTAUNT.Looped = true | |
1226 | BTAUNT.TimePosition = 0.2 | |
1227 | ||
1228 | BTAUNT1 = Instance.new("Sound", tors) | |
1229 | BTAUNT1.SoundId = "http://www.roblox.com/asset/?id=3466386790" | |
1230 | BTAUNT1.Volume = 10 | |
1231 | BTAUNT1.Pitch = 1 | |
1232 | BTAUNT1.Looped = true | |
1233 | BTAUNT1.TimePosition = 0.2 | |
1234 | ||
1235 | BTAUNT3 = Instance.new("Sound", tors) | |
1236 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=2942631642" | |
1237 | BTAUNT3.Volume = 10 | |
1238 | BTAUNT3.Pitch = 1 | |
1239 | BTAUNT3.Looped = true | |
1240 | BTAUNT3.TimePosition = 0.2 | |
1241 | ||
1242 | BTAUNT2 = Instance.new("Sound", tors) | |
1243 | BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=689301754" | |
1244 | BTAUNT2.Volume = 10 | |
1245 | BTAUNT2.Pitch = 1 | |
1246 | BTAUNT2.Looped = true | |
1247 | BTAUNT2.TimePosition = 0.2 | |
1248 | ------------------------------------------------------ | |
1249 | --End Effect Function-- | |
1250 | ------------------------------------------------------- | |
1251 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1252 | local NSound = nil | |
1253 | coroutine.resume(coroutine.create(function() | |
1254 | NSound = IT("Sound", PARENT) | |
1255 | NSound.Volume = VOLUME | |
1256 | NSound.Pitch = PITCH | |
1257 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1258 | swait() | |
1259 | NSound:play() | |
1260 | game:GetService("Debris"):AddItem(NSound, 50) | |
1261 | end)) | |
1262 | return NSound | |
1263 | end | |
1264 | function CameraEnshaking(Length, Intensity) | |
1265 | coroutine.resume(coroutine.create(function() | |
1266 | local intensity = 1 * Intensity | |
1267 | local rotM = 0.01 * Intensity | |
1268 | for i = 0, Length, 0.1 do | |
1269 | swait() | |
1270 | intensity = intensity - 0.05 * Intensity / Length | |
1271 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1272 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1273 | 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) | |
1274 | end | |
1275 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1276 | end)) | |
1277 | end | |
1278 | ------------------------------------------------------- | |
1279 | --End Important Functions-- | |
1280 | ------------------------------------------------------- | |
1281 | ||
1282 | ||
1283 | ------------------------------------------------------- | |
1284 | --Start Customization-- | |
1285 | ------------------------------------------------------- | |
1286 | local Player_Size = 1 | |
1287 | if Player_Size ~= 1 then | |
1288 | root.Size = root.Size * Player_Size | |
1289 | tors.Size = tors.Size * Player_Size | |
1290 | hed.Size = hed.Size * Player_Size | |
1291 | ra.Size = ra.Size * Player_Size | |
1292 | la.Size = la.Size * Player_Size | |
1293 | rl.Size = rl.Size * Player_Size | |
1294 | ll.Size = ll.Size * Player_Size | |
1295 | ---------------------------------------------------------------------------------- | |
1296 | rootj.Parent = root | |
1297 | neck.Parent = tors | |
1298 | RW.Parent = tors | |
1299 | LW.Parent = tors | |
1300 | RH.Parent = tors | |
1301 | LH.Parent = tors | |
1302 | ---------------------------------------------------------------------------------- | |
1303 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1304 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1305 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1306 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1307 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1308 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1309 | ---------------------------------------------------------------------------------- | |
1310 | 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)) | |
1311 | 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)) | |
1312 | 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)) | |
1313 | 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)) | |
1314 | --hat.Parent = Character | |
1315 | end | |
1316 | ---------------------------------------------------------------------------------- | |
1317 | ---------------------------------------------------------------------------------- | |
1318 | local equipped = false | |
1319 | local idle = 0 | |
1320 | local change = 1 | |
1321 | local val = 0 | |
1322 | local toim = 0 | |
1323 | local idleanim = 0.4 | |
1324 | local sine = 0 | |
1325 | local Sit = 1 | |
1326 | ---------------------------------------------------------------------------------- | |
1327 | hum.WalkSpeed = 8 | |
1328 | hum.JumpPower = 57 | |
1329 | hum.Animator.Parent = nil | |
1330 | ---------------------------------------------------------------------------------- | |
1331 | local Blobby = Instance.new("Part", char) | |
1332 | Blobby.Name = "Blob" | |
1333 | Blobby.CanCollide = false | |
1334 | Blobby.BrickColor = BrickColor.new("Really black") | |
1335 | Blobby.Transparency = 0 | |
1336 | Blobby.Material = "Plastic" | |
1337 | Blobby.Size = Vector3.new(1, 1, 2) | |
1338 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
1339 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
1340 | ||
1341 | local Weld = Instance.new("Weld", Blobby) | |
1342 | Weld.Part0 = ra | |
1343 | Weld.Part1 = Blobby | |
1344 | Weld.C1 = CFrame.new(0, -2, 1.1) | |
1345 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
1346 | ||
1347 | local M2 = Instance.new("SpecialMesh") | |
1348 | M2.Parent = Blobby | |
1349 | M2.MeshId = "http://www.roblox.com/asset/?id=432791411" | |
1350 | M2.TextureId = "http://www.roblox.com/asset/?id=160810181" | |
1351 | M2.Scale = Vector3.new(2, 2, 2) | |
1352 | ||
1353 | --[[local naeeym2 = Instance.new("BillboardGui",char) | |
1354 | naeeym2.AlwaysOnTop = true | |
1355 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1356 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
1357 | naeeym2.Adornee = hed | |
1358 | naeeym2.Name = "Name" | |
1359 | --naeeym2.PlayerToHideFrom = Player | |
1360 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1361 | tecks2.BackgroundTransparency = 1 | |
1362 | tecks2.TextScaled = true | |
1363 | tecks2.BorderSizePixel = 0 | |
1364 | tecks2.Text = "Fight Me" | |
1365 | tecks2.Font = Enum.Font.Bodoni | |
1366 | tecks2.TextSize = 30 | |
1367 | tecks2.TextStrokeTransparency = 0 | |
1368 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1369 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1370 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1371 | tecks2.Parent = naeeym2]] | |
1372 | ------------------------------------------------------- | |
1373 | --End Customization-- | |
1374 | ------------------------------------------------------- | |
1375 | ||
1376 | ------------------------------------------------------- | |
1377 | --Start Attacks N Stuff-- | |
1378 | ------------------------------------------------------- | |
1379 | local naeeym2 = Instance.new("BillboardGui",char) | |
1380 | naeeym2.AlwaysOnTop = true | |
1381 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1382 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1383 | naeeym2.Adornee = hed | |
1384 | naeeym2.Name = "Name" | |
1385 | ||
1386 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1387 | CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1) | |
1388 | tecks2.BackgroundTransparency = 1 | |
1389 | tecks2.TextScaled = true | |
1390 | tecks2.BorderSizePixel = 0 | |
1391 | tecks2.Text = "" | |
1392 | tecks2.Font = "Garamond" | |
1393 | tecks2.TextSize = 30 | |
1394 | tecks2.TextStrokeTransparency = 0 | |
1395 | tecks2.TextColor3 = BrickColor.new('Really black').Color | |
1396 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
1397 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1398 | tecks2.Parent = naeeym2 | |
1399 | textfag = tecks2 | |
1400 | CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1) | |
1401 | tecks2.Text = "" | |
1402 | CFuncs.Sound.Create("rbxassetid://138090596", root, 1.85, 1) | |
1403 | - | tecks2.Text = "script by doryna2281337" |
1403 | + | tecks2.Text = "hi sir" |
1404 | wait(2) | |
1405 | CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1) | |
1406 | tecks2.Text = "" | |
1407 | BTAUNT:Play() | |
1408 | coroutine.resume(coroutine.create(function() | |
1409 | while textfag ~= nil do | |
1410 | swait() | |
1411 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
1412 | textfag.Rotation = math.random(-3,3) | |
1413 | end | |
1414 | end)) | |
1415 | ||
1416 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
1417 | for i,v in pairs(char:children()) do | |
1418 | if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then | |
1419 | v:Remove() | |
1420 | end | |
1421 | end | |
1422 | shirt = Instance.new("Shirt", char) | |
1423 | shirt.Name = "Shirt" | |
1424 | pants = Instance.new("Pants", char) | |
1425 | pants.Name = "Pants" | |
1426 | char.Shirt.ShirtTemplate = "rbxassetid://2018917293" | |
1427 | char.Pants.PantsTemplate = "rbxassetid://398633812" | |
1428 | local Hair2 = Instance.new("Part", char) | |
1429 | Hair2.Name = "Hair2" | |
1430 | Hair2.CanCollide = false | |
1431 | Hair2.BrickColor = BrickColor.new("CGA brown") | |
1432 | Hair2.Transparency = 0 | |
1433 | Hair2.Material = "Plastic" | |
1434 | Hair2.Size = Vector3.new(1, 1, 2) | |
1435 | Hair2.TopSurface = Enum.SurfaceType.Smooth | |
1436 | Hair2.BottomSurface = Enum.SurfaceType.Smooth | |
1437 | ||
1438 | local Weld = Instance.new("Weld", Hair2) | |
1439 | Weld.Part0 = hed | |
1440 | Weld.Part1 = Hair2 | |
1441 | Weld.C1 = CFrame.new(0,-0.1,0.60) | |
1442 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
1443 | ||
1444 | local M2 = Instance.new("SpecialMesh") | |
1445 | M2.Parent = Hair2 | |
1446 | M2.MeshId = "http://www.roblox.com/asset/?id=1703946602" | |
1447 | M2.TextureId = "http://www.roblox.com/asset/?id=916236071" | |
1448 | M2.Scale = Vector3.new(1, 1, 1) | |
1449 | local l = game.Lighting | |
1450 | local sky = Instance.new("Sky",l) | |
1451 | l.TimeOfDay = "12:00:00" | |
1452 | l.Brightness = 1 | |
1453 | l.Ambient = Color3.new(0.25, 0.5, 0.75) | |
1454 | ---------------------------------------------------------------------------------- | |
1455 | wait() | |
1456 | player = game.Players.LocalPlayer | |
1457 | torso = player.Character:WaitForChild("Torso") | |
1458 | mouse = player:GetMouse() | |
1459 | ||
1460 | mouse.KeyDown:connect(function(key) | |
1461 | if key == "t" then | |
1462 | Cso("2755928629", tors, 10, 1) | |
1463 | chatfunc("!function ((teleport))", BrickColor.new("Really red").Color) | |
1464 | wait(1) | |
1465 | dist = (torso.Position - mouse.Hit.p).magnitude | |
1466 | if dist <= 10000 then | |
1467 | torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0) | |
1468 | end | |
1469 | end | |
1470 | end) | |
1471 | ---------------------------------------------------------------------------------- | |
1472 | local AddInstance = function(Object, ...) | |
1473 | local Obj = Instance.new(Object) | |
1474 | for i,v in next,(...) do | |
1475 | Obj[i] = v | |
1476 | end | |
1477 | return Obj | |
1478 | end | |
1479 | ---------------------------------------------------- | |
1480 | local Reaper = AddInstance("Part",{ | |
1481 | Parent = hed, | |
1482 | CFrame = hed.CFrame, | |
1483 | formFactor = "Symmetric", | |
1484 | Size = Vector3.new(1, 1, 1), | |
1485 | CanCollide = false, | |
1486 | TopSurface = "Smooth", | |
1487 | BottomSurface = "Smooth", | |
1488 | Locked = true, | |
1489 | }) | |
1490 | local Weld = AddInstance("Weld",{ | |
1491 | Parent = Reaper, | |
1492 | Part0 = hed, | |
1493 | C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), | |
1494 | Part1 = Reaper, | |
1495 | }) | |
1496 | local Mesh = AddInstance("SpecialMesh",{ | |
1497 | Parent = Reaper, | |
1498 | MeshId = "rbxassetid://0", | |
1499 | TextureId = "rbxassetid://0", | |
1500 | Scale = Vector3.new(1.1, 1.1, 1.1), | |
1501 | VertexColor = Vector3.new(0.3, 0.3, 0.3), | |
1502 | }) | |
1503 | ------------------------------------------------------- | |
1504 | wait() | |
1505 | plr = game.Players.LocalPlayer | |
1506 | char = plr.Character | |
1507 | mouse = plr:GetMouse() | |
1508 | whitecolor = Color3.new(1,1,1) | |
1509 | epicmode = false | |
1510 | normal = true | |
1511 | for i,v in pairs(char:GetChildren()) do | |
1512 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
1513 | v:Destroy() | |
1514 | end | |
1515 | end | |
1516 | local shirt = Instance.new("Shirt",char) | |
1517 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0" | |
1518 | local pants = Instance.new("Pants",char) | |
1519 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=0" | |
1520 | local bdycolors = char["Body Colors"] | |
1521 | bdycolors.HeadColor3 = whitecolor | |
1522 | bdycolors.LeftArmColor3 = whitecolor | |
1523 | bdycolors.LeftLegColor3 = whitecolor | |
1524 | bdycolors.RightArmColor3 = whitecolor | |
1525 | bdycolors.RightLegColor3 = whitecolor | |
1526 | bdycolors.TorsoColor3 = whitecolor | |
1527 | for i,v in pairs(char:GetChildren()) do | |
1528 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
1529 | v:Destroy() | |
1530 | end | |
1531 | end | |
1532 | ---------------------------------------------------------------------- | |
1533 | Circle = nil | |
1534 | CircleParts = {} | |
1535 | Equipped = false | |
1536 | ||
1537 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
1538 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
1539 | end | |
1540 | Equipped = true | |
1541 | Circle = Instance.new("Model") | |
1542 | Circle.Name = "Circle" | |
1543 | Angle = 0 | |
1544 | for i = 1, 1 do | |
1545 | local CirclePart = Instance.new("Part") | |
1546 | CirclePart.Name = "CirclePart" | |
1547 | CirclePart.Transparency = 1 | |
1548 | CirclePart.BrickColor = BrickColor.new("Really black") | |
1549 | CirclePart.Material = Enum.Material.Plastic | |
1550 | CirclePart.Shape = Enum.PartType.Block | |
1551 | CirclePart.FormFactor = Enum.FormFactor.Custom | |
1552 | CirclePart.TopSurface = Enum.SurfaceType.Smooth | |
1553 | CirclePart.BottomSurface = Enum.SurfaceType.Smooth | |
1554 | CirclePart.Anchored = true | |
1555 | CirclePart.CanCollide = false | |
1556 | CirclePart.Locked = true | |
1557 | CirclePart.Size = Vector3.new(10, 0.2, 10) | |
1558 | local Aura = Instance.new('ParticleEmitter') | |
1559 | Aura.Name = "Aura" | |
1560 | Aura.Texture = "rbxassetid://0" | |
1561 | Aura.Parent = CirclePart | |
1562 | Aura.LightEmission = 0 | |
1563 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
1564 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200)) | |
1565 | Aura.Size = NumberSequence.new(0.9,0.5,0.3) | |
1566 | Aura.LockedToPart = false | |
1567 | Aura.Lifetime = NumberRange.new(1) | |
1568 | Aura.Rate = 50 | |
1569 | Aura.Speed = NumberRange.new(2.5) | |
1570 | Aura.SpreadAngle = Vector2.new(80,80) | |
1571 | local BlockMesh = Instance.new("BlockMesh") | |
1572 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
1573 | BlockMesh.Parent = CirclePart | |
1574 | CirclePart.Parent = Circle | |
1575 | local Star = Instance.new("Decal", CirclePart) | |
1576 | Star.Texture = "http://www.roblox.com/asset/?id=124339739" | |
1577 | Star.Face = "Top" | |
1578 | local Light = Instance.new("PointLight", CirclePart) | |
1579 | Light.Color = Color3.new(.20,0,0) | |
1580 | Light.Brightness = 100 | |
1581 | Light.Range = 15 | |
1582 | table.insert(CircleParts, CirclePart) | |
1583 | end | |
1584 | Spawn(function() | |
1585 | while Equipped and Humanoid.Parent and Torso.Parent do | |
1586 | if Angle == 360 then | |
1587 | Angle = 0 | |
1588 | end | |
1589 | Angle = Angle + 0.05 | |
1590 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
1591 | if Hit then | |
1592 | if not Circle.Parent then | |
1593 | Circle.Parent = Character | |
1594 | end | |
1595 | for i, v in pairs(CircleParts) do | |
1596 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
1597 | end | |
1598 | else | |
1599 | Circle.Parent = nil | |
1600 | end | |
1601 | wait() | |
1602 | end | |
1603 | end) | |
1604 | ||
1605 | function chatfunc(text, color) | |
1606 | local chat = coroutine.wrap(function() | |
1607 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
1608 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1609 | end | |
1610 | local naeeym2 = Instance.new("BillboardGui", char) | |
1611 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
1612 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
1613 | naeeym2.Adornee = hed | |
1614 | naeeym2.Name = "TalkingBillBoard" | |
1615 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
1616 | tecks2.BackgroundTransparency = 1 | |
1617 | tecks2.BorderSizePixel = 0 | |
1618 | tecks2.Text = "" | |
1619 | tecks2.Font = "SciFi" | |
1620 | tecks2.TextSize = 30 | |
1621 | tecks2.TextStrokeTransparency = 0 | |
1622 | tecks2.TextColor3 = color | |
1623 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1624 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
1625 | local tecks3 = Instance.new("TextLabel", naeeym2) | |
1626 | tecks3.BackgroundTransparency = 1 | |
1627 | tecks3.BorderSizePixel = 0 | |
1628 | tecks3.Text = "" | |
1629 | tecks3.Font = "SciFi" | |
1630 | tecks3.TextSize = 30 | |
1631 | tecks3.TextStrokeTransparency = 0 | |
1632 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
1633 | tecks3.TextStrokeColor3 = color | |
1634 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
1635 | coroutine.resume(coroutine.create(function() | |
1636 | while true do | |
1637 | swait(1) | |
1638 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1639 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1640 | tecks2.Rotation = math.random(-5, 5) | |
1641 | tecks3.Rotation = math.random(-5, 5) | |
1642 | end | |
1643 | end)) | |
1644 | for i = 1, string.len(text) do | |
1645 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) | |
1646 | tecks2.Text = string.sub(text, 1, i) | |
1647 | tecks3.Text = string.sub(text, 1, i) | |
1648 | swait(1) | |
1649 | end | |
1650 | wait(1) | |
1651 | local randomrot = math.random(1, 2) | |
1652 | if randomrot == 1 then | |
1653 | for i = 1, 50 do | |
1654 | swait() | |
1655 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
1656 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1657 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1658 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
1659 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1660 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1661 | end | |
1662 | elseif randomrot == 2 then | |
1663 | for i = 1, 50 do | |
1664 | swait() | |
1665 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
1666 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1667 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1668 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
1669 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1670 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1671 | end | |
1672 | end | |
1673 | naeeym2:Destroy() | |
1674 | end) | |
1675 | chat() | |
1676 | end | |
1677 | ||
1678 | function Ban() | |
1679 | attack = true | |
1680 | for i = 0, 2.6, 0.1 do | |
1681 | swait() | |
1682 | 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(-60)), 0.2) | |
1683 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
1684 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
1685 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2) | |
1686 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
1687 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) | |
1688 | end | |
1689 | Cso("357417055", tors, 10, 1) | |
1690 | CameraEnshaking(2, 15) | |
1691 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1692 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1693 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1694 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
1695 | if v:FindFirstChild("Head") then | |
1696 | Eviscerate(v) | |
1697 | end | |
1698 | end | |
1699 | for i = 0, 3, 0.1 do | |
1700 | swait() | |
1701 | 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(-15)), 0.3) | |
1702 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
1703 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
1704 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3) | |
1705 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
1706 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
1707 | end | |
1708 | attack = false | |
1709 | end | |
1710 | function fail() | |
1711 | CFuncs.Sound.Create("rbxassetid://138088905", root, 1.85, 1) | |
1712 | chatfunc("!print ((such a skid))", BrickColor.new("Really red").Color) | |
1713 | Cso("732572828", hed, 3.5, 1) | |
1714 | attack = true | |
1715 | hum.WalkSpeed = 2.01 | |
1716 | for i = 0,1.2,0.1 do | |
1717 | swait() | |
1718 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1719 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1720 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1721 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1722 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1723 | 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(-5)), 0.1) | |
1724 | end | |
1725 | for i = 0,1.2,0.1 do | |
1726 | swait() | |
1727 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1728 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1729 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1730 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1731 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1732 | 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(-5)), 0.1) | |
1733 | end | |
1734 | for i = 0,1.2,0.1 do | |
1735 | swait() | |
1736 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1737 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1738 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1739 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1740 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1741 | 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(-5)), 0.1) | |
1742 | end | |
1743 | for i = 0,1.2,0.1 do | |
1744 | swait() | |
1745 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1746 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1747 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1748 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1749 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1750 | 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(-5)), 0.1) | |
1751 | end | |
1752 | for i = 0,1.2,0.1 do | |
1753 | swait() | |
1754 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1755 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1756 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1757 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1758 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1759 | 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(-5)), 0.1) | |
1760 | end | |
1761 | for i = 0,1.2,0.1 do | |
1762 | swait() | |
1763 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1764 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1765 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1766 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1767 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1768 | 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(-5)), 0.1) | |
1769 | end | |
1770 | hum.WalkSpeed = 16 | |
1771 | attack = false | |
1772 | end | |
1773 | ||
1774 | function sneakonehundred() | |
1775 | attack = true | |
1776 | hum.WalkSpeed = 0.03 | |
1777 | Character.Head.face.Texture = "rbxassetid://0" | |
1778 | for i = 0,20,0.1 do | |
1779 | swait() | |
1780 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
1781 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4) | |
1782 | 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) | |
1783 | 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) | |
1784 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4) | |
1785 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4) | |
1786 | end | |
1787 | wait(0.15) | |
1788 | Character.Head.face.Texture = "rbxassetid://0" | |
1789 | for i = 0,7,0.1 do | |
1790 | swait() | |
1791 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
1792 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4) | |
1793 | 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) | |
1794 | 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) | |
1795 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4) | |
1796 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4) | |
1797 | end | |
1798 | Character.Head.face.Texture = "rbxassetid://0" | |
1799 | attack = false | |
1800 | hum.WalkSpeed = 16 | |
1801 | end | |
1802 | ||
1803 | function DANCEFORME() | |
1804 | MERKIO = Instance.new("Sound", tors) --why | |
1805 | - | MERKIO.SoundId = "http://www.roblox.com/asset/?id=891918584" |
1805 | + | MERKIO.SoundId = "http://www.roblox.com/asset/?id=253729308" |
1806 | MERKIO.Volume = 10 | |
1807 | MERKIO.Pitch = 1 | |
1808 | MERKIO.Looped = false | |
1809 | MERKIO.TimePosition = 0 | |
1810 | attack = true | |
1811 | Character.Head.face.Texture = "rbxassetid://0" | |
1812 | MERKIO:Play() | |
1813 | repeat | |
1814 | for i = 0,0.7,0.2 do | |
1815 | swait() | |
1816 | MERKIO.Parent = tors | |
1817 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
1818 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
1819 | RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1820 | LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1821 | RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77) | |
1822 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67) | |
1823 | end | |
1824 | for i = 0,0.7,0.2 do | |
1825 | swait() | |
1826 | MERKIO.Parent = tors | |
1827 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
1828 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
1829 | 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.8) | |
1830 | 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.8) | |
1831 | 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(90)), 0.7) | |
1832 | 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(-90)), 0.7) | |
1833 | end | |
1834 | until MERKIO.Playing == false | |
1835 | MERKIO:Stop() | |
1836 | Character.Head.face.Texture = "rbxassetid://0" | |
1837 | attack = false | |
1838 | hum.WalkSpeed = 16 | |
1839 | end | |
1840 | ||
1841 | function dejzrXD() | |
1842 | attack = true | |
1843 | hum.WalkSpeed = 20 | |
1844 | for i = 0, 1, 0.1 do | |
1845 | swait() | |
1846 | Cso("2755928629", char, 10, 1) | |
1847 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0) | |
1848 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
1849 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
1850 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
1851 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
1852 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
1853 | 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
1854 | end | |
1855 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(123, 46, 47), 1, maincolor, "Sphere") | |
1856 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(27, 42, 53), 2, maincolor, "Sphere") | |
1857 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.5, maincolor, "Sphere") | |
1858 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, maincolor, "Sphere") | |
1859 | CameraEnshaking(4, 5) | |
1860 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
1861 | if v:FindFirstChild("Head") then | |
1862 | Eviscerate(v) | |
1863 | end | |
1864 | end | |
1865 | for i = 0, 1, 0.1 do | |
1866 | swait() | |
1867 | hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0) | |
1868 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
1869 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
1870 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
1871 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
1872 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
1873 | 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
1874 | end | |
1875 | attack = false | |
1876 | Speed = 20 | |
1877 | end | |
1878 | ||
1879 | function dash() | |
1880 | dashing = true | |
1881 | attack = true | |
1882 | local bv = Instance.new("BodyVelocity") | |
1883 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1884 | bv.velocity = root.CFrame.lookVector*200 | |
1885 | bv.Parent = root | |
1886 | for i = 0,1,0.1 do | |
1887 | swait() | |
1888 | bv.velocity = root.CFrame.lookVector*200 | |
1889 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5) | |
1890 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5) | |
1891 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5) | |
1892 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5) | |
1893 | RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
1894 | LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
1895 | end | |
1896 | bv:Destroy() | |
1897 | attack = false | |
1898 | dashing = false | |
1899 | end | |
1900 | ||
1901 | function special_hell() | |
1902 | CFuncs.Sound.Create("rbxassetid://2755928629", root, 1.85, 1) | |
1903 | chatfunc("!make LocalPlayer ((ws)) 40", BrickColor.new("Really red").Color) | |
1904 | wait(2) | |
1905 | CHOICE = 6 | |
1906 | Cso("732572828", hed, 3.5, 1) | |
1907 | CFuncs.Sound.Create("rbxassetid://188035939", root, 1.85, 1) | |
1908 | hum.WalkSpeed = 40 | |
1909 | attack = false | |
1910 | end | |
1911 | function ultra() | |
1912 | attack = true | |
1913 | hum.WalkSpeed = 0 | |
1914 | BTAUNT:Remove() | |
1915 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
1916 | local Fire = IT("Sound",Character.Torso) | |
1917 | Fire.SoundId = "rbxassetid://732572828" | |
1918 | Fire.Looped = true | |
1919 | Fire.Pitch = 1 | |
1920 | Fire.Volume = 1 | |
1921 | local fire = Instance.new("ParticleEmitter", Character.Torso) | |
1922 | fire.Lifetime = NumberRange.new(0.5) | |
1923 | fire.Speed = NumberRange.new(1, 3) | |
1924 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
1925 | fire.Rate = 0 | |
1926 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
1927 | fire.LightEmission = 0.6 | |
1928 | fire.Texture = "http://www.roblox.com/asset/?id=0" | |
1929 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
1930 | Fire:Play() | |
1931 | BTAUNT1:Play() | |
1932 | fire.Enabled = true | |
1933 | fire.Rate =2000 | |
1934 | BTAUNT1:Remove() | |
1935 | CFuncs.Sound.Create("rbxassetid://138088905", root, 1.85, 1) | |
1936 | chatfunc("!print ((dude, i hate skids))", BrickColor.new("Really red").Color) | |
1937 | wait(1) | |
1938 | for i = 0,18,0.1 do | |
1939 | swait() | |
1940 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1941 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1942 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1943 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1944 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1945 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1946 | end | |
1947 | chatfunc("!load LocalPlayer function ((dory's Anti-Skid))", BrickColor.new("Really red").Color) | |
1948 | wait(2) | |
1949 | for i = 0,1.2,0.1 do | |
1950 | swait() | |
1951 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1952 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1953 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1954 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1955 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1956 | 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(-5)), 0.1) | |
1957 | end | |
1958 | for i = 0,1.2,0.1 do | |
1959 | swait() | |
1960 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1961 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1962 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1963 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1964 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1965 | 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(-5)), 0.1) | |
1966 | end | |
1967 | tecks2:Remove() | |
1968 | fire:Remove() | |
1969 | Fire:Stop() | |
1970 | local BC = char["Body Colors"] | |
1971 | BC.HeadColor = BrickColor.new("Really black") | |
1972 | BC.LeftArmColor = BrickColor.new("Really black") | |
1973 | BC.LeftLegColor = BrickColor.new("Really black") | |
1974 | BC.RightArmColor = BrickColor.new("Really black") | |
1975 | BC.RightLegColor = BrickColor.new("Really black") | |
1976 | BC.TorsoColor = BrickColor.new("Really black") | |
1977 | tecks2:Remove() | |
1978 | BTAUNT3:Play() | |
1979 | local naeeym2 = Instance.new("BillboardGui",char) | |
1980 | naeeym2.AlwaysOnTop = true | |
1981 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1982 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
1983 | naeeym2.Adornee = hed | |
1984 | naeeym2.Name = "Name" | |
1985 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1986 | tecks2.BackgroundTransparency = 1 | |
1987 | tecks2.TextScaled = true | |
1988 | tecks2.BorderSizePixel = 0 | |
1989 | tecks2.Font = "Garamond" | |
1990 | tecks2.TextSize = 30 | |
1991 | tecks2.TextStrokeTransparency = 0 | |
1992 | tecks2.TextColor3 = BrickColor.new('Really white').Color | |
1993 | tecks2.TextStrokeColor3 = BrickColor.new('Really white').Color | |
1994 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1995 | tecks2.Parent = naeeym2 | |
1996 | textfag = tecks2 | |
1997 | wait(1) | |
1998 | tecks2.Text = "dory's Anti-Skid" | |
1999 | coroutine.resume(coroutine.create(function() | |
2000 | while textfag ~= nil do | |
2001 | swait() | |
2002 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
2003 | textfag.Rotation = math.random(-3,3) | |
2004 | end | |
2005 | end)) | |
2006 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
2007 | ------------------- | |
2008 | Spawn(function() | |
2009 | while Equipped and Humanoid.Parent and Torso.Parent do | |
2010 | if Angle == 360 then | |
2011 | Angle = 0 | |
2012 | end | |
2013 | Angle = Angle + 0.05 | |
2014 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
2015 | if Hit then | |
2016 | if not Circle.Parent then | |
2017 | Circle.Parent = Character | |
2018 | end | |
2019 | for i, v in pairs(CircleParts) do | |
2020 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
2021 | end | |
2022 | else | |
2023 | Circle.Parent = nil | |
2024 | end | |
2025 | wait() | |
2026 | end | |
2027 | end) | |
2028 | attack = false | |
2029 | hum.WalkSpeed = 16 | |
2030 | end | |
2031 | function hate() | |
2032 | CFuncs.Sound.Create("rbxassetid://138088905", root, 1.85, 1) | |
2033 | chatfunc("!print ((dO NOt mAkE mE mAD)) :( ErRor?", BrickColor.new("Really red").Color) | |
2034 | wait(3) | |
2035 | CFuncs.Sound.Create("rbxassetid://138088905", root, 1.85, 1) | |
2036 | chatfunc("!print ((DiE?))", BrickColor.new("Really red").Color) | |
2037 | wait(2) | |
2038 | attack = true | |
2039 | Cso("732572828", hed, 3.5, 1) | |
2040 | local orb = Instance.new("Part", char) | |
2041 | orb.Anchored = true | |
2042 | orb.BrickColor = BrickC("Really white") | |
2043 | orb.CanCollide = false | |
2044 | orb.FormFactor = 3 | |
2045 | orb.Name = "Ring" | |
2046 | orb.Material = "Neon" | |
2047 | orb.Size = Vector3.new(1, 1, 1) | |
2048 | orb.Transparency = 0 | |
2049 | orb.TopSurface = 0 | |
2050 | orb.BottomSurface = 0 | |
2051 | local orbm = Instance.new("SpecialMesh", orb) | |
2052 | orbm.MeshType = "Sphere" | |
2053 | orbm.Name = "SizeMesh" | |
2054 | orbm.Scale = Vector3.new(0, 0, 0) | |
2055 | local scaled = 0.1 | |
2056 | local posid = 0 | |
2057 | for i = 0, 12, 0.1 do | |
2058 | swait() | |
2059 | scaled = scaled + 0.001 | |
2060 | posid = posid - scaled | |
2061 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
2062 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
2063 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2064 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2065 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
2066 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2067 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
2068 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2069 | end | |
2070 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
2071 | CFuncs.Sound.Create("rbxassetid://138088905", root, 1.85, 1) | |
2072 | chatfunc("!print ((Do NoT bE a SkId))", BrickColor.new("Really red").Color) | |
2073 | wait(2) | |
2074 | CFuncs.Sound.Create("rbxassetid://2755928629", root, 1.85, 1) | |
2075 | chatfunc("!make function ((explosion))", BrickColor.new("Really red").Color) | |
2076 | wait(2) | |
2077 | for i = 0, 2, 0.1 do | |
2078 | swait() | |
2079 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2080 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
2081 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2082 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2083 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
2084 | 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(-5)), 0.1) | |
2085 | end | |
2086 | coroutine.resume(coroutine.create(function() | |
2087 | orb.Anchored = false | |
2088 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
2089 | local a = Instance.new("Part", workspace) | |
2090 | a.Name = "Direction" | |
2091 | a.Anchored = true | |
2092 | a.BrickColor = BrickC("Really red") | |
2093 | a.Material = "Neon" | |
2094 | a.Transparency = 1 | |
2095 | a.CanCollide = false | |
2096 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
2097 | local ignore = orb | |
2098 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2099 | a.BottomSurface = 10 | |
2100 | a.TopSurface = 10 | |
2101 | local distance = (orb.CFrame.p - position).magnitude | |
2102 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
2103 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
2104 | orb.CFrame = a.CFrame | |
2105 | a:Destroy() | |
2106 | local bv = Instance.new("BodyVelocity") | |
2107 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2108 | bv.velocity = orb.CFrame.lookVector * 125 | |
2109 | bv.Parent = orb | |
2110 | local hitted = false | |
2111 | game:GetService("Debris"):AddItem(orb, 15) | |
2112 | swait() | |
2113 | local hit = orb.Touched:connect(function(hit) | |
2114 | if hitted == false then | |
2115 | hitted = true | |
2116 | CFuncs.Sound.Create("rbxassetid://732572828", orb, 5, 1) | |
2117 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
2118 | if v:FindFirstChild("Head") then | |
2119 | Eviscerate(v) | |
2120 | end | |
2121 | end | |
2122 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere") | |
2123 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere") | |
2124 | for i = 0, 9 do | |
2125 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2126 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2127 | end | |
2128 | orb.Anchored = true | |
2129 | orb.Transparency = 1 | |
2130 | wait(8) | |
2131 | orb:Destroy() | |
2132 | end | |
2133 | end) | |
2134 | end)) | |
2135 | for i = 0, 1, 0.1 do | |
2136 | swait() | |
2137 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
2138 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3) | |
2139 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3) | |
2140 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
2141 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
2142 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
2143 | end | |
2144 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
2145 | attack = false | |
2146 | end | |
2147 | function THUNDERCLAP() | |
2148 | attack = true | |
2149 | for i = 0, 15, 0.1 do | |
2150 | swait() | |
2151 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2152 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
2153 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2154 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2155 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2156 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2157 | end | |
2158 | CFuncs.Sound.Create("rbxassetid://745717003", root, 1.85, 1) | |
2159 | for i = 0, 7, 0.1 do | |
2160 | swait() | |
2161 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
2162 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
2163 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2164 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2165 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3) | |
2166 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3) | |
2167 | end | |
2168 | ||
2169 | Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere") | |
2170 | Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere") | |
2171 | Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere") | |
2172 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do | |
2173 | if v:FindFirstChild("Head") then | |
2174 | Eviscerate(v) | |
2175 | end | |
2176 | end | |
2177 | CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2) | |
2178 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2) | |
2179 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05) | |
2180 | for i = 0, 7, 0.1 do | |
2181 | swait() | |
2182 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
2183 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
2184 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2185 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2186 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3) | |
2187 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3) | |
2188 | end | |
2189 | attack = false | |
2190 | end | |
2191 | function TUSKOR661() | |
2192 | attack = true | |
2193 | M2.Scale = Vector3.new(5, 5, 5) | |
2194 | chatfunc("!make mesh ((cosmic bomb))", BrickColor.new("Really red").Color) | |
2195 | Cso("732572828", hed, 3.5, 1) | |
2196 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
2197 | for i = 0, 15, 0.1 do | |
2198 | swait() | |
2199 | hum.CameraOffset = Vector3.new(0, 8, 0) | |
2200 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
2201 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
2202 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
2203 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
2204 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
2205 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
2206 | end | |
2207 | for i = 0, 15, 0.1 do | |
2208 | swait() | |
2209 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
2210 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
2211 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
2212 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
2213 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
2214 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
2215 | end | |
2216 | wait(0.1) | |
2217 | for i = 0, 15, 0.1 do | |
2218 | swait() | |
2219 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
2220 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
2221 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
2222 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
2223 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
2224 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
2225 | end | |
2226 | Cso("483458132", char, 10, .7) | |
2227 | CameraEnshaking(6, 65) | |
2228 | Effects.Wave.Create(BrickColor.new("Really white"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2229 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2230 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2231 | Effects.Ring.Create(BrickColor.new("Really blue"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04) | |
2232 | Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
2233 | Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
2234 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
2235 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really white"), "Sphere") | |
2236 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere") | |
2237 | Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really red"), "Sphere") | |
2238 | Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really black"), "Sphere") | |
2239 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do | |
2240 | if v:FindFirstChild("Head") then | |
2241 | Eviscerate(v) | |
2242 | end | |
2243 | end | |
2244 | for i = 0, 15, 0.1 do | |
2245 | swait() | |
2246 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2) | |
2247 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
2248 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
2249 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
2250 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
2251 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
2252 | end | |
2253 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
2254 | M2.Scale = Vector3.new(1, 1, 1) | |
2255 | attack = false | |
2256 | end | |
2257 | ------------------------------------------------------- | |
2258 | --End Attacks N Stuff-- | |
2259 | ------------------------------------------------------- | |
2260 | mouse.KeyDown:connect(function(key) | |
2261 | if attack == false then | |
2262 | if key == "y" then | |
2263 | Cso("138088905", tors, 10, 1) | |
2264 | chatfunc("!print ((your bad))", BrickColor.new("Really red").Color) | |
2265 | wait(2) | |
2266 | elseif key == 'q' then | |
2267 | fail() | |
2268 | elseif key == 'h' then | |
2269 | special_hell() | |
2270 | elseif key == 'f' then | |
2271 | Cso("2755928629", tors, 10, 1) | |
2272 | chatfunc("!time ((night))", BrickColor.new("Really red").Color) | |
2273 | wait(1) | |
2274 | local l = game.Lighting | |
2275 | local sky = Instance.new("Sky",l) | |
2276 | l.TimeOfDay = "00:00:00" | |
2277 | l.Brightness = 1 | |
2278 | l.Ambient = Color3.new(0.25, 0.5, 0.75) | |
2279 | elseif key == 'x' then | |
2280 | DANCEFORME() | |
2281 | ultra() | |
2282 | elseif key == 'z' then | |
2283 | hate() | |
2284 | elseif key == 'c' then | |
2285 | dash() | |
2286 | elseif key == 'r' then | |
2287 | sneakonehundred() | |
2288 | elseif key == 'e' then | |
2289 | dejzrXD() | |
2290 | elseif key == 'g' then | |
2291 | TUSKOR661() | |
2292 | elseif key == 'b' then | |
2293 | THUNDERCLAP() | |
2294 | elseif key == 'm' then | |
2295 | Cso("732572828", hed, 3.5, 1) | |
2296 | end | |
2297 | end | |
2298 | end) | |
2299 | mouse.Button1Down:connect(function(key) | |
2300 | if attack == false then | |
2301 | Ban() | |
2302 | end | |
2303 | end) | |
2304 | ||
2305 | ||
2306 | ||
2307 | local eye1 = Instance.new("Part") | |
2308 | eye1.Parent = Character | |
2309 | eye1.Size = Vector3.new(0.2,0.2,0.2) | |
2310 | eye1.Archivable = true | |
2311 | eye1.Transparency = 0 | |
2312 | eye1.CanCollide = false | |
2313 | eye1.Material = "Neon" | |
2314 | eye1.Color = Color3.fromRGB(196, 40, 28) | |
2315 | local eye1mesh = Instance.new("SpecialMesh",eye1) | |
2316 | eye1mesh.MeshType = "Sphere" | |
2317 | eye1mesh.Scale = Vector3.new(0.66,1.22,0.66) | |
2318 | ko2 = eye1mesh.Scale | |
2319 | local eye1weld = Instance.new("Weld") | |
2320 | eye1weld.Parent = eye1 | |
2321 | eye1weld.Part0 = Head | |
2322 | eye1weld.Part1 = eye1 | |
2323 | eye1weld.C0 = CFrame.new(.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2324 | eye1weld.Part0 = Head | |
2325 | ||
2326 | ||
2327 | ||
2328 | ||
2329 | local eye2 = Instance.new("Part") | |
2330 | eye2.Parent = Character | |
2331 | eye2.Size = Vector3.new(0.2,0.2,0.2) | |
2332 | eye2.Archivable = true | |
2333 | eye2.Transparency = 0 | |
2334 | eye2.CanCollide = false | |
2335 | eye2.Material = "Neon" | |
2336 | eye2.Color = Color3.fromRGB(196, 40, 28) | |
2337 | local eye2mesh = Instance.new("SpecialMesh",eye2) | |
2338 | eye2mesh.MeshType = "Sphere" | |
2339 | eye2mesh.Scale = Vector3.new(0.66,1.22,0.66) | |
2340 | local eye2weld = Instance.new("Weld") | |
2341 | eye2weld.Parent = eye2 | |
2342 | eye2weld.Part0 = Head | |
2343 | eye2weld.Part1 = eye2 | |
2344 | eye2weld.C0 = CFrame.new(-.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2345 | eye2weld.Part0 = Head | |
2346 | ||
2347 | ------------------------------------------------------- | |
2348 | --Start Animations-- | |
2349 | ------------------------------------------------------- | |
2350 | while true do | |
2351 | swait() | |
2352 | sine = sine + change | |
2353 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2354 | local velderp = root.Velocity.y | |
2355 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
2356 | if equipped == true or equipped == false then | |
2357 | if attack == false then | |
2358 | idle = idle + 1 | |
2359 | else | |
2360 | idle = 0 | |
2361 | end | |
2362 | if 1 < root.Velocity.y and hitfloor == nil then | |
2363 | Anim = "Jump" | |
2364 | if attack == false then | |
2365 | 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.15) | |
2366 | 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) | |
2367 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2368 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2369 | 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) | |
2370 | 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) | |
2371 | end | |
2372 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2373 | Anim = "Fall" | |
2374 | if attack == false then | |
2375 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
2376 | 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) | |
2377 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2378 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2379 | 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(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
2380 | 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(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
2381 | end | |
2382 | elseif torvel < 1 and hitfloor ~= nil then | |
2383 | Anim = "Idle" | |
2384 | change = 1 | |
2385 | if attack == false then | |
2386 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0 * Sin(sine / 24) * Player_Size, 0 + 0 * Sin(sine / 12) * Player_Size, 0 + 0 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 0 * Sin(sine / 12)), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 1) | |
2387 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 5 * Sin(sine / 12)), Rad(0), Rad(0)), 1) | |
2388 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-0 - 0 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2389 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-0 + 0 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2390 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.07 * math.sin(sine / 40), 0) * angles(math.rad(-13), math.rad(0 + 7 * math.cos(sine / 40)), math.rad(14 + 3.2 * math.cos(sine / 40))), 0.1) | |
2391 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.07 * math.sin(sine / 40), 0) * angles(math.rad(-3), math.rad(0 - 7 * math.cos(sine / 40)), math.rad(-14 - 3.2 * math.cos(sine / 40))), 0.1) | |
2392 | end | |
2393 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2394 | Anim = "Walk" | |
2395 | change = 1 | |
2396 | if attack == false then | |
2397 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
2398 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2399 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2400 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2401 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
2402 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
2403 | end | |
2404 | elseif torvel >= 25 and hitfloor ~= nil then | |
2405 | Anim = "Sprint" | |
2406 | change = 1.35 | |
2407 | if attack == false then | |
2408 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
2409 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2410 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2411 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2412 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2413 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
2414 | end | |
2415 | end | |
2416 | end | |
2417 | if 0 < #Effects then | |
2418 | for e = 1, #Effects do | |
2419 | if Effects[e] ~= nil then | |
2420 | local Thing = Effects[e] | |
2421 | if Thing ~= nil then | |
2422 | local Part = Thing[1] | |
2423 | local Mode = Thing[2] | |
2424 | local Delay = Thing[3] | |
2425 | local IncX = Thing[4] | |
2426 | local IncY = Thing[5] | |
2427 | local IncZ = Thing[6] | |
2428 | if 1 >= Thing[1].Transparency then | |
2429 | if Thing[2] == "Block1" then | |
2430 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2431 | local Mesh = Thing[1].Mesh | |
2432 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2433 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2434 | elseif Thing[2] == "Block2" then | |
2435 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2436 | local Mesh = Thing[7] | |
2437 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2438 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2439 | elseif Thing[2] == "Block3" then | |
2440 | 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) | |
2441 | local Mesh = Thing[7] | |
2442 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2443 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2444 | elseif Thing[2] == "Cylinder" then | |
2445 | local Mesh = Thing[1].Mesh | |
2446 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2447 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2448 | elseif Thing[2] == "Blood" then | |
2449 | local Mesh = Thing[7] | |
2450 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2451 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2452 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2453 | elseif Thing[2] == "Elec" then | |
2454 | local Mesh = Thing[1].Mesh | |
2455 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2456 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2457 | elseif Thing[2] == "Disappear" then | |
2458 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2459 | elseif Thing[2] == "Shatter" then | |
2460 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2461 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2462 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2463 | Thing[6] = Thing[6] + Thing[5] | |
2464 | end | |
2465 | else | |
2466 | Part.Parent = nil | |
2467 | table.remove(Effects, e) | |
2468 | end | |
2469 | end | |
2470 | end | |
2471 | end | |
2472 | end | |
2473 | end | |
2474 | ------------------------------------------------------- | |
2475 | --End Animations And Script-- | |
2476 | ------------------------------------------------------- |