Button integer for MouseUp?
#1
Well, yeah..
Tools MouseUp event doesnt have the "button" thingie...

like

link(script.Parent.MouseUp,function(b,p)
print(b)
print(p)
end)

And when pressed left mouse button, it should print

>1
>0.0,0.0

But, what it prints is..

>0.0,0.0
>nil

I think this is a bug, since even wiki says it should return the "Button" :o
[Image: 76561198036192536.png][Image: Ava2.gif]
AntiBoomz0r @ roblox,xfire
AntiBoomz @ minecraft
MiikaFTW @ steam
Reply
#2
I'll try this with...

function onMouseUp(a,b)
print(a)
print(b)
end
link(script.Parent.MouseUp, onMouseUp)
Yep, won't work...
Or maybe the wiki itself was wrong?
Reply
#3
Fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)