local repStorage = game:GetService("ReplicatedStorage")
local RemoteFolder = repStorage.RemoteEvents
local MusicRemote = RemoteFolder.MusicEvent
local TextValue = repStorage.TextValue
local SoundFolder = game.Workspace.SoundEffects
local StartMeetingEvent = RemoteFolder.StartMeetingEvent
local function PlayMusic()
SoundFolder.Music:Play()
end
local function StartMeeting(plr)
TextValue.Value = "Welcome everyone"
wait(2)
TextValue.Value = "Glad you could all be here"
wait(2)
TextValue.Value = "Thanks for taking a seat"
plr.Character.HumanoidRootPart.Anchored = true -- here where the players should be anchored
end
MusicRemote.OnServerEvent:Connect(PlayMusic)
StartMeetingEvent.OnServerEvent:Connect(StartMeeting)
its called via a button in a localplayer
