I made a tool that when i pressed R it will change my handle part.Size when the remoteevent got fired, is a simple script really, but after i got the error that i said in the name of my question. I tested it with Parts and tool.equipped but it works. I'm confused. Help?

Keybind local script:

UIS.InputBegan:Connect(function(Input)
	if Input.KeyCode == Enum.KeyCode.R and Debounce == true then
		Debounce = false
		script.RemoteEvent:FireServer(plr)
		wait(5)
		Debounce = true

	end
end)

RemoteEvent Script:

script.Parent.OnServerEvent:Connect(function(plr)
	local Handle = script.Parent.Parent.Parent.Parent.Handle:FindFirstChild("Handle")
	Handle.Size = Vector3.new(83.31, 4.65, 75.72)
end)

2 comments

0

..ent.Parent.Handle:FindFirstChild("Handle")? Is there a handle inside the handle?

0

Yeah, as an example i am trying to size the part that is parented to handle sorry.