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 » Scripters
Home Search
 

Re: Weld or something else?

Previous Thread :: Next Thread 
MrNoobe123 is not online. MrNoobe123
Joined: 14 Nov 2014
Total Posts: 153
13 Jan 2015 02:49 PM
If I want people to press on a GUI and put a hat on their character, do I use welding of something else?

~Do not be confident unless you know whats under the hood.~
Report Abuse
MrNoobe123 is not online. MrNoobe123
Joined: 14 Nov 2014
Total Posts: 153
13 Jan 2015 02:54 PM
Plz halp :<

~Do not be confident unless you know whats under the hood.~
Report Abuse
MisBloxy is not online. MisBloxy
Joined: 13 Sep 2008
Total Posts: 164
13 Jan 2015 03:05 PM
Just use a hat. there is nothing more to add. clone it, and parent it to a player's character.
Report Abuse
FadedExistence is not online. FadedExistence
Joined: 28 Jun 2011
Total Posts: 818
13 Jan 2015 03:18 PM
You shouldn't need a local script if your using a gui just saying it's already what I would call 'semi-client sided'

Step 1:
Put your hat in replicated storage

Step 2:
Insert a script and put it inside the button

Step 3:
Edit the script with the following code:

hat = game.ReplicatedStorage.hat -- edit 'hat' with the hat's name that's in repstorage
player = script.Parent.Parent.Parent.Parent -- Ussing the button is found at starterGui > -- GUINAME > button

script.Parent.MouseButton1Click:connect(function()
hat:Clone().Parent = game.Workspace:FindFirstChild(player.Name)
end)
Report Abuse
MrNoobe123 is not online. MrNoobe123
Joined: 14 Nov 2014
Total Posts: 153
13 Jan 2015 03:18 PM
Doesnt work...

~Do not be confident unless you know whats under the hood.~
Report Abuse
FadedExistence is not online. FadedExistence
Joined: 28 Jun 2011
Total Posts: 818
13 Jan 2015 03:19 PM
Lol wut? I'm nearly 100% sure it does.
Report Abuse
MrNoobe123 is not online. MrNoobe123
Joined: 14 Nov 2014
Total Posts: 153
13 Jan 2015 03:23 PM
nearly, not near enough.

~Do not be confident unless you know whats under the hood.~
Report Abuse
FadedExistence is not online. FadedExistence
Joined: 28 Jun 2011
Total Posts: 818
13 Jan 2015 03:24 PM
put -- infront of button maybe? Don't see would could be wrong? Output error's?
Report Abuse
MrNoobe123 is not online. MrNoobe123
Joined: 14 Nov 2014
Total Posts: 153
13 Jan 2015 03:25 PM
Doesnt work. Thats all im saying... This too...

~Do not be confident unless you know whats under the hood.~
Report Abuse
thermonuklear is not online. thermonuklear
Joined: 19 Oct 2014
Total Posts: 484
13 Jan 2015 03:26 PM
No, you don't need to use welding. The hat has a TouchInterest instance or something inside of it, consequently the hat is automatically 'equipped'.
Report Abuse
FadedExistence is not online. FadedExistence
Joined: 28 Jun 2011
Total Posts: 818
13 Jan 2015 03:27 PM
Honestly I didn't read your problem I just saw on the other post you said "I have the same problem" so I just pasted my answer here.
Report Abuse
MrNoobe123 is not online. MrNoobe123
Joined: 14 Nov 2014
Total Posts: 153
13 Jan 2015 03:28 PM
@The, I want it so that you get a hat once you press a gui, not an actual ROBLOX hat...

~Do not be confident unless you know whats under the hood.~
Report Abuse
thermonuklear is not online. thermonuklear
Joined: 19 Oct 2014
Total Posts: 484
13 Jan 2015 03:31 PM
What kind of hat is it? A modeled hat, a re-textured hat?
Report Abuse
MrNoobe123 is not online. MrNoobe123
Joined: 14 Nov 2014
Total Posts: 153
13 Jan 2015 03:32 PM
A regular hat, one brick.

~Do not be confident unless you know whats under the hood.~
Report Abuse
thermonuklear is not online. thermonuklear
Joined: 19 Oct 2014
Total Posts: 484
13 Jan 2015 03:36 PM
Shouldn't matter then, if the part itself is named Handle, inside of a Hat... then the character should automatically wear it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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