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 | -- Insane Genocidal Maniac, Long ass name lmao | |
145 | -- A script By makhail07 | |
146 | -- Discord Creterisk#2958 | |
147 | -- Credit to Salvos sadist for the uzi idea, and also salvo's genocider :thonk: | |
148 | ||
149 | ||
150 | ||
151 | --[[ If you wish to change the color of the gun simply just replace "Dark stone grey" for the mag, | |
152 | "Black" and "Really black" for the gun, with any color you wish. | |
153 | --]] | |
154 | ||
155 | ||
156 | ||
157 | local IDs = {340106355,927529620,876981900,398987889} | |
158 | ||
159 | ||
160 | ------------------------------------------------------------ | |
161 | --------------------------------------------- | |
162 | --Start of Functions-- | |
163 | ------------------------------------------------------------ | |
164 | --------------------------------------------- | |
165 | ||
166 | ||
167 | function swait(num) | |
168 | if num==0 or num==nil then | |
169 | game:service'RunService'.Stepped:wait(0) | |
170 | else | |
171 | for i=0,num do | |
172 | game:service'RunService'.Stepped:wait(0) | |
173 | end | |
174 | end | |
175 | end | |
176 | function thread(f) | |
177 | coroutine.resume(coroutine.create(f)) | |
178 | end | |
179 | function clerp(a, b, t) | |
180 | local qa = { | |
181 | QuaternionFromCFrame(a) | |
182 | } | |
183 | local qb = { | |
184 | QuaternionFromCFrame(b) | |
185 | } | |
186 | local ax, ay, az = a.x, a.y, a.z | |
187 | local bx, by, bz = b.x, b.y, b.z | |
188 | local _t = 1 - t | |
189 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
190 | end | |
191 | function QuaternionFromCFrame(cf) | |
192 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
193 | local trace = m00 + m11 + m22 | |
194 | if trace > 0 then | |
195 | local s = math.sqrt(1 + trace) | |
196 | local recip = 0.5 / s | |
197 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
198 | else | |
199 | local i = 0 | |
200 | if m00 < m11 then | |
201 | i = 1 | |
202 | end | |
203 | if m22 > (i == 0 and m00 or m11) then | |
204 | i = 2 | |
205 | end | |
206 | if i == 0 then | |
207 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
208 | local recip = 0.5 / s | |
209 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
210 | elseif i == 1 then | |
211 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
212 | local recip = 0.5 / s | |
213 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
214 | elseif i == 2 then | |
215 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
216 | local recip = 0.5 / s | |
217 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
218 | end | |
219 | end | |
220 | end | |
221 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
222 | local xs, ys, zs = x + x, y + y, z + z | |
223 | local wx, wy, wz = w * xs, w * ys, w * zs | |
224 | local xx = x * xs | |
225 | local xy = x * ys | |
226 | local xz = x * zs | |
227 | local yy = y * ys | |
228 | local yz = y * zs | |
229 | local zz = z * zs | |
230 | 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)) | |
231 | end | |
232 | function QuaternionSlerp(a, b, t) | |
233 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
234 | local startInterp, finishInterp | |
235 | if cosTheta >= 1.0E-4 then | |
236 | if 1 - cosTheta > 1.0E-4 then | |
237 | local theta = math.acos(cosTheta) | |
238 | local invSinTheta = 1 / math.sin(theta) | |
239 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
240 | finishInterp = math.sin(t * theta) * invSinTheta | |
241 | else | |
242 | startInterp = 1 - t | |
243 | finishInterp = t | |
244 | end | |
245 | elseif 1 + cosTheta > 1.0E-4 then | |
246 | local theta = math.acos(-cosTheta) | |
247 | local invSinTheta = 1 / math.sin(theta) | |
248 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
249 | finishInterp = math.sin(t * theta) * invSinTheta | |
250 | else | |
251 | startInterp = t - 1 | |
252 | finishInterp = t | |
253 | end | |
254 | 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 | |
255 | end | |
256 | function rayCast(Position, Direction, Range, Ignore) | |
257 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
258 | end | |
259 | --Wait what okay | |
260 | wait() | |
261 | local plr = game:service'Players'.LocalPlayer | |
262 | local char = plr.Character | |
263 | local hum = char.Humanoid | |
264 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
265 | ff.Visible = false | |
266 | hum.MaxHealth = 1.0E298 | |
267 | hum.Health = 1.0E298 | |
268 | game:GetService("RunService"):BindToRenderStep("ew", 0, function() | |
269 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
270 | hum.MaxHealth = 1.0E298 | |
271 | hum.Health = 1.0E298 | |
272 | end | |
273 | end) | |
274 | local ra = char["Right Arm"] | |
275 | local la= char["Left Arm"] | |
276 | local rl= char["Right Leg"] | |
277 | local ll = char["Left Leg"] | |
278 | local hed = char.Head | |
279 | local root = char.HumanoidRootPart | |
280 | local rootj = root.RootJoint | |
281 | local tors = char.Torso | |
282 | local mouse = plr:GetMouse() | |
283 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
284 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
285 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
286 | local maincolor = BrickColor.new("Really black") | |
287 | cf = CFrame.new | |
288 | angles = CFrame.Angles | |
289 | attack = false | |
290 | euler=CFrame.fromEulerAnglesXYZ | |
291 | equipped = false | |
292 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
293 | RSH, LSH = nil, nil | |
294 | RW = Instance.new("Weld") | |
295 | LW = Instance.new("Weld") | |
296 | RH = tors["Right Hip"] | |
297 | LH = tors["Left Hip"] | |
298 | RSH = tors["Right Shoulder"] | |
299 | LSH = tors["Left Shoulder"] | |
300 | RSH.Parent = nil | |
301 | LSH.Parent = nil | |
302 | RW.Name = "RW" | |
303 | RW.Part0 = tors | |
304 | RW.C0 = CFrame.new(1.5, 0.5, 0) | |
305 | RW.C1 = CFrame.new(0, 0.5, 0) | |
306 | RW.Part1 = ra | |
307 | RW.Parent = tors | |
308 | LW.Name = "LW" | |
309 | LW.Part0 = tors | |
310 | LW.C0 = CFrame.new(-1.5, 0.5, 0) | |
311 | LW.C1 = CFrame.new(0, 0.5, 0) | |
312 | LW.Part1 = la | |
313 | LW.Parent = tors | |
314 | print('User is '..plr.Name) | |
315 | Effects = {} | |
316 | ||
317 | ArtificialHB = Instance.new("BindableEvent", script) | |
318 | ArtificialHB.Name = "Heartbeat" | |
319 | ||
320 | script:WaitForChild("Heartbeat") | |
321 | ||
322 | ||
323 | frame = 1 / 60 | |
324 | tf = 0 | |
325 | allowframeloss = false | |
326 | tossremainder = false | |
327 | lastframe = tick() | |
328 | script.Heartbeat:Fire() | |
329 | ||
330 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
331 | tf = tf + s | |
332 | if tf >= frame then | |
333 | if allowframeloss then | |
334 | script.Heartbeat:Fire() | |
335 | lastframe = tick() | |
336 | else | |
337 | for i = 1, math.floor(tf / frame) do | |
338 | script.Heartbeat:Fire() | |
339 | end | |
340 | lastframe = tick() | |
341 | end | |
342 | if tossremainder then | |
343 | tf = 0 | |
344 | else | |
345 | tf = tf - frame * math.floor(tf / frame) | |
346 | end | |
347 | end | |
348 | end) | |
349 | local RbxUtility = LoadLibrary("RbxUtility") | |
350 | local Create = RbxUtility.Create | |
351 | ||
352 | ||
353 | function ShowDamage(Pos, Text, Time, Color) | |
354 | local Rate = (1 / 30) | |
355 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
356 | local Text = (Text or "") | |
357 | local Time = (Time or 2) | |
358 | local Color = (Color or Color3.new(1, 0, 1)) | |
359 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
360 | EffectPart.Anchored = true | |
361 | local BillboardGui = Create("BillboardGui"){ | |
362 | Size = UDim2.new(3, 0, 3, 0), | |
363 | Adornee = EffectPart, | |
364 | Parent = EffectPart, | |
365 | } | |
366 | local TextLabel = Create("TextLabel"){ | |
367 | BackgroundTransparency = 1, | |
368 | Size = UDim2.new(1, 0, 1, 0), | |
369 | Text = Text, | |
370 | Font = "Highway", | |
371 | TextColor3 = Color, | |
372 | TextScaled = true, | |
373 | Parent = BillboardGui, | |
374 | } | |
375 | game.Debris:AddItem(EffectPart, (Time)) | |
376 | EffectPart.Parent = game:GetService("Workspace") | |
377 | delay(0, function() | |
378 | local Frames = (Time / Rate) | |
379 | for Frame = 1, Frames do | |
380 | wait(Rate) | |
381 | local Percent = (Frame / Frames) | |
382 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
383 | TextLabel.TextTransparency = Percent | |
384 | end | |
385 | if EffectPart and EffectPart.Parent then | |
386 | EffectPart:Destroy() | |
387 | end | |
388 | end) | |
389 | end | |
390 | CFuncs = { | |
391 | Part = { | |
392 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
393 | local Part = Create("Part")({ | |
394 | Parent = Parent, | |
395 | Reflectance = Reflectance, | |
396 | Transparency = Transparency, | |
397 | CanCollide = false, | |
398 | Locked = true, | |
399 | BrickColor = BrickColor.new(tostring(BColor)), | |
400 | Name = Name, | |
401 | Size = Size, | |
402 | Material = Material | |
403 | }) | |
404 | RemoveOutlines(Part) | |
405 | return Part | |
406 | end | |
407 | }, | |
408 | Mesh = { | |
409 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
410 | local Msh = Create(Mesh)({ | |
411 | Parent = Part, | |
412 | Offset = OffSet, | |
413 | Scale = Scale | |
414 | }) | |
415 | if Mesh == "SpecialMesh" then | |
416 | Msh.MeshType = MeshType | |
417 | Msh.MeshId = MeshId | |
418 | end | |
419 | return Msh | |
420 | end | |
421 | }, | |
422 | Mesh = { | |
423 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
424 | local Msh = Create(Mesh)({ | |
425 | Parent = Part, | |
426 | Offset = OffSet, | |
427 | Scale = Scale | |
428 | }) | |
429 | if Mesh == "SpecialMesh" then | |
430 | Msh.MeshType = MeshType | |
431 | Msh.MeshId = MeshId | |
432 | end | |
433 | return Msh | |
434 | end | |
435 | }, | |
436 | Weld = { | |
437 | Create = function(Parent, Part0, Part1, C0, C1) | |
438 | local Weld = Create("Weld")({ | |
439 | Parent = Parent, | |
440 | Part0 = Part0, | |
441 | Part1 = Part1, | |
442 | C0 = C0, | |
443 | C1 = C1 | |
444 | }) | |
445 | return Weld | |
446 | end | |
447 | }, | |
448 | Sound = { | |
449 | Create = function(id, par, vol, pit) | |
450 | coroutine.resume(coroutine.create(function() | |
451 | local S = Create("Sound")({ | |
452 | Volume = vol, | |
453 | Pitch = pit or 1, | |
454 | SoundId = id, | |
455 | Parent = par or workspace | |
456 | }) | |
457 | wait() | |
458 | S:play() | |
459 | game:GetService("Debris"):AddItem(S, 6) | |
460 | end)) | |
461 | end | |
462 | }, | |
463 | ParticleEmitter = { | |
464 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
465 | local fp = Create("ParticleEmitter")({ | |
466 | Parent = Parent, | |
467 | Color = ColorSequence.new(Color1, Color2), | |
468 | LightEmission = LightEmission, | |
469 | Size = Size, | |
470 | Texture = Texture, | |
471 | Transparency = Transparency, | |
472 | ZOffset = ZOffset, | |
473 | Acceleration = Accel, | |
474 | Drag = Drag, | |
475 | LockedToPart = LockedToPart, | |
476 | VelocityInheritance = VelocityInheritance, | |
477 | EmissionDirection = EmissionDirection, | |
478 | Enabled = Enabled, | |
479 | Lifetime = LifeTime, | |
480 | Rate = Rate, | |
481 | Rotation = Rotation, | |
482 | RotSpeed = RotSpeed, | |
483 | Speed = Speed, | |
484 | VelocitySpread = VelocitySpread | |
485 | }) | |
486 | return fp | |
487 | end | |
488 | } | |
489 | } | |
490 | function RemoveOutlines(part) | |
491 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
492 | end | |
493 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
494 | local NEWSOUND = nil | |
495 | coroutine.resume(coroutine.create(function() | |
496 | NEWSOUND = Instance.new("Sound", PARENT) | |
497 | NEWSOUND.Volume = VOLUME | |
498 | NEWSOUND.Pitch = PITCH | |
499 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
500 | swait() | |
501 | NEWSOUND:play() | |
502 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
503 | end)) | |
504 | return NEWSOUND | |
505 | end | |
506 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
507 | local Part = Create("Part")({ | |
508 | formFactor = FormFactor, | |
509 | Parent = Parent, | |
510 | Reflectance = Reflectance, | |
511 | Transparency = Transparency, | |
512 | CanCollide = false, | |
513 | Locked = true, | |
514 | BrickColor = BrickColor.new(tostring(BColor)), | |
515 | Name = Name, | |
516 | Size = Size, | |
517 | Material = Material | |
518 | }) | |
519 | RemoveOutlines(Part) | |
520 | return Part | |
521 | end | |
522 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
523 | local Msh = Create(Mesh)({ | |
524 | Parent = Part, | |
525 | Offset = OffSet, | |
526 | Scale = Scale | |
527 | }) | |
528 | if Mesh == "SpecialMesh" then | |
529 | Msh.MeshType = MeshType | |
530 | Msh.MeshId = MeshId | |
531 | end | |
532 | return Msh | |
533 | end | |
534 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
535 | local Weld = Create("Weld")({ | |
536 | Parent = Parent, | |
537 | Part0 = Part0, | |
538 | Part1 = Part1, | |
539 | C0 = C0, | |
540 | C1 = C1 | |
541 | }) | |
542 | return Weld | |
543 | end | |
544 | ||
545 | ||
546 | EffectModel = Instance.new("Model", char) | |
547 | Effects = { | |
548 | Block = { | |
549 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
550 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
551 | prt.Anchored = true | |
552 | prt.CFrame = cframe | |
553 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
554 | game:GetService("Debris"):AddItem(prt, 10) | |
555 | if Type == 1 or Type == nil then | |
556 | table.insert(Effects, { | |
557 | prt, | |
558 | "Block1", | |
559 | delay, | |
560 | x3, | |
561 | y3, | |
562 | z3, | |
563 | msh | |
564 | }) | |
565 | elseif Type == 2 then | |
566 | table.insert(Effects, { | |
567 | prt, | |
568 | "Block2", | |
569 | delay, | |
570 | x3, | |
571 | y3, | |
572 | z3, | |
573 | msh | |
574 | }) | |
575 | else | |
576 | table.insert(Effects, { | |
577 | prt, | |
578 | "Block3", | |
579 | delay, | |
580 | x3, | |
581 | y3, | |
582 | z3, | |
583 | msh | |
584 | }) | |
585 | end | |
586 | end | |
587 | }, | |
588 | Sphere = { | |
589 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
590 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
591 | prt.Anchored = true | |
592 | prt.CFrame = cframe | |
593 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
594 | game:GetService("Debris"):AddItem(prt, 10) | |
595 | table.insert(Effects, { | |
596 | prt, | |
597 | "Cylinder", | |
598 | delay, | |
599 | x3, | |
600 | y3, | |
601 | z3, | |
602 | msh | |
603 | }) | |
604 | end | |
605 | }, | |
606 | Cylinder = { | |
607 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
608 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
609 | prt.Anchored = true | |
610 | prt.CFrame = cframe | |
611 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
612 | game:GetService("Debris"):AddItem(prt, 10) | |
613 | table.insert(Effects, { | |
614 | prt, | |
615 | "Cylinder", | |
616 | delay, | |
617 | x3, | |
618 | y3, | |
619 | z3, | |
620 | msh | |
621 | }) | |
622 | end | |
623 | }, | |
624 | Wave = { | |
625 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
626 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
627 | prt.Anchored = true | |
628 | prt.CFrame = cframe | |
629 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
630 | game:GetService("Debris"):AddItem(prt, 10) | |
631 | table.insert(Effects, { | |
632 | prt, | |
633 | "Cylinder", | |
634 | delay, | |
635 | x3 / 60, | |
636 | y3 / 60, | |
637 | z3 / 60, | |
638 | msh | |
639 | }) | |
640 | end | |
641 | }, | |
642 | Ring = { | |
643 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
644 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
645 | prt.Anchored = true | |
646 | prt.CFrame = cframe | |
647 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
648 | game:GetService("Debris"):AddItem(prt, 10) | |
649 | table.insert(Effects, { | |
650 | prt, | |
651 | "Cylinder", | |
652 | delay, | |
653 | x3, | |
654 | y3, | |
655 | z3, | |
656 | msh | |
657 | }) | |
658 | end | |
659 | }, | |
660 | Break = { | |
661 | Create = function(brickcolor, cframe, x1, y1, z1) | |
662 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
663 | prt.Anchored = true | |
664 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
665 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
666 | local num = math.random(10, 50) / 1000 | |
667 | game:GetService("Debris"):AddItem(prt, 10) | |
668 | table.insert(Effects, { | |
669 | prt, | |
670 | "Shatter", | |
671 | num, | |
672 | prt.CFrame, | |
673 | math.random() - math.random(), | |
674 | 0, | |
675 | math.random(50, 100) / 100 | |
676 | }) | |
677 | end | |
678 | } | |
679 | } | |
680 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
681 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
682 | prt.Anchored = true | |
683 | prt.CFrame = cframe | |
684 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
685 | game:GetService("Debris"):AddItem(prt, 10) | |
686 | if Type == 1 or Type == nil then | |
687 | table.insert(Effects, { | |
688 | prt, | |
689 | "Block1", | |
690 | delay, | |
691 | x3, | |
692 | y3, | |
693 | z3, | |
694 | msh | |
695 | }) | |
696 | elseif Type == 2 then | |
697 | table.insert(Effects, { | |
698 | prt, | |
699 | "Block2", | |
700 | delay, | |
701 | x3, | |
702 | y3, | |
703 | z3, | |
704 | msh | |
705 | }) | |
706 | elseif Type == 3 then | |
707 | table.insert(Effects, { | |
708 | prt, | |
709 | "Block3", | |
710 | delay, | |
711 | x3, | |
712 | y3, | |
713 | z3, | |
714 | msh | |
715 | }) | |
716 | end | |
717 | end | |
718 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
719 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
720 | prt.Anchored = true | |
721 | prt.CFrame = cframe | |
722 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
723 | game:GetService("Debris"):AddItem(prt, 10) | |
724 | table.insert(Effects, { | |
725 | prt, | |
726 | "Cylinder", | |
727 | delay, | |
728 | x3, | |
729 | y3, | |
730 | z3, | |
731 | msh | |
732 | }) | |
733 | end | |
734 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
735 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
736 | prt.Anchored = true | |
737 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
738 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
739 | game:GetService("Debris"):AddItem(prt, 10) | |
740 | table.insert(Effects, { | |
741 | prt, | |
742 | "Cylinder", | |
743 | delay, | |
744 | x3, | |
745 | y3, | |
746 | z3, | |
747 | msh | |
748 | }) | |
749 | end | |
750 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
751 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
752 | prt.Anchored = true | |
753 | prt.CFrame = cframe | |
754 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
755 | game:GetService("Debris"):AddItem(prt, 10) | |
756 | table.insert(Effects, { | |
757 | prt, | |
758 | "Cylinder", | |
759 | delay, | |
760 | x3, | |
761 | y3, | |
762 | z3, | |
763 | msh | |
764 | }) | |
765 | end | |
766 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
767 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
768 | prt.Anchored = true | |
769 | prt.CFrame = cframe | |
770 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
771 | game:GetService("Debris"):AddItem(prt, 10) | |
772 | table.insert(Effects, { | |
773 | prt, | |
774 | "Cylinder", | |
775 | delay, | |
776 | x3, | |
777 | y3, | |
778 | z3, | |
779 | msh | |
780 | }) | |
781 | end | |
782 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
783 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
784 | prt.Anchored = true | |
785 | prt.CFrame = cframe | |
786 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
787 | game:GetService("Debris"):AddItem(prt, 10) | |
788 | table.insert(Effects, { | |
789 | prt, | |
790 | "Cylinder", | |
791 | delay, | |
792 | x3, | |
793 | y3, | |
794 | z3, | |
795 | msh | |
796 | }) | |
797 | end | |
798 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
799 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
800 | prt.Anchored = true | |
801 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
802 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
803 | local num = math.random(10, 50) / 1000 | |
804 | game:GetService("Debris"):AddItem(prt, 10) | |
805 | table.insert(Effects, { | |
806 | prt, | |
807 | "Shatter", | |
808 | num, | |
809 | prt.CFrame, | |
810 | math.random() - math.random(), | |
811 | 0, | |
812 | math.random(50, 100) / 100 | |
813 | }) | |
814 | end | |
815 | ||
816 | ||
817 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
818 | function WACKYEFFECT(Table) | |
819 | local TYPE = (Table.EffectType or "Sphere") | |
820 | local SIZE = (Table.Size or VT(1,1,1)) | |
821 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
822 | local TRANSPARENCY = (Table.Transparency or 0) | |
823 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
824 | local CFRAME = (Table.CFrame or tors.CFrame) | |
825 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
826 | local ROTATION1 = (Table.RotationX or 0) | |
827 | local ROTATION2 = (Table.RotationY or 0) | |
828 | local ROTATION3 = (Table.RotationZ or 0) | |
829 | local MATERIAL = (Table.Material or "Neon") | |
830 | local COLOR = (Table.Color or C3(1,1,1)) | |
831 | local TIME = (Table.Time or 45) | |
832 | local SOUNDID = (Table.SoundID or nil) | |
833 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
834 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
835 | coroutine.resume(coroutine.create(function() | |
836 | local PLAYSSOUND = false | |
837 | local SOUND = nil | |
838 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
839 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
840 | PLAYSSOUND = true | |
841 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
842 | end | |
843 | EFFECT.Color = COLOR | |
844 | local MSH = nil | |
845 | if TYPE == "Sphere" then | |
846 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
847 | elseif TYPE == "Block" then | |
848 | MSH = IT("BlockMesh",EFFECT) | |
849 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
850 | elseif TYPE == "Wave" then | |
851 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
852 | elseif TYPE == "Ring" then | |
853 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
854 | elseif TYPE == "Slash" then | |
855 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
856 | elseif TYPE == "Round Slash" then | |
857 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
858 | elseif TYPE == "Swirl" then | |
859 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
860 | elseif TYPE == "Skull" then | |
861 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
862 | elseif TYPE == "Crystal" then | |
863 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
864 | end | |
865 | if MSH ~= nil then | |
866 | local MOVESPEED = nil | |
867 | if MOVEDIRECTION ~= nil then | |
868 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
869 | end | |
870 | local GROWTH = SIZE - ENDSIZE | |
871 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
872 | if TYPE == "Block" then | |
873 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
874 | else | |
875 | EFFECT.CFrame = CFRAME | |
876 | end | |
877 | for LOOP = 1, TIME+1 do | |
878 | swait() | |
879 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
880 | if TYPE == "Wave" then | |
881 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
882 | end | |
883 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
884 | if TYPE == "Block" then | |
885 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
886 | else | |
887 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
888 | end | |
889 | if MOVEDIRECTION ~= nil then | |
890 | local ORI = EFFECT.Orientation | |
891 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
892 | EFFECT.Orientation = ORI | |
893 | end | |
894 | end | |
895 | if PLAYSSOUND == false then | |
896 | EFFECT:remove() | |
897 | else | |
898 | SOUND.Stopped:Connect(function() | |
899 | EFFECT:remove() | |
900 | end) | |
901 | end | |
902 | else | |
903 | if PLAYSSOUND == false then | |
904 | EFFECT:remove() | |
905 | else | |
906 | repeat swait() until SOUND.Playing == false | |
907 | EFFECT:remove() | |
908 | end | |
909 | end | |
910 | end)) | |
911 | end | |
912 | ||
913 | ||
914 | ||
915 | local lrs = game:service'RunService'.RenderStepped | |
916 | function bleed(char,timeforbleed) | |
917 | local Rate = (1/30) | |
918 | local clr = BrickColor.new"Really black" | |
919 | if char.Name == "Quil_Cyndaquil" or char.Name == "Nebula_Zorua" or char.Parent.Name == "Quil_Cyndaquil" or char.Parent.Name == "Nebula_Zorua" then | |
920 | clr = BrickColor.new"Teal" | |
921 | elseif char.Name == "Salvo_Starly" or char.Parent.Name == "Salvo_Starly" then | |
922 | clr = BrickColor.new"Institutional white" | |
923 | elseif char.Name == "visabledude" or char.Parent.Name == "visabledude" then | |
924 | clr = BrickColor.new"Really blue" | |
925 | elseif char.Name == "makhail07" or char.Parent.Name == "makhail07" then | |
926 | clr = BrickColor.new"Lime green" | |
927 | elseif char.Name == "KillerDarkness0105" or char.Parent.Name == "KillerDarkness0105" then | |
928 | clr = BrickColor.new"Really black" | |
929 | end | |
930 | local Frames = timeforbleed / Rate | |
931 | wait(.25) | |
932 | ||
933 | for Frame = 1, Frames do | |
934 | coroutine.wrap(function() | |
935 | local p = Instance.new("Part",workspace) | |
936 | p.BrickColor = clr | |
937 | p.Size = Vector3.new(.25,.25,.25) | |
938 | p.Material = Enum.Material.Neon | |
939 | local prt | |
940 | if char:IsA"Model" then | |
941 | prt = char:FindFirstChild"Torso" or char:FindFirstChild"UpperTorso" | |
942 | else | |
943 | prt = char; | |
944 | end | |
945 | p.CFrame = prt.CFrame; | |
946 | p.Name = "Blood" | |
947 | p.CanCollide = false | |
948 | p.Velocity = prt.CFrame.lookVector * -math.random(25,30) + Vector3.new(math.random(-10,10),0,0) | |
949 | p.Touched:connect(function(tou) | |
950 | if tou.Name ~= "Blood" and tou.Parent and tou.Parent ~= char and (not tou.Parent.Parent or tou.Parent.Parent ~= char.Parent) and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:IsA"Tool" == false and tou.Name ~= "Handle" then | |
951 | local pos = Vector3.new(p.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,p.Position.Z) | |
952 | p:destroy() | |
953 | if tou.Name == "BloodPuddle" then | |
954 | local reee = tou.CFrame | |
955 | if tou.Transparency > .2 then | |
956 | tou.Transparency = tou.Transparency - .1 | |
957 | end | |
958 | if tou.Size.X < 15 then | |
959 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
960 | tou.CFrame = reee | |
961 | end | |
962 | else | |
963 | local bloodlol = Instance.new('Part',workspace) | |
964 | bloodlol.Size=Vector3.new(1,0.2,1) | |
965 | bloodlol.Name = "BloodPuddle" | |
966 | bloodlol.Anchored = true | |
967 | bloodlol.CanCollide = false | |
968 | bloodlol.Material = Enum.Material.Neon | |
969 | bloodlol.BrickColor = clr | |
970 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
971 | cyl.Scale = Vector3.new(1,0.1,1) | |
972 | bloodlol.CFrame = CFrame.new(pos) | |
973 | coroutine.wrap(function() | |
974 | wait(1) | |
975 | while bloodlol.Parent ~= nil do | |
976 | if bloodlol.Transparency < 1 then | |
977 | bloodlol.Transparency = bloodlol.Transparency+0.01 | |
978 | else | |
979 | bloodlol:Destroy() | |
980 | end | |
981 | wait() | |
982 | end | |
983 | end)() | |
984 | end | |
985 | end | |
986 | end) | |
987 | end)() | |
988 | wait((1/30)) | |
989 | end | |
990 | end | |
991 | ||
992 | ----shack2 | |
993 | ||
994 | local PlayerGui = plr.PlayerGui | |
995 | ||
996 | local WEAPONGUI = Instance.new("ScreenGui", PlayerGui) | |
997 | WEAPONGUI.Name = "AAA" | |
998 | ||
999 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
1000 | local frame = IT("Frame") | |
1001 | frame.BackgroundTransparency = TRANSPARENCY | |
1002 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
1003 | frame.Position = POSITION | |
1004 | frame.Size = SIZE | |
1005 | frame.BackgroundColor3 = COLOR | |
1006 | frame.BorderColor3 = BORDERCOLOR | |
1007 | frame.Name = NAME | |
1008 | frame.Parent = PARENT | |
1009 | return frame | |
1010 | end | |
1011 | ||
1012 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
1013 | local label = IT("TextLabel") | |
1014 | label.BackgroundTransparency = 1 | |
1015 | label.Size = UD2(1, 0, 1, 0) | |
1016 | label.Position = UD2(0, 0, 0, 0) | |
1017 | label.TextColor3 = TEXTCOLOR | |
1018 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
1019 | label.TextTransparency = TRANSPARENCY | |
1020 | label.FontSize = TEXTFONTSIZE | |
1021 | label.Font = TEXTFONT | |
1022 | label.BorderSizePixel = BORDERSIZEPIXEL | |
1023 | label.TextScaled = false | |
1024 | label.Text = TEXT | |
1025 | label.Name = NAME | |
1026 | label.Parent = PARENT | |
1027 | return label | |
1028 | end | |
1029 | -----shack2 | |
1030 | ||
1031 | ||
1032 | ----shack | |
1033 | IT = Instance.new | |
1034 | CF = CFrame.new | |
1035 | VT = Vector3.new | |
1036 | RAD = math.rad | |
1037 | C3 = Color3.new | |
1038 | UD2 = UDim2.new | |
1039 | BRICKC = BrickColor.new | |
1040 | ANGLES = CFrame.Angles | |
1041 | EULER = CFrame.fromEulerAnglesXYZ | |
1042 | COS = math.cos | |
1043 | ACOS = math.acos | |
1044 | SIN = math.sin | |
1045 | ASIN = math.asin | |
1046 | ABS = math.abs | |
1047 | MRANDOM = math.random | |
1048 | FLOOR = math.floor | |
1049 | ----end | |
1050 | ||
1051 | function dmg(dude) | |
1052 | if dude.Name ~= char then | |
1053 | dude:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
1054 | local bgf = Instance.new("BodyGyro",dude.Head) | |
1055 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) | |
1056 | local val = Instance.new("BoolValue",dude) | |
1057 | val.Name = "IsHit" | |
1058 | coroutine.wrap(function() | |
1059 | targetted = nil | |
1060 | swait(30) | |
1061 | local asd = Instance.new("ParticleEmitter",dude.Head) | |
1062 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1063 | asd.LightEmission = .1 | |
1064 | asd.Size = NumberSequence.new(0.2) | |
1065 | asd.Texture = "rbxassetid://771221224" | |
1066 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1067 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1068 | asd.Transparency = bbb | |
1069 | asd.Size = aaa | |
1070 | asd.ZOffset = .9 | |
1071 | asd.Acceleration = Vector3.new(0, -5, 0) | |
1072 | asd.LockedToPart = false | |
1073 | asd.EmissionDirection = "Back" | |
1074 | asd.Lifetime = NumberRange.new(1, 2) | |
1075 | asd.Rate = 1000 | |
1076 | asd.Rotation = NumberRange.new(-100, 100) | |
1077 | asd.RotSpeed = NumberRange.new(-100, 100) | |
1078 | asd.Speed = NumberRange.new(6) | |
1079 | asd.VelocitySpread = 10000 | |
1080 | asd.Enabled=true | |
1081 | dude:BreakJoints() | |
1082 | swait(5) | |
1083 | for i,v in pairs(dude:GetChildren()) do | |
1084 | if v:IsA("BasePart") then | |
1085 | local bodpos = Instance.new("BodyPosition",v) | |
1086 | bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
1087 | end | |
1088 | end | |
1089 | for i=0,1,.05 do | |
1090 | for a,v in pairs(dude:GetChildren()) do | |
1091 | if v:IsA("BasePart") then | |
1092 | v.Transparency = i | |
1093 | end | |
1094 | end | |
1095 | swait() | |
1096 | end | |
1097 | for a,v in pairs(dude:GetChildren()) do | |
1098 | if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then | |
1099 | v.ParticleEmitter.Enabled = false | |
1100 | end | |
1101 | game:service'Debris':AddItem(v,2) | |
1102 | asd.Enabled = false | |
1103 | end | |
1104 | end)() | |
1105 | end | |
1106 | end | |
1107 | ||
1108 | ||
1109 | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) | |
1110 | local TORSO = tors | |
1111 | local HUM = hum | |
1112 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
1113 | coroutine.wrap(function() | |
1114 | VT = Vector3.new | |
1115 | MRANDOM = math.random | |
1116 | local A = TIME | |
1117 | local B = INTENSITY | |
1118 | local C = true | |
1119 | local HUMANOID = hum | |
1120 | local TIMER = A or 35 | |
1121 | local SHAKE = B or 5 | |
1122 | local FADE = C or true | |
1123 | if HUMANOID then | |
1124 | local FADER = SHAKE / TIMER | |
1125 | for i = 1, TIMER do | |
1126 | wait() | |
1127 | HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10) | |
1128 | end | |
1129 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
1130 | end | |
1131 | ||
1132 | end)() | |
1133 | end | |
1134 | end | |
1135 | ||
1136 | ||
1137 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1138 | --local buddy | |
1139 | for _, c in pairs(workspace:GetDescendants()) do | |
1140 | local hum = c:FindFirstChildOfClass("Humanoid") | |
1141 | if hum ~= nil then | |
1142 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
1143 | if head ~= nil then | |
1144 | local targ = head.Position - Part.Position | |
1145 | local mag = targ.magnitude | |
1146 | if mag <= Magnitude and c.Name ~= plr.Name and c:FindFirstChild("MagDmgd")==nil then | |
1147 | if c.Name ~= char then | |
1148 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" or c.Name ~= "Makhail07" then | |
1149 | local val = Instance.new("BoolValue",c) | |
1150 | val.Name = "MagDmgd" | |
1151 | local asd = Instance.new("ParticleEmitter",head) | |
1152 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1153 | asd.LightEmission = .1 | |
1154 | asd.Size = NumberSequence.new(0.2) | |
1155 | asd.Texture = "rbxassetid://771221224" | |
1156 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1157 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1158 | asd.Transparency = bbb | |
1159 | asd.Size = aaa | |
1160 | asd.ZOffset = .9 | |
1161 | asd.Acceleration = Vector3.new(0, -5, 0) | |
1162 | asd.LockedToPart = false | |
1163 | asd.EmissionDirection = "Back" | |
1164 | asd.Lifetime = NumberRange.new(1, 2) | |
1165 | asd.Rate = 1000 | |
1166 | asd.Rotation = NumberRange.new(-100, 100) | |
1167 | asd.RotSpeed = NumberRange.new(-100, 100) | |
1168 | asd.Speed = NumberRange.new(6) | |
1169 | asd.VelocitySpread = 10000 | |
1170 | asd.Enabled=true | |
1171 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1172 | dmg(c) | |
1173 | CFuncs["Sound"].Create("rbxassetid://206082273", c.Head, 1.2, .8) | |
1174 | coroutine.wrap(function() | |
1175 | swait(.2) | |
1176 | asd.Enabled = false | |
1177 | wait(2) | |
1178 | asd:Remove() | |
1179 | end)() | |
1180 | else | |
1181 | ||
1182 | Effects.Sphere.Create(BrickColor.new("Bright red"), head.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
1183 | ||
1184 | end | |
1185 | end | |
1186 | end | |
1187 | end | |
1188 | end | |
1189 | end | |
1190 | end | |
1191 | ||
1192 | targetted = nil | |
1193 | ||
1194 | ||
1195 | ||
1196 | ||
1197 | ------------------------------------------------------------ | |
1198 | --------------------------------------------- | |
1199 | --End of Important Functions-- | |
1200 | ------------------------------------------------------------ | |
1201 | --------------------------------------------- | |
1202 | ||
1203 | ||
1204 | ||
1205 | ||
1206 | ||
1207 | ||
1208 | ||
1209 | --[[ | |
1210 | Thanks for using Build-To-Lua by jarredbcv. | |
1211 | ]]-- | |
1212 | ||
1213 | New = function(Object, Parent, Name, Data) | |
1214 | local Object = Instance.new(Object) | |
1215 | for Index, Value in pairs(Data or {}) do | |
1216 | Object[Index] = Value | |
1217 | end | |
1218 | Object.Parent = Parent | |
1219 | Object.Name = Name | |
1220 | return Object | |
1221 | end | |
1222 | ||
1223 | Uzi = New("Model",char,"Uzi",{}) | |
1224 | Handle = New("Part",Uzi,"Handle",{BrickColor = BrickColor.new("Black"),Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907e-09, 5.60066837e-09, -4.67619166e-10, 0.999989152, 5.95959136e-07, -1.86810212e-09, 1.98648195e-07, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1225 | Port = New("Part",Uzi,"Port",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.514359295),CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767e-09, -0.965913594, -0.258815765, -8.10978804e-07, -2.25573785e-07, -4.02978912e-08, 0.999983191),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
1226 | Mesh = New("BlockMesh",Port,"Mesh",{Scale = Vector3.new(0.0769230723, 0.538461506, 1),}) | |
1227 | mot = New("Motor",Port,"mot",{Part0 = Port,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019e-07, 0.965925872, -0.258819073, -1.6708546e-07, 8.90398955e-09, -6.12338397e-07, 1),C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1228 | Mag2 = New("Part",Uzi,"Mag2",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.969711781, 0.303939581),CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
1229 | Mesh = New("BlockMesh",Mag2,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),}) | |
1230 | mot = New("Motor",Mag2,"mot",{Part0 = Mag2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1231 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1232 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194),}) | |
1233 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1234 | AimPart = New("Part",Uzi,"AimPart",{BrickColor = BrickColor.new("Black"),Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626e-09, 5.60066127e-09, -4.67106354e-10, 0.999989152, 5.95963002e-07, -1.86809501e-09, 1.9865206e-07, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1235 | mot = New("Motor",AimPart,"mot",{Part0 = AimPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -9.25960919e-10, -3.73438835e-09, -9.25962418e-10, 1, 3.97315489e-07, 3.73438791e-09, 3.97315489e-07, -1),C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1236 | Hole = New("Part",Uzi,"Hole",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.607879162, 0.607879221, 1.51969779),CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514248e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1237 | Mesh = New("BlockMesh",Hole,"Mesh",{Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485),}) | |
1238 | mot = New("Motor",Hole,"mot",{Part0 = Hole,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04589466e-05, -1, 1.34634383e-05, -6.8224125e-07, -1.34634593e-05, -1, 1, 3.04589375e-05, -6.82651319e-07),C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1239 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1240 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,}) | |
1241 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1242 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 0.00037727732, 4.80012168e-05, -0.000377270597, -0.999989152, 5.5595694e-05, 4.8025533e-05, 5.59747241e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1243 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343),MeshType = Enum.MeshType.Torso,}) | |
1244 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -0.000377275166, 4.80242488e-05, 0.000377277844, -1, 5.57768326e-05, 4.80032068e-05, 5.57949534e-05, 1),C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1245 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("White"),Transparency = 1,Transparency = 1,Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -0.000377276359, -1.73402132e-05, 0.000377273274, 0.999989152, 5.57149033e-05, 1.73151166e-05, -5.61185843e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.94902, 0.952941, 0.952941),}) | |
1246 | lenspart = New("IntValue",NoSight,"lenspart",{}) | |
1247 | Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485),}) | |
1248 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0.000377277844, 1.73172939e-05, -0.000377276883, 1, -5.59206928e-05, -1.73383924e-05, 5.59141627e-05, 1),C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1249 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1250 | Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097),}) | |
1251 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1252 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751e-05, -0.000407793617, 0.999997377, -4.30490618e-05, 0.999989152, 0.000407790008, -0.999986291, -4.34524227e-05, 1.51382555e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1253 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097),MeshType = Enum.MeshType.Wedge,}) | |
1254 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.51580489e-05, -4.32481829e-05, -1, -0.000407794229, 1, -4.32543566e-05, 1, 0.000407794898, 1.51404101e-05),C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1255 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 0.000420433673, 1.73239296e-05, 0.00042042954, -0.999989152, -1.25467186e-05, 1.73145636e-05, 1.29512719e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1256 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
1257 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.99999994, 0.000420434575, 1.731675e-05, 0.000420434313, -1, 1.27527892e-05, 1.73221088e-05, -1.27455087e-05, -1),C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1258 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1259 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),}) | |
1260 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1261 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1262 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),}) | |
1263 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1264 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1265 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194),}) | |
1266 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1267 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 0.00037727732, 4.80012168e-05, -0.000377270597, -0.999989152, 5.5595694e-05, 4.8025533e-05, 5.59747241e-05, 0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1268 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485),MeshType = Enum.MeshType.Wedge,}) | |
1269 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -0.000377275166, 4.80242488e-05, 0.000377277844, -1, 5.57768326e-05, 4.80032068e-05, 5.57949534e-05, 1),C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1270 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1271 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097),}) | |
1272 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1273 | A1 = New("Part",Uzi,"A1",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.623076081, 0.729454994, 1.51969779),CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514248e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1274 | Mesh = New("BlockMesh",A1,"Mesh",{Scale = Vector3.new(0.238000005, 1, 0.0480000004),}) | |
1275 | mot = New("Motor",A1,"mot",{Part0 = A1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04589466e-05, -1, 1.34634383e-05, -6.8224125e-07, -1.34634593e-05, -1, 1, 3.04589375e-05, -6.82651319e-07),C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1276 | Cylinder1 = New("Part",Uzi,"Cylinder",{BrickColor = BrickColor.new("Really black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1277 | Mesh = New("CylinderMesh",Cylinder1,"Mesh",{Offset = Vector3.new(0, -0.0185714271, 0),Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627),}) | |
1278 | mot = New("Motor",Cylinder1,"mot",{Part0 = Cylinder1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1279 | Mag1 = New("Part",Uzi,"Mag1",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.723665655, 0.303939581),CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
1280 | Mesh = New("BlockMesh",Mag1,"Mesh",{Scale = Vector3.new(0.809523821, 1, 0.714285731),}) | |
1281 | mot = New("Motor",Mag1,"mot",{Part0 = Mag1,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1282 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 0.000420436263, -1.53869969e-05, 0.999994516, -0.999985397, -4.49496983e-05, 0.000420421362, 4.57110073e-05, -0.999980092, -1.53492692e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1283 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239),}) | |
1284 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Port,C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173e-05, -0.259224653, 0.965815544, -3.01207638e-06, -4.59400871e-05, -1.53690817e-05, -0.999996901),}) | |
1285 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420408818, -0.99999994, 4.51425221e-05, -1.53889487e-05, -4.51489977e-05, -1, 1, 0.000420408091, -1.5407928e-05),C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1286 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1287 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194),}) | |
1288 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1289 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1290 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239),}) | |
1291 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Port,C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, -0),C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173e-05, -0.259224653, 0.965815544, -3.01207638e-06, -4.59400871e-05, -1.53690817e-05, -0.999996901),}) | |
1292 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1293 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1294 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194),}) | |
1295 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1296 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1297 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194),}) | |
1298 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1299 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 0.000334118115, 1.53568108e-05, -0.999997318, -0.999989092, 4.51352062e-05, -0.000334113749, 4.5527253e-05, 0.999986291, 1.53755864e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1300 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194),}) | |
1301 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000334118522, -0.99999994, 4.53292159e-05, 1.53587171e-05, 4.53343491e-05, 1, -0.99999994, -0.000334117853, 1.53738638e-05),C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1302 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 0.000237775297, -0.000239374975, -0.999997377, -0.707075596, 0.707122624, -0.000337392528, 0.707120895, 0.707073271, -1.11602742e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1303 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097),}) | |
1304 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000237776927, -0.707083166, 0.707130432, -0.000239373941, 0.707130432, 0.707083166, -1, -0.000337396661, -1.1179759e-06),C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1305 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556e-05, 0.999997318, -0.000344614644, 5.5595694e-05, 0.000344610075, 0.999989152, 0.999986291, -1.53906112e-05, -5.59875407e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1306 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194),}) | |
1307 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.53696619e-05, 5.57949534e-05, 1, 0.99999994, 0.000344614265, -1.53888886e-05, -0.00034461508, 1, -5.57896492e-05),C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1308 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165e-05, 0.000407794083, -0.000407787855, -4.30788677e-05, -0.999989152, 4.58960603e-05, -0.999986291, 4.3457334e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1309 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343),MeshType = Enum.MeshType.Wedge,}) | |
1310 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.99999994, -0.000407792744, 4.58947434e-05, -4.58770992e-05, -4.32779889e-05, -1, 0.000407794694, -1, 4.32592715e-05),C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1311 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813e-05, -0.000407784712, 0.00040778832, -0.000104068669, 0.999989092, 7.61557822e-05, -0.999986291, -0.00010449675),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1312 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097),MeshType = Enum.MeshType.Wedge,}) | |
1313 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0.000407793239, 7.61587726e-05, 7.62013078e-05, -0.000104268453, -1, -0.000407785323, 0.99999994, -0.000104299521),C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1314 | Part = New("Part",Uzi,"Part",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 0.000420435099, -1.53568108e-05, 0.999997318, -0.999989092, -4.51352062e-05, 0.000420430006, 4.55259251e-05, -0.999986291, -1.53795154e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1315 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149),}) | |
1316 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000420435739, -0.99999994, 4.53278881e-05, -1.53587171e-05, -4.53343491e-05, -1, 0.99999994, 0.000420435041, -1.53777764e-05),C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1317 | Block = New("Part",Uzi,"Block",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -0.000323260669, 0.000216992383, -0.999997377, 0.866039515, -0.499953777, -0.000388442742, -0.499952704, -0.866036952, -2.63046823e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1318 | Mesh = New("BlockMesh",Block,"Mesh",{Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485),}) | |
1319 | mot = New("Motor",Block,"mot",{Part0 = Block,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.000323262066, 0.866048813, -0.499959379, 0.000216991102, -0.49995935, -0.866048872, -1, -0.000388447457, -2.63069869e-05),C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1320 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 0.000316243502, -0.999997318, -1.53725232e-05, -0.999989152, -0.000316239311, -4.30490618e-05, 4.34413814e-05, 1.53898236e-05, -0.999986291),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1321 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),}) | |
1322 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316243852, -1, 4.32433153e-05, -0.99999994, -0.000316243211, 1.53881065e-05, -1.53744295e-05, -4.32481829e-05, -1),C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1323 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751e-05, -0.000407793617, 0.999997377, -4.30490618e-05, 0.999989152, 0.000407790008, -0.999986291, -4.34524227e-05, 1.51382555e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1324 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,}) | |
1325 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.51580489e-05, -4.32481829e-05, -1, -0.000407794229, 1, -4.32543566e-05, 1, 0.000407794898, 1.51404101e-05),C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1326 | Ring = New("Part",Uzi,"Ring",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.51969779, 1.51969779, 1.51969779),CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165e-05, 0.00040779452, 0.999997318, 4.30788677e-05, -0.999989152, 0.000407788291, 0.999986291, 4.34573376e-05, -4.58960603e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1327 | Mesh = New("SpecialMesh",Ring,"Mesh",{Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
1328 | mot = New("Motor",Ring,"mot",{Part0 = Ring,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.58770992e-05, 4.32779889e-05, 1, 0.000407795131, -1, 4.32592751e-05, 0.99999994, 0.000407793181, -4.58947434e-05),C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1329 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490618e-05, 0.999989152, -0.000346755522, 0.999986291, -4.34514986e-05, -1.51409104e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1330 | Mesh = New("SpecialMesh",NoSight,"Mesh",{Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105),MeshType = Enum.MeshType.Wedge,}) | |
1331 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.51580507e-05, 4.32481829e-05, 1, -0.000346759072, 1, -4.32534325e-05, -1, -0.000346759742, -1.51430522e-05),C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1332 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.51969779, 0.607879162, 1.51969779),CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 0.000316242484, -0.999998629, -1.53781439e-05, -0.999994516, -0.000316240039, -4.36452538e-05, 4.38389834e-05, 1.53937908e-05, -0.999993145),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1333 | Mesh = New("CylinderMesh",NoSight,"Mesh",{Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194),}) | |
1334 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.000316242484, -0.999994516, 4.38389834e-05, -0.999998629, -0.000316240039, 1.53937908e-05, -1.53781439e-05, -4.36452538e-05, -0.999993145),C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731e-10, -3.73439546e-09, -9.2647523e-10, 1, 3.97311624e-07, 3.73439502e-09, 3.97311624e-07, -1),}) | |
1335 | NoSight = New("Part",Uzi,"NoSight",{BrickColor = BrickColor.new("Black"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 0.303939581),CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877e-05, -0.000346758636, -0.999997377, 4.30490654e-05, 0.999989152, -0.000346755493, 0.999986291, -4.34515023e-05, -1.51409085e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1336 | Mesh = New("BlockMesh",NoSight,"Mesh",{Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603),}) | |
1337 | mot = New("Motor",NoSight,"mot",{Part0 = NoSight,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.5159917e-05, 4.30495311e-05, 1, -0.000346759538, 1, -4.30547843e-05, -1, -0.000346760178, -1.51449858e-05),C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941e-09, -5.60068347e-09, -1.38908274e-09, 1, 5.95965616e-07, 5.60068303e-09, 5.95965616e-07, -1),}) | |
1338 | A2 = New("Part",Uzi,"A2",{BrickColor = BrickColor.new("Dark stone grey"),Elasticity = 0,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.303939581, 0.303939581, 1.8236376),CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304e-05, -6.80373148e-07, 0.999997377, -0.999989152, -1.32646619e-05, 3.04581481e-05, 1.36619119e-05, -0.999986291, -6.84514305e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
1339 | Mesh = New("BlockMesh",A2,"Mesh",{Offset = Vector3.new(0, 0, 0.0599999987),Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004),}) | |
1340 | mot = New("Motor",A2,"mot",{Part0 = A2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.04594105e-05, -1, 1.32647847e-05, -6.80374967e-07, -1.32648056e-05, -1, 1, 3.04594014e-05, -6.8077901e-07),C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941e-09, -5.60068347e-09, -1.38908274e-09, 1, 5.95965616e-07, 5.60068303e-09, 5.95965616e-07, -1),}) | |
1341 | ||
1342 | local A = Instance.new("Attachment",tors) | |
1343 | A.Position = Vector3.new(1,1.3,0) | |
1344 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
1345 | local B = Instance.new("Attachment",tors) | |
1346 | B.Position = Vector3.new(-1.3,-0.6,0) | |
1347 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
1348 | local ChainLink = Instance.new("Beam",tors) | |
1349 | ChainLink.Texture = "rbxassetid://73042633" | |
1350 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1351 | ChainLink.TextureSpeed = 1 | |
1352 | ChainLink.FaceCamera = true | |
1353 | ChainLink.Width0 = 1 | |
1354 | ChainLink.Width1 = 1 | |
1355 | ChainLink.TextureLength = 3 | |
1356 | ChainLink.Attachment0 = A | |
1357 | ChainLink.Attachment1 = B | |
1358 | ChainLink.CurveSize0 = 1.6 | |
1359 | ChainLink.CurveSize1 = 1.6 | |
1360 | ChainLink.FaceCamera = true | |
1361 | ChainLink.Transparency = NumberSequence.new(0) | |
1362 | local ChainLink = Instance.new("Beam",tors) | |
1363 | ChainLink.Texture = "rbxassetid://73042633" | |
1364 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1365 | ChainLink.TextureSpeed = 1 | |
1366 | ChainLink.FaceCamera = true | |
1367 | ChainLink.Width0 = 1 | |
1368 | ChainLink.Width1 = 1 | |
1369 | ChainLink.TextureLength = 3 | |
1370 | ChainLink.Attachment0 = B | |
1371 | ChainLink.Attachment1 = A | |
1372 | ChainLink.CurveSize0 = 1.6 | |
1373 | ChainLink.CurveSize1 = 1.6 | |
1374 | ChainLink.FaceCamera = true | |
1375 | ChainLink.Transparency = NumberSequence.new(0) | |
1376 | local A = Instance.new("Attachment",tors) | |
1377 | A.Position = Vector3.new(1.3,-0.85,0) | |
1378 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
1379 | local B = Instance.new("Attachment",tors) | |
1380 | B.Position = Vector3.new(-1,2,0) | |
1381 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
1382 | local ChainLink = Instance.new("Beam",tors) | |
1383 | ChainLink.Texture = "rbxassetid://73042633" | |
1384 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1385 | ChainLink.TextureSpeed = 1 | |
1386 | ChainLink.FaceCamera = true | |
1387 | ChainLink.Width0 = 1 | |
1388 | ChainLink.Width1 = 1 | |
1389 | ChainLink.TextureLength = 3 | |
1390 | ChainLink.Attachment0 = A | |
1391 | ChainLink.Attachment1 = B | |
1392 | ChainLink.CurveSize0 = 1.3 | |
1393 | ChainLink.CurveSize1 = 1.3 | |
1394 | ChainLink.FaceCamera = true | |
1395 | ChainLink.Transparency = NumberSequence.new(0) | |
1396 | local ChainLink = Instance.new("Beam",tors) | |
1397 | ChainLink.Texture = "rbxassetid://73042633" | |
1398 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1399 | ChainLink.TextureSpeed = 1 | |
1400 | ChainLink.FaceCamera = true | |
1401 | ChainLink.Width0 = 1 | |
1402 | ChainLink.Width1 = 1 | |
1403 | ChainLink.TextureLength = 3 | |
1404 | ChainLink.Attachment0 = B | |
1405 | ChainLink.Attachment1 = A | |
1406 | ChainLink.CurveSize0 = 1.3 | |
1407 | ChainLink.CurveSize1 = 1.3 | |
1408 | ChainLink.FaceCamera = true | |
1409 | ChainLink.Transparency = NumberSequence.new(0) | |
1410 | ||
1411 | ||
1412 | ||
1413 | for _, v in pairs(Uzi:GetChildren()) do | |
1414 | if v:IsA'BasePart' then | |
1415 | v.CanCollide = false | |
1416 | end | |
1417 | end | |
1418 | ||
1419 | ||
1420 | ||
1421 | ||
1422 | local NewInstance = function(instance,parent,properties) | |
1423 | local inst = Instance.new(instance,parent) | |
1424 | if(properties)then | |
1425 | for i,v in next, properties do | |
1426 | pcall(function() inst[i] = v end) | |
1427 | end | |
1428 | end | |
1429 | return inst; | |
1430 | end | |
1431 | local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-1.1,-0.2)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))}) | |
1432 | ||
1433 | hed.face.Texture = "http://www.roblox.com/asset/?id=120463437" | |
1434 | ||
1435 | local naeeym2 = Instance.new("BillboardGui",char) | |
1436 | naeeym2.AlwaysOnTop = true | |
1437 | naeeym2.Size = UDim2.new(2, 0, 1, 0) | |
1438 | naeeym2.StudsOffset = Vector3.new(-4, 4, 0) | |
1439 | naeeym2.Adornee = hed | |
1440 | naeeym2.Name = "Name" | |
1441 | --naeeym2.PlayerToHideFrom = plr | |
1442 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1443 | tecks2.BackgroundTransparency = 1 | |
1444 | tecks2.TextScaled = true | |
1445 | tecks2.BorderSizePixel = 0 | |
1446 | tecks2.Text = "Verr?ckt V?lkerm?rder" | |
1447 | tecks2.Font = 15 | |
1448 | tecks2.TextSize = 24 | |
1449 | tecks2.TextStrokeTransparency = 0 | |
1450 | tecks2.TextColor3 = Color3.new(180/255,0,0) | |
1451 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
1452 | tecks2.Size = UDim2.new(5, 0, 2.5, 0) | |
1453 | tecks2.Parent = naeeym2 | |
1454 | VALUE1 = false | |
1455 | ||
1456 | local SKILLTEXTCOLOR = C3(1,0,0) | |
1457 | local SKILLFONT = "SciFi" | |
1458 | local SKILLTEXTSIZE = 5 | |
1459 | ||
1460 | hum.Died:connect(function() | |
1461 | ATTACK = true | |
1462 | end) | |
1463 | ||
1464 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1465 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1466 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1467 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1468 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1469 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
1470 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
1471 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.62, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame") | |
1472 | local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.58, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame") | |
1473 | ||
1474 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1") | |
1475 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2") | |
1476 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3") | |
1477 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[T]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4") | |
1478 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5") | |
1479 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[E + Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6") | |
1480 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[F + Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 7") | |
1481 | local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[Click + Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 8") | |
1482 | local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[Edit By NameClan]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 9") | |
1483 | ||
1484 | ||
1485 | ||
1486 | coroutine.wrap(function() | |
1487 | while true do | |
1488 | swait(15) | |
1489 | hum.Health = hum.Health + 55 | |
1490 | local chance = 200 | |
1491 | local name = math.random(1,45) | |
1492 | if(name == 1)then | |
1493 | tecks2.Text = "iNSaNiTY" | |
1494 | wait(.3) | |
1495 | tecks2.Text = "Insane Genocidal Maniac" | |
1496 | elseif(name == 2)then | |
1497 | tecks2.Text = "S stands for ;)" | |
1498 | wait(.3) | |
1499 | tecks2.Text = "Insane Genocidal Maniac" | |
1500 | elseif(name == 3)then | |
1501 | tecks2.Text = ":))))))))))))))))))" | |
1502 | wait(.3) | |
1503 | tecks2.Text = "Insane Genocidal Maniac" | |
1504 | elseif(name == 4) then | |
1505 | tecks2.Text = "WORTTTThLESS" | |
1506 | wait(.3) | |
1507 | tecks2.Text = "Insane Genocidal Maniac" | |
1508 | elseif(math.random(1,chance) == math.ceil(chance/2))then | |
1509 | tecks2.Text = "Why BOOOOTHer" | |
1510 | else | |
1511 | tecks2.Text = "Insane Genocidal Maniac" | |
1512 | end | |
1513 | if(VALUE1)then | |
1514 | tecks2.Text = tecks2.Text:gsub("",string.char(math.random(1,127))) | |
1515 | end | |
1516 | end | |
1517 | end)() | |
1518 | ||
1519 | ------------------------------------------------------------ | |
1520 | --------------------------------------------- | |
1521 | --Start of attacks-- | |
1522 | ------------------------------------------------------------ | |
1523 | --------------------------------------------- | |
1524 | ||
1525 | local BBG = Instance.new("BillboardGui",char) | |
1526 | BBG.Size = UDim2.new(10,0,10,0) | |
1527 | BBG.Enabled = false | |
1528 | local TargetCircle = Instance.new("ImageLabel",BBG) | |
1529 | TargetCircle.Position = UDim2.new(0,0,0,0) | |
1530 | TargetCircle.Size = UDim2.new(1,0,1,0) | |
1531 | TargetCircle.Image = "rbxassetid://845483336" | |
1532 | TargetCircle.BackgroundTransparency = 1 | |
1533 | TargetCircle.ImageColor3 = Color3.new(1,0,0) | |
1534 | local TargetCircle2 = TargetCircle:Clone() | |
1535 | TargetCircle2.Parent = BBG | |
1536 | TargetCircle2.ImageTransparency = 1; | |
1537 | ||
1538 | ||
1539 | ||
1540 | targgeted = nil | |
1541 | function TargetSelect(ch) | |
1542 | local dd=coroutine.wrap(function() | |
1543 | if targgeted ~= ch then | |
1544 | targgeted = ch | |
1545 | TargetCircle2.Size = UDim2.new(1,0,1,0) | |
1546 | TargetCircle2.ImageTransparency = 0 | |
1547 | TargetCircle2.Position = UDim2.new(0,0,0,0) | |
1548 | for i = 0, 2, 0.1 do | |
1549 | wait() | |
1550 | TargetCircle2.Size = TargetCircle2.Size + UDim2.new(.05,0,.05,0) | |
1551 | TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-.025,0,-.025,0) | |
1552 | TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05 | |
1553 | end | |
1554 | end | |
1555 | end)() | |
1556 | end | |
1557 | ||
1558 | function LockOn() | |
1559 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1560 | TargetSelect(mouse.Target.Parent) | |
1561 | ||
1562 | end | |
1563 | end | |
1564 | ||
1565 | function TargetSelect(person) | |
1566 | local dd=coroutine.wrap(function() | |
1567 | if targetted ~= person then | |
1568 | targetted = person | |
1569 | TargetCircle2.Size = UDim2.new(1,0,1,0) | |
1570 | TargetCircle2.ImageTransparency = 0 | |
1571 | TargetCircle2.Position = UDim2.new(0,0,0,0) | |
1572 | for i = 0, 2, 0.1 do | |
1573 | swait() | |
1574 | TargetCircle2.Size = TargetCircle2.Size + UDim2.new(.05,0,.05,0) | |
1575 | TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-.025,0,-.025,0) | |
1576 | TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05 | |
1577 | end | |
1578 | end | |
1579 | end) | |
1580 | dd() | |
1581 | end | |
1582 | ||
1583 | ||
1584 | ||
1585 | local sine = 0 | |
1586 | function Laugh() | |
1587 | attack = true | |
1588 | hum.WalkSpeed = 0 | |
1589 | CreateSound("221057812", tors, 3, 1) | |
1590 | for i = 0,4.5,0.1/ 3 do | |
1591 | swait() | |
1592 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1 + 0.1 * math.cos(sine/1.5))* angles(math.rad(0),math.rad(0),math.rad(0)),.15) | |
1593 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
1594 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1595 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1596 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/1.5),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
1597 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/1.5),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
1598 | end | |
1599 | attack = false | |
1600 | hum.WalkSpeed = 8 | |
1601 | end | |
1602 | ||
1603 | function smileforme() | |
1604 | attack = true | |
1605 | local POS = root.Position | |
1606 | CreateSound("317129949", char, 500, .7) | |
1607 | SHAKECAM(POS, 45, 15, 15) | |
1608 | hum.WalkSpeed = 0 | |
1609 | for i = 1,55 do | |
1610 | for i = 0,0.1,0.1 do | |
1611 | swait() | |
1612 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
1613 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),0.15) | |
1614 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-4.5)),0.15) | |
1615 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-75),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
1616 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
1617 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
1618 | ||
1619 | end | |
1620 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1621 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1622 | CreateSound("249050335", char, 1, .5) | |
1623 | ||
1624 | for i = 0,0.1,0.1 do | |
1625 | swait() | |
1626 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(5),math.rad(0),math.rad(0)),0.15) | |
1627 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),0.15) | |
1628 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-4.5)),0.15) | |
1629 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-75),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
1630 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
1631 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
1632 | end | |
1633 | end | |
1634 | local ref1 = New("Part",char,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1635 | wait(.4) | |
1636 | attack = false | |
1637 | hum.WalkSpeed = 8 | |
1638 | for i = 1, 65 do | |
1639 | wait(.1) | |
1640 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", char, 1.5, .7) | |
1641 | ref1.Position = mouse.hit.p | |
1642 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1643 | mdmg(ref1, 10) | |
1644 | Effects.Cylinder.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, .7, 0, .7, 0.05) | |
1645 | Effects.Sphere.Create(BrickColor.new("Dark orange"), ref1.CFrame, 1, 1, 1, .7, .7, .7, 0.05) | |
1646 | Effects.Break.Create(BrickColor.new("Dark orange"), ref1.CFrame, .5, 9999, .5, 3.7, 3.7, 3.7, 0.07) | |
1647 | end | |
1648 | ref1:Remove() | |
1649 | ||
1650 | end | |
1651 | function targetkill() | |
1652 | attack = true | |
1653 | local POS = root.Position | |
1654 | CreateSound("317129949", char, 500, .7) | |
1655 | SHAKECAM(POS, 45, 15, 15) | |
1656 | for i = 1,15 do | |
1657 | swait() | |
1658 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(15),math.rad(0),math.rad(0)),0.15) | |
1659 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
1660 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(15)),0.15) | |
1661 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-5)),0.15) | |
1662 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(-25), math.rad(-35)), 0.3) | |
1663 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0.3)*angles(math.rad(0),math.rad(12),math.rad(0)),0.15) | |
1664 | end | |
1665 | hum.WalkSpeed = 0 | |
1666 | for i = 1,15 do | |
1667 | for i = 0,0.1,0.1 do | |
1668 | swait() | |
1669 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
1670 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
1671 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
1672 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
1673 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1674 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(0),math.rad(12),math.rad(-25)),0.15) | |
1675 | end | |
1676 | SHAKECAM(POS, 2, 2, 2) | |
1677 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1678 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1679 | CreateSound("249050335", char, 1, .5) | |
1680 | for i = 0,0.1,0.1 do | |
1681 | swait() | |
1682 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
1683 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
1684 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
1685 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
1686 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0.2) * angles(math.rad(95), math.rad(0), math.rad(0)), 0.3) | |
1687 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-26)),0.15) | |
1688 | end | |
1689 | end | |
1690 | coroutine.wrap(function() if targetted then | |
1691 | dmg(targetted) | |
1692 | end end)() | |
1693 | attack = false | |
1694 | hum.WalkSpeed = 8 | |
1695 | end | |
1696 | ||
1697 | function frombelow() | |
1698 | local POS = root.Position | |
1699 | SHAKECAM(POS, 15, 15, 15) | |
1700 | local humR = targetted:FindFirstChild"Torso" or targetted:FindFirstChild"UpperTorso"; | |
1701 | local tHum = targetted:FindFirstChildOfClass'Humanoid' | |
1702 | humR.Anchored = true | |
1703 | attack = true | |
1704 | hum.WalkSpeed = 0 | |
1705 | nothinpersonal(targetted.Head.CFrame * CFrame.new(0,-1.5,2)) | |
1706 | for i = 0,3.5,0.1 do | |
1707 | swait() | |
1708 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
1709 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
1710 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(0)),0.15) | |
1711 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
1712 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.15) | |
1713 | end | |
1714 | for i = 0,3.5,0.1 do | |
1715 | swait() | |
1716 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
1717 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
1718 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(0)),0.15) | |
1719 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
1720 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,-0.5)*angles(math.rad(0),math.rad(-135),math.rad(-90)),0.15) | |
1721 | end | |
1722 | SHAKECAM(POS, 3, 3, 3) | |
1723 | humR.Anchored = false | |
1724 | local grabWeld = NewInstance("Weld",targgeted,{Part0=BBG.Adornee,Part1=la,C0 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),math.rad(-90),0)}) | |
1725 | for i = 0,35 do | |
1726 | for i = 0,0.1,0.1 do | |
1727 | swait() | |
1728 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
1729 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15) | |
1730 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.2, -0.35) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
1731 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.3,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15) | |
1732 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
1733 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
1734 | end | |
1735 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1736 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1737 | CreateSound("249050335", char, 1, .5) | |
1738 | for i = 0,0.21,0.1 do | |
1739 | swait() | |
1740 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
1741 | tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15) | |
1742 | RW.C0 = clerp(RW.C0, CFrame.new(1, 1.2, -0.35) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
1743 | LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.3,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15) | |
1744 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15) | |
1745 | LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15) | |
1746 | end | |
1747 | end | |
1748 | ||
1749 | attack = false | |
1750 | hum.WalkSpeed = 8 | |
1751 | end | |
1752 | ||
1753 | ||
1754 | function shootyboi() | |
1755 | attack = true | |
1756 | hum.WalkSpeed = 0 | |
1757 | local POS = root.Position | |
1758 | CreateSound("317129949", char, 500, .7) | |
1759 | SHAKECAM(POS, 45, 15, 15) | |
1760 | for i = 0,65 do | |
1761 | for i = 0,0.1,0.1 do | |
1762 | swait() | |
1763 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
1764 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(18),math.rad(0),math.rad(0)),.3) | |
1765 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1,0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(0)),0.15) | |
1766 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1,0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-0),math.rad(-0)),0.15) | |
1767 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3) | |
1768 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-20 ), math.rad(7*math.sin(sine/1)), math.rad(-5)), 0.1) | |
1769 | end | |
1770 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1771 | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1772 | CreateSound("249050335", char, 1, .5) | |
1773 | local ref1 = New("Part",char,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1774 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
1775 | ref1.Position = mouse.hit.p | |
1776 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1777 | coroutine.wrap(function() | |
1778 | for i,v in next, workspace:children() do | |
1779 | local selected = v:FindFirstChild"HumanoidRootPart" or v:FindFirstChild"Torso" or v:FindFirstChild"UpperTorso" | |
1780 | if v ~= char and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then | |
1781 | local hum = v:FindFirstChildOfClass"Humanoid" | |
1782 | if hum and hum.Health > 0 then | |
1783 | coroutine.wrap(function() dmg(v) end)() | |
1784 | end | |
1785 | end | |
1786 | end | |
1787 | end)() | |
1788 | local dist = (Cylinder1.CFrame.p - ref1.CFrame.p).magnitude | |
1789 | local ray1 = Create("Part"){Parent=workspace,BrickColor = BrickColor.new"Dark orange",Material = "Neon",Transparency = 0.25,Anchored=true,Locked=true,CanCollide=false,Size = Vector3.new(0.3, 0.3, dist),CFrame = CFrame.new(Cylinder1.CFrame.p, ref1.CFrame.p) * CFrame.new(0, 0, -dist / 2)} | |
1790 | delay(0, function() | |
1791 | ray1.Anchored = true; | |
1792 | for i = 0.25, 1, .1 do | |
1793 | ray1.Transparency = i | |
1794 | wait() | |
1795 | end | |
1796 | ray1:destroy() | |
1797 | end) | |
1798 | for i = 0,0.1,0.1 do | |
1799 | swait() | |
1800 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
1801 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
1802 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
1803 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
1804 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.3) | |
1805 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-20 ), math.rad(7*math.sin(sine/1)), math.rad(-5)), 0.1) | |
1806 | end | |
1807 | end | |
1808 | attack = false | |
1809 | hum.WalkSpeed = 8 | |
1810 | end | |
1811 | ||
1812 | function nothinpersonal(pos) | |
1813 | CFuncs["Sound"].Create("rbxassetid://743521656", char, 1, .8) | |
1814 | for _, v in pairs(char:children()) do | |
1815 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1816 | do | |
1817 | local p = v:clone() | |
1818 | p.Name = "trail" | |
1819 | p.Parent = EffectModel | |
1820 | p.Transparency = 0.5 | |
1821 | p.Anchored = true | |
1822 | p.BrickColor = BrickColor.new("Really black") | |
1823 | p.Material = "Neon" | |
1824 | p:BreakJoints() | |
1825 | p.CanCollide = false | |
1826 | if v == hed then | |
1827 | for a, b in pairs(p:children()) do | |
1828 | if b:IsA("Sound") then | |
1829 | b:Destroy() | |
1830 | end | |
1831 | end | |
1832 | end | |
1833 | coroutine.resume(coroutine.create(function() | |
1834 | for i = 1, 50 do | |
1835 | swait() | |
1836 | p.Transparency = i / 50 | |
1837 | end | |
1838 | p:Destroy() | |
1839 | end)) | |
1840 | end | |
1841 | end | |
1842 | if v.className == "Accessory" then | |
1843 | end | |
1844 | end | |
1845 | root.CFrame = pos | |
1846 | end | |
1847 | local music = Instance.new("Sound", tors) | |
1848 | music.SoundId = "rbxassetid://672027901" | |
1849 | music.Looped = true | |
1850 | music.Pitch = 1.3 | |
1851 | music.Volume = 2 | |
1852 | music:Play() | |
1853 | angery = false | |
1854 | function ohshitimangry() | |
1855 | attack = true | |
1856 | ShadowHead = New("Part",char,"ShadowHeadss",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1857 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) | |
1858 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1859 | local A = Instance.new("Attachment",tors) | |
1860 | A.Position = Vector3.new(1,1.3,0) | |
1861 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
1862 | local B = Instance.new("Attachment",tors) | |
1863 | B.Position = Vector3.new(-1.3,-0.6,0) | |
1864 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
1865 | local ChainLink = Instance.new("Beam",tors) | |
1866 | ChainLink.Texture = "rbxassetid://73042633" | |
1867 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1868 | ChainLink.TextureSpeed = 1 | |
1869 | ChainLink.FaceCamera = true | |
1870 | ChainLink.Width0 = 1 | |
1871 | ChainLink.Width1 = 1 | |
1872 | ChainLink.TextureLength = 3 | |
1873 | ChainLink.Attachment0 = A | |
1874 | ChainLink.Attachment1 = B | |
1875 | ChainLink.CurveSize0 = 1.6 | |
1876 | ChainLink.CurveSize1 = 1.6 | |
1877 | ChainLink.FaceCamera = true | |
1878 | ChainLink.Transparency = NumberSequence.new(0) | |
1879 | local ChainLink = Instance.new("Beam",tors) | |
1880 | ChainLink.Texture = "rbxassetid://73042633" | |
1881 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1882 | ChainLink.TextureSpeed = 1 | |
1883 | ChainLink.FaceCamera = true | |
1884 | ChainLink.Width0 = 1 | |
1885 | ChainLink.Width1 = 1 | |
1886 | ChainLink.TextureLength = 3 | |
1887 | ChainLink.Attachment0 = B | |
1888 | ChainLink.Attachment1 = A | |
1889 | ChainLink.CurveSize0 = 1.6 | |
1890 | ChainLink.CurveSize1 = 1.6 | |
1891 | ChainLink.FaceCamera = true | |
1892 | ChainLink.Transparency = NumberSequence.new(0) | |
1893 | local A = Instance.new("Attachment",tors) | |
1894 | A.Position = Vector3.new(1.3,-0.85,0) | |
1895 | A.Orientation = Vector3.new(-0.098, -89.999, 0.227) | |
1896 | local B = Instance.new("Attachment",tors) | |
1897 | B.Position = Vector3.new(-1,2,0) | |
1898 | B.Orientation = Vector3.new(-88.911, -68.808, 158.782) | |
1899 | local ChainLink = Instance.new("Beam",tors) | |
1900 | ChainLink.Texture = "rbxassetid://73042633" | |
1901 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1902 | ChainLink.TextureSpeed = 1 | |
1903 | ChainLink.FaceCamera = true | |
1904 | ChainLink.Width0 = 1 | |
1905 | ChainLink.Width1 = 1 | |
1906 | ChainLink.TextureLength = 3 | |
1907 | ChainLink.Attachment0 = A | |
1908 | ChainLink.Attachment1 = B | |
1909 | ChainLink.CurveSize0 = 1.3 | |
1910 | ChainLink.CurveSize1 = 1.3 | |
1911 | ChainLink.FaceCamera = true | |
1912 | ChainLink.Transparency = NumberSequence.new(0) | |
1913 | local ChainLink = Instance.new("Beam",tors) | |
1914 | ChainLink.Texture = "rbxassetid://73042633" | |
1915 | ChainLink.Color = ColorSequence.new(Color3.new(1,0,0)) | |
1916 | ChainLink.TextureSpeed = 1 | |
1917 | ChainLink.FaceCamera = true | |
1918 | ChainLink.Width0 = 1 | |
1919 | ChainLink.Width1 = 1 | |
1920 | ChainLink.TextureLength = 3 | |
1921 | ChainLink.Attachment0 = B | |
1922 | ChainLink.Attachment1 = A | |
1923 | ChainLink.CurveSize0 = 1.3 | |
1924 | ChainLink.CurveSize1 = 1.3 | |
1925 | ChainLink.FaceCamera = true | |
1926 | ChainLink.Transparency = NumberSequence.new(0) | |
1927 | angery = true | |
1928 | music.SoundId = "rbxassetid://849713469" | |
1929 | music:Play() | |
1930 | local BodyColors = char:FindFirstChildOfClass"BodyColors" | |
1931 | if BodyColors then | |
1932 | BodyColors.TorsoColor = BrickColor.new"Really black" | |
1933 | BodyColors.LeftArmColor = BrickColor.new"Really black" | |
1934 | BodyColors.RightArmColor = BrickColor.new"Really black" | |
1935 | BodyColors.LeftLegColor = BrickColor.new"Really black" | |
1936 | BodyColors.RightLegColor = BrickColor.new"Really black" | |
1937 | end | |
1938 | attack = false | |
1939 | end | |
1940 | ||
1941 | ||
1942 | ||
1943 | ||
1944 | ------------------------------------------------------------ | |
1945 | --------------------------------------------- | |
1946 | --End of attacks-- | |
1947 | ------------------------------------------------------------ | |
1948 | --------------------------------------------- | |
1949 | mouse.Button1Down:connect(function() | |
1950 | if attack == false and targetted ~= nil and targetted.Parent ~= nil then | |
1951 | targetkill() | |
1952 | end | |
1953 | end) | |
1954 | ||
1955 | mouse.KeyDown:connect(function(key) | |
1956 | if attack == false then | |
1957 | if key == 't' then | |
1958 | Laugh() | |
1959 | elseif key == 'v' then | |
1960 | smileforme() | |
1961 | elseif key == 'q' then | |
1962 | LockOn() | |
1963 | elseif key == 'f' and targetted ~= nil then | |
1964 | frombelow() | |
1965 | elseif key == 'x' then | |
1966 | shootyboi() | |
1967 | elseif key == 'e' and targetted ~= nil then | |
1968 | nothinpersonal(targetted.Head.CFrame * CFrame.new(0,-1.5,3)) | |
1969 | --[[elseif key == 'z' then | |
1970 | waitwathowdididashwithjustmyhumanoidokaynvm()]]-- | |
1971 | elseif key == 'b' and angery == false then | |
1972 | ohshitimangry() | |
1973 | --[[elseif key == 'p' then | |
1974 | suicide()]]-- | |
1975 | end | |
1976 | end | |
1977 | end) | |
1978 | ||
1979 | ||
1980 | ||
1981 | ||
1982 | ||
1983 | ------------------------------------------------------------ | |
1984 | --------------------------------------------- | |
1985 | --Start of Animations-- | |
1986 | ------------------------------------------------------------ | |
1987 | --------------------------------------------- | |
1988 | local PlayerSize = 1 | |
1989 | local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh") | |
1990 | FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
1991 | RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
1992 | LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
1993 | RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
1994 | LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
1995 | ||
1996 | ||
1997 | local idle=0 | |
1998 | local change = 1 | |
1999 | local val = 0 | |
2000 | toim = 0 | |
2001 | hum.Animator.Parent = nil | |
2002 | idleanim=.4 | |
2003 | while true do | |
2004 | swait() | |
2005 | naeeym2.StudsOffset = Vector3.new(-4, 4, 0) + Vector3.new(math.random(-10, 10) / 100, math.random(-10, 10) / 100, 0) | |
2006 | TargetCircle.Rotation = TargetCircle.Rotation + 3 | |
2007 | TargetCircle2.Rotation = TargetCircle2.Rotation + 3 | |
2008 | if targetted ~= nil then | |
2009 | BBG.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2010 | BBG.Enabled = true | |
2011 | elseif targetted == nil then | |
2012 | BBG.Adornee = nil | |
2013 | BBG.Enabled = false | |
2014 | end | |
2015 | while true and TargetCircle.Rotation >= 360 do | |
2016 | TargetCircle.Rotation = 0 | |
2017 | TargetCircle.Rotation = 0 | |
2018 | end | |
2019 | sine = sine + change | |
2020 | local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude | |
2021 | local velderp=root.Velocity.y | |
2022 | hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
2023 | if equipped==true or equipped==false then | |
2024 | if attack==false then | |
2025 | idle=idle+1 | |
2026 | else | |
2027 | idle=0 | |
2028 | end | |
2029 | if root.Velocity.y > 1 and hitfloor==nil then | |
2030 | Anim="Jump" | |
2031 | if attack==false then | |
2032 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2033 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
2034 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
2035 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
2036 | LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15) | |
2037 | RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
2038 | end | |
2039 | elseif root.Velocity.y < -1 and hitfloor==nil then | |
2040 | Anim="Fall" | |
2041 | if attack==false then | |
2042 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
2043 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
2044 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2045 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3) | |
2046 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
2047 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-0), math.rad(0), math.rad(-90)), 0.3) | |
2048 | end | |
2049 | elseif torvel<1 and hitfloor~=nil then | |
2050 | Anim="Idle" | |
2051 | change = .5 | |
2052 | if attack==false then | |
2053 | if angery == false then | |
2054 | VALUE1 = false | |
2055 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(0),math.rad(0)),0.15) | |
2056 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(15*math.sin(sine/25)/2),math.rad(0),math.rad(10*math.sin(sine/25))),.3) | |
2057 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(15)),0.15) | |
2058 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(-5)),0.15) | |
2059 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(20 ), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1) | |
2060 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(20 ), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1) | |
2061 | if VALUE1 == false and math.random(1,200) == 1 then | |
2062 | coroutine.resume(coroutine.create(function() | |
2063 | VALUE1 = true | |
2064 | for i = 1, 75 do | |
2065 | swait() | |
2066 | music.Pitch = .5+math.random(.5,.2)/.5 | |
2067 | hed.face.Texture = "http://www.roblox.com/asset/?id=124907882" | |
2068 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/1))*angles(math.rad(15),math.rad(0),math.rad(0)),.5) | |
2069 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/1),0.025*math.cos(sine/1))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(15)),.5) | |
2070 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/1),0.025*math.cos(sine/1))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(-5)),.5) | |
2071 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(4 ), math.rad(-7*math.sin(sine/1)), math.rad((15+math.random(-15,15)/15))),.5) | |
2072 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(4 ), math.rad(7*math.sin(sine/1)), math.rad((-15+math.random(-15,15)/15))),.5) | |
2073 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(30)),.3) | |
2074 | end | |
2075 | music.Pitch = 1 | |
2076 | VALUE1 = false | |
2077 | ||
2078 | end)) | |
2079 | end | |
2080 | elseif angery == true then | |
2081 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15) | |
2082 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-15*math.sin(sine/25)/2),math.rad(0),math.rad(10*math.sin(sine/25))),.3) | |
2083 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-10),math.rad(-0),math.rad(-25)),0.15) | |
2084 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-3),math.rad(-4*math.sin(sine/25)),math.rad(15)),0.15) | |
2085 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(-35 ), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1) | |
2086 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-35 ), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1) | |
2087 | if VALUE1 == false and math.random(1,200) == 1 then | |
2088 | coroutine.resume(coroutine.create(function() | |
2089 | VALUE1 = true | |
2090 | for i = 1, 25 do | |
2091 | swait() | |
2092 | local POS = root.Position | |
2093 | SHAKECAM(POS, 2, 2, 2) | |
2094 | music.Pitch = .5+math.random(.5,.2)/.5 | |
2095 | FT.Parent = tors | |
2096 | RA.Parent = ra | |
2097 | LA.Parent = la | |
2098 | RL.Parent = rl | |
2099 | LL.Parent = ll | |
2100 | for _,v in next, char:GetDescendants() do | |
2101 | if(v:IsA'DataModelMesh')then | |
2102 | v.Offset = Vector3.new(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100) | |
2103 | end | |
2104 | end | |
2105 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(0)),.3) | |
2106 | end | |
2107 | music.Pitch = 0.66 | |
2108 | VALUE1 = false | |
2109 | FT.Parent = nil | |
2110 | RA.Parent = nil | |
2111 | LA.Parent = nil | |
2112 | RL.Parent = nil | |
2113 | LL.Parent = nil | |
2114 | for _,v in next, char:GetDescendants() do | |
2115 | if(v:IsA'DataModelMesh')then | |
2116 | v.Offset = Vector3.new(0,0,0) | |
2117 | end | |
2118 | end | |
2119 | ||
2120 | end)) | |
2121 | end | |
2122 | end | |
2123 | end | |
2124 | elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then | |
2125 | Anim="Walk" | |
2126 | change = .6 | |
2127 | char.Humanoid.WalkSpeed = 8 | |
2128 | if attack==false then | |
2129 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0)+root.RotVelocity.Y/30,math.rad(0)+root.RotVelocity.Y/30),0.15) | |
2130 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(12),math.rad(0)),.3) | |
2131 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/15), 0) * angles(math.rad(20) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3) | |
2132 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/15), 0) * angles(math.rad(-20) * math.cos(sine / 7) , math.rad(0), math.rad(-5)), 0.1) | |
2133 | RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.025*math.cos(sine/7)/2)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-0.1*math.cos(sine/7)),math.rad(0)),0.15) | |
2134 | LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.025*math.cos(sine/7)/2)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-0.1*math.cos(sine/7)),math.rad(0)),0.15) | |
2135 | end | |
2136 | end | |
2137 | end | |
2138 | if 0 < #Effects then | |
2139 | for e = 1, #Effects do | |
2140 | if Effects[e] ~= nil then | |
2141 | local Thing = Effects[e] | |
2142 | if Thing ~= nil then | |
2143 | local Part = Thing[1] | |
2144 | local Mode = Thing[2] | |
2145 | local Delay = Thing[3] | |
2146 | local IncX = Thing[4] | |
2147 | local IncY = Thing[5] | |
2148 | local IncZ = Thing[6] | |
2149 | if 1 >= Thing[1].Transparency then | |
2150 | if Thing[2] == "Block1" then | |
2151 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2152 | local Mesh = Thing[1].Mesh | |
2153 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2154 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2155 | elseif Thing[2] == "Block2" then | |
2156 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2157 | local Mesh = Thing[7] | |
2158 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2159 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2160 | elseif Thing[2] == "Block3" then | |
2161 | 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) | |
2162 | local Mesh = Thing[7] | |
2163 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2164 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2165 | elseif Thing[2] == "Cylinder" then | |
2166 | local Mesh = Thing[1].Mesh | |
2167 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2168 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2169 | elseif Thing[2] == "Blood" then | |
2170 | local Mesh = Thing[7] | |
2171 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2172 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2173 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2174 | elseif Thing[2] == "Elec" then | |
2175 | local Mesh = Thing[1].Mesh | |
2176 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2177 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2178 | elseif Thing[2] == "Disappear" then | |
2179 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2180 | elseif Thing[2] == "Shatter" then | |
2181 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2182 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2183 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2184 | Thing[6] = Thing[6] + Thing[5] | |
2185 | end | |
2186 | else | |
2187 | Part.Parent = nil | |
2188 | table.remove(Effects, e) | |
2189 | end | |
2190 | end | |
2191 | end | |
2192 | end | |
2193 | end | |
2194 | end | |
2195 | ------------------------------------------------------------ | |
2196 | --------------------------------------------- | |
2197 | --End of Script-- | |
2198 | ------------------------------------------------------------ | |
2199 | --------------------------------------------- |