drc3
|
  |
| Joined: 14 Aug 2009 |
| Total Posts: 1284 |
|
|
| 16 Mar 2014 09:52 PM |
A Broken Bool Script for Morphs. Any thoughts on how to fix it?
-- This script goes into workspace:
function onPlayerEntered(newPlayer)
local bool = Instance.new("BoolValue", newPlayer)
bool.Name = "Morphed"
end
game.Players.PlayerAdded:connect(onPlayerEntered)
-- This goes into the morph:
game.Players.Morphed = true
-- Kill Brick Script:
script.Parent.Touched:connect(function(obj) local plr = game.Players:GetPlayerFromCharacter(obj.Parent) if (plr) and plr.Morphed.Value == false then plr.Character:BreakJoints() end end) |
|
|
| Report Abuse |
|
|
| 16 Mar 2014 10:07 PM |
--this goes into the morph for i,v in pairs(game.Players:GetChildren()) do v.Morphed.Value = true end
I won a math debate |
|
|
| Report Abuse |
|