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
 

Have fun...

Previous Thread :: Next Thread 
LOBOT44 is not online. LOBOT44
Joined: 03 Feb 2010
Total Posts: 23539
16 Jul 2012 05:25 PM
rying to make it so that if the players mouse goes over something it spawns a brick to the mouse's position.

local player = script.Parent.Parent.Parent.Backpack
local NewPart = Instance.new("Part")

function MouseHover(workspace)
if player.Backpack.3 TntBricks.Equipped = true then
NewPart.Parent = game.Workspace
NewPart.Size = (4, 3.2, 4_
NewPart.Position = MouseHover.Position
if player.Backpack.3 Tntbricks.Notequipped = false then
NewPart:remove()
end
end
end

Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
16 Jul 2012 05:30 PM
1, Title makes no sense.....
2, (4, 3,2, 4)*
3, you need a connection line
4, spaces in names make errors.
5, so right when it's equipped, if it's not equipped in that same second it removes the NewPart?
6, use :Destroy()
7, 'Notequipped'?????
8, use '==' instead of '=' when comparing values.
Report Abuse
Sonofmetal is not online. Sonofmetal
Joined: 07 Feb 2012
Total Posts: 1159
16 Jul 2012 05:56 PM
Idk how to help and good luck with that BUT i have some ADVISE try using the clone function it COULD help idk really though :P
Report Abuse
1pie23 is not online. 1pie23
Joined: 11 Jul 2010
Total Posts: 1865
16 Jul 2012 05:58 PM
@Son clone method*
Report Abuse
Sonofmetal is not online. Sonofmetal
Joined: 07 Feb 2012
Total Posts: 1159
16 Jul 2012 06:01 PM
LOL fail sry :'D
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