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: Whats the best way to make someone a cube?

Previous Thread :: Next Thread 
kjake43607 is not online. kjake43607
Joined: 11 Apr 2011
Total Posts: 1100
02 Jun 2017 10:25 AM
I don't want ANYONE to go and write me a script. I'm not asking for that, I just want to know how it would be done if you were to right a script. WITHOUT using toolbox
Report Abuse
kjake43607 is not online. kjake43607
Joined: 11 Apr 2011
Total Posts: 1100
02 Jun 2017 10:26 AM
by a cube i mean there avatar/Player model, is a cube
Report Abuse
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
02 Jun 2017 11:23 AM
Set all player's parts to Transparency = 1.

Create a Part and welding it to the torso.

Idk that's my method


bamboozled
Report Abuse
fret13103 is not online. fret13103
Joined: 15 Mar 2010
Total Posts: 881
02 Jun 2017 11:34 AM
make all their parts transparent, make their torso uncancollide, resize their torso
Report Abuse
kjake43607 is not online. kjake43607
Joined: 11 Apr 2011
Total Posts: 1100
02 Jun 2017 11:36 AM
what im trying to do is get rid of everything instead of Torso,Head,Humanoid,HumanoidRootPart and then increase size of torso and make head transparent. but when i try increasing size of torso the Humanoidrootpart detaches. how do i prevent this?
Report Abuse
kjake43607 is not online. kjake43607
Joined: 11 Apr 2011
Total Posts: 1100
02 Jun 2017 11:51 AM
bump
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
02 Jun 2017 11:54 AM
CharacterAutoLoads = false

ReplicatedFirst - add a cube and movement controls and boom


Report Abuse
kjake43607 is not online. kjake43607
Joined: 11 Apr 2011
Total Posts: 1100
02 Jun 2017 11:57 AM
To much effort, considering all i have to do is work out how to connect humanoidrootpart back to the torso
Report Abuse
Milenveliki is not online. Milenveliki
Joined: 14 Aug 2013
Total Posts: 1097
02 Jun 2017 12:05 PM
wait()script.Name='gahgahhkgbw'if Game:service'Players':getPlayerFromCharacter(script.Parent)and not Game.StarterPlayer:findFirstChild'gahgahhkgbw'then
t=script.Parent.Head;t:ClearAllChildren()for i,v in pairs(script.Parent:children())do
if v:IsA'BasePart'and v.Name~='Head'then
local a=Instance.new('Snap',v)a.Part0=v;a.Part1=t;v.Transparency=1;v.CanCollide=false;
elseif v:IsA'Accessory'then
v:destroy()
end
end
else
script.Parent=Game.StarterPlayer.StarterCharacterScripts
for i,v in pairs(Workspace:children())do
local a=Game:service'Players':getPlayerFromCharacter(v)
if a then a:LoadCharacter()end
end
end
Report Abuse
Milenveliki is not online. Milenveliki
Joined: 14 Aug 2013
Total Posts: 1097
02 Jun 2017 12:38 PM
"I don't want ANYONE to go and write me a script."

oops
Report Abuse
Exovis is not online. Exovis
Joined: 08 Jan 2015
Total Posts: 1027
02 Jun 2017 12:59 PM
make cube on spawn
make camera go on cube
make the cube move
Report Abuse
direMitten is not online. direMitten
Joined: 18 Jun 2015
Total Posts: 1294
02 Jun 2017 01:14 PM
Here's how I would do it:

Instead of changing the players character, have a completely separate character model. It needs a Head, a Torso, a Humanoid and a HumanoidRootPart. If any of these are missing, the character will automatically die as soon as it spawns. Additionally, the parts need to be welded together, either using Welds or Motor6Ds. Since we won't be animating this, welds are fine.

Make the Torso into the of the size you want. Make the HumanoidRootPart and the Head completely transparency, 0.2x###########size. Put them in the center of the Torso. Then weld the parts together like I described above.

If you still want the health bar to appear, you can't have the head be completely transparent. If it's invisible the health bar doesn't show. Instead, insert a SpecialMesh into the head, and set the MeshType to FileMesh, and you're done.

Whenever you want the player to turn into a cube, just set their Character to the cube. Literally just to player.Character = cube. Remember to put it into Workspace, and set the CFrame of the cubes Torso to the CFrame of the old characters Torso.
Report Abuse
Nuclear_Energy is online. Nuclear_Energy
Joined: 21 Jul 2013
Total Posts: 1380
02 Jun 2017 01:14 PM
if I were you, I would weld the cube to your character and then make ur character transparent...

its the easiest way
Report Abuse
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
02 Jun 2017 05:09 PM
Insert a model named "StarterCharacter" in StarterPlayer

wiki.roblox.com/index.php?title=API:Class/StarterPlayer
Report Abuse
kjake43607 is not online. kjake43607
Joined: 11 Apr 2011
Total Posts: 1100
02 Jun 2017 05:23 PM
i just did nuclear_energy's idea lol, thanks tho for the other suggestions
Report Abuse
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
02 Jun 2017 05:53 PM
That works too.
Report Abuse
kjake43607 is not online. kjake43607
Joined: 11 Apr 2011
Total Posts: 1100
02 Jun 2017 08:46 PM
Instead I removed limbs and made head and torso transparent and cancollide false, then I welded a cube to the torso, that way it's. Not floating because the legs are in the way 😂
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