local Main = script.Parent
local debounce = false
Main.Touched:Connect(function()
local SetColor = Main.Color
local SetTransparency = .5
local SetMaterial = "Neon"
local SetPosition = Main.Position
if not debounce then debounce = true
local NewPart = Instance.new("Part")
NewPart.Parent = game.Workspace
NewPart.Position = Vector3.new(SetPosition)
NewPart.Name = "Glow"
wait(5)
debounce = false
end
end)
So well theres something wrong with the position part. How do I make it so that the position is equal to the variables value?