Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

3D Module remove image?

Hi guys! I can attach an image to the gui and that works fine:

module3D = require(script.Parent.Module3D)
frame = script.Parent.Frame
guy = game.Workspace.Skins.AstraKnife.Handle
model3D = module3D:Attach3D(frame,guy)
model3D:SetActive(true)
game:GetService("RunService").RenderStepped:connect(function()
	local fullrotation = math.pi*2
	local currentrotation = tick()%fullrotation
	model3D:SetCFrame(CFrame.Angles(0,currentrotation,0))
end)

but, any ideas how I would unattach it from the gui? I have tried making the frame invisible but it didn't work :( Any help would be appreciated! :) Thanks!

1 answer

model3D:SetActive(false)

That will hide the model from being over the frame, it won't remove it though I haven't worked with the module enough to know how to do that sorry :(

This discussion is preserved as it was. New answers, comments, and votes are closed.