|
| 21 Jul 2017 10:09 AM |
| -- workspace script.Parent.ClickDetector.MouseClick:connect(function(plr) game.ReplicatedStorage.dialogueevents.RemoteEvent:FireServer(plr,script.NPC_CHAT_1, script.NPC_CHAT_2, script.npcname) end) -- sss local event = game.ReplicatedStorage.dialogueevents.RemoteEvent event.OnServerEvent:connect(function(...) local args = {...} local plr = args[1] local gui = game.Players:FindFirstChild(plr.Name).PlayerGui.InitialDialogue.Frame local wplr = game.Workspace:FindFirstChild(plr.Name) local name = gui.Npc_Name local chat = gui.CHAT if gui.Visible == false then wplr.Humanoid.WalkSpeed = 0 gui.Visible = #### ######### = args[4].Value chat.Text = args[2].Value wait(5) chat.Text = args[3].Value wait(5) gui.Visible = false wplr.Humanoid.WalkSpeed = 16 end end) |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2017 10:11 AM |
gui.Visible = true na.Text = args[4].Value
|
|
|
| Report Abuse |
|
|
| |
|
qrushed
|
  |
| Joined: 10 Apr 2012 |
| Total Posts: 587 |
|
|
| 21 Jul 2017 10:32 AM |
whywouldanyonewanttoreadthat
use print()s to pinpoint where in the script it's going wrong if you can't find any errors. Useful for finding Logical errors and Syntactical errors |
|
|
| Report Abuse |
|
|