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 » Game Creation and Development » Game Design
Home Search
 

Re: Can I Get Some Help Please? (Script)

Previous Thread :: Next Thread 
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
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 is not online. ohno1112
Joined: 23 Mar 2013
Total Posts: 833
25 Nov 2014 10:47 AM
the "R" part is roblox protected.
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 11:18 AM
But when I delete it manually it works.
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 12:52 PM
Please help.


b1
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 01:20 PM
b2
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 01:36 PM
b3
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 01:57 PM
b4
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 02:25 PM
b5
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 03:03 PM
b6
Report Abuse
Highdraulix is not online. Highdraulix
Joined: 22 Feb 2011
Total Posts: 2857
25 Nov 2014 03:09 PM
This forum is not for this, go to Scripting Helpers.
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
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
Highdraulix is not online. Highdraulix
Joined: 22 Feb 2011
Total Posts: 2857
25 Nov 2014 03:21 PM
I did
“this is not a help forum”
gg
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
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
JoshOctober16 is not online. JoshOctober16
Joined: 07 Aug 2010
Total Posts: 375
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
JoshOctober16 is not online. JoshOctober16
Joined: 07 Aug 2010
Total Posts: 375
25 Nov 2014 04:01 PM
also what is this r your speeking? is it your hat the shirt your tshirt?
Report Abuse
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
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
JoshOctober16 is not online. JoshOctober16
Joined: 07 Aug 2010
Total Posts: 375
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
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 05:02 PM
I don't know. It won't go away, but I like to keep it.
Report Abuse
JoshOctober16 is not online. JoshOctober16
Joined: 07 Aug 2010
Total Posts: 375
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
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
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
Highdraulix is not online. Highdraulix
Joined: 22 Feb 2011
Total Posts: 2857
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
TheHeartofTexas is not online. TheHeartofTexas
Joined: 10 Oct 2014
Total Posts: 374
25 Nov 2014 10:26 PM
Gg, ROBLOX... gg.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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