Phyclops
|
  |
| Joined: 27 Sep 2012 |
| Total Posts: 5895 |
|
|
| 30 Jan 2015 11:30 AM |
i have a lot of tools in my game, and each one of them keeps breaking
they used to work so i blame roblox updates they are all localscripts inside tools which use the mouse i will not post all the scripts but i will tell you the error
SO HERE IS THE PROBLEM: SOMETIMES THEY WORK SOMETIMES THEY BREAK AND I NEED TO RESET error is attempt to index global 'mouse' (a nil value) and in my gun scripts, roblox updates broke them completely and now they say things like attempt to index local 'Hit_Player' (a nil value) and other things like that
BASICALLY THE MOUSE IS BROKEN IN MY GAME AND I NEED HELP |
|
|
| Report Abuse |
|
|
|
| 30 Jan 2015 11:31 AM |
| Tell us the part of the script thats broken |
|
|
| Report Abuse |
|
|
Phyclops
|
  |
| Joined: 27 Sep 2012 |
| Total Posts: 5895 |
|
|
| 30 Jan 2015 11:33 AM |
alright i'll give you the lines that are giving the errors mostly, give me a minute
if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
that one doesn't really matter, it's just the mouse one so ignore that i guess
the mouse also says sometimes "mouse no longer active" or something here's the function with the mouse error:
function makeGhost(m) ghost = shelter:clone() ghost.PrimaryPart=ghost.MainPart ghost:SetPrimaryPartCFrame((bin.Parent.Torso.CFrame - bin.Parent.Torso.Position) + mouse.Hit.p) ghost.Parent = game.Workspace.CurrentCamera ghost:MakeJoints() local g = ghost:GetChildren() end |
|
|
| Report Abuse |
|
|
Phyclops
|
  |
| Joined: 27 Sep 2012 |
| Total Posts: 5895 |
|
|
| 30 Jan 2015 11:42 AM |
https://twitter.com/RokinRonan/status/561217730167443456/photo/1
mouse no longer active error |
|
|
| Report Abuse |
|
|