|
| 11 Aug 2011 06:13 PM |
function onClicked() game.Workspace.Plate1.CanCollide = false wait(5) game.Workspace.Plate1.CanCollide = true wait(10) game.Workspace.Plate2:Remove() wait(0.5) game.Lightning.Plate2:Clone() end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Basicly After plate 1 became cancollide plate2 removed itself and cloned back to its original location. Do I have to put coordinates? |
|
|
| Report Abuse |
|
|
ZizZazZuz
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 2743 |
|
| |
|
|
| 11 Aug 2011 06:27 PM |
function onClicked() game.Workspace.Plate1.CanCollide = false wait(5) game.Workspace.Plate1.CanCollide = true wait(10) game.Workspace.Plate2:Remove() wait(0.5) local part = Instance.new('Part') part.Parent = game.Workspace part.Anchored = false Workspace.Plate2:MoveTo(Vector3.new(-403, 18.05, 181.6 )) end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Or would I move local part to where function onClciked () |
|
|
| Report Abuse |
|
|
| |
|
ungh01
|
  |
| Joined: 24 Dec 2008 |
| Total Posts: 876 |
|
|
| 11 Aug 2011 06:35 PM |
function onClicked() game.Workspace.Plate1.CanCollide = false wait(5) game.Workspace.Plate1.CanCollide = true wait(10) game.Workspace.Plate2:Remove() wait(0.5) game.Lightning.Plate2:Clone().Parent = workspace end
Considering there is a part named Plate2 in game.Lighting |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 06:36 PM |
| Yes there is a Plate2 in lightning. I'll try that. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 06:53 PM |
Is plate2 in Lightning ( A Model ) OR Lighting? ( A Service )
|
|
|
| Report Abuse |
|
|
| |
|