You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want this to not be an error. -
What is the issue? Include screenshots / videos if possible!
I logged on today 2020-04-01T04:00:00Z to continue some scripts that worked fine yesterday only to find that in solo mode I get this screentshot :
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I did look on the Dev hub, but found nothing with any keywork of “PlatformServices error” The closest thing I could find is something related to developer products and purchases, in which this game does not have.
I have tried commenting out the error line [useless because its inside the services I assume-so it jsut calls it back]
I have tried a previous backup save
I have tried another game, and others.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
I am working currently on remote functions and events, in which they work just fine. That is all I have been focuses on in the past few saves from a few days worth. In these functions and events I have been working to get parts to move via the mouse.
The code that I most recently updated is this local script inside StarterPlayerScripts"
local player = game:GetService("Players").LocalPlayer
local mouse = player:GetMouse()
local mTarget
local down
local blockMovement = game.ReplicatedStorage:WaitForChild("blockMovement")
local block = game.Workspace.playerAreaBase:WaitForChild("Block")
if block then
print("0000000000")
if block.BlockID.Value == player.UserId then
print("111111111111111")
function onClickObj()
if mouse.Target ~= nil and mouse.Target.Name == "Block" then
mTarget = mouse.Target
mouse.TargetFilter = mTarget
down = true
end
end
mouse.Button1Down:Connect(onClickObj)
function moveMouse()
if down and mTarget then
local posX, posY, posZ = mouse.Hit.X, mouse.Hit.Y, mouse.Hit.Z
mTarget.Position = Vector3.new(posX, posY, posZ)
end
end
mouse.Move:Connect(moveMouse)
function mouseDown()
down = false
mouse.Target = nil
mouse.TargetFilter = nil
blockMovement:FireServer(mTarget.Position)
end
mouse.Button1Down:Connect(mouseDown)
end
end
This is the only code I’ve messed with lately OTHER THAN a click detector to change color but that is deleted.
Thank you if you have any insight.
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
