Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

tools not showing while playing? [closed]

Asked by
3wdo 198
5 years ago
Edited 5 years ago

i was making a magic 8 ball but the it wasn't showing in game. Can someone help me? It works but it doesn't show in game.

0
Gonna need a little more information. Can you post screenshots and/or code? AvatarAang400 35 — 5y
0
the code works but it doesnt show in game 3wdo 198 — 5y
0
Where is the tool located in the game? AvatarAang400 35 — 5y
0
starterpack 3wdo 198 — 5y
0
how do i add screenshots? 3wdo 198 — 5y

Closed as Not Constructive by awfulszn, DeceptiveCaster, and zblox164

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.

Put this in a Local Script Inside StarterGUI. you will have to multiply the script if there is more then one part inside of the 8Ball. I highly recommend making a folder for it.

local player = game:GetService("Players").LocalPlayer

local character = player.Character or player.CharacterAdded:Wait()



--//Events\\--

game:GetService("RunService").RenderStepped:Connect(function()

--//Visible

for i, part in pairs(character:GetChildren()) do

if string.match(part.Name, "NAMEOFPARTINSIDE8BALLGEAR") then

part.LocalTransparencyModifier = 0

end

end

end)
Ad