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

Im struggling on how to make a scipt where if a certain object touches a part it changes the gui?

Hey im currently making a basketball game and im new to scripting so i need some help, ive put a non collide able part inside the basket so i wanna make a script that when the ball touches the part it adds a point to the score board gui, ive searched on google for tutorials and cant find any except manual scoreboards. Also another quick question is it possible to make a script that when your behind the 3 point line if you shoot and score it counts as 3 pointer? I havent thought of any way to make it work. Any feedback would help! thanks

2 answers

Yes, that is possible but this is not a request website. Id suggest you show your code that you already have.

Yes, that is possible but this is not a request website. Id suggest you show your code that you already have.

2 comments

0

local toucherpart = script.Parent toucherpart.Touched:connect(function(Part) if Part.Name = "toucherpart" then local f = Instance.new("Message") f.Text = "Score!" f.Parent = Workspace wait(5) f:remove() end end)

0

this is what ive currently come up with

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