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 » Scripting Helpers
Home Search
 

Re: What's wrong with this script?

Previous Thread :: Next Thread 
Oskee is not online. Oskee
Joined: 24 Jul 2014
Total Posts: 297
31 Aug 2014 05:13 PM
function Touched
local h = Instance.new("Hint",Workspace)
h.Name="h"
h.Text="Gathering.."
wait(5)
h.Text="Done! Check it!"
end
script.Parent.Touched:connect(Touched)

I see nothing wrong.
The output says
Workspace.Part.Script:3: '(' expected near 'local'
Report Abuse
Zecrit is not online. Zecrit
Joined: 24 Jan 2013
Total Posts: 2618
31 Aug 2014 05:19 PM
function Touched
-X-

function (Touched)
-:3-
Report Abuse
Oskee is not online. Oskee
Joined: 24 Jul 2014
Total Posts: 297
31 Aug 2014 05:31 PM
still didn't work
Report Abuse
Jazzyforcefield is not online. Jazzyforcefield
Joined: 12 Jan 2010
Total Posts: 18838
31 Aug 2014 05:32 PM
function Touched()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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