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: A More Interesting Title!

Previous Thread :: Next Thread 
DoctorHelix is not online. DoctorHelix
Joined: 05 May 2015
Total Posts: 303
28 May 2015 05:04 PM
Nobody likes a title that says "Please help me with this!" or something similar to that. So i'm re-posting this thread with a more interesting title, hopefully it'll get more clicks.

local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()

Mouse.Button1Down:connect(function()
local c = script:FindFirstChild("Move"):Clone()
c.Parent = Player.PlayerGui
local pos = Mouse.Hit.p
c:FindFirstChild("Walk").Position = UDim2.new(pos)
c:FindFirstChild("Walk").Visible = true
end)
Report Abuse
DoctorHelix is not online. DoctorHelix
Joined: 05 May 2015
Total Posts: 303
28 May 2015 05:05 PM
Need help with that ^^
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
28 May 2015 05:20 PM
Is Walk a part or gui?
Report Abuse
DoctorHelix is not online. DoctorHelix
Joined: 05 May 2015
Total Posts: 303
28 May 2015 05:24 PM
A text button, and I figured out my problem, I had to get the x and y/z vaue of mouse.hit.p, now it moves a little bit, but not at where my mouse is. So i'm trying to figure out what I should multiply it by to make it spawn at my mouse
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
28 May 2015 05:51 PM
You were passing a Vector3 to UDim2.new which will obviously backfire in your face. You have no clue how to handle things atm do you?
Report Abuse
DoctorHelix is not online. DoctorHelix
Joined: 05 May 2015
Total Posts: 303
28 May 2015 05:58 PM
war, if you read the comments. you'd see that I figured it out. I said I got the x and z's. So I did something like: 0,x,0,z
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
28 May 2015 05:59 PM
but thats so wrong
Report Abuse
DoctorHelix is not online. DoctorHelix
Joined: 05 May 2015
Total Posts: 303
28 May 2015 06:01 PM
How do we convert vector3 to udim2?
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