|
| 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
|
  |
| 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 |
|
|
|
| 19 Apr 2017 10:22 PM |
| Ahhh, silly me, thx so much ihope it fixes my script |
|
|
| Report Abuse |
|
|
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 |
|
|