9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 12:05 PM |
| I wrote that but it doesnt work, is it possible to set it to false? |
|
|
| Report Abuse |
|
|
| |
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 12:09 PM |
It became something like: player.Character.Torso.Changed.CanCollide = false But then the Ouput started to say: CanCollide cannot be assigned to. |
|
|
| Report Abuse |
|
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 26 Apr 2015 12:10 PM |
player = game.Players.LocalPlayer.Character
while true do wait() player:findFirstChild("Torso").CanCollide = false end |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
| |
|
jewelycat
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 17345 |
|
|
| 26 Apr 2015 12:16 PM |
Pretty sure Torso is set to CanCollide = true every frame if the Parent has a Humanoid in it.
What are you trying to accomplish, there may be another way? |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 12:16 PM |
tool = script.Parent player = game.Players.LocalPlayer Handle = game.StarterPack.Tool.Handle player = game.Players.LocalPlayer.Character
tool.Equipped:connect(function() player.Character.Torso.Transparency = 0.5 player.Character.Torso.BrickColor = BrickColor.new("Really red") player.Character.Torso.CanCollide = false player.Character["Right Arm"].Transparency = 0.5 player.Character["Right Arm"].BrickColor = BrickColor.new("Really red") player.Character["Right Arm"].CanCollide = false player.Character["Left Arm"].Transparency = 0.5 player.Character["Left Arm"].BrickColor = BrickColor.new("Really red") player.Character["Left Arm"].CanCollide = false player.Character["Right Leg"].Transparency = 0.5 player.Character["Right Leg"].BrickColor = BrickColor.new("Really red") player.Character["Right Leg"].CanCollide = false player.Character["Left Leg"].Transparency = 0.5 player.Character["Left Leg"].BrickColor = BrickColor.new("Really red") player.Character["Left Leg"].CanCollide = false player.Character["Head"].Transparency = 0.5 player.Character["Head"].BrickColor = BrickColor.new("Really red") player.Character["Head"].CanCollide = false player.Character.Handle.Transparency = 0.5 player.Character.Handle.BrickColor = BrickColor.new("Really red") player.Character.Handle.CanCollide = false end)
Its set to false. |
|
|
| Report Abuse |
|
|
jewelycat
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 17345 |
|
|
| 26 Apr 2015 12:18 PM |
| Yes, and studio overrides it and sets it to true every frame. It's part of what Humanoids do. |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 12:20 PM |
| Um so I can't set it to false then? |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 12:25 PM |
Character.Torso.Changed:connect(function() Character.Torso.CanCollide = false end) |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 12:29 PM |
tool = script.Parent player = game.Players.LocalPlayer Handle = game.StarterPack.Tool.Handle
tool.Equipped:connect(function() player.Character.Torso.Transparency = 0.5 player.Character.Torso.BrickColor = BrickColor.new("Really red") player.Character.Torso.Changed:connect(function() player.Character.Torso.CanCollide = false end) player.Character["Right Arm"].Transparency = 0.5 player.Character["Right Arm"].BrickColor = BrickColor.new("Really red") player.Character["Right Arm"].CanCollide = false player.Character["Left Arm"].Transparency = 0.5 player.Character["Left Arm"].BrickColor = BrickColor.new("Really red") player.Character["Left Arm"].CanCollide = false player.Character["Right Leg"].Transparency = 0.5 player.Character["Right Leg"].BrickColor = BrickColor.new("Really red") player.Character["Right Leg"].CanCollide = false player.Character["Left Leg"].Transparency = 0.5 player.Character["Left Leg"].BrickColor = BrickColor.new("Really red") player.Character["Left Leg"].CanCollide = false player.Character["Head"].Transparency = 0.5 player.Character["Head"].BrickColor = BrickColor.new("Really red") player.Character["Head"].CanCollide = false end)
tool.Activated:connect(function() end)
It didnt work but didnt gave an output so I dont really know what I should fix in here. |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
| |
|
|
| 26 Apr 2015 12:38 PM |
Try doing: Character.Torso.CanCollide = false AFTER the .Changed event... |
|
|
| Report Abuse |
|
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 26 Apr 2015 12:38 PM |
| Im pretty sure theres a script in the player somewhere were its like while wait() do torso.CanCollide = true end |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 12:42 PM |
| Im gonna check if there is ^ |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 12:43 PM |
there isnt1
God grant me the wisdom to not punch stupid ppl, for I know I will go to prison. |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 12:45 PM |
| Just checked, I used ctrl + f, so Im pretty sure there isnt. |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
| |
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
| |
|
|
| 26 Apr 2015 12:54 PM |
| Are you just trying to make someone go through walls? |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 12:57 PM |
make the wall untouchable
God grant me the wisdom to not punch stupid ppl, for I know I will go to prison. |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 26 Apr 2015 01:01 PM |
| The thing is, Im doing it only for a certain player, so If I made all the walls CanCollide = false, then all the players can go through them D: |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 01:05 PM |
lemme try sumt1ng
God grant me the wisdom to not punch stupid ppl, for I know I will go to prison. |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 01:07 PM |
| Look through Kohl's admin commands, he does that. |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 01:07 PM |
[ONLY TESTED IN STUDIO] you can remove the rootjoint of humanoid root part problem: must die to regain character
God grant me the wisdom to not punch stupid ppl, for I know I will go to prison. |
|
|
| Report Abuse |
|
|