YOSkater
|
  |
| Joined: 19 Mar 2011 |
| Total Posts: 13337 |
|
|
| 23 Dec 2013 08:14 PM |
Can you please help I'm not a good scripter so please help me
Thanks
-YOSkater |
|
|
| Report Abuse |
|
|
|
| 23 Dec 2013 08:16 PM |
workspace.ChildAdded:connect(function(p) if p:isA("BasePart") then wait(); p.Anchored=true; end; end); |
|
|
| Report Abuse |
|
|
YOSkater
|
  |
| Joined: 19 Mar 2011 |
| Total Posts: 13337 |
|
|
| 23 Dec 2013 08:19 PM |
that doesn't work :/ Or doe I change "basepart" to the name of the item |
|
|
| Report Abuse |
|
|
YOSkater
|
  |
| Joined: 19 Mar 2011 |
| Total Posts: 13337 |
|
| |
|
|
| 23 Dec 2013 08:31 PM |
game.Workspace.ChildAdded:connect(function(p) if p:IsA("BasePart") then wait() p.Anchored=true end end) --This should work just fine. |
|
|
| Report Abuse |
|
|
YOSkater
|
  |
| Joined: 19 Mar 2011 |
| Total Posts: 13337 |
|
| |
|
YOSkater
|
  |
| Joined: 19 Mar 2011 |
| Total Posts: 13337 |
|
|
| 23 Dec 2013 08:42 PM |
| The item keeps falling through the map |
|
|
| Report Abuse |
|
|
| |
|
YOSkater
|
  |
| Joined: 19 Mar 2011 |
| Total Posts: 13337 |
|
| |
|
shonclub
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1331 |
|
| |
|
|
| 23 Dec 2013 08:45 PM |
You should probably learn to script before asking here.
Check out http://wiki.roblox.com/ for some help. |
|
|
| Report Abuse |
|
|
YOSkater
|
  |
| Joined: 19 Mar 2011 |
| Total Posts: 13337 |
|
|
| 23 Dec 2013 08:45 PM |
| Honestly, idk how to script :/ |
|
|
| Report Abuse |
|
|
|
| 23 Dec 2013 09:02 PM |
game.Workspace.ChildAdded:connect(function(p) if p:IsA("Model") then wait() for i,v in pairs(p:GetChildren())do if v:IsA('Part')then v.Anchored=true end end end end) --This should work just fine. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 23 Dec 2013 09:23 PM |
workspace.DescendantAdded:connect(function(x) if x:IsA("BasePart") and x ~= workspace.Terrain then x.Anchored = true end end) |
|
|
| Report Abuse |
|
|