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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 28 Jan 2017 03:19 PM |
| man i dont even know why i post here anymore |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 28 Jan 2017 03:25 PM |
zman did you even bother to read the thread
|
|
|
| Report Abuse |
|
|
gwup
|
  |
| Joined: 25 Jul 2010 |
| Total Posts: 24613 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 24 May 2015 |
| Total Posts: 4823 |
|
|
| 28 Jan 2017 03:44 PM |
can't*
i like fries,how bout you |
|
|
| Report Abuse |
|
|
ra208950
|
  |
| Joined: 24 May 2015 |
| Total Posts: 4823 |
|
|
| 28 Jan 2017 03:45 PM |
you*
i like fries,how bout you |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| Joined: 07 Oct 2015 |
| Total Posts: 7433 |
|
| |
|
Caspxrr
|
  |
| Joined: 07 Oct 2015 |
| Total Posts: 7433 |
|
| |
|