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
 

Help fix script,

Previous Thread :: Next Thread 
BorutoUzumaki01 is not online. BorutoUzumaki01
Joined: 06 Jul 2015
Total Posts: 10
19 Apr 2017 10:06 PM
Player = game.Players.LocalPlayer
Mouse = Player:GetMouse()

Mouse.KeyDown:connect(function(key)
key = key:lower()
if key == "f" then
local x = Instance.new("Part")
x.Shape = "Ball"
x.BrickColor = BrickColor.new("Bright orange")
x.Transparency = 0.5
x.TopSurface = "Smooth"
x.ButtomSurface = "Smooth"
x.CanCollide = false
x.Anchored = false
x.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,3,-12)
local v = Instance.new("BodyVelocity", x)
v.velocity = Player.Character.Torso.CFrame.lookVector * 90

v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
local f = Instance.new("Fire")
f.Size = 10
f.Parent = x


end)READ Buttomsurface is not a valid member of Part !!!!!!
end)
Report Abuse
BlupoV2 is online. BlupoV2
Joined: 12 Nov 2012
Total Posts: 543
19 Apr 2017 10:09 PM
ButtomSurface is not a valid member of Part.

Because you misspelled it. It's BottomSurface.

http://wiki.roblox.com/index.php?title=API:Class/BasePart/(side)Surface
Report Abuse
BorutoUzumaki01 is not online. BorutoUzumaki01
Joined: 06 Jul 2015
Total Posts: 10
19 Apr 2017 10:22 PM
Ahhh, silly me, thx so much ihope it fixes my script
Report Abuse
Cyrakohl is not online. Cyrakohl
Joined: 09 Nov 2014
Total Posts: 3197
19 Apr 2017 11:05 PM
Btw keydown is deprecated use UserinputService + InputBegan






R$117
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