of     1   

IcyWyvern
#144889Monday, September 10, 2007 9:02 AM GMT

I've asked MrDoomBringer if this is possible, but he hasn't replied yet. (Because he's offline) While we're waiting, does anyone know about lap systems? For example you cross one of those black and white lines and it says "Lap 2" then you cross it again after going round the racetrack and it says "Lap 3" and so on till it says "Finished!" The playername IS possible because in mikeds place it says " [playername] has earned 25 points!" Or something like that. Another thing: I'm trying to modify a plane so it doesn't blow when it hits a wall. If any of you can help, i would appreciate it greatly.
SonOfSevenless
Top 100 Poster
#144986Monday, September 10, 2007 5:29 PM GMT

Hey there, I don't understand what you are trying to do with the player name. Certainly it IS possible to print a player's name as a message. A lap system is very possible to make. You want to make a series of non-Colliding bricks that listen to player's touching them. Once a player has touched all of them, he has "done a lap". You then arrange these bricks in a circle, or however you want to lay out your track. This is how many (all?) racing games keep track of laps. I might make one myself, once we get decent vehicles in ROBLOX.
IcyWyvern
#146083Tuesday, September 11, 2007 11:23 AM GMT

Hmmm... with the player name, i need it to show when the player finishes the race. The lap system, according to you is possible, but it is so HARD!!!!!!!!! So speaking of which, you can help?
Stealth Pilot
Top 100 Poster
#146178Tuesday, September 11, 2007 4:37 PM GMT

If you can tag the winner in your script, you can make this in your script: msg.Text = winner.Name.." has taken first place!" That's just an example, you gotta do some modifications to actually make that work, but that's the principle of showing how get string values into messages. >Pilot<
buttlad
Top 100 Poster
#146799Tuesday, September 11, 2007 11:39 PM GMT

Easy, debounce = false function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if h~=nil then local p = game.Players:findFirstChild(h.Parent.Name) if (debounce == false) then debounce = true local points = p.leaderstats.Points points.Value = points.Value + 25 -- change this if you want local m = Instance.new("Message") m.Parent = game.Workspace m.Text = h.Parent.Name .." got 25 points" wait(3) m:remove() wait(2) debounce = false end end end script.Parent.Touched:connect(onTouched) -- Happy B-Day lol
IcyWyvern
#147126Wednesday, September 12, 2007 7:43 AM GMT

hmmmmm...
IcyWyvern
#148006Thursday, September 13, 2007 10:21 AM GMT

So thats for winning, and now i need laps...
sloso
Top 100 Poster
#148039Thursday, September 13, 2007 12:00 PM GMT

easy! PEice of cake... get a h.Player.Name brick from the toolbox, transparency 1 and canollide easy now just make it big...I think that should work
IcyWyvern
#148891Friday, September 14, 2007 10:42 AM GMT

ermmm... the script for laps?
lavamaster
#149462Saturday, September 15, 2007 12:06 AM GMT

isnt it suppose to be debounce = false function onTouched(hit) local h = hit.Parent:findFirstChild("Humanoid") if h~=nil then local p = game.Players:findFirstChild(h.Parent.Name) if (debounce == false) then debounce = true local points = p.leaderstats.Points points.Value = points.Value + 25 -- change this if you want local m = Instance.new("Message") m.Parent = game.Workspace m.Text = h.Parent.Name .." got 25 points" wait(3) m:remove() wait(2) debounce = false end end end script.Parent.Touched:connect(onTouched) cuz this is wut i hav (except for the point thing)
IcyWyvern
#157792Saturday, September 22, 2007 9:52 AM GMT

function killall() c=game.Players:children() for i=1, #c do if c[i].Character then c[i].Character.Humanoid.Health=0 end end end some_event_here:connect(killall) ----------------------------------------- This is what miked gave me, its supposed to happen at the end of it when someone finishes all 5 laps. The "some_event_here" is supposed to be when all laps are done, but i just can't figure that out. Sure i tried it once and it crashed.
burgly
Top 100 Poster
#158241Saturday, September 22, 2007 5:36 PM GMT

how about making a script that uses a value? like when they hit it make a stat leader board and make it do lapvalue+1 or something like thet then put if lap.value=3 then something something -Burgly
IcyWyvern
#159755Sunday, September 23, 2007 9:48 AM GMT

Problem is I don't know how to add values +1.
burgly
Top 100 Poster
#163049Tuesday, September 25, 2007 9:35 PM GMT

how about: debounce = false function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if h~=nil then local p = game.Players:findFirstChild(h.Parent.Name) if (debounce == false) then debounce = true local points = p.leaderstats.laps laps.Value = laps.Value + 1 -- change this if you want local m = Instance.new("Message") m.Parent = game.Workspace m.Text = h.Parent.Name .." got 1 lap" wait(3) m:remove() wait(2) debounce = false end end end script.Parent.Touched:connect(onTouched) then add something like: if laps.value=3 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = h.Parent.Name .." is the wiinner!"
IcyWyvern
#163628Wednesday, September 26, 2007 8:56 AM GMT

Phew... some help. Thanks burgly! Now only for the non-explosional plane.
IcyWyvern
#183913Wednesday, October 10, 2007 9:49 AM GMT

burgly... it doesn't work.
burgly
Top 100 Poster
#183971Wednesday, October 10, 2007 11:44 AM GMT

if laps.value ==3 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = h.Parent.Name .." is the winner!" end I think i was missing the end part. -Bonito! To the world-
burgly
Top 100 Poster
#183973Wednesday, October 10, 2007 11:46 AM GMT

Oh for the plane, take out the script in it that is short and refers to the item "tip". -Bonito! To the world-
Morphmaniac
#15906955Tuesday, October 27, 2009 12:12 AM GMT

mbyae jsut mybae it culod wrok, jsut myabe
blocco
#15907233Tuesday, October 27, 2009 12:15 AM GMT

Dude, WTH? NOW THIS IS GONNA GET LOCKED! Why man? Why did you have to spam?
ali2556354
#15907858Tuesday, October 27, 2009 12:23 AM GMT

Blocco who are you talking too?
blocco
#15908032Tuesday, October 27, 2009 12:25 AM GMT

Morphmaniac.
ali2556354
#15908121Tuesday, October 27, 2009 12:26 AM GMT

Oh
FoodTests
#15908181Tuesday, October 27, 2009 12:27 AM GMT

I've seen this thread before too. '07 FTW Nobody else reply bcause this is an OLD thread :P

    of     1