D9m9nt9d
(D6m9nt9d)
February 13, 2023, 8:32pm
#1
Hightlight isnt showing up when the script runs
local highlight = Instance.new("Highlight")
highlight.OutlineColor = Color3.fromRGB(0,150,0)
highlight.FillColor = Color3.fromRGB(0,220,0)
highlight.FillTransparency = 0
highlight.DepthMode = Enum.HighlightDepthMode.Occluded
highlight.OutlineTransparency = 0
highlight.Parent = workspace.Red.Hitbox
highlight.Adornee = workspace.Red.Hitbox
game.Debris:AddItem(highlight, 0.5)
game.TweenService:Create(highlight, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, true, 0), {FillTransparency = 0.5, OutlineTransparency = 0.5}):Play()
D9m9nt9d
(D6m9nt9d)
February 13, 2023, 8:33pm
#2
also it doesnt send any errors to the output
jXD20072
(jXD20072)
February 13, 2023, 8:36pm
#3
Maybe the script ran before you could see the highlight since the code destroys it after 0.5 seconds, have you tried adding a task.wait(5)
(for example) at the beggining and check if the code runs?
1 Like
D9m9nt9d
(D6m9nt9d)
February 13, 2023, 8:44pm
#4
its fixed when i restarted studio, but still thank u for attention
system
(system)
Closed
February 27, 2023, 8:45pm
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.