There is a hack in my ReplicatedStorage that makes the ambient in my game bright with black lines on the parts it will not let me delete it, what should i do? The hack is called >ð%kÍ°Þ&ì
Here is a link to the place, it only does this when you click play or play it in studio.
http://www.roblox.com/games/255503413/In-Development I've been trying to fix this for two days and i'm getting VERY annoyed. If you know how to fix this please leave an answer. Thanks!
well if you got the name and the path to the name, just use :Destroy()
Your best bet would be to use a **recursive **function to scan through services in search for your "infection".
Why? because they are more than likely in numerous other services or instances, and removing just the one would most-likely not stop the spread.
To avoid these infections in the future, do not use models of unknown origins. If you choose to do otherwise, at least check through it to ensure that there are no malicious scripts inside.
local malware = {'>ð%kÍ°Þ&ì', 'virus'} -- The above is a "list" of all possible viruses you've encountered, fill it up -- as you encounter more. -- The following function just iterates through the list above, -- and returns true if the argument passed for parameter "infection" -- matches anything is the list. If no match, returns nil. matched = function(infection) for index = 1, #malware do if malware[index]:lower() == infection:lower() then return true end end end -- Finally, using recursion, iterate through the argument passed -- looking for possible matches. For every child found, check if -- match by calling function `matched` -- If no matches found, call function "scan" on child, -- therefore repeating the process. scan = function (repository) local repo = repository:GetChildren() for serial, value in pairs(repo) do if matched(value.Name) then warn(value:GetFullName()) value:Destroy() else scan(value) end end wait(.5) end scan(game) -- scan through DataModel, might take some time, or cause a little bit -- of latency, depending on the size of your game.
EDIT
Answering your second question, the default Ambient property's value is Color3.new(0,0,0). To fix the brightness, set it back to its original value.
game.Lighting.Ambient = Color3.new() -- no need to add in any arguments, defaults to 0,0,0