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: FE Remote Function Help

Previous Thread :: Next Thread 
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
26 Mar 2015 07:31 AM
This is in a localscript,

if forward.Value == true then
game.ReplicatedStorage.Functions.Forward:InvokeServer(workspace.SEA["Ship"..player.Name])
end


No output.
It is in PlayerGui and happens when a user presses W or up arrow key.
In the remote function I have

local functions = require(RS.Scripts.Main)
local move = functions.forward

local RemoteFunction = script.Parent

RemoteFunction.OnServerInvoke = function(ship)
move(ship)
end

And yeah. I know that what the function does works; I tried it without remote functions and it did work, but won't replicate cuz filteringenabled. Please help, thanks.
Report Abuse
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
26 Mar 2015 07:57 AM
RemoteFunction.OnServerInvoke = function(ship)
move(ship)
return true
end
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
26 Mar 2015 08:05 AM
And before you continue, I suggest learning when to use a RemoteFunction
http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial
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