|
| 02 Dec 2011 09:16 PM |
Ok, i need help on making a script.
Script:
I want to make a brick appear when i dig one.
Say like this for example.
[X] = Dirt [-] = Nothing.
Before Script:
[-][X][-] [-][-][-] [-][-][-]
After Script:
[X][-][X] [-][X][-] [-][-][-]
What would the script look like?
Please help me best you can. |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:18 PM |
| Well, you would need an onTouched event... |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:20 PM |
It looks like this: print(1+4)
Except nothing like that at all.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:21 PM |
@Dih Stop not-helping!!!
@Other dude(not intentional, just forgot your name) may you help me, make the script?
|
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:22 PM |
Stop asking for us to make you stuff. We don't do that.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
Lowcart
|
  |
| Joined: 12 Sep 2011 |
| Total Posts: 1323 |
|
| |
|
|
| 02 Dec 2011 09:23 PM |
I am not asking you to make it.
I am asking you to help ME make it... |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:24 PM |
And there's no difference between that. We'll have to tell you word-for-word what to type and you'll learn nothing in the process and we've done essentially all the work for you.
Homie don't play dat.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:24 PM |
@Computer,
I could make it for you... But that would be breaking the rules. And I'm not a rule breaker.
BUT! If you try to make one, we could try to help you fix it.
-- JM JesseMcCullough9292 |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:32 PM |
Ok, So like someone sad b4. it starts like this: B = Instance.new("Brick") function onDug(D) d.Position = game.Workspace.d then when d = transparency = 0 then B.Postition = d.Position + 5 end
will this work? |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:32 PM |
http://wiki.roblox.com
Read more
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:33 PM |
Erm, no.
I still don't completely understand what you're trying to do. |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:36 PM |
When i dig. i want a dig to appear in the next place.... Like so.
[x] = dirt(brick) [-] = Nothing
Before dug
[x][-][-] [-][-][-]
After Dug:
[-][x][-] [x][x][-]
This is what i want. Please help. |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:37 PM |
Dude, under no circumstances are we going to make this for you. Your best option is either find one in freemodels or learn2script.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 09:38 PM |
| Why dontt you just HELP instead of MAKE!!!! |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2011 10:01 PM |
| We can only HELP, if you make a SCRIPT. |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2011 07:26 AM |
Ok here is the script i self made....
B = Instance.new("Brick") function onDug(D) d.Position = game.Workspace.d then when d = transparency = 0 then B.Postition = d.Position + 5 end |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2011 07:45 AM |
New script i made:
function onClicked() if d clicked then d.Transpareny = 1 d.CanCollide = false -- please fix if wrong elseif d.Transparency = 0 d.CanCollide = true --please fix if wrong when d.Transparency = 0 d.CanCollide = true then B.Lighting:Clone() B.Lighting:Clone().Name = Dirt(Gold or what not) Dirt.Position = d.Position + 5 end end end
|
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Dec 2011 10:20 AM |
| Someone has already made this, and its free >.< |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 03 Dec 2011 10:43 AM |
d = game.Workspace.Dirt
function onClicked() if d clicked then d.Transpareny = 1 d.CanCollide = false -- please fix if wrong elseif d.Transparency = 0 d.CanCollide = true --please fix if wrong when d.Transparency = 0 d.CanCollide = true then B.Lighting:Clone() B.Lighting:Clone().Name = Dirt(Gold or what not) Dirt.Position = d.Position + 5 end end end |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Dec 2011 03:23 PM |
ok. d = game.Workspace.Dirt
function onClicked() if d clicked then d.Transpareny = 1 d.CanCollide = false -- please fix if wrong elseif d.Transparency = 0 d.CanCollide = true --please fix if wrong if d.Transparency = 0 d.CanCollide = true then B.Lighting:Clone() B.Lighting:Clone().Name = Dirt(Gold or what not) Dirt.Position = d.Position + 5 end end end |
|
|
| Report Abuse |
|
|