I'm trying to make this game simillar to ExohdaCody's Medieval Warfare: Reforged and I'm focusing on the blacksmith right now. Here's my problem; I can't make it pull up the gui when you click the torso. I havea script in workspace.Here's my script:
local plr = game.Players.LocalPlayer
while true do
function PullUpGuiOnClick()
game.Workspace.JimmyTheBlacksmith.Torso.OnClicked:Connect() -- i've seen this before but don't know how to use it..
game:GetService("InsertService"):LoadAsset(185218430).Parent = plr.PlayerGui
game.Workspace.JimmyTheBlacksmith.TorsoOnClicked:Connect()function PulUpGuiOnClick() -- another part i'm uncertain about..
end
end
end
Thanks for reading! you can click here to go to the place.

1 comment
This might not be it but the "c" in connect has to be lowercase