Hi ;3

At the moment, I was thinking about data security and this question appeared: Can a player change the data of objects that lie on the ground (workspace) - change variable names, values?

The object itself will never be picked up in their backpack only in the server database. The object is not using any remotes, only click script.

(Maybe this is a stupid question, but for me it changes the whole structure of the future script.)

Thx)

Edit:

Script in item:

local destroyMe = script.Parent:WaitForChild("Handle"):FindFirstChild("TouchInterest")
local tool = script.Parent
local SS = game.ServerStorage

if destroyMe ~= nil then
	destroyMe:Destroy()
end

script.Parent.ClickDetector.MouseClick:Connect(function(plr)
		tool.Parent = nil
		tool.Parent =  SS:FindFirstChild("PData"):FindFirstChild(plr.Name):WaitForChild("Backpack")
end)

4 comments

0

Generally no, but it depends on your click script really. You should provide the script, so we can have a look. Exploiters can always see data though, so everything sensitive should be either in ServerScriptService or ServerStorage.

0

Workspace is visible from both the client and server, so you never know.

0

Added script. Im not scared if they could see data. Im scared that they will be able to change its values.

0

i know john doe can