awesomeM3
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 1992 |
|
|
| 02 Dec 2012 03:56 AM |
Player = game.Players.LocalPlayer I don't know what to put here (I want it so that when LocalPlayer.leave.game.regen.
When LocalPlayer.join.game.regen?
I have a regen script so here it is: (P.S it's not mying but it works It's in my tycoon starter kit thingy)
model = script.Parent.Factory backup = model:clone()
function Regen() model:remove() wait(1) model = backup:clone() model.Parent = script.Parent model:makeJoints() end
while true do wait(1.5) if script.Parent.Factory.OwnerName.Value ~= "" then if not game.Players:FindFirstChild(script.Parent.Factory.OwnerName.Value) then Regen()
end end end
Or I was thinking a screen gui that (Screen gui would say "IS YOUR TYCOON BROKEN?")
When.LocalPlayer.clicks.regen???
Please help?? |
|
|
| Report Abuse |
|
|
awesomeM3
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 1992 |
|
|
| 02 Dec 2012 04:08 AM |
| Bump...... Please.......?? |
|
|
| Report Abuse |
|
|
awesomeM3
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 1992 |
|
|
| 02 Dec 2012 04:31 AM |
BUMP BUMpo
soMEONE plz help...........
Or imma shootttttttttr mah head of |
|
|
| Report Abuse |
|
|
awesomeM3
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 1992 |
|
| |
|
madiik
|
  |
| Joined: 10 Feb 2009 |
| Total Posts: 625 |
|
|
| 02 Dec 2012 07:14 AM |
Try using this, (TAKEN FROM RANDOM MODEL) game.Players.PlayerAdded:connect(Entered) |
|
|
| Report Abuse |
|
|
awesomeM3
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 1992 |
|
|
| 02 Dec 2012 07:25 AM |
game.Players.PlayerAddded:connect model = script.Parent.Factory backup = model:clone()
function Regen() model:remove() wait(1) model = backup:clone() model.Parent = script.Parent model:makeJoints() end |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2012 07:31 AM |
game.Players.PlayerAddded:connect
Should be
game.Players.PlayerAdded:connect(function(args) --code end)
|
|
|
| Report Abuse |
|
|
awesomeM3
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 1992 |
|
|
| 02 Dec 2012 07:33 AM |
| Can you write that up as what is args? I've never heard of it... |
|
|
| Report Abuse |
|
|