generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Did I do something wrong?

Previous Thread :: Next Thread 
15fluffblox is not online. 15fluffblox
Joined: 04 Jul 2010
Total Posts: 426
16 Aug 2016 06:57 PM
This script is inside of a part.
Its supposed to make whoever touches it to walk to 38.2, 28.2, 57.6


script.Parent.Touched:connect(function(part)
if game.Players:GetPlayerFromCharacter(script.Parent) then
script.Parent.Humanoid.WalkToPoint = Vector3.new(38.2, 28.2, 57.6)
wait()
end

end)


I cant really tell whats wrong since there is no output.


make it fluffy or i poke you c:
Report Abuse
15fluffblox is not online. 15fluffblox
Joined: 04 Jul 2010
Total Posts: 426
16 Aug 2016 07:03 PM
Bumpity boop


make it fluffy or i poke you c:
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
16 Aug 2016 07:14 PM
All of those occurrences of "script.Parent" should probably be "hit.Parent"


Report Abuse
15fluffblox is not online. 15fluffblox
Joined: 04 Jul 2010
Total Posts: 426
16 Aug 2016 07:22 PM
o thanx
Report Abuse
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
16 Aug 2016 08:34 PM
script.Parent.Humanoid:MoveTo(38.2, 28.2, 57.6)

WalkToPoint returns the position the Humanoid is trying to reach, i.e. the Vector3 you passed through MoveTo().
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image