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: Really easy script... Needing help!

Previous Thread :: Next Thread 
Quixo is not online. Quixo
Joined: 29 Jan 2014
Total Posts: 197
16 Jun 2016 11:44 AM
Hi! I need someone to make me a script (for free preferably, please) that would make my character invisible when I sit in a vehicle seat, but when i get out reset my character's transparency. My arms right now are clipping through the car door, and it makes my car look bad... Can someone give me this script as a model in a part? If you could make it free for use of everyone, that would be awesome! My car nut friends would appreciate it.

Thanks,
Quecco
Report Abuse
Quixo is not online. Quixo
Joined: 29 Jan 2014
Total Posts: 197
16 Jun 2016 12:24 PM
Please everyone! It'll only take a minute!
Report Abuse
DoNotReadThisNamePlz is not online. DoNotReadThisNamePlz
Joined: 01 Aug 2014
Total Posts: 679
16 Jun 2016 12:25 PM
I'm not making it for you, but I'd be happy to help.

Also, why not edit the car to fit the size of the character?
Report Abuse
doggy00 is not online. doggy00
Joined: 11 Jan 2011
Total Posts: 3571
16 Jun 2016 01:07 PM
there's a slightly complicated way to do this, but this one would make you invisible no matter what you sit in (non-vehicle seat).

I won't give you the whole thing because you didn't even give me a script to work with, but I'll give you the main part.

put this in StarterCharacterScripts (under StarterPlayer).



while true do
wait()
if script.Parent.Humanoid.Sit == true then
--make robloxian invisible (use getchildren preferably)
else
--make robloxian visible (use getchildren preferably)
end
end


Report Abuse
Skellobit is not online. Skellobit
Joined: 13 Apr 2016
Total Posts: 12758
16 Jun 2016 01:07 PM
^ why

Formerly ToxicDominator - add 17,509 posts | :(){:|:&};:
Report Abuse
Smeers is not online. Smeers
Joined: 14 Feb 2013
Total Posts: 797
16 Jun 2016 01:10 PM
There's a better way to do this.

I remember there being a property in the Humanoid for the vehicleseat it is currently sitting in, but I might be confusing it for a property inside of the vehicle seat.

If vehicles are local, you could probably easily find when a player sits in the vehicle, use that property to target _that specific player_, then make them transparent.
Report Abuse
Skellobit is not online. Skellobit
Joined: 13 Apr 2016
Total Posts: 12758
16 Jun 2016 01:10 PM
^ seat.Occupant

Formerly ToxicDominator - add 17,509 posts | :(){:|:&};:
Report Abuse
Smeers is not online. Smeers
Joined: 14 Feb 2013
Total Posts: 797
16 Jun 2016 01:11 PM
Found the property (sorry for doublereply):

SeatPart in Humanoid is a property, returns the part the player sits in, read-only obv

Occupant in VehicleSeat determines who's sitting in it. Same for Seat instances.
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