Here is my code.
what i don't understand is i even took out everything except closing the gui, and even that didn't work. so i am scrambling my brains here!
script.Parent.MouseButton1Click:connect(function()
--local m = Instance.new("Message") --m.Text = ("This is a Test") --wait(3) --m:remove()
local equipping = script.Parent.Parent.Equipping.Value local storage = game.ServerStorage local player = game.Players.LocalPlayer local plr = player.Name
player.CameraMode = "LockFirstPerson"
for a, b in pairs (storage:GetChildren()) do if b.ClassName == "Tool" and b.Name == tostring(equipping) then local newEquip = b:Clone() newEquip.Parent = player.Character end end
script.Parent.Parent.Enabled = false script.Parent.Modal = false
end)
The basis is it will equip the item, leave and lock you in first person view with that tool equipped.
I have tried both a local and normal script just to test and neither are working as in studio. not sure what if my mind is just missing something or what not. Need some fresh eyes.
Thanks in advance.

3 comments
You're using deprecated code, and using Strings in place of Enumerations. And please use code blocks.
You're also wrapping things in () that is not okay.
The hell you on about ._.