|
| 10 Sep 2014 02:35 PM |
whats wrong with this
script.Parent.MouseClick.ClickDetector:connect(function(plr) plr.Torso.CFrame=CFrame.new(script.Parent.Position.X,script.Parent.Position.Y+3,script.Parent.Position.Z) end)
Dis is explorer
Part •ClickDetector •Explorer |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:36 PM |
| script.Parent.ClickDetector.MouseClick:connect |
|
|
| Report Abuse |
|
|
L2000
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 77448 |
|
|
| 10 Sep 2014 02:37 PM |
plr is player, not character do plr.Character.Torso
To be a trader is my dream, all I've got to do is believe! |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Sep 2014 02:37 PM |
idk but just use :MoveTo to teleport a person to a position
so it'd be like
plr:MoveTo(script.Parent.Position, script.Parent) |
|
|
| Report Abuse |
|
|
L2000
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 77448 |
|
|
| 10 Sep 2014 02:38 PM |
the comma should be there @ ecc its a Vector3.new(X, Y, Z)
To be a trader is my dream, all I've got to do is believe! |
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 10 Sep 2014 02:40 PM |
script.Parent.MouseClick.ClickDetector:connect(function(plr) plr.Character.Torso.CFrame=CFrame.new(script.Parent.Position.X,script.Parent.Position.Y+3,script.Parent.Position.Z) end) |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:42 PM |
output
15:42:19.891 - MouseClick is not a valid member of Part 15:42:19.893 - Script 'Workspace.Part.Script', Line 1 15:42:19.895 - Stack End |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:43 PM |
| i just need to know what to fix on line one |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:43 PM |
mak a local script
local plr = game.Players.LocalPlayer script.Parent.MouseClick.ClickDetector:connect(function(check) if check.Name:lower() == plr.Name:lower() then plr.Character.Torso.Position = Vector3.new(change,change,change) end end)
@l2k
MoveTo is depreciated nowadays with moving a player's model due to stuff idk but which includes the animation scripts |
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 10 Sep 2014 02:44 PM |
I totally disregarded that xD
script.Parent.MouseButton1Down:connect(function(plr) plr.Character.Torso.CFrame=CFrame.new(script.Parent.Position.X,script.Parent.Position.Y+3,script.Parent.Position.Z) end) |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:44 PM |
OH NVM
script.Parent.ClickDetector.MouseClick:connect(function(plr) plr.Torso.CFrame=CFrame.new(script.Parent.Position.X,script.Parent.Position.Y+3,script.Parent.Position.Z) end)
Dis is explorer
Part •ClickDetector •Explorer |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:45 PM |
@78
if you dont know crap dont speak crap MouseButton1(Etc) is for GUI's not clickdetectors |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2014 02:45 PM |
@baheeg local scripts can't go in parts |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:46 PM |
script.Parent.ClickDetector.MouseClick:connect(function(plr) plr.Torso.CFrame=CFrame.new(script.Parent.Position.X,script.Parent.Position.Y+3,script.Parent.Position.Z) end)
there
MouseClick is after clickdetectpr |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:47 PM |
@snowy i know that's why i fixed yours |
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 10 Sep 2014 02:47 PM |
@baheeg xD xD
I don't know crap? If you don't have respect for others then don't say crap. I don't care if I knew nothing about scripting, I am pretty confident with my scripting abilities. |
|
|
| Report Abuse |
|
|
| |
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:47 PM |
rofl confident with being wrong? just get out |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:48 PM |
@snowy
mine worked right? if so np |
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 10 Sep 2014 02:51 PM |
| I am actually very confident, that's why I posted. You don't have to be right to be confident. If you don't understand that confidence has nothing to do with being right then you should retake 4th grade. |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 02:54 PM |
"I am actually very confident, that's why I posted. You don't have to be right to be confident. If you don't understand that confidence has nothing to do with being right then you should retake 4th grade."
You moron this isn't virtual reality you idiot this is a virtual "SITE"
this ain't no barbie fan club you sit and spit all your personal crap in people like you just deprecate the minds of @OP
if you make a mistake that's fine i respect that but not admitting to it is like an ass |
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 10 Sep 2014 03:03 PM |
| And when did I not admit to it? "Confidence has nothing to do with being right." Right there is where I accepted that I was wrong and admitted to it. You should stop skimming through the text and start reading as it makes you look like a complete and total imbecile. It's ignorant that you insult me, and when did I even begin thinking this is a "virtual reality?" What exactly do you mean about "sit and spit all your personal crap?" For one, there is no rule or regulation stating that you cannot talk about your real life. I don't think that saying I was just confident in my reply is necessarily talking about my "personal crap," but we all interpret things differently. I do hope that you refer to this before trying to bully someone out of a public forum. |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
|
| 10 Sep 2014 03:25 PM |
you didn't admit to you were wrong in the overall "Confidence has nothing to do with being right."
Right there you express this excuse for being wrong trying to somehow say that it was right indirectly and fermenting the "Statement"
"You should stop skimming through the text and start reading as it makes you look like a complete and total imbecile. "
makes me really suici dal off the idiocy LMaD has inhabited due to morons like you No one (for one) gives a single crap if you're confident or not you put crap that has no logic into this forum and arguing up to it just another symbolic sign of ignorance and nectarine |
|
|
| Report Abuse |
|
|