generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Give me challenges in Lua.

Previous Thread :: Next Thread 
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
02 Apr 2015 06:49 PM
Yeye pls
Report Abuse
awotn is not online. awotn
Joined: 01 Nov 2014
Total Posts: 226
02 Apr 2015 06:50 PM
how well are you in scripting?
Report Abuse
TheComputerist is not online. TheComputerist
Joined: 28 Oct 2011
Total Posts: 695
02 Apr 2015 06:50 PM
print "Giving Challenges" without using print, error, or TestService
Report Abuse
sloppylego87 is not online. sloppylego87
Joined: 25 Mar 2011
Total Posts: 326
02 Apr 2015 06:52 PM
Try making 9 + 10 = 21 in Lua
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
02 Apr 2015 06:52 PM
warn "Giving Challenges"

I did that one because it's not a challenge, it's just lateral thinking.
Define your level of a challenge
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
02 Apr 2015 06:53 PM
i can't tell you my level exactly, but i think i'm pretty good... i guess.

@computer

easy

function pprint(str)
local str = tostring(str)

print(str)
end
Report Abuse
TheComputerist is not online. TheComputerist
Joined: 28 Oct 2011
Total Posts: 695
02 Apr 2015 06:53 PM
Anyway, I'm just beginning anyway
Report Abuse
TheComputerist is not online. TheComputerist
Joined: 28 Oct 2011
Total Posts: 695
02 Apr 2015 06:54 PM
U used print. Doesn't count
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
02 Apr 2015 06:54 PM
Ehh...

I'm still learning string manipulation and math stuff.. I hate math though. I'm good with ROBLOX's API and HttpService I guess..

Good with all loops, uhh... pretty much the only thing that I know of that I don't know is metatables and yah
Report Abuse
GOLDC3PO is not online. GOLDC3PO
Joined: 31 May 2011
Total Posts: 509
02 Apr 2015 06:54 PM
Abstract that still says print.
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
02 Apr 2015 06:54 PM
@computerist

That's impossible...
Report Abuse
TheComputerist is not online. TheComputerist
Joined: 28 Oct 2011
Total Posts: 695
02 Apr 2015 06:55 PM
Create a script that prints what a person is saying using a table
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
02 Apr 2015 06:55 PM
warn*


I script -~ chimmihc
Report Abuse
TheComputerist is not online. TheComputerist
Joined: 28 Oct 2011
Total Posts: 695
02 Apr 2015 06:55 PM
warn("Giving Challenges")
Report Abuse
Curosity is not online. Curosity
Joined: 18 Aug 2010
Total Posts: 1085
02 Apr 2015 06:56 PM
fix my script

game.Players.PlayerAdded:connect(function(p)
p.PlayerGui.Intro.IntroPart.Visible = true
local a = p.PlayerGui.Intro.IntroPart
p.PlayerGui.Intro.IntroPart.Visible = true
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: I kinda regret this update!"
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "MattDusek: HA! I don't! You know how much money were making?!"
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Ya, I agree with matt. The ULTRA-MEGA-SUPER-DUPER Builders Club Update Was WORTH IT."
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: Even Worth All Our Players Hating Us?"
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Yup."
wait(1.5)
p.PlayerGui.Intro.IntroPart.Visible = false
p.PlayerGui.Intro.IntroPart.BackgroundTransparency = 1
p.PlayerGui.Intro.IntroPart.TextTransparency = 1
p.PlayerGui.Intro.IntroPart.Text = " "

end)

Thats your challenge
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
02 Apr 2015 06:56 PM
No it's not.
Report Abuse
Curosity is not online. Curosity
Joined: 18 Aug 2010
Total Posts: 1085
02 Apr 2015 06:58 PM
It definitely is
Report Abuse
JasonTheOwner is not online. JasonTheOwner
Joined: 07 Dec 2013
Total Posts: 19
02 Apr 2015 07:00 PM
Make sure that script is running as a localscript.
Report Abuse
baldo46 is not online. baldo46
Joined: 28 Jul 2008
Total Posts: 1254
02 Apr 2015 07:01 PM
You are given a two dimensional table T. T is made of n tables of length n. Every element is a string of length 1.

If one were to print this out, it would be a square grid with a side length n. Create a function that checks if a string str could be found in the grid diagonally, horizontally, or vertically.

In other words: you're given a word search. See if the word is in the thing.

Did this in Java, and I tell you it was difficult to make it so it used loops.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
02 Apr 2015 07:01 PM
I cried when I saw that script use your damned variables.
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
02 Apr 2015 07:03 PM
local Player_Chats = {}
local players = game:getService("Players")

players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(chat)
Player_Chats[plr.Name] = chat
end)
end)
Report Abuse
baldo46 is not online. baldo46
Joined: 28 Jul 2008
Total Posts: 1254
02 Apr 2015 07:05 PM
wat?
Report Abuse
JasonTheOwner is not online. JasonTheOwner
Joined: 07 Dec 2013
Total Posts: 19
02 Apr 2015 07:06 PM
Ok, nevermind my answer...

Assuming FE is off...

Put this as the first line inside your event code:

p.PlayerGui:WaitForChild("Intro")



So it looks like this:

game.Players.PlayerAdded:connect(function(p)
p.PlayerGui:WaitForChild("Intro")
p.PlayerGui.Intro.IntroPart.Visible = true
local a = p.PlayerGui.Intro.IntroPart
p.PlayerGui.Intro.IntroPart.Visible = true
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: I kinda regret this update!"
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "MattDusek: HA! I don't! You know how much money were making?!"
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Ya, I agree with matt. The ULTRA-MEGA-SUPER-DUPER Builders Club Update Was WORTH IT."
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Shedletsky: Even Worth All Our Players Hating Us?"
wait(3.5)
p.PlayerGui.Intro.IntroPart.Text = "Sorcus: Yup."
wait(1.5)
p.PlayerGui.Intro.IntroPart.Visible = false
p.PlayerGui.Intro.IntroPart.BackgroundTransparency = 1
p.PlayerGui.Intro.IntroPart.TextTransparency = 1
p.PlayerGui.Intro.IntroPart.Text = " "

end)
Report Abuse
awotn is not online. awotn
Joined: 01 Nov 2014
Total Posts: 226
02 Apr 2015 07:06 PM
that was respond to another guy's challenge not yours
Report Abuse
zirzir47 is not online. zirzir47
Joined: 13 May 2013
Total Posts: 348
02 Apr 2015 07:09 PM
i have this so far, but am not that experienced and need help, im making a city world, and i dont want the gui for everyone, just the coldstone workers, so i have a handto gui on the chairs and it works but i need help making it dissappear when the person gets out of the chair
i have this so far:

local Gui = game.Lighting.HandtoGUI

function GiveGui(Player)
if Player.PlayerGui:FindFirstChild(Gui.Name)~=nil then return end
Gui:Clone().Parent=Player.PlayerGui
end

script.Parent.Touched:connect(function(hit)

local Player=game.Players:GetPlayerFromCharacter(hit.Parent)
if Player==nil then return end
GiveGui(Player)

end)

will you help me add more so when the person is not touching it, it dissapears
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image