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 » Scripting Helpers
Home Search
 

Re: Cloned item previews...

Previous Thread :: Next Thread 
Scripbuilder900 is not online. Scripbuilder900
Joined: 04 Aug 2011
Total Posts: 183
04 Apr 2013 01:30 PM
I didn't know how to title this properly, but here's what I got so far.


script.Parent.Selected:connect(function(mouse)
for i = 1, 10, 1 do
wait(1)
local cf = mouse.Hit
local v = cf.lookVector
Workspace.Player1.Torso.CFrame = CFrame.new(Vector3.new(mouse.UnitRay))
end
end)

I was attempting to make an auto tele but...All it does is teleport me into the center of the baseplate, regardless of my mouse. How do you make it teleport you to the position of the mouse?
Report Abuse
getkoed is not online. getkoed
Joined: 18 Feb 2010
Total Posts: 2298
04 Apr 2013 01:31 PM
I think you should remove the Vector3.new
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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