I wanted to make it so when the poll pop up on the player screen saying (Do you want to regen the model? Yes or No?) By the way I made this script myself if anyone say I copy it I didn't. Don't waste your time commenting "You freemodel" because i'm sick of it this time I made this script myself. :)

model = backup:clone() 
model.Parent = game.Workspace 
model:makeJoints() 
message.Parent = nil 
end 
end 
game.Players.PlayerAdded:connect(function(np)
np.Chatted:connect(function(msg)
if msg:lower() == "vote regen minig" then
votes.Value = votes.Value + 1
msg = Instance.new("Message",np.PlayerGui)
msg.Text = "Vote added. Votes left until regen: "..maxvotes - votes.Value
game:service("Debris"):AddItem(msg,2)
end end) end)

4 comments

0

Error in 5 and 6 idk why u use end in there

0

^. And it's game:GetService(). Indent your code too.

0

Your past question was closed for a reason. Don't repost questions. Also stop coming back on alts, dontban_mer. https://scriptinghelpers.org/questions/72224/i-need-help-i-dont-know-where-to-add-the-part-of-this-script-in-the-desc

0

i'm new to this. So i'm not trying to be rude but you help me fix my errors like I did with my script an i'll say my question has been answered thanks!