SHOW:
|
|
- or go back to the newest paste.
1 | for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
2 | if v:IsA("BasePart") then | |
3 | Instance.new("Fire", v) | |
4 | v.BrickColor = BrickColor.new("Really black") | |
5 | v.Material = Enum.Material.Granite | |
6 | end | |
7 | end | |
8 | local Heads = {} | |
9 | local hells = Instance.new("Sound", workspace) | |
10 | hells.Looped = true | |
11 | hells.Volume = 10 | |
12 | local TS = game:GetService("TweenService") | |
13 | local Mouse = game.Players.LocalPlayer:GetMouse() | |
14 | local Shoot = Instance.new("Tool", game.Players.LocalPlayer.Backpack) | |
15 | Shoot.RequiresHandle = false | |
16 | local FireEnabled = false | |
17 | - | hells.SoundId = "rbxassetid://718185960" |
17 | + | hells.SoundId = "rbxassetid://442247712" |
18 | hells.TimePosition = 10 | |
19 | hells.Playing = true | |
20 | Instance.new("ColorCorrectionEffect", game.Lighting).TintColor = Color3.new(1,0,0) | |
21 | Instance.new("PointLight", game.Players.LocalPlayer.Character.Torso).Brightness = 234234 | |
22 | local x = Instance.new("BloomEffect", game.Lighting) | |
23 | x.Intensity = 1 | |
24 | x.Threshold = 0.8 | |
25 | x.Size = 56 | |
26 | ||
27 | function CreateRay(Point_A, Point_B) | |
28 | local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1)) | |
29 | local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character) | |
30 | local Dist = (Point_A - Pos).Magnitude | |
31 | local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2) | |
32 | ||
33 | return CFrame, Dist, Part | |
34 | end | |
35 | ||
36 | game.Lighting.Brightness = 0 | |
37 | game.Lighting.GlobalShadows = false | |
38 | game.Players.LocalPlayer.Character.Shirt:Remove() | |
39 | game.Players.LocalPlayer.Character.Pants:Remove() | |
40 | local player = game:GetService("Players").LocalPlayer | |
41 | repeat | |
42 | wait() | |
43 | until player.Character | |
44 | local char = player.Character | |
45 | local torso = char:WaitForChild("Torso") | |
46 | local mouse = player:GetMouse() | |
47 | local color = BrickColor.new("Really black") | |
48 | local material = "Neon" | |
49 | local trans = 0.5 | |
50 | local debounce = false | |
51 | for u,c in pairs(player.Character:GetChildren()) do | |
52 | if c.className == "Hat" and c.Name ~= "Hybrid Goggles" then | |
53 | c.Handle.BrickColor = BrickColor.new("Really black") | |
54 | c.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=0" | |
55 | end | |
56 | end | |
57 | blast = function() | |
58 | ||
59 | local b = Instance.new("Part", workspace) | |
60 | game.Debris:AddItem(b, 2) | |
61 | b.Size = Vector3.new(5, 5, 5) | |
62 | b.CFrame = torso.CFrame * CFrame.new(0, 0, -5) | |
63 | b.TopSurface = "Smooth" | |
64 | b.BottomSurface = "Smooth" | |
65 | b.CanCollide = false | |
66 | b.BrickColor = color | |
67 | b.Transparency = trans | |
68 | b.Material = material | |
69 | local v = Instance.new("BodyVelocity", b) | |
70 | v.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
71 | v.Velocity = torso.CFrame.lookVector * 50 | |
72 | r = Instance.new("BodyAngularVelocity", b) | |
73 | r.AngularVelocity = Vector3.new(25, 25, 25) | |
74 | b.Touched:connect(function(hit) | |
75 | ||
76 | p = hit.Parent | |
77 | if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then | |
78 | b:Remove() | |
79 | p.Humanoid:TakeDamage(35) | |
80 | end | |
81 | end) | |
82 | end | |
83 | ||
84 | death = function() | |
85 | ||
86 | local b = Instance.new("Part", workspace) | |
87 | game.Debris:AddItem(b, 2) | |
88 | b.Size = Vector3.new(5, 5, 5) | |
89 | b.CFrame = torso.CFrame * CFrame.new(0, 0, -5) | |
90 | b.TopSurface = "Smooth" | |
91 | b.BottomSurface = "Smooth" | |
92 | b.CanCollide = false | |
93 | b.BrickColor = color | |
94 | b.Transparency = trans | |
95 | b.Material = material | |
96 | local v = Instance.new("BodyVelocity", b) | |
97 | v.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
98 | v.Velocity = torso.CFrame.lookVector * 50 | |
99 | r = Instance.new("BodyAngularVelocity", b) | |
100 | r.AngularVelocity = Vector3.new(25, 25, 25) | |
101 | b.Touched:connect(function(hit) | |
102 | ||
103 | p = hit | |
104 | if p and p.Name ~= "Base" and p.Name ~= player.Name then | |
105 | p:Remove() | |
106 | end | |
107 | end | |
108 | ) | |
109 | end | |
110 | ||
111 | wall = function() | |
112 | ||
113 | local b = Instance.new("Part", workspace) | |
114 | game.Debris:AddItem(b, 5) | |
115 | b.Size = Vector3.new(1, 1, 1) | |
116 | b.CFrame = torso.CFrame * CFrame.new(0, 0, -5) | |
117 | b.TopSurface = "Smooth" | |
118 | b.BottomSurface = "Smooth" | |
119 | b.CanCollide = false | |
120 | b.Anchored = true | |
121 | b.BrickColor = color | |
122 | b.Transparency = trans | |
123 | b.Material = material | |
124 | for i = 1, 50 do | |
125 | wait() | |
126 | b.CFrame = torso.CFrame * CFrame.new(0, 0, -5) | |
127 | b.Size = b.Size + Vector3.new(0.5, 0.5, 0) | |
128 | end | |
129 | b.CanCollide = true | |
130 | b.Touched:connect(function(hit) | |
131 | ||
132 | p = hit.Parent | |
133 | if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then | |
134 | p.Humanoid:TakeDamage(5) | |
135 | end | |
136 | end | |
137 | ) | |
138 | end | |
139 | ||
140 | fade = function() | |
141 | ||
142 | for i,v in pairs(char:GetChildren()) do | |
143 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
144 | v.Transparency = 0.5 | |
145 | end | |
146 | end | |
147 | for i,v in pairs(char:GetChildren()) do | |
148 | if v.className == "Hat" then | |
149 | v.Handle.Transparency = 0.5 | |
150 | end | |
151 | end | |
152 | end | |
153 | ||
154 | unfade = function() | |
155 | ||
156 | for i,v in pairs(char:GetChildren()) do | |
157 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
158 | v.Transparency = 0 | |
159 | end | |
160 | end | |
161 | for i,v in pairs(char:GetChildren()) do | |
162 | if v.className == "Hat" then | |
163 | v.Handle.Transparency = 0 | |
164 | end | |
165 | end | |
166 | end | |
167 | ||
168 | dash = function(x) | |
169 | ||
170 | b = Instance.new("Part", workspace) | |
171 | game.Debris:AddItem(b, 0.7) | |
172 | b.Size = Vector3.new(3, 3, 3) | |
173 | b.BrickColor = color | |
174 | b.Material = material | |
175 | b.CanCollide = false | |
176 | b.CFrame = torso.CFrame * x | |
177 | t = Instance.new("BodyVelocity", b) | |
178 | r = Instance.new("BodyAngularVelocity", b) | |
179 | r.AngularVelocity = Vector3.new(15, 15, 15) | |
180 | for i = 1, 5 do | |
181 | wait() | |
182 | b.Transparency = b.Transparency + 0.1 | |
183 | torso.CFrame = torso.CFrame * CFrame.new(0, 0, -1) | |
184 | end | |
185 | end | |
186 | ||
187 | mouse.KeyDown:connect(function(key) | |
188 | ||
189 | if key == "v" then | |
190 | holding = true | |
191 | fade() | |
192 | while holding and wait(0.01) do | |
193 | dash(CFrame.new(2, 1, 0)) | |
194 | dash(CFrame.new(-2, -1, 1)) | |
195 | dash(CFrame.new(0, 1, 3)) | |
196 | end | |
197 | end | |
198 | end | |
199 | ) | |
200 | mouse.KeyUp:connect(function(key) | |
201 | ||
202 | if key == "v" then | |
203 | unfade() | |
204 | holding = false | |
205 | end | |
206 | end | |
207 | ) | |
208 | mouse.KeyDown:connect(function(key) | |
209 | ||
210 | if key == "e" and debounce == false then | |
211 | debounce = true | |
212 | blast() | |
213 | wait(0.5) | |
214 | debounce = false | |
215 | end | |
216 | end | |
217 | ) | |
218 | mouse.KeyDown:connect(function(key) | |
219 | ||
220 | if key == "q" and debounce == false then | |
221 | debounce = true | |
222 | wall() | |
223 | wait(0.5) | |
224 | debounce = false | |
225 | end | |
226 | end | |
227 | ) | |
228 | mouse.KeyDown:connect(function(key) | |
229 | ||
230 | if key == "t" and debounce == false then | |
231 | debounce = true | |
232 | death() | |
233 | wait(0.5) | |
234 | debounce = false | |
235 | end | |
236 | end | |
237 | ) | |
238 | ||
239 | local player = game.Players.LocalPlayer | |
240 | repeat wait() until player.Character; | |
241 | local rs = game:GetService("RunService").RenderStepped | |
242 | local char = player.Character | |
243 | local HRP = char.HumanoidRootPart | |
244 | local Head = char.Head | |
245 | local tents = {} | |
246 | function getValue(p, x) | |
247 | return p[2] + 0.5 * x*(p[3] - p[1] + x*(2.0*p[1] - 5.0*p[2] + 4.0*p[3] - p[4] + x*(3.0*(p[2] - p[3]) + p[4] - p[1]))) | |
248 | end | |
249 | function getV3Cubic(tabl,perc) | |
250 | local x,y,z = {},{},{} | |
251 | if perc >= 2 then | |
252 | perc = perc %1 | |
253 | for i = 3, 6 do | |
254 | table.insert(x,tabl[i].x) | |
255 | table.insert(y,tabl[i].y) | |
256 | table.insert(z,tabl[i].z) | |
257 | end | |
258 | elseif perc >= 1 then | |
259 | perc = perc %1 | |
260 | for i = 2, 5 do | |
261 | table.insert(x,tabl[i].x) | |
262 | table.insert(y,tabl[i].y) | |
263 | table.insert(z,tabl[i].z) | |
264 | end | |
265 | else | |
266 | for i = 1, 4 do | |
267 | table.insert(x,tabl[i].x) | |
268 | table.insert(y,tabl[i].y) | |
269 | table.insert(z,tabl[i].z) | |
270 | end | |
271 | end | |
272 | local X,Y,Z = getValue(x,perc),getValue(y,perc),getValue(z,perc) | |
273 | return Vector3.new(X,Y,Z) | |
274 | end | |
275 | local rainbow = {"Really red","Really red","Really red","Really red","Really red","Really red","Really red","Really red","Really red"} | |
276 | local rainbowCount = 1 | |
277 | local isRainbow = true | |
278 | for i = 0, 8 do | |
279 | local m = Instance.new("Model",char) | |
280 | m.Name = "Tentac00l" | |
281 | local parts = {} | |
282 | local lastpart = Head | |
283 | local defC0 | |
284 | rainbowCount = 1 | |
285 | for j = 0, 8 do | |
286 | local sizex = 0.25 - 0.2 * (j/8) | |
287 | local sizey = (15/8) - (9/8) * (j/8) | |
288 | local p = Instance.new("Part") | |
289 | p.Size = Vector3.new(0.2,0.2,0.2) | |
290 | p.BrickColor = BrickColor.new("Really black") | |
291 | p.TopSurface = 0 | |
292 | p.Locked = true | |
293 | p.BottomSurface = 0 | |
294 | p.CanCollide = false | |
295 | p.Material = "SmoothPlastic" | |
296 | p.TopSurface = 0 | |
297 | p.BottomSurface = 0 | |
298 | local mesh = Instance.new("CylinderMesh",p) | |
299 | mesh.Name = "CyMesh" | |
300 | mesh.Scale = Vector3.new(sizex,sizey,sizex) *5 | |
301 | p.Parent = m | |
302 | local p2 = p:Clone() | |
303 | p2.Parent = m | |
304 | p2.CyMesh.Scale = p2.CyMesh.Scale + Vector3.new(0.075,0.001,0.075) * 5 | |
305 | p2.Material = "Neon" | |
306 | p2.Locked = true | |
307 | if isRainbow then | |
308 | p2.BrickColor = BrickColor.new(tostring(rainbow[rainbowCount])) | |
309 | else | |
310 | p2.BrickColor = BrickColor.new(j%2 == 1 and "Toothpaste" or "Electric blue") | |
311 | end | |
312 | rainbowCount = rainbowCount + 1 | |
313 | p2.Transparency = 0.35 | |
314 | local w2 = Instance.new("Weld",p) | |
315 | w2.Parent = p2 | |
316 | w2.Part0 = p | |
317 | w2.Part1 = p2 | |
318 | local w = Instance.new("Weld",p) | |
319 | w.Parent = p | |
320 | w.Part0 = lastpart | |
321 | w.Part1 = p | |
322 | if j == 0 then | |
323 | w.C0 = CFrame.Angles(0,math.rad(-10 + 200 * i/4),math.rad(-30 + (i%2==0 and 96 or 70))) * CFrame.new(0,0.6,0) | |
324 | w.C1 = CFrame.new(0,-0.125,0) | |
325 | defC0 = w.C0 | |
326 | else | |
327 | w.C0 = CFrame.new(0,lastpart.CyMesh.Scale.y/10,0) | |
328 | w.C1 = CFrame.new(0,-sizey/2,0) | |
329 | if mesh.Scale == Vector3.new(0.25, 3.75, 0.25) then | |
330 | mesh:Remove() | |
331 | local mesh2 = Instance.new("SpecialMesh",p2) | |
332 | mesh2.Scale = Vector3.new(1,1,1) | |
333 | mesh2.MeshType = Enum.MeshType.FileMesh | |
334 | mesh2.MeshId = "rbxassetid://36869983" | |
335 | p2.Name = "Last" | |
336 | table.insert(Heads, p2) | |
337 | end | |
338 | end | |
339 | table.insert(parts,{p,w,p2}) | |
340 | lastpart = p | |
341 | rs:wait() | |
342 | end | |
343 | local randoms = {Vector3.new(0,0,0), | |
344 | Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100), | |
345 | Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100), | |
346 | Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100), | |
347 | Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100), | |
348 | Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100), | |
349 | } | |
350 | table.insert(tents,{0,randoms,parts,defC0}) | |
351 | end | |
352 | player.Chatted:connect(function(msg) | |
353 | if string.sub(msg:lower(),1,4) == "col/" then | |
354 | for i, v in pairs(tents) do | |
355 | for j, o in pairs(v[3]) do | |
356 | o[3].BrickColor = BrickColor.new(string.sub(msg,5)) | |
357 | end | |
358 | end | |
359 | elseif string.sub(msg:lower(),1,7) == "/e col/" then | |
360 | for i, v in pairs(tents) do | |
361 | for j, o in pairs(v[3]) do | |
362 | o[3].BrickColor = BrickColor.new(string.sub(msg,8)) | |
363 | end | |
364 | end | |
365 | end | |
366 | end) | |
367 | rs:connect(function() | |
368 | for i, v in pairs(tents) do | |
369 | v[1] = v[1] %200 + 1 | |
370 | if v[1] == 1 then | |
371 | v[2][1] = v[2][2] | |
372 | v[2][2] = v[2][3] | |
373 | v[2][3] = v[2][4] | |
374 | v[2][4] = v[2][5] | |
375 | v[2][5] = v[2][6] | |
376 | v[2][6] = Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100); | |
377 | end | |
378 | local p0 = v[2][1] | |
379 | local p1 = v[2][2] | |
380 | local p2 = v[2][3] | |
381 | local p3 = v[2][4] | |
382 | local p4 = v[2][5] | |
383 | local p5 = v[2][6] | |
384 | local arr = {p0,p1,p2,p3,p4,p5} | |
385 | local dir = i%2 == 0 and 1 or -1 | |
386 | for j, V in pairs(v[3]) do | |
387 | local val = math.sin(math.pi/2 * 2 * (((v[1] + (100 * j/#v[3])*dir) % 100)/100)) | |
388 | local off = getV3Cubic(arr,(v[1] + 340*(j/#v[3]))/200) | |
389 | V[3].Transparency = 0.12 + val * 0.65 | |
390 | if j == 1 then | |
391 | V[2].C0 = v[4] * CFrame.Angles(off.x*2,off.y*2,off.z*2) | |
392 | else | |
393 | V[2].C0 = CFrame.new(0,V[2].C0.y,0) * CFrame.Angles(off.x*2 * (1 + 0.75 * (j/#v[3])),off.y*2 * (1 + 0.75 * (j/#v[3])),off.z*2 * (1 + 0.75 * (j/#v[3]))) | |
394 | end | |
395 | end | |
396 | end | |
397 | end) | |
398 | ||
399 | -- params : ... | |
400 | ||
401 | Model = Instance.new("Model", game.Workspace) | |
402 | Model.Name = "ShadowFigs" | |
403 | Model.ChildAdded:connect(function(Child) | |
404 | ||
405 | wait(0.2) | |
406 | if Child.Name == "ShadowClone" and Child.Name ~= "HoverBlocks" then | |
407 | local Light = Instance.new("PointLight", workspace) | |
408 | Light.Color = Color3.new(1, 1, 1) | |
409 | Light.Range = 10 | |
410 | Light.Brightness = 2 | |
411 | Light.Shadows = true | |
412 | Light:Remove() | |
413 | for t = 1, 5 do | |
414 | wait(0.1) | |
415 | for i = 1, #Child:GetChildren() do | |
416 | Child:GetChildren()[i].Transparency = t / 10 + 0.5 | |
417 | end | |
418 | end | |
419 | Child:remove() | |
420 | end | |
421 | end | |
422 | ) | |
423 | Parts = {"Head", "Torso", "Left Arm", "Left Leg", "Right Arm", "Right Leg"} | |
424 | repeat | |
425 | wait() | |
426 | until game.Players.LocalPlayer | |
427 | Plr = game.Players.LocalPlayer | |
428 | PlrChildren = Plr:GetChildren() | |
429 | Plr.Character.Humanoid.WalkSpeed = 16 | |
430 | for i = 1, #PlrChildren do | |
431 | print(PlrChildren[i]) | |
432 | end | |
433 | ||
434 | Mouse.Button1Down:Connect(function() | |
435 | FireEnabled = true | |
436 | end) | |
437 | ||
438 | Mouse.Button1Up:Connect(function() | |
439 | FireEnabled = false | |
440 | end) | |
441 | ||
442 | while wait() do | |
443 | if FireEnabled == true then | |
444 | for i, v in pairs(Heads) do | |
445 | rs:wait() | |
446 | coroutine.resume(coroutine.create(function() | |
447 | local CF, D, Hit = CreateRay(v.CFrame.p, Mouse.Hit.p) | |
448 | if Hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
449 | Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(5) | |
450 | end | |
451 | local Fire = Instance.new("Part", workspace) | |
452 | local Laser = Instance.new("Part", workspace) | |
453 | Laser.Anchored = true | |
454 | Laser.CanCollide = false | |
455 | Laser.Locked = true | |
456 | Instance.new("PointLight", Laser).Brightness = 23423 | |
457 | Laser.BrickColor = BrickColor.new("Really red") | |
458 | Laser.Material = "Neon" | |
459 | Laser.Size = Vector3.new(0.2, 0.2, D) | |
460 | Laser.CFrame = CF | |
461 | wait() | |
462 | Laser:Remove() | |
463 | end)) | |
464 | coroutine.resume(coroutine.create(function() | |
465 | local Fire = Instance.new("Part", workspace) | |
466 | Fire.Size = Vector3.new(0.05, 0.05, 0.05) | |
467 | Fire.Transparency = 0 | |
468 | Fire.Anchored = true | |
469 | Fire.CanCollide = false | |
470 | Fire.CFrame = Mouse.Hit | |
471 | Instance.new("PointLight", Fire) | |
472 | Instance.new("Fire", Fire) | |
473 | wait(1) | |
474 | Fire:Remove() | |
475 | end)) | |
476 | end | |
477 | end | |
478 | end | |
479 | ||
480 | do | |
481 | while 1 do | |
482 | Posit = Plr.Character.HumanoidRootPart.Position | |
483 | wait(0.1) | |
484 | if Plr.Character.HumanoidRootPart.Position == Posit or Plr.Character.Humanoid.WalkSpeed == 32 then | |
485 | Set = Instance.new("Model", game.Workspace.ShadowFigs) | |
486 | Set.Name = "ShadowClone" | |
487 | for i = 1, #Parts do | |
488 | PartClone = Plr.Character[Parts[i]]:Clone() | |
489 | RotationX = math.rad(Plr.Character[Parts[i]].Rotation.X) | |
490 | RotationY = math.rad(Plr.Character[Parts[i]].Rotation.Y) | |
491 | RotationZ = math.rad(Plr.Character[Parts[i]].Rotation.Z) | |
492 | PartClone.CFrame = CFrame.new(Plr.Character[Parts[i]].Position) * CFrame.Angles(RotationX, RotationY, RotationZ) | |
493 | PartClone.Parent = Set | |
494 | PartClone.Size = Vector3.new(PartClone.Size.X - 0.2,PartClone.Size.Y - 0.2,PartClone.Size.Z - 0.2) | |
495 | PartClone.Anchored = true | |
496 | PartClone.CanCollide = false | |
497 | PartClone.Transparency = 0.7 | |
498 | PartClone.Material = "Neon" | |
499 | PartClone.BrickColor = BrickColor.new("White") | |
500 | Delete = Instance.new("BlockMesh",PartClone) | |
501 | Delete.Scale = Vector3.new(0,0,0) | |
502 | if PartClone.Name == "Head" or PartClone.Name == "Torso" then | |
503 | PartClone:Remove() | |
504 | Children = PartClone:GetChildren() | |
505 | for i = 1, #Children do | |
506 | if Children[i].ClassName ~= "Mesh" and Children[i].ClassName ~= "SpecialMesh" then | |
507 | Children[i]:remove() | |
508 | end | |
509 | end | |
510 | end | |
511 | end | |
512 | end | |
513 | end | |
514 | end |