kobybok
|
  |
| Joined: 27 Aug 2012 |
| Total Posts: 217 |
|
|
| 01 Sep 2013 03:36 PM |
| Can someone make me a script that gives ff on touch? |
|
|
| Report Abuse |
|
|
Maileh
|
  |
| Joined: 14 Jun 2011 |
| Total Posts: 1067 |
|
| |
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 01 Sep 2013 03:41 PM |
d = false script.Parent.Touched:connect(function(toucher) human = toucher.Parent:FindFirstChild("Humanoid") if human and d == false then ff = Instance.new("ForceField", toucher.Parent) end wait(1) d = true end) |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 01 Sep 2013 03:41 PM |
put in a brick script.Parent.Touched:connect(function(hit) char = hit.Parent if not char then return end hum = char.Humanoid if not hum then return end plr = game.Players:GetPlayerFromCharacter(char) if not plr then return end Instance.new("ForceField", char) end) ff remover script.Parent.Touched:connect(function(hit) char = hit.Parent if not char then return end hum = char.Humanoid if not hum then return end plr = game.Players:GetPlayerFromCharacter(char) if not plr then return end for i,v in pairs(char:children()) do if v:IsA("ForceField") then v:remove() end end) |
|
|
| Report Abuse |
|
|