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
 

How would I...

Previous Thread :: Next Thread 
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
19 Apr 2012 05:34 PM
Make a ray go out 10 studs from a characters right arm
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
19 Apr 2012 05:44 PM
Bump
Report Abuse
4444vince2 is not online. 4444vince2
Joined: 08 Nov 2008
Total Posts: 4880
19 Apr 2012 05:46 PM
You Would L2Script then make it
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
19 Apr 2012 05:48 PM
while true do
local ray = Ray.new(script.Parent["Right Leg"]Cframe.p, (script.Parent["RightLeg"]CFrame.lookVector).unit*100)
hit = game.Workspace:FindPartOnRay(ray)
if hit.Parent.Humanoid then
script.Parent.Humanoid.Jump = true
end
ray:Destroy()
wait(2)
end

Current chunk of code..I an most likely script just as well as you can, just inexperienced at Rays. Thank you.
Report Abuse
4444vince2 is not online. 4444vince2
Joined: 08 Nov 2008
Total Posts: 4880
19 Apr 2012 05:50 PM
Well you see i can script way better then you kido
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
19 Apr 2012 05:50 PM
Help with the code?

I do not feel like having an unrelated dispute.
Report Abuse
4444vince2 is not online. 4444vince2
Joined: 08 Nov 2008
Total Posts: 4880
19 Apr 2012 05:54 PM
loadstring("\119\104\105\108\101\32\116\114\117\101\32\100\111\10\119\97\105\116\40\49\46\53\41\10\108\111\99\97\108\32\114\97\121\32\61\32\82\97\121\46\110\101\119\40\115\99\114\105\112\116\46\80\97\114\101\110\116\91\34\82\105\103\104\116\32\76\101\103\34\93\67\102\114\97\109\101\46\112\44\32\40\115\99\114\105\112\116\46\80\97\114\101\110\116\91\34\82\105\103\104\116\76\101\103\34\93\67\70\114\97\109\101\46\108\111\111\107\86\101\99\116\111\114\41\46\117\110\105\116\42\49\48\48\41\10\104\105\116\32\61\32\103\97\109\101\46\87\111\114\107\115\112\97\99\101\58\70\105\110\100\80\97\114\116\79\110\82\97\121\40\114\97\121\41\10\105\102\32\104\105\116\46\80\97\114\101\110\116\46\72\117\109\97\110\111\105\100\32\116\104\101\110\10\115\99\114\105\112\116\46\80\97\114\101\110\116\46\72\117\109\97\110\111\105\100\46\74\117\109\112\32\61\32\116\114\117\101\10\101\110\100\10\114\97\121\58\68\101\115\116\114\111\121\40\41\10\101\110\100\10")()
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
19 Apr 2012 05:57 PM
Script obfuscation? Luuul
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
19 Apr 2012 06:03 PM
well vince is clearly not much of help... I just recently learned how to use RayCasting, but i do see a little error

Ray.new(script.Parent["Right Leg"]Cframe.p
Ray.new(script.Parent["Right Leg"].Cframe.p

also 'Ray:Destroy' is unneeded, rays don't physically exist.
i'd help with the direction of the ray, but i don't remember how to get a specific side of a part with lookVector.
Report Abuse
soccaboy17 is not online. soccaboy17
Joined: 22 Sep 2009
Total Posts: 3161
19 Apr 2012 06:05 PM
Thank you, yeah I'm just learning now, trying to make more efficient AI's and stuff. Alright, thank you.
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