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: Beginner Scripter Help :P

Previous Thread :: Next Thread 
NeverGoBackOnMyWord is not online. NeverGoBackOnMyWord
Joined: 09 Feb 2015
Total Posts: 116
02 Dec 2015 04:23 PM
Ok so im currently learning scripting and heres the script:
debounce = false
function onTouched(hit)
if debounce == false then
debounce = true
msg = Instance.new("Message", Workspace)
msg.Text = "Hi im Metology(My main)."
wait(3)
msg:Destroy()
debounce = false
end
Report Abuse
Bagel4536 is not online. Bagel4536
Joined: 11 Sep 2014
Total Posts: 40
02 Dec 2015 04:24 PM
Is there a problem with it?
Report Abuse
NeverGoBackOnMyWord is not online. NeverGoBackOnMyWord
Joined: 09 Feb 2015
Total Posts: 116
02 Dec 2015 04:25 PM
I just need to know anyway to simplify it.
Report Abuse
QJD1996 is not online. QJD1996
Joined: 20 Jan 2009
Total Posts: 1472
02 Dec 2015 04:33 PM
That's as simple as you can make it.. atleast I think?
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
02 Dec 2015 04:36 PM
That's pretty much the simplest way it gets...

db = false
script.Parent.Touched:connect(function(hit)
if db == false then
db = true
local msg = Instance.new("Message",workspace)
msg.Text = "Hi I'm Metology (my main)."
wait(3)
msg:Destroy()
end
end)

-- I did it again because of "im", "Workspace" and also the local
Report Abuse
NeverGoBackOnMyWord is not online. NeverGoBackOnMyWord
Joined: 09 Feb 2015
Total Posts: 116
02 Dec 2015 04:43 PM
Ok thanks. Just needed review.
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
02 Dec 2015 04:56 PM
d = false
function t(h)
if not d then
d = true
m = Instance.new("Message", workspace)
m.Text = "Hi im Metology(My main)."
wait(3)
msg:Destroy()
d = false
end

Report Abuse
NeverGoBackOnMyWord is not online. NeverGoBackOnMyWord
Joined: 09 Feb 2015
Total Posts: 116
02 Dec 2015 06:50 PM
ty02
Report Abuse
supernavo is not online. supernavo
Joined: 21 Jul 2012
Total Posts: 1850
02 Dec 2015 06:54 PM
You were missing an end and nothing was calling the script.
Report Abuse
supernavo is not online. supernavo
Joined: 21 Jul 2012
Total Posts: 1850
02 Dec 2015 06:55 PM
My bad... nothing was calling the function* -_-
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