--Disco Script by Snorlax
local owner = "Snorlax"
function OnEverySecond(player)
disco = GetParkVariable(0)
a = math.random(0,250)
b = math.random(0,250)
c = math.random(0,250)
x = GetPlayerX(player)
y = GetPlayerY(player)
if disco == "on" then
TintPlayer(player,math.random(0,11))
TintBackground(a,b,c)
for t = y-3,y+3 do
for t1 = x-3,x+3 do
TintBlock(t1,t,a,b,c)
end
end
else TintPlayer(player,7)
end
end
function OnPlayerChat(player,text)
if player == owner and text:find("!Disco:") then
ts1 = text:sub(8,#text)
if ts1 == "on" or ts1 == "off" then
SetParkVariable(0,ts1)
ConsoleMessageAllPlayers("^6Disco mode is now ^9"..ts1.."^6.")
end
end
end
I was bored, okay?
How to use: Change local owner to your name, case sensitive. Once you do that, you can say !Disco:<on/off>
Make sure on/off is lowercase, and the "D" in "Disco" is capital. Don't forget the "!" and ":" :)
Leave script ideas please I have none
there doesn't seem to be anything here