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: Aw crab apples

Previous Thread :: Next Thread 
popdosprlte is not online. popdosprlte
Joined: 18 Dec 2009
Total Posts: 4801
04 Sep 2011 07:20 PM
HopperBin = script.Parent

function FlyTo(mouse)
FlyPos = mouse.hit.p
Character = script.Parent.Parent.Parent.Character
PlaneE = Character.Plane.Engine
local dir = (FlyPos - PlaneE.Position).unit
local pos = PlaneE + dir
PlaneE.BodyGyro.cframe = CFrame.new(pos, pos + dir) -- This dun work
end

function Start(mouse)
Character = script.Parent.Parent.Parent.Character
if Character:findFirstChild("Plane") then
mouse.Button1Down:connect(function () FlyTo(mouse) end)
end
end

HopperBin.Selected:connect(Start)


--It dun work caus I dun know how dun turn dun Usadurtahs untah Vaktor3s, can someone dun help me?


Report Abuse
DrSprinkles is not online. DrSprinkles
Joined: 27 Aug 2011
Total Posts: 457
04 Sep 2011 07:25 PM
I can't tell if you're saying User Data, UDim2, or you'sa herptard.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
04 Sep 2011 07:29 PM
.cframe=CFrame??

­<'+1 Post. Ujelly?'>
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
04 Sep 2011 07:30 PM
Also, cframe should be like dis (x,y,z) not just 2.

­<'+1 Post. Ujelly?'>
Report Abuse
Riderj is not online. Riderj
Joined: 15 Aug 2011
Total Posts: 1534
04 Sep 2011 07:34 PM
nate890, learn the parameter before you post plox?



CFrame.New(Vector3,lookvector)
Report Abuse
elucidir is not online. elucidir
Joined: 08 Aug 2011
Total Posts: 243
04 Sep 2011 07:38 PM
PlaneE = Character.Plane.Engine ܵܵܵܵܵܵܵ-- Object
local dir = (FlyPos - PlaneE.Position).unit ܵܵܵ-- Vector3
local pos = PlaneE + dir ܵܵܵܵܵܵܵܵܵܵܵܵ-- Object + Vector3
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
04 Sep 2011 10:14 PM
Rider , I don't use CFrame often, and I don't know what he was trying to do >.<

­<'+1 Post. Ujelly?'>
Report Abuse
popdosprlte is not online. popdosprlte
Joined: 18 Dec 2009
Total Posts: 4801
05 Sep 2011 02:51 PM
Blarg harm um.
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