Baya
|
  |
| Joined: 16 Feb 2009 |
| Total Posts: 12044 |
|
|
| 03 Jul 2016 11:39 AM |
Partt = script.Parent Partt.TouchEnded:connect(function(Hit) if Hit and Hit.Parent:FindFirstChild("Humanoid") and not Hit.Parent:FindFirstChild("ForceField") then Instance.new("ForceField", Hit.Parent) end end)
I want a forcefield over the character while touching "Partt"
R$37,505 RAP:655,245 |
|
|
| Report Abuse |
|
|
Baya
|
  |
| Joined: 16 Feb 2009 |
| Total Posts: 12044 |
|
| |
|
Baya
|
  |
| Joined: 16 Feb 2009 |
| Total Posts: 12044 |
|
| |
|
Baya
|
  |
| Joined: 16 Feb 2009 |
| Total Posts: 12044 |
|
|
| 03 Jul 2016 11:47 AM |
someone help plss
R$37,505 RAP:655,248 |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2016 11:49 AM |
TouchEnded fires when the player no longer touches the brick
|
|
|
| Report Abuse |
|
|
|
| 03 Jul 2016 12:13 PM |
What are you doing. I made that for you and all you do is name "Part" to "Partt".. You said it worked fine.
-=[ RAP: 334,184 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2016 12:16 PM |
For crying out loud, if you're going to copy one half of a script and then claim it doesn't work, at least know what you're copying.. Now copy ALL of this and place it in a part.
-- Script inside part. local Part = script.Parent Part.Touched:connect(function(Hit) if Hit and Hit.Parent:FindFirstChild("Humanoid") and Hit.Parent:FindFirstChild("ForceField") then Hit.Parent.ForceField:Destroy() end end) Part.TouchEnded:connect(function(Hit) if Hit and Hit.Parent:FindFirstChild("Humanoid") and not Hit.Parent:FindFirstChild("ForceField") then Instance.new("ForceField", Hit.Parent) end end)
-=[ RAP: 334,179 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|