Learn here, this is a message I sent to all the people, so it seems a bit odd.
Ok. Think of it as a tree...
to go down in the tree, you use a DOT ( . ) so there is a game and in the game there is a workspace...
game (MUST NOT HAVE CAPITAL)
|
|
Workspace (MUST HAVE CAPITAL)
So this is written like this, game.Workspace
in the Workspace, there are players
so for example...
game.Workspace.YOURNAMEHERE
so on YOURNAMEHERE, you have a head...
game.Workspace.catgu360.Head
then you want the command
game.Workspace.YOURNAMEHERE.Head:Remove ()
the () is what ROBLX recognises as the command and for the command, you use a : for the body part and then the command.
So that would KILL you because you die when ever your head is detatched from your torso. If you want to kill someone else, then you replace your name with thiers.
If you want to kill someone on the script builder you change it around...
So it would be...
Remove(game.Workspace.YOURNAMEHERE.Head)
and going back to the tree i told you about...
game
|
Workspace
|
YOURNAMEHERE
|
Head
You get the idea?,
now i'm going to tell you a little secret...
on script builder, if you say...
Remove(game.Workspace.PLAYERNAME)
This will remove a player on the game... if i find out you have USED this script, i will banish you from the game...
But then there are more features...
game
|
Workspace
|
YOURNAMEHERE
|
Humanoid
Your humanoid is your character...
In your humanoid, tthere is... WalkSpeed MaxHealth Health
so if you said...
game.Workspace.YOURNAMEHERE.Humanoid.Health= 0
This would also kill you...
But if you said...
game.Workspace.YOURNAMEHERE.Humanoid.MaxHealth= 0
This would do the opposite...
so you could use this as other stuff aswell...
game.Workspace.YOURNAMEHERE.Humanoid.FUNCTIONHERE= NUMBERHERE
But say you wanted to be sneaky...and wanted to annoy someone... you could say...
game.Workspace.PLAYERHERE.Humanoid.WalkSpeed= 1
This would make the player walk at a REALLY SLOW PACE or you could be nice and say...
game.Workspace.PLAYERHERE.Humanoid.WalkSpeed= 100
and that would make the player fast...
Some scripts you will find they have a letter like P or H, this is what the name of the tree is. So if you wanted to have some fun with names... you could say
P = game.Workspace.PLAYERNAMEp.Name = "NAME HERE"
It is important you have two things, you must have the "p" after PLAYERNAME and you must keep the "" over NAME HERE" otherwise the script wont work.
With this, there are plenty more scripts you can make...so...HAVE FUN!!
|