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: I need help with two things now!

Previous Thread :: Next Thread 
JoeRaptorisBack is not online. JoeRaptorisBack
Joined: 03 Apr 2017
Total Posts: 287
28 Jun 2017 06:07 PM


My first problem, this works in Roblox Studio perfectly but in Online play, it works incorrectly.

This is an on touch script for a 1-Up box. When I touch the 1-up box, an image in a gui moves -30 units to the left.

In studio the on touch part of the script works perfectly. But online, the on touch part of the script works multiple times at once, breaking the gui.

function Touch(Item)
if Item.Parent:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(Item.Parent) then
local PlayerGui = game.Players:GetPlayerFromCharacter(Item.Parent):WaitForChild("PlayerGui")
local g = PlayerGui.ScreenGui1.SonicLife.OnesPlace:WaitForChild("ImageLabel")
wait(0.3)
g.Position = g.Position - UDim2.new(0,30,0,0)
end
end

script.Parent.Touched:connect(Touch)
Report Abuse
JoeRaptorisBack is not online. JoeRaptorisBack
Joined: 03 Apr 2017
Total Posts: 287
28 Jun 2017 06:08 PM
Also how can I make the jumped event of a humanoid longer?
Report Abuse
MidnightFamiliar is not online. MidnightFamiliar
Joined: 09 Jun 2012
Total Posts: 29
28 Jun 2017 06:12 PM
This isn't where you ask for help
Report Abuse
JoeRaptorisBack is not online. JoeRaptorisBack
Joined: 03 Apr 2017
Total Posts: 287
28 Jun 2017 06:20 PM
This is the scripters forum....

Also where do I get help then?

Most likely... no one is going to answer me...
Report Abuse
JoeRaptorisBack is not online. JoeRaptorisBack
Joined: 03 Apr 2017
Total Posts: 287
28 Jun 2017 06:28 PM
This *is* the scripters forum where people get *help* with their scripts.

But right now I need help and I'm not getting it for some reason...
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