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 » Scripting Helpers
Home Search
 

Re: Script help (Run)

Previous Thread :: Next Thread 
MidbusTheMinion is not online. MidbusTheMinion
Joined: 16 Aug 2011
Total Posts: 10632
28 Apr 2014 07:26 PM
The tool won't work with this, I guess it's old? What broke it?
speed = 32
script.Parent.Selected:connect(function(m)
humanoid = script.Parent.Parent.Parent.Character.Humanoid
m.Button1Down:connect(function()
humanoid.WalkSpeed = speed
end)
m.Button1Up:connect(function()
humanoid.WalkSpeed = 16
end)
end)
script.Parent.Deselected:connect(function()
humanoid.WalkSpeed = 16
end)
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
28 Apr 2014 07:28 PM
[ Content Deleted ]
Report Abuse
MidbusTheMinion is not online. MidbusTheMinion
Joined: 16 Aug 2011
Total Posts: 10632
28 Apr 2014 07:29 PM
I'll test this.
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
28 Apr 2014 07:30 PM
[ Content Deleted ]
Report Abuse
MidbusTheMinion is not online. MidbusTheMinion
Joined: 16 Aug 2011
Total Posts: 10632
28 Apr 2014 07:39 PM
Oh, and secondly, what do I do here? I'm making a game universe.
local place = script:FindFirstChild("PlaceId")
local spawn = script:FindFirstChild("DestinationSpawnName")--seacrh for the place

local placeId
local spawnName
if place then
placeId = place.Value
if spawn and spawn.Value then
spawnName = spawn.Value
game:GetService("TeleportService"):TeleportToSpawnByName(placeId, spawnName)--tele to the place u want it to
else
game:GetService("TeleportService"):Teleport(placeId) --change where it says place id to the place id of the place this person will go. found in the url
end
end
Report Abuse
MidbusTheMinion is not online. MidbusTheMinion
Joined: 16 Aug 2011
Total Posts: 10632
28 Apr 2014 07:47 PM
hi
Report Abuse
MidbusTheMinion is not online. MidbusTheMinion
Joined: 16 Aug 2011
Total Posts: 10632
28 Apr 2014 07:49 PM
what does this mean by "SpawnName?"
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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