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
 

Would this work?

Previous Thread :: Next Thread 
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:19 PM
THE name of teh brick is TagBlock


s = Instance.new("Smoke")
s.Parent = TagBlock


Would that work?
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
14 Nov 2011 05:20 PM
s = Instance.new("Smoke", game.Workspace.TagBlock)
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:21 PM
So i would have to do it liek that for it to work?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:21 PM
Pyzothon's is more efficient, but yours should work as well.
Report Abuse
NeonBlox is not online. NeonBlox
Joined: 19 Oct 2008
Total Posts: 1462
14 Nov 2011 05:22 PM
TagBlock wasn't declared.

s = Instance.new("Smoke")
s.Parent = game.Workspace.TagBlock
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
14 Nov 2011 05:22 PM
@king

His doesn't find where TagBlock is, unless it's a defined variable.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:22 PM
Woops, I overlooked that. I feel very embarrassed.
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:23 PM
This is freeze tag, And i think that TagBlock dosn't go under workspace because it's creating once it tags a person
Report Abuse
NeonBlox is not online. NeonBlox
Joined: 19 Oct 2008
Total Posts: 1462
14 Nov 2011 05:23 PM
Super late post.

But just to argue and learn, king. TagBlock wasn't declared. How would it work? I'm rather new to Lua.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:23 PM
To be honest, when I saw "TagBlock" in his first sentence, I assumed that it was declared.
Report Abuse
NeonBlox is not online. NeonBlox
Joined: 19 Oct 2008
Total Posts: 1462
14 Nov 2011 05:24 PM
@Weird

You'll have to find where TagBlock end up to be able to index it right.
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:24 PM
So i have no idea?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:24 PM
@Neon

I already know, I didn't look very carefully at his script.







<--
Report Abuse
NeonBlox is not online. NeonBlox
Joined: 19 Oct 2008
Total Posts: 1462
14 Nov 2011 05:24 PM
@king

Okay, just making sure I wasn't missing something my-self. :D
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:25 PM
SO do i put what pyzthon put?
Report Abuse
NeonBlox is not online. NeonBlox
Joined: 19 Oct 2008
Total Posts: 1462
14 Nov 2011 05:26 PM
Yes, but it will only work if TagBlock is in directly in Workspace.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:26 PM
You can put it anywhere. Or you could use this and put it in the brick:

Instance.new("Smoke", script.Parent)
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:27 PM
"Yes, but it will only work if TagBlock is in directly in Workspace."


False. It can be absolutely anywhere he wants, as long as it's a place where scripts run.
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:27 PM
CAn one of you guys come to my fog tag to check?
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
14 Nov 2011 05:27 PM
There are two ways to accomplish this.

1)

    local s = Instance.new("Smoke", game.Workspace.TagBlock)

2)

    local s = Instance.new("Smoke")
    s.Parent = game.Workspace.TagBlock
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:28 PM
Oops, I need to learn to read. I thought you meant the SCRIPT.


Today is a day of embarrasment. :|
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:28 PM
CQAn one of you guys come to test it out?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
14 Nov 2011 05:29 PM
Why is there a need to? Why can't you test it out yourself?
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:29 PM
Because this is freeze tag and it needs 2 people :P
Report Abuse
WierdTony is not online. WierdTony
Joined: 27 Jul 2011
Total Posts: 1116
14 Nov 2011 05:30 PM
Please.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 2Go to page: [1], 2 Next
 
 
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