i have THIS simple script:
local Player = script.Parent.Parent
local Character = Player.Character or
Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HumaoidRP = Character:WaitForChild("HumanoidRootPart")
local UIS = game:GetService("UserInputService")
UIS.InputBegan:Connect(function(Input)
if Input.KeyCode == Enum.KeyCode.G then
print("bag droped")
game.Workspace.Baseplate:Destroy()
end
end)
and the baseplae disappears fro the client (person clicking G) but i click server mode and the baseplate is still there and player goes right through it, how can i make a key down detector that makes a server change?

7 comments
remoteevents
it makes sense becasue this is in local script, but key down detect doesnt work in normal script!
use remote events how!?
wiki tutorial
k
add [Solved] if self solved