Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

"Clicked is not a function of LocalScript"?

Asked by 9 years ago

How would I fix that in a LocalScript? Like in this line:

Line: pospoints = script.Clicked.Value

(Clicked is a number value that is a child of the script)

0
you should rename it to something else. And let me see the entire script. One line isnt enough. TrollD3 105 — 9y
0
Kind of a really, really long script, but ok CoolJohnnyboy 121 — 9y
0
Check your ROBLOX messages, I sent you the script CoolJohnnyboy 121 — 9y

3 answers

Log in to vote
0
Answered by
Vezious 310 Moderation Voter
9 years ago

All You Have to do is change the number value. It's getting it confused with function. Try making it lowercase, clicked.

0
Oh, ok. CoolJohnnyboy 121 — 9y
0
It still isn't working. It is still giving me the same output on the developer console CoolJohnnyboy 121 — 9y
0
Change it's name? Vezious 310 — 9y
0
it wouldn't let me send you the script on roblox, but the script is posted as an answer on this thread CoolJohnnyboy 121 — 9y
0
I'm sorry, if you say the output states that, and you've changed the name, and the output still is the same, I can't help you. because there is no possible way the output error can be the same. Vezious 310 — 9y
Ad
Log in to vote
0
Answered by 9 years ago
1script.C.Value

(Change the number value's name to C)

0
that still didn't work, i will post the script in an answer on this thread CoolJohnnyboy 121 — 9y
0
try MouseButton1Click haloelite27 25 — 9y
Log in to vote
0
Answered by 9 years ago
001pospoints = script.hi.Value
002 
003local inactive = false
004 
005function roundedPos(pos)
006    local x = math.floor(pos.x)
007    local y = math.floor(pos.y)
008    local z = math.floor(pos.z)
009 
010    return Vector3.new(x, y, z)
011end
012 
013function b1(mouse)
014local m1 = mouse.Hit.p
015pt1 = roundedPos(m1)
View all 153 lines...

Answer this question