So I did the fallowing code, and put it inside a tree and made it so that every player spawns with a "AxSpeed" Value within there Character, and I tryed it out but it wont work for some reason... can someone help me?
script.Parent.MouseClick:connect(function(player)
local AxSpeed = player.Character.AxSpeed.Value
player.Character.Torso.Anchored = true
wait(AxSpeed)
Tree.Trunk.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,100)
Tree.Foliage1.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,100)
Tree.Foliage2.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,100)
Tree.Foliage3.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,100)
Tree.Foliage4.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,100)
wait(1)
-- I dont cair if the tree wont be on the ground... I can work on the cframe later...
Tree.Foliage1.Anchored = false
Tree.Foliage2.Anchored = false
Tree.Foliage3.Anchored = false
Tree.Foliage4.Anchored = false
Tree.Trunk.Anchored = false
Tree:remove()
player.Character.Torso.Anchored = false
end)
Tree = script.Parent.Parent
Thank you

2 comments
Thank You! I had put a Click Detector, but I only used it to show that the item was clickable. This worked! Thanks again!
No problem.