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: Scripting Help

Previous Thread :: Next Thread 
hephzibah112 is not online. hephzibah112
Joined: 21 Sep 2012
Total Posts: 327
20 Jul 2016 06:15 PM
So, I found this; and I need help making it only available for me.
Can someome provide me with a script example so, I can make this, "Orb that follows me" only mine?

local LocalPlayer = game:GetService("Players").LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()

local Orb = Instance.new("Part", Character)
Orb.Name = "Orb"
Orb.Shape = Enum.PartType.Ball
Orb.CanCollide = false
Orb.BrickColor = BrickColor.new("Bright green")
Orb.Transparency = 0.25
Orb.Size = Vector3.new(2, 2, 2)
Orb.TopSurface = Enum.SurfaceType.Smooth
Orb.BottomSurface = Enum.SurfaceType.Smooth

local BodyPosition = Instance.new("BodyPosition", Orb)

while wait(0) do
BodyPosition.Position = Character.Head.CFrame:pointToWorldSpace(Vector3.new(2, 1, 0))
end


Report Abuse
j_ffrey is not online. j_ffrey
Joined: 12 Apr 2015
Total Posts: 262
20 Jul 2016 06:22 PM
instead of local player which makes it for everyone make it you


Report Abuse
hephzibah112 is not online. hephzibah112
Joined: 21 Sep 2012
Total Posts: 327
20 Jul 2016 06:27 PM
So it would be...

local Player = game:GetSever("Players".Player
Report Abuse
hephzibah112 is not online. hephzibah112
Joined: 21 Sep 2012
Total Posts: 327
20 Jul 2016 06:28 PM
*local Player = game:GetSever("Players").Player
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
20 Jul 2016 06:30 PM
Severing player's seems a bit dark.

Mutilated robloxians.
Report Abuse
hephzibah112 is not online. hephzibah112
Joined: 21 Sep 2012
Total Posts: 327
20 Jul 2016 06:40 PM
Would this work?


if script.Parent.Parent.Parent.Name == "hephzibah112" or script.Parent.Parent.Parent.Name == "Player1" then
print("Show Orb")
else
script.Parent:remove()
end
Report Abuse
hephzibah112 is not online. hephzibah112
Joined: 21 Sep 2012
Total Posts: 327
20 Jul 2016 06:49 PM
bump1
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