I am in the process of making a Host Ui thing for my friend but when I finished my script that clones from replicated storage to workspace by clicking a button it seems that it dosen’t work, am I missing anything in this script?
Button = script.Parent.Parent.StarterGui.HostUi.HostChoose.PianoButton
Button.MouseButton1Click:Connect(function() -- Activates when you click a button
game.ReplicatedStorage.WallJumps:Clone().Parent = game.Workspace
end)
Button = script.Parent.Parent.StarterGui.HostUi.HostChoose.PianoButton
Button.MouseButton1Click:Connect(function() -- Activates when you click a button
local clone = game.ReplicatedStorage.WallJumps:Clone()
clone.Parent = game.Workspace
end)
Hey, you’d probably best go with @vycVascense’s suggestion. Remotes are great, and if you just modified your current script to a single Players PlayerGui, then it won’t work for anybody else.