So I made this script which is supposed to change the transparency of the players boots model which is inside the player character. but it doesn’t show to other players so I made a LocalScript In starterCharacterScripts:
local RemoteEvent = game.ReplicatedStorage.remotes.Boots
local userInputService = game:GetService(“UserInputService”)
userInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.B then
RemoteEvent:FireClient()
print("Fired")
end
end
end
)
then I made a Script in ServerScriptService:
RemoteEvent = game.ReplicatedStorage.remotes.Boots
local LBoot = script.Parent:WaitForChild("LeftBoot")
local RBoot = script.Parent:WaitForChild("RightBoot")
local LTransparency = LBoot.Neon.Transparency
local RTransparency = RBoot.Neon.Transparency
RemoteEvent.OnServerEvent:Connect(function(player)
local Character = player.Character
print(player.Name)
if Character.LBoot.Neon.Transparency == 0 and Character.RBoot.Neon.Transparency == 0 then
Character.LBoot.Neon.Transparency = 1
Character.RBoot.Neon.Transparency = 1
player.Backpack.Dash.Disabled = true
Character.LBoot.Bottom.Trail.Enabled = false
Character.RBoot.Bottom.Trail.Enabled = false
script.BeepOff:Play()
print("BootOff")
elseif Character.LBoot.Neon.Transparency == 1 and Character.LBoot.Neon.Transparency == 1 then
Character.LBoot.Neon.Transparency = 0
Character.RBoot.Neon.Transparency = 0
player.Backpack.Dash.Disabled = false
Character.LBoot.Bottom.Trail.Enabled = true
Character.RBoot.Bottom.Trail.Enabled = true
script.BeepOn:Play()
print("Boot On")
end
end)
But the Localscript fires but the changes don’t happen even for the client.