Tool > Fe Compatible [Short scripting][SOLVED]

Hiya I wanted to present my problem with the Hopper bin tool

1. What do you want to achieve? Keep it simple and clear!
Transform tool convert to FE Compatible, needed this success.

2. What is the issue? Include screenshots / videos if possible!
I test it out for Player1 and Player2, there majority problem is that both players can’t see each other Vehicle, while Transform tool still activate. ScreenShot Below here.

--------------

Local script:

function changeTransparency(parentModel, partName, transparency)
local C = parentModel:GetChildren()
for i=1, #C do
if C[i].className == “Model” then
local CM = C[i]:GetChildren()
for j=1, #CM do
if CM[j]:IsA(“BasePart”) and CM[j].Name == partName then
–script.Parent.Parent.Parent.Character.Chest.A8.CanCollide=false
CM[j].Transparency = transparency
end
end
end
end
end

function onSelected(mouse)
–mouse.Button1Down:connect(function() onButton1Down(mouse) end)
–mouse.Button1Up:connect(function() onButton1Up(mouse) end)
–mouse.Icon = “rbxasset://textures\GunCursor.png”
script.Parent.Parent.Parent.Character.Humanoid.Jump = true
wait(0.65)
changeTransparency(script.Parent.Parent.Parent.Character,“Part”,1)
changeTransparency(script.Parent.Parent.Parent.Character,“Part1”,0)
changeTransparency(script.Parent.Parent.Parent.Character,“Middle”,1)
end
script.Parent.Selected:connect(onSelected)

function onDeselected(mouse)

script.Parent.Parent.Parent.Character.Humanoid.Jump = true

changeTransparency(script.Parent.Parent.Parent.Character,“Middle”,0)
changeTransparency(script.Parent.Parent.Parent.Character,“Part1”,1)
changeTransparency(script.Parent.Parent.Parent.Character,“Part”,0)

end
script.Parent.Deselected:connect(onDeselected)

–function onButton1Down(mouse)

–changeTransparency(script.Parent.Parent.Parent.Character,“Part”,1)
–changeTransparency(script.Parent.Parent.Parent.Character,“Part1”,1)
–changeTransparency(script.Parent.Parent.Parent.Character,“Part2”,0)

–end

–function onButton1Up(mouse)

–changeTransparency(script.Parent.Parent.Parent.Character,“Part2”,1)
–changeTransparency(script.Parent.Parent.Parent.Character,“Part1”,0)
–changeTransparency(script.Parent.Parent.Parent.Character,“Part”,1)

---------------------------------------------------------------

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I type to add inside the script

[Hopper bin tool]
game.ReplicatedStorage.TransformEvent:FireServer() < mouse or Selected and Deselected

[ServerScriptSevice]
game.ReplicatedStorage.TransformEvent:OnServerEvent() < mouse or Selected and Deselected

I’ve learned from Alvinblox youtube, [RemoteEvent Tutorial] It just different methods, I’m trying merge something an order to fix.

if you don’t understand please reply and i will clarify.

If you want to help, DM me and i will send you a link to fix it [500 Robux] IF YOU SOLVED THAT.

The server script would be:

function changeTransparency(parentModel, partName, transparency)
    local C = parentModel:GetChildren()
    for i=1, #C do
    if C[i].className == “Model” then
    local CM = C[i]:GetChildren()
    for j=1, #CM do
    if CM[j]:IsA(“BasePart”) and CM[j].Name == partName then
    –script.Parent.Parent.Parent.Character.Chest.A8.CanCollide=false
    CM[j].Transparency = transparency
    end
    end
    end
    end
end

game.ReplicatedStorage.TransformEvent.OnServerEvent:Connect(changeTransparency)

And in the local script you will just remove the function and put there
function changeTransparency(parent,part,transparency)
game.ReplicatedStorage.TransformEvent:FireServer(parent,part,transparency)
end

(Excuse the format)
Hope it helped!

@zeptak

Okay i should test it out, if is does work i pay you 500 robux

I dont need robux but I would like you to mark my reply as the solution :slight_smile:

@zeptak okay, thank you for support