View difference between Paste ID: NuEecH8Z and 2wVP5W9P
SHOW: | | - or go back to the newest paste.
1
-- This script! has STEALED SCRIPT!!!
2
3
local S = Instance.new("Sound", script)
4-
S.SoundId = "http://www.roblox.com/asset/?ID=142376088"
4+
S.SoundId = "http://www.roblox.com/asset/?ID=322760774"
5
local M = Instance.new("SpecialMesh", script)
6
M.MeshType = "FileMesh" -- 3D Meshes of Files in ROBLOX Service
7-
M.MeshId = "http://www.roblox.com/asset/?id=14846869"
7+
M.MeshId = "http://www.roblox.com/asset/?id=177787164"
8-
M.TextureId = "http://www.roblox.com/asset/?id=14846834"
8+
M.TextureId = "http://www.roblox.com/asset/?id=177289564"
9
10
script:WaitForChild("Sound"):Play()
11
12
c = workspace.CurrentCamera
13
color = Color3.new(0,0,0)
14
player = game.Players.LocalPlayer
15
enabled = true
16
17-
game.Lighting.FogEnd = "100"
17+
game.Lighting.FogEnd = "1"
18
game.Lighting.FogStart = "0"
19
20
Spawn(function ()
21
	-- Sky Color Interpolation Stuff
22
	while true do
23
		local o = color
24
		local n = BrickColor.random().Color
25
		for i = 1,100 do
26
			local o,n = Vector3.new(o.r,o.g,o.b),Vector3.new(n.r,n.g,n.b)
27
			local e = o:lerp(n,i*.01)
28
			color = Color3.new(e.X,e.Y,e.Z)
29
			wait()
30
		end
31
	end
32
end)
33
34
game.Lighting.FogColor = color
35
game.Lighting.Changed:connect(function ()
36
	game.Lighting.FogColor = color
37
end)
38
39
Spawn(function ()
40
	local update = workspace:WaitForChild("Update")
41
	update:WaitForChild("Mesh").Changed:connect(function ()
42
		script.Mesh.TextureId = "http://www.roblox.com/asset/?ID="..update.Mesh.Value
43
	end)
44
	update:WaitForChild("Sound").Changed:connect(function ()
45
		enabled = false
46
		script.Sound:Stop()
47
		local m = Instance.new("Message",player.PlayerGui)
48
		m.Text = "THE RULES HAVE CHANGED >:)"
49
		wait(3)
50
		script.Sound.SoundId = "http://www.roblox.com/asset/?ID="..update.Sound.Value
51
		script.Sound:Play()
52
		m:Destroy()
53
		enabled = true
54
	end)
55
end)
56
57
while wait() do
58
	local char = player.Character
59
	if char and enabled then
60
		if char:findFirstChild("Humanoid") then
61
			char.Humanoid.Name = "humanoid" -- Prevent them from resetting their character.
62
		end
63
		local location = game.Players.LocalPlayer.Character:GetModelCFrame()
64
		local taco = Instance.new("Part")
65
		taco.CanCollide = false
66
		taco.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
67
		local mesh = script:WaitForChild("Mesh"):clone()
68
		mesh.Parent = taco
69
		mesh.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20)
70
		taco.CFrame = location * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
71
		taco.Parent = c
72
		game:GetService("Debris"):AddItem(taco,4)
73
		c.FieldOfView = 60+(math.cos(tick()/3))*10 -- http://www.roblox.com/Wave-Generator-item?id=146404985
74
		game.Lighting.FogColor = color
75
	end
76
end
77
78
if game.Players.NumPlayers >= 1 then -- if player has 2 then copy script and paste into backpack!
79
	for i,v in pairs(game.Players:GetChildren()) do
80
		local SC = script:Clone()
81
		SC.Parent = v.Backpack
82
	end
83
end
84
85
game.Players.PlayerAdded:connect(function(Plr)
86
	local SC = script:Clone()
87
	SC.Parent = Plr.Backpack
88
end)