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: Torso.CanCollide = false

Previous Thread :: Next Thread 
9draco is not online. 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
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
26 Apr 2015 12:05 PM
Use a .Changed event.
Report Abuse
9draco is not online. 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 is online. 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 is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
26 Apr 2015 12:14 PM
@nemo, doesnt work ._.
Report Abuse
jewelycat is not online. 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 is not online. 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 is not online. 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 is not online. 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
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
26 Apr 2015 12:25 PM
Character.Torso.Changed:connect(function()
Character.Torso.CanCollide = false
end)
Report Abuse
9draco is not online. 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 is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
26 Apr 2015 12:36 PM
Bump D:
Report Abuse
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
26 Apr 2015 12:38 PM
Try doing:
Character.Torso.CanCollide = false
AFTER the .Changed event...
Report Abuse
iiNemo is online. 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 is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
26 Apr 2015 12:42 PM
Im gonna check if there is ^
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
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 is not online. 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 is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
26 Apr 2015 12:50 PM
Is it impossible?! DX
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
26 Apr 2015 12:53 PM
Bump
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
26 Apr 2015 12:54 PM
Are you just trying to make someone go through walls?
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
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 is not online. 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
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
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
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
26 Apr 2015 01:07 PM
Look through Kohl's admin commands, he does that.
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
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
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