|
| 25 Nov 2014 10:18 AM |
I am trying to delete somebody's current shirt and replace it with the new shirt. I have the little "R" on my character and I found out it is a decal called "roblox" which is in the torso. I am also trying to remove that (for whoever else has the "R"). The shirt part works, but not the "R" part.
script.Parent.Touched:connect(function(hit) local h = hit.Parent:FindFirstChild("Humanoid") if h ~= nil then local new_s = script.Parent.Shirt local s = hit.Parent:FindFirstChild("Shirt") local r = hit.Parent.Torso:FindFirstChild("roblox") if s ~= nil and r ~= nil then s:Destroy() r:Destroy() new_s:Clone().Parent = hit.Parent elseif r ~= nil then r:Destroy() new_s:Clone().Parent = hit.Parent elseif s ~= nil then s:Destroy() new_s:Clone().Parent = hit.Parent elseif s == nil and r == nil then new_s:Clone().Parent = hit.Parent end end end)
(The new shirt is in script.Parent BTW.) |
|
|
| Report Abuse |
|
|
ohno1112
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 833 |
|
|
| 25 Nov 2014 10:47 AM |
| the "R" part is roblox protected. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 11:18 AM |
| But when I delete it manually it works. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| 25 Nov 2014 03:09 PM |
| This forum is not for this, go to Scripting Helpers. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 03:10 PM |
| It's too bad that doesn't exist anymore. Plus, read the description to this sub-forum. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 03:21 PM |
I did “this is not a help forum” gg |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 03:55 PM |
Seriously? Here is what it says:
Game Creation and Development:
Game Marketing: This is where you show off your awesome creations, talk about how to advertise your game or share your marketing and sale tactics.
Game Design: This is the forum to get help, talk about future ROBLOX game ideas, or gather an awesome building team.
Scripters: This is the place for discussion about scripting. Anything about scripting that is not a help request or topic belongs here.
Under Game Design it says, "This is the forum to get help." Under Scripters it says, "Anything about scripting that is NOT a help request or topic belongs here." |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 04:00 PM |
| Highdraulix he cant go there cuz its gone so latterly that rule is no use when its lieing to us to go there when its not there |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 04:01 PM |
| also what is this r your speeking? is it your hat the shirt your tshirt? |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 04:28 PM |
Let me explain this better.
There is a Part in Workspace that contains a Shirt to be copied into your character and a Script that deletes your current Shirt and replaces it with the one inside the Part. If you look at my character (right now) you will see that it has an "R" in the top corner. The Script is supposed to delete that "R" as well, but it doesn't work. It deletes "roblox" (which is the name of that "R", which is also a Decal in the Torso), but the "R" is still there. It's not supposed to do that. When something gets deleted, it should be deleted for good unless you undo it. Whenever I delete the "R" manually, it works. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 04:49 PM |
ok I just notice and... why do you have a R on your shirt when ur shirt has no R why is it even there to begin with I don't see others have it |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 05:02 PM |
| I don't know. It won't go away, but I like to keep it. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 05:08 PM |
| and to be honest it looks like your hack cuz there should be no reason for it to be here when u don't have it as a shirt |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 05:28 PM |
| I don't hack. To be honest, the only reason I kept my R was because I never went to the "Character" tab. If you go there, your R will disappear for good. I wanted to keep mine. The only way I customize my character is by going to a hat, shirt, pants or gear I own and hit "Wear item." |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 09:14 PM |
| that’s a fail on ROBLOX’s part. The desc says it’s for help and the rules say it’s anything but. mb |
|
|
| Report Abuse |
|
|
| |
|