|
| 14 Jan 2012 10:36 AM |
I am a complete newb at scripting, so my friend helped me make a script. Actually helped me, I did very little but he was explaining as we went along. Finally we made a T-Shirt Remover, that was about a year ago. My cousin he's eight loves playing Roblox, I was in the middle of building and he deleted a bunch of my script text. I've had it in my one place since my friend helped me out, well he moved to the states and he hasn't been on Roblox in a month. So I can't get help from him, to make a long story short this is all I have left:
local DementedKnightBrandPeanutButter = FindFirstChild("Humanoid")
function onTouched(part) DementedKnightBrandPeanutButter.Parent.Torso.Decal:Remove() end end
I know thats wrong, you might aswell just re-write it. I can't find any copys of it and he already saved on my game. >_>
What could I do to get some assistance with this? I would like either some sort of online guide, an actual person helping me or this script getting fixed by the forums. I would really appreciate it, yes I have read all of the Roblox Wiki Scripting Guides but I don't understand it very well.
Please help! Thanks for reading -DementedKnight |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2012 10:39 AM |
function onTouched(part) game.Workspace.DementedKnight.Decal:remove()
That simple
-Lua FTW |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2012 10:41 AM |
| Its for everyone not just me. |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2012 10:42 AM |
Who's considered "everyone"
-Lua FTW |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2012 10:43 AM |
function onTouched(hit) h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then ts = h.Parent.Torso:findFirstChild("roblox") if ts ~= nil then ts:Destroy() end end end
script.Parent.Touched:connect(onTouched)
If I must E.E
ˈ˟ˈ About me? I got Remove()'d but came back for I was not Destroy()'d :3 ˈ˟ˈ http://www.roblox.com/Rainbow-Flow-item?id=69674148 |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2012 10:44 AM |
| Those who touch it, its going into a brick and whatever Humanoid touches it will have their T-Shirt removed. |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2012 10:48 AM |
h = Instance.new("Message") h.Text = string.reverse("DX tpircs tnac thginKdetnemeD")
ˈ˟ˈ About me? I got Remove()'d but came back for I was not Destroy()'d :3 ˈ˟ˈ http://www.roblox.com/Rainbow-Flow-item?id=69674148 |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Jan 2012 10:57 AM |
| Maybe I should been specific, I need the Shirt Graphic removed too. |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2012 10:58 AM |
Thanks for the support 18, I really appreciate your message. >_> Maybe now I won't give credit. |
|
|
| Report Abuse |
|
|