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: Need help I be more specific

Previous Thread :: Next Thread 
alexthefalcon is not online. alexthefalcon
Joined: 03 Nov 2012
Total Posts: 219
03 Sep 2016 02:58 PM
Well The problem is this one a friend helped me to make me a tool that tool shoot strings I told him to make it shoot cubes instead of strings

This is the script I just did the basics he did well most work then me but all i need to know is simple how do i make it shoot Cubes Instead Of Strings

That's all I want to know.


local debounce = false
Player = script.Parent.Parent.Parent
function onButton1Down()
local char = Player.Character
local dance = Instance.new("Animation")
dance.AnimationId = "TYPE YOUR ANIMATION ID IN HERE!!"
local animloader = char.Humanoid:LoadAnimation(dance)
animloader:Play()
local pos
local m = Player:GetMouse()
local t = m.Hit
if t then
pos = t
local tor = Player.Character:WaitForChild("Torso")
local h = Player.Character:WaitForChild("Head")
tor.CFrame = CFrame.new(tor.Position,Vector3.new(t.X,tor.Position.Y,t.Z))
end
local x = Instance.new("Part")
x.Touched:connect(function(hit)
if hit.Name == "Torso" then
for i = 1,3 do
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -15
end
end
end)
x.BrickColor = BrickColor.new("Toothpaste")
x.Transparency = 0.4
x.Material = "Neon"
x.CanCollide = false
x.Size = Vector3.new(YOUR SIZE LIKE (4,4,4)
Player.Character.Humanoid.WalkSpeed = 0
x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0, 0, -13)
local Force = Instance.new("BodyVelocity", x)
Force.maxForce = Vector3.new(math.huge, math.huge, math.huge)
Force.Velocity = Player.Character.Torso.CFrame.lookVector*80
Force.Parent = x
x.Parent = game.Workspace
wait(5)
Player.Character.Humanoid.WalkSpeed = 16
game.Debris:AddItem(x, 1)
wait(6)
end
function onSelected(mouse)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end

script.Parent.Selected:connect(onSelected)
Report Abuse
Exonrix is not online. Exonrix
Joined: 25 Feb 2010
Total Posts: 706
03 Sep 2016 03:02 PM
x.Size = Vector3.new(YOUR SIZE LIKE (4,4,4)

change that line to

x.Size = Vector3.new(4, 4, 4)


Report Abuse
alexthefalcon is not online. alexthefalcon
Joined: 03 Nov 2012
Total Posts: 219
03 Sep 2016 03:04 PM
Thank you so much!! Seriously I want to reward you how about 500 robux but just let me buy more cause i got 13 only
Report Abuse
Exonrix is not online. Exonrix
Joined: 25 Feb 2010
Total Posts: 706
03 Sep 2016 03:05 PM
haha you're welcome, i don't need robux though


Report Abuse
Exonrix is not online. Exonrix
Joined: 25 Feb 2010
Total Posts: 706
03 Sep 2016 03:05 PM
i don't need any reward at all* sorry didn't word that correctly


Report Abuse
alexthefalcon is not online. alexthefalcon
Joined: 03 Nov 2012
Total Posts: 219
03 Sep 2016 03:07 PM
Well I'm Spanish And i know english well most of it so that is the point i want to learn to script so I'm watching the basics
Report Abuse
Exonrix is not online. Exonrix
Joined: 25 Feb 2010
Total Posts: 706
03 Sep 2016 03:08 PM
yeah i was referring to myself, and your english is great. look up lua tutorials on the wiki or youtube to get started


Report Abuse
alexthefalcon is not online. alexthefalcon
Joined: 03 Nov 2012
Total Posts: 219
03 Sep 2016 03:46 PM
If i want to put it sound ?
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