[ Suggestion ] - Make the connections like roblox style and add findFirstChild
#1
since this script

Code:
while true do
p = create("Box");
p.Position = Vec2D(math.random(400,600),100)
p.Size = Vec2D(5, 5)
p.Color = Color(math.random(0, 255), math.random(0, 255), math.random(0, 255))
p.Parent = game.World
p.Fixed = false
s = create("Script")
s.Source = "sleep(5); while script.Parent.Transparency < 1 do script.Parent.Transparency = script.Parent.Transparency + 0.2; sleep(0.1); end; script.Parent:remove();"
s.Parent = p
sa = create("Script")
sa.Source = "link(script.Parent.Collided, function(touch) if touch.Name ~= "Ground" and touch.Score ~= nil then script.Parent:remove(); end end)"
sa.Parent = p
tex = create("Texture")
tex.Image "http://image.shutterstock.com/display_pic_with_logo/251461/251461,1236423088,1/stock-photo-closeup-waffle-texture-to-background-26195983.jpg"
tex.Parent = p
sleep(1)
end

requires findFirstChild, it is needed in the LUA Database and can you make the connections similar in ROBLOX, so it can be more easier?
Reply


Messages In This Thread
[ Suggestion ] - Make the connections like roblox style and add findFirstChild - by ptown2 - 10-16-2010, 04:39 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)