|
| 06 Apr 2014 01:38 PM |
Ok so i have this UFO script, islandmaker2012 made me, i added walkspeed and color, it works but listen closely
it works like this :
m = Workspace.McChicken72 dist = m.Torso.Size.Y/2 dist = dist+m["Right Leg"].Size.Y
p = Instance.new("Part",m) p.Size = Vector3.new(7,1,7) p.Anchored = true Instance.new("CylinderMesh",p) while wait() do p.CFrame = m.Torso.CFrame*CFrame.new(0,-dist-0.7,0) p.BrickColor = BrickColor.new ("Really red") m.Humanoid.WalKSpeed = 24 end
but then when i change it to this :
m = Workspace.McChicken72 dist = m.Torso.Size.Y/2 dist = dist+m["Right Leg"].Size.Y
p = Instance.new("Part",m) p.Size = Vector3.new(7,1,7) p.Anchored = true Instance.new("CylinderMesh",p) while wait() do p.CFrame = m.Torso.CFrame*CFrame.new(0,-dist-0.7,0) while true do p.BrickColor = BrickColor.new ("Really red") wait(4) p.BrickColor = BrickColor.new ("Toothpaste") end m.Humanoid.WalKSpeed = 24 end
It breaks... |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Apr 2014 01:40 PM |
| There's an additional 'end' that wasn't there before. |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2014 01:41 PM |
| yes thats for the while do loop. im shure i need one :/ it looks fine to me :/ |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2014 01:42 PM |
| Yes, you have one fore the 'do' block, but there's another one. You only need one, and you have two. |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Apr 2014 01:49 PM |
Still breaks with color changing plz fix
i want to fly and float downwards with colr changing :O
it wiorks with 1 color only |
|
|
| Report Abuse |
|
|