myCompiler
English
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
S
@sphandR
lkj
Lua
1 year ago
local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local Name = Instance.new("TextLabel") local Credits = Instance.new("TextLabel") local e1x1x1x1Message = Instance.new("TextButton") local e1x1x1x1Music = Instance.new("TextButton") local e1x1x1x1Laugh = Instance.new("TextButton") local DayToNight = Instance.new("TextButton") local e666 = Instance.new("TextButton") local EpicSaxGuy = Instance.new("TextButton")
RockPaperScissors
Lua
1 year ago
name = "caleb" botName = "DummyBot" answer = "gun!" function rollFunction() math.randomseed(os.time()) dice = math.random(1, 3) if dice == 1 then return("Rock!")
MagicEightBall
Lua
1 year ago
name = "caleb" question = "Do you read books frequently?" function magicBallFunction() math.randomseed(os.time()*1000) dice = math.random(1, 11) if dice == 1 then return("Absolutely.") elseif dice == 2 then
FahrenheitConverter
Lua
1 year ago
function fahrenheitToCelsius(degrees) offsetDegrees = degrees - 32 conversionFactor = 5/9 return(offsetDegrees*conversionFactor) end function fahrenheitToKelvin(degrees) offsetDegrees = degrees - 32 conversionFactor = 5/9
EightQueenPuzzle
Lua
1 year ago
local N = 8 --board size local function isplaceok(a, n, c) for i = 1, n - 1 do if (a[i] == c) or (a[i] - i == c - n) or (a[i] + i == c + n) then return false end end
Previous
Next page