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: Why isn't this script working? *Urgent*

Previous Thread :: Next Thread 
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:43 PM
So basically, when you're 10 or less studs away, a gui appears at the spot the mouse is at [If it's actually on the part].

local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local char = plr.Character
local torso = char:WaitForChild("Torso")
local part = game.Workspace.aaa

gui = script.Parent

local distance = 10

mouse.Move:connect(function()
if mouse.Target and mouse.Target == part and (torso.Position - part.Position).magnitude < distance then
gui.Visible = true
gui.Position = UDim2.new(0,mouse.X,0,mouse.Y)
end
end)


Nothing works, and there's no output.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 04:46 PM
ah yes

you already posted this same exact problem twice, but with different scripts

this script wasn't even made by you.

just look at the old thread, I already posted one.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:48 PM
@Legit

IT wasn't made entirely by me, dumbass.

I modified it to my exact needs.

Your script doesn't work at all, either. It doesn't include distance.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 04:49 PM
You never actually specified that you need distance.

Also, I did say that you didn't make this script.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:50 PM
About 1/3 of it was made by me, as I had to delete/edit some of it, so your statement is false.

Also, read this

"Ah, alright thanks.

But, I still have 1 more question.

How would you find the pathtoplayer, after you hover over the object?

--Pathtoplayer
--Onhover functions

e = .PlayerGui.StarterGui.Frame.Label -- The pathtoplayer goes before playergui
e.Visible = true
gui.Position = UDim2.new(0,mouse.X,0,mouse.Y)

Also, how would you make it so it only does it at a certain distance away?"
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:53 PM
b1


Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 04:54 PM
Nah, won't help you anymore.

Stop acting superior.

And modifying a script doesn't make it yours, you actually need to make it yourself.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:55 PM
@Legit

And I never said it was MINE.

I said I edited/modified 1/3 of the script, therefor making your statement false.

And judging by the way you "Helped" people in other threads, leads me to believe your knowledge of basic scripting is VERY limited, so I don't want your help.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 04:56 PM
gg you're the one who needs help, not me.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:57 PM
A few examples of your limited knowledge:

http://www.roblox.com/Forum/ShowPost.aspx?PostID=161847071

http://www.roblox.com/Forum/ShowPost.aspx?PostID=161846203
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:57 PM
@Legit

Yes, I need help, but not your help, because your knowledge is more limited than mine.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 04:59 PM
1st thread: I just gave him the way to do it, I wasn't going to give him the entire script.

2nd thread: The wording is confusing.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 04:59 PM
@Legit

The first script is completely wrong, and the second script, you didn't even use a break correctly.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 05:01 PM
I have better things to do with my time than argue with you, so I'll just bump the thread and wait for some actual help.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 05:02 PM
1
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 05:02 PM
"The script is wrong"

ah yes, because I would give somebody a script that changes character.
This is the Scripter's Forum.
People who need help come here.
I HELPED HIM.
I didn't give him the entire script because that would be the same as free modelling.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 05:04 PM
@Legit.

Sigh.

Last time I'll explain it to you-

You can't substitute a character from a model in workspace, and it didn't help him at all, because it showed no instruction, just a faulty script.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 05:09 PM
"A faulty script"

ah yes, one line that was supposed to be modified by him counts as a script.

People can't come here, ask a question and expect a bucketful of answers, we only direct people to the right way.

Also, this is supposed to be in a LocalScript in a descendant of player

local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local part = game.Workspace.Part
local distance = 10

mouse.Move:connect(function()
if mouse.Target ~= nil then
if (plr.Character.Torso.Position - part.Position).magnitude <= distance then
if mouse.Target == part then
--code
end
end
end
end)
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 05:14 PM
@legit

I have tried it, and it doesn't work, no output.

Gtfo
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 05:15 PM
Oh hey! Take a good look at this:
http://www.roblox.com/Forum/ShowPost.aspx?PostID=161794272

Isn't this your thread, about something so obvious?
And as you can see, I replied and helped you with your problem.

"Yes I need help, but not your help, because you scripting knowledge is limited compared to mine."

Remember when you said that?

Yet you still needed help on something that can be easily search up in google or the wiki.roblox.com site.

Yes, my scripting knowledge is limited, but so is yours.

Just because I can script better than you doesn't make me superior to you.

Just because you're BC doesn't make you superior to me.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 05:16 PM
Lol?

And guess what, after I tested it, it didn't work at all.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 05:17 PM
"Just because I can script better than you doesn't make me superior to you."

2hypocrite5me
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 05:19 PM
--code does mean you have to code it, not me.

ah yes, --code won't work because it's a comment.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
09 May 2015 05:19 PM
Take a look at this

http://wiki.roblox.com/index.php?title=API:Class/Mouse

This will be my last thread post in this thread because I want this to die.
Report Abuse
Xucs is not online. Xucs
Joined: 23 Jul 2010
Total Posts: 11844
09 May 2015 05:20 PM
No sht, idiot.

I inserted my code into it, the code broke after the first text change.

Tried resetting, and it came up again.

Lmao

Can't tell if you're trolling at this point, or just mentally ill.
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