| |
|
|
| 23 Jul 2014 02:45 AM |
| workspace, Workspace, game.Workspace, Game.Workspace |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 02:46 AM |
| So I could use any of those three, all mean the same, correct? |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 02:47 AM |
| Yeah. Or game:GetService("Workspace"). There are loads of ways. |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 02:54 AM |
Im really trying to learn this. So, would this work?
Workspace.Players.LordOfWaffle.Head Remove()
Would a period go between head and remove?? |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 02:57 AM |
The character model of the Player would go into Workspace, so you would use, Workspace.LordOfWaffle.Head :Remove() is a method, so to use it in this situation you would use, Workspace.LordOfWaffle.Head:Remove()
|
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 02:57 AM |
Or I guess game.workspace.players.LordOfWaffle.Head Remove()
Does capitalization matter? |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 23 Jul 2014 02:58 AM |
No, you'd use a colon(or what ever that word is x3)
Workspace.Players.LordOfWaffle.Head:Destroy()
DO NOT USE REMOVE. REMOVE IS OUT-DATED. |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Jul 2014 02:59 AM |
And if I ran that, would it only happen once or repeat?
I guess if there is no end command it will repeat??? |
|
|
| Report Abuse |
|
|
zub74
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
| |
|
zub74
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
|
| 23 Jul 2014 02:59 AM |
| It won't repeat, only run once. Would you like to join a game to talk about it? |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 03:00 AM |
| It would only run once unless it the script was modified and it was placed within a loop. |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 23 Jul 2014 03:01 AM |
We should all join a game and be friends...
yes |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 03:20 AM |
workspace.name.Head:Destroy() workspace.name.Head.Parent = nil workspace.name.Head:remove() ;) |
|
|
| Report Abuse |
|
|
cosmic321
|
  |
| Joined: 08 Apr 2013 |
| Total Posts: 21 |
|
|
| 23 Jul 2014 03:29 AM |
workspace.name.arm)- workspace.name.toes)- workspace.name.leg)-
O: |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 03:47 AM |
Ok, I made my first script!
Workspace.Destroy: part name goes here() |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 23 Jul 2014 03:48 AM |
It's not really that simple xD You couldn't put your arm, or leg there and have it work. |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 03:48 AM |
| Workspace.PartNameGoesHere:Destroy() |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 03:50 AM |
| Oh whoops I swapped it. And im no longer trying to kill a player, just remove a block. Im just trying to get the basics. |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 23 Jul 2014 03:53 AM |
| If you destroy the head, it will kill the player. Keep that in mind. Same goes for torso, too. |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 23 Jul 2014 03:55 AM |
If you want to destroy an arm(or leg), it would be:
game.Workspace.PlayerName["Right arm"]:Destroy() --the 'game.' part is not needed FYI. |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 03:59 AM |
Ok would this work?
Workspace.part name here:Transparency = 100() |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2014 04:01 AM |
Transparency is a property, use something such as, game.Workspace.Part.Transparency = 0 |
|
|
| Report Abuse |
|
|
| |
|