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 » Roblox » All Things ROBLOX
Home Search
 

Re: ### Scripting Help

Previous Thread :: Next Thread 
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:14 PM
All the other subforums are dead, so I decided to post this here:

I'm trying to make a game where if you touch a block, a bunch of other blocks will spawn.
I can't seem to find any tutorial at all.

If anyone can help thanks :D


(Also the blocks should spawn for everybody in the server)
Report Abuse
Nathorix is online. Nathorix
Joined: 06 Nov 2015
Total Posts: 2134
28 Jan 2017 03:16 PM
Wouldn't that be done with instance.new and ontouch? I think Roblox covered it on their channel.


Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:17 PM
Could you post the link to that video, It'd really help.
Report Abuse
pumpitloud is not online. pumpitloud
Joined: 10 Jun 2008
Total Posts: 5670
28 Jan 2017 03:19 PM
man i dont even know why i post here anymore
Report Abuse
ra208950 is not online. ra208950
Joined: 24 May 2015
Total Posts: 4823
28 Jan 2017 03:22 PM
http://wiki.roblox.com/index.php?title=Tools

something like that

but you can look up Brick regen in the free model section on libary


i like fries,how bout you
Report Abuse
ZMan2006 is not online. ZMan2006
Joined: 18 Dec 2012
Total Posts: 323
28 Jan 2017 03:24 PM
Why is this on all things roblox? anyway, it's on the roblox channel
Report Abuse
UnjoinedParts is not online. UnjoinedParts
Joined: 01 Jan 2017
Total Posts: 1359
28 Jan 2017 03:25 PM
zman did you even bother to read the thread


Report Abuse
gwup is not online. gwup
Joined: 25 Jul 2010
Total Posts: 24613
28 Jan 2017 03:25 PM
free models
Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:32 PM
I forgot to mention, once you 'regen' in, you're not allowed to regen it again.
Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:33 PM
Lemme rephrase what I said,
okay.

So what's supposed to happen is that when you step over the button, a brick spawns.
I can't find it on the Roblox channel.
Report Abuse
UnjoinedParts is not online. UnjoinedParts
Joined: 01 Jan 2017
Total Posts: 1359
28 Jan 2017 03:35 PM
debounce = false

script.Parent.Touched:Connect(function(hit)
if debounce == false then
debounce = true
local part = Instance.new('Part', game.Workspace)
part.Position = Vector3.new(X, Y, Z)
wait(3)
debounce = false
end
end)


Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:37 PM
@Unjoined,
is it possible to make the block anchored ?
Report Abuse
ra208950 is not online. ra208950
Joined: 24 May 2015
Total Posts: 4823
28 Jan 2017 03:38 PM
just look up a brick regen in free models

and change how long you want to brick to regenrate to 0 in the script of the brick regen


i like fries,how bout you


i like fries,how bout you
Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:41 PM
@Ra
But once I regen the brick, I don't want the players to regen it again.
Like a one time thing.
Report Abuse
UnjoinedParts is not online. UnjoinedParts
Joined: 01 Jan 2017
Total Posts: 1359
28 Jan 2017 03:43 PM
debounce = false

script.Parent.Touched:Connect(function(hit)
if debounce == false then
debounce = true
local part = Instance.new('Part', game.Workspace)
part.Position = Vector3.new(X, Y, Z)
part.Anchored = true
wait(3)
debounce = false
end
end)

Now it's Anchored.



Report Abuse
ra208950 is not online. ra208950
Joined: 24 May 2015
Total Posts: 4823
28 Jan 2017 03:44 PM
ik when yo put the regenrate value to 0,players can regenrate bricks unless you put a value higher than 0


i like fries,how bout you
Report Abuse
ra208950 is not online. ra208950
Joined: 24 May 2015
Total Posts: 4823
28 Jan 2017 03:44 PM
can't*


i like fries,how bout you
Report Abuse
ra208950 is not online. ra208950
Joined: 24 May 2015
Total Posts: 4823
28 Jan 2017 03:45 PM
you*


i like fries,how bout you
Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:45 PM
Okay one more thing, can you make it so you can only regen it once ?

Sorry if it's too much to ask for.
Report Abuse
UnjoinedParts is not online. UnjoinedParts
Joined: 01 Jan 2017
Total Posts: 1359
28 Jan 2017 03:45 PM
script.Parent.Touched:Connect(function(hit) local part = Instance.new('Part', game.Workspace) part.Position = Vector3.new(X, Y, Z) part.Anchored = true end) It won't be able to be done again. Consider learning to script, you sound like you're naive about scripting. ht tps :/ /w w w. lua .o rg /pil /conten t ## # # ml
Report Abuse
UnjoinedParts is not online. UnjoinedParts
Joined: 01 Jan 2017
Total Posts: 1359
28 Jan 2017 03:47 PM
For God's sake ROBLOX. script.Parent.Touched:Connect(function(hit) local part = Instance.new('Part', game.Workspace) part.Position = Vector3.new(X, Y, Z) part.Anchored = true end) It won't be able to be done again. Consider learning to script, you sound like you're naive about scripting. If the below link is hashtagged, just search Lua pil contents on Google and click the first link. #####################################
Report Abuse
UnjoinedParts is not online. UnjoinedParts
Joined: 01 Jan 2017
Total Posts: 1359
28 Jan 2017 03:49 PM
ROBLOX, fix your bad filters.

script.Parent.Touched:Connect(function(hit)
local part = Instance.new('Part', game.Workspace)
part.Position = Vector3.new(X, Y, Z)
part.Anchored = true
end)

It won't be able to be done again.

Consider learning to script, you sound like you're naive about scripting.

Search Lua pil contents on Google and click the first link.


Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:49 PM
welp.
Report Abuse
Caspxrr is not online. Caspxrr
Joined: 07 Oct 2015
Total Posts: 7433
28 Jan 2017 03:54 PM
@Unjoined,
Thanks. :D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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