Hello! I am making a RPG game but with one problem, i would like the invisible part at the door to have the collisions off but due to it being Mulitplayer, i must go with localscripts and events. Any help?
Local Script
local remote = script.RemoteEvent
remote.OnClientEvent:Connect(function(plr)
game.Workspace.Baseplate.Part.CanCollide = false
game.Workspace.Baseplate.Part.Transparency = 0
end)
The part where the script uses the remote
tween:Play()
tween2:Play()
tween3:Play()
Tween0:Play()
plr.PlayerGui.Quests.Frame:TweenPosition(UDim2.new(-0.012, 0,0.302, 0),Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 1, true)
wait (1)
local b = game:GetService("BadgeService")
b:AwardBadge(plr.userId, 2151764602)
event:FireClient(plr)
Screenshots aswell