|
| 29 Aug 2013 01:53 PM |
| So when your walking it stops you? |
|
|
| Report Abuse |
|
|
iLGB
|
  |
| Joined: 20 May 2013 |
| Total Posts: 1814 |
|
|
| 29 Aug 2013 02:11 PM |
You have to put a script into a block.
I'm Fantabulous. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
lopez9830
|
  |
| Joined: 16 Jun 2011 |
| Total Posts: 1478 |
|
|
| 29 Aug 2013 07:38 PM |
| Mess with the blocks friction |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Aug 2013 10:23 PM |
| Well to give the effect that the block is sticky, I would make it so that on touch it would make your walkspeed lower. If you need the script for this (warning: I am kind of a beginner scripter, but I think I can do it) then just ask through a PM or this forum even though this is a building forum. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 30 Aug 2013 06:52 AM |
Here try this, put this in a scrpt, then put the script inside your block.
lal = script.Parent
db = false
lal.Touched:connect(function(hit) if (hit.Parent:findFirstChild("Humanoid") ~= nil) and not db then db = true hit.Parent.Humanoid.WalkSpeed = 0 hit.Parent.Torso.Anchored = true db = false end end)
lal.TouchEnded:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then hit.Parent.Torso.Anchored = false hit.Parent.Humanoid.WalkSpeed = 16 end end)
|
|
|
| Report Abuse |
|
|
|
| 30 Aug 2013 11:32 AM |
| Infocus, it worked, but now how do I make it so the player can move? The point of the sticky brick was to not bounce a player back after sliding into it on ice. I want the brick to just stop the player and not bounce them back but then they can move around and keep going. |
|
|
| Report Abuse |
|
|
| |
|
tummey2
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 1802 |
|
|
| 30 Aug 2013 09:28 PM |
| You could weld the torso to the wall and then destroy the weld after the player's stopped moving. |
|
|
| Report Abuse |
|
|
0wning247
|
  |
| Joined: 23 Nov 2010 |
| Total Posts: 268 |
|
|
| 30 Aug 2013 10:35 PM |
| You need to script it. For that go to scripting help. |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2013 01:32 PM |
| So I would do onTouch a weld is created and then wait .1 and destroy weld? |
|
|
| Report Abuse |
|
|