of     1   

ColdSmoke
#139065053Thursday, July 03, 2014 4:26 AM GMT

There's no error, this is inside a script inside a tool, it is NOT in a local script however it only works in play solo local Module = require(game.ServerScriptService.ModuleScript) script.Parent.Equipped:connect(function(Mouse) Mouse.Button1Down:connect(function() if Mouse.Target and Mouse.Target.Parent.Parent:FindFirstChild('IsCellDoor') and Mouse.Target.Parent.Name == 'Door' then Module.CloseCell(Mouse.Target.Parent.Parent.Name,false) script.Parent:Destroy() end end) end)
EchoingEndlessly
#139065202Thursday, July 03, 2014 4:28 AM GMT

If it's a tool, you should be using "Activated". And since it actually works at all, I'm assuming it's in a hopper bin, which can only run with local scripts
ColdSmoke
#139065876Thursday, July 03, 2014 4:34 AM GMT

It's not in a hoperbin, just a plain ol tool. I ain't no fool! Also I'm pretty sure equipped is the official thing for tools and activated is for hopperbin
EchoingEndlessly
#139066318Thursday, July 03, 2014 4:39 AM GMT

Just viewed the wiki. "Mouse", "This should be used in a LocalScript as opposed to a normal script in order to work as expected in Online Mode"
ColdSmoke
#139066560Thursday, July 03, 2014 4:41 AM GMT

mhm so how on earth do I get the click and stuff, also doesn't the linked sword use a script? I guess I'll work around it
ColdSmoke
#139068047Thursday, July 03, 2014 4:54 AM GMT

so I changed it to work in a localscript with a server script to handle the module and it still doesn't work.

    of     1