generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Why won't this work?

Previous Thread :: Next Thread 
TwentyOneFroot is not online. TwentyOneFroot
Joined: 29 Jan 2012
Total Posts: 156
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
TwentyOneFroot is not online. TwentyOneFroot
Joined: 29 Jan 2012
Total Posts: 156
21 Jul 2017 10:11 AM
gui.Visible = true
na.Text = args[4].Value


Report Abuse
TwentyOneFroot is not online. TwentyOneFroot
Joined: 29 Jan 2012
Total Posts: 156
21 Jul 2017 10:29 AM
bump!


Report Abuse
qrushed is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image