alright so simple enough i made a script for the client that should execute just fine but instead it acts like it doesn't run at all and yes its not disabled but then i didn't bother converting it to server i just pasted it in there and it works just as it should this has happened to me before when i tried changing lighting on the client side so any ideas on how to get this running locally only?

LocalScript/Script:

local keyevent = game.ReplicatedStorage.KeySataus
local sound = script.Parent.Coin_Get
local particle = game.ServerStorage.KeyParticle:Clone()
local WhichKey = script.Parent.WhichKey.Value
script.Parent.Touched:Connect(function()
	sound:Play()
	script.Parent.Transparency = .7
	keyevent:FireServer(WhichKey)
end)