Setting the transparency, or destroying part to certain players

MAN! AHHHHH still doesn’t work, I’ll give you team create on my testing server and do you think you could help me find the problem?

I’ll test in the published roblox version too.

You made the LocalScript in StarterPlayerScripts as I said?

image

image

Alright. What about the Script?

image

Replicated Storage Remote Event

image

Script inside BScroll model

Script you send me.

It prints when Proximity triggers?

Let me check. _________________

No. It’s like everything has frozen…

Very strange. Any errors? Or just nothing happens after you trigger the prompt.

Nothing whatsoever. Literally nothing happens.

Seems like the Prompt doesn’t trigger for some reason.

Nope. Literally nothing happens. I could copy all the stuff over to my test server and you could have team create if you want?

----- Server Side
local event = game.ReplicatedStorage.DestroyBScroll-- let's say we got this even in rep storage
local badgeService = game:GetService("BadgeService")
local bbadgeID = 1234567890


script.Parent.Triggered:Connect(function(player)
	print("You collected the Builder Scroll")
	event:FireClient(player)
	if not badgeService:UserHasBadgeAsync(player.UserId, bbadgeID) then
		badgeService:AwardBadge(player.UserId, bbadgeID)
	end
end)

Try replacing the Script code with this one.

1 Like

Nothing. I swear this is sooo annoying.

I’ll get like some dodgy free model and see if that works?

Hold on. It prints at least now?

Nope. Literally no response ___

Weird. For test purposes let’s make with a ClickDetector. Create a ClickDetector in the BScroll. Reparent the Script to ClickDetector and change the code to:

----- Server Side
local event = game.ReplicatedStorage.DestroyBScroll-- let's say we got this even in rep storage
local badgeService = game:GetService("BadgeService")
local bbadgeID = 1234567890


script.Parent.MouseClick:Connect(function(player)
	print("You collected the Builder Scroll")
	event:FireClient(player)
	if not badgeService:UserHasBadgeAsync(player.UserId, bbadgeID) then
		badgeService:AwardBadge(player.UserId, bbadgeID)
	end
end)

Ok, shall I let you know what happens? If I get any outputs?

Yep. Tell me if it prints or any errors.