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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:08 PM
[ Content Deleted ]
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:12 PM
[ Content Deleted ]
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:15 PM
[ Content Deleted ]
Report Abuse
bob354293 is not online. bob354293
Joined: 26 Oct 2008
Total Posts: 2609
08 Apr 2014 01:15 PM
Starting to complicated
If you don't know lua, start off simple!
Start by making a tycoon or something
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:15 PM
[ Content Deleted ]
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:18 PM
[ Content Deleted ]
Report Abuse
bob354293 is not online. bob354293
Joined: 26 Oct 2008
Total Posts: 2609
08 Apr 2014 01:26 PM
@Neon, okay, whatever,
nobody on here would right a script for that
Just look in free models mr big head
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
08 Apr 2014 01:31 PM
@Neon:

That would take a very large//complex script, something that we just can't write for you in an instant.

Bob is right, start off smaller; you can't tackle this just yet.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
08 Apr 2014 01:32 PM
Hang on, I might have something to help you.
Try this:

Tool = script.Parent
gyro = Instance.new("BodyGyro")
script.Gyro.Value = gyro

onMouseMove=function(mouse)
vCharacter = Tool.Parent
if vCharacter ~= nil then
local tp = vCharacter.Humanoid.TargetPoint
tp = Vector3.new(tp.X,Tool.Parent.Torso.Position.Y,tp.Z)
local dir = (tp - Tool.Parent.Torso.Position).unit
local spawnPos = Tool.Parent.Torso.Position
local pos = spawnPos + (dir * 1)
script.Gyro.Value.cframe = CFrame.new(pos, pos + dir)
end
end

onEquipped=function(mouse)
for i,k in pairs(Tool.Parent.Torso:GetChildren()) do
if k:IsA("BodyGyro") then
k.Parent=nil
end
end
wait(0.1)
script.Gyro.Value.Parent = Tool.Parent:findFirstChild("Torso")
script.Gyro.Value.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
mouse.Move:connect(function() onMouseMove(mouse) end)
end

onUnequipped=function()
script.Gyro.Value.Parent = nil
wait(0.01)
for i,k in pairs(Tool.Parent.Torso:GetChildren()) do
if k:IsA("BodyGyro") then
k.Parent=nil
end
end
end

Tool.Equipped:connect(onEquipped)
Tool.Unequipped:connect(onUnequipped)
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
08 Apr 2014 01:33 PM
Insert an ObjectValue named "Gyro" into this script.
This is a Local Script inside of the tool.
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:36 PM
[ Content Deleted ]
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:39 PM
[ Content Deleted ]
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:42 PM
[ Content Deleted ]
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
08 Apr 2014 01:43 PM
"Insert an ObjectValue named "Gyro" into this script."

OP, read this VERY well and attentively.
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:44 PM
[ Content Deleted ]
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 01:49 PM
[ Content Deleted ]
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
08 Apr 2014 01:54 PM
He said name it Gyro. Check what he said too insert.
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 02:31 PM
[ Content Deleted ]
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
08 Apr 2014 02:36 PM
[ Content Deleted ]
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