Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
|
| 14 Jun 2012 05:59 PM |
So, what I want happening is: DeLorean (car) gets to the brick, (im driving it,) then bricks go transparent and a sound commences. Then, I should be teleported to the position I want, and the car comes with me (and i stay in the car) This doesn't work. Can you please fix this?
Thanks! Nic
one = script.Parent.Parent.one two = script.Parent.Parent.two musicscript = script.Parent.Parent.musicscript music = script.Parent.Parent.musicscript.music traveler2 = script.Parent.Parent.traveler2 function onTouched(hit) local h = hit.Parent:findFirstChild("DeLorean") if h ~= nil then game.Lighting.Brightness = 5 music:Play() wait(0.5) game.Lighting.Brightness = 3 wait(0.5) game.Lighting.Brightness = 1 music:Play() wait(1) music:Stop() one.CanCollide = true one.Transparency = 0 two.Transparency = 1 two.CanCollide = false h.MoveTo(Vector3.new(142, 13.2, -3)) end end script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
killjoy37
|
  |
| Joined: 27 Aug 2008 |
| Total Posts: 2821 |
|
|
| 14 Jun 2012 06:29 PM |
Does the output say anything?
also in your variable of music you used musicscript in it, which was another variable, don't name the variables the same thing as what they stand for if they are used in other variables.
also h.MoveTo needs to be h:MoveTo |
|
|
| Report Abuse |
|
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
|
| 14 Jun 2012 06:37 PM |
Output: "MoveTo is not a valid member of Tool"
Yes, this is exactly like the UFO model Roblox made. So there is a tool for driving it. (it flies) |
|
|
| Report Abuse |
|
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
|
| 14 Jun 2012 06:47 PM |
| Bump. Please help. You know what? If you can fix it, you get 100 R$. |
|
|
| Report Abuse |
|
|
killjoy37
|
  |
| Joined: 27 Aug 2008 |
| Total Posts: 2821 |
|
|
| 14 Jun 2012 07:41 PM |
| Did the output read that after you made my changes, or before? If it was before, do the changes I said, then check the output. |
|
|
| Report Abuse |
|
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
| |
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 15 Jun 2012 06:13 AM |
| If you CFrame your Torso to another position, won't it also take the whole model, you're sitting in, with you? Can't test it right now. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 15 Jun 2012 06:15 AM |
| Anyways, it's :MoveTo() not .MoveTo(). (Double Point, not Dot). |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 15 Jun 2012 06:16 AM |
| Sry didn't read everything. |
|
|
| Report Abuse |
|
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
|
| 15 Jun 2012 06:17 AM |
| If I just CFramed the torso, nothing teleports. (unless im outta the car) |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 15 Jun 2012 06:21 AM |
Player.Parent:MoveTo()
You gotta somehow find out this and insert it into your script. In your script, you're only taking the Model "Player" (whatever player it is) and not the whole model. I think when you're in a seat, your character is inside the model Car right? So you gotta set as much parent's until the :MoveTo() takes the whole car. You get what I mean? |
|
|
| Report Abuse |
|
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
| |
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
|
| 15 Jun 2012 06:23 AM |
| Just making it harder. Stupid ROBLOX. Player doesn't group into the car. |
|
|
| Report Abuse |
|
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
|
| 15 Jun 2012 06:26 AM |
| Cheater, I know you may be busy, but when you could could you experiment with the car and player teleporter? I'll pay 250 R$, this is my only problem. D: |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 15 Jun 2012 06:28 AM |
The problem is not my business. It's the internet. Here in my office I can't play online or anything like that in ROBLOX so I can't test it and mostly when I'm at home, I play Xbox 360 games and don't start my computer for ROBLOX.
Also if you offer prices, go to Let's Make A Deal. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 15 Jun 2012 06:29 AM |
| What you could do is, what exactly changes, when you're in a seat. Somehow that seat must be shown inside the character or something. |
|
|
| Report Abuse |
|
|
Nicolas77
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 3158 |
|
| |
|