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: meshes in scripts

Previous Thread :: Next Thread 
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
17 Oct 2015 06:41 PM
Yeh,

bomb2.BrickColor = BrickColor.new(21)
bomb2.Shape = "Block"
bomb2.Material = "DiamondPlate"
bomb2.Mesh What do i do?
bomb2.BottomSurface = 0
bomb2.TopSurface = 0
bomb2.Reflectance = 0
bomb2.Name = "TimeBomb"
bomb2.Locked = true



how to use meshes in scripts,
here's the mesh btw

bomb2.BrickColor = BrickColor.new(21)
http://www.roblox.com/asset/?id=64374853 [texture]
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
17 Oct 2015 06:45 PM


Bump
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
17 Oct 2015 06:48 PM
hgeeeeelllp
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
17 Oct 2015 06:50 PM
CMON HELP
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
17 Oct 2015 06:51 PM
Mesh.MeshId = "rbxassetid://ID"
Mesh.TextureId = "rbxassetid://ID"
Mesh.Scale = Vector3.new()



Instance.new("BodyVelocity",SenseiWarrior).velocity = CFrame.new(SenseiWarrior.Torso.Position,YourGirlsDMs.Position).lookVector * 10
Report Abuse
UFAIL2 is online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
17 Oct 2015 06:52 PM
bomb2.Mesh.TextudeId = "http://www.roblox.com/asset/?id=64374853"

?
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
17 Oct 2015 06:55 PM
isent working help




local bombScript = script.Parent.Bomb
local Tool = script.Parent
local Bomb = Tool.Handle

function plant()
local bomb2 = Instance.new("Part")

local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)

local spawnPos = Bomb.Position

bomb2.Position = Vector3.new(spawnPos.x, spawnPos.y+3, spawnPos.z)
bomb2.Size = Vector3.new(2,2,2)

bomb2.BrickColor = BrickColor.new(21)
bomb2.Shape = "Block"
bomb2.Material = "DiamondPlate"
bomb2.Mesh.TextudeId = <-----------------------------------------------
bomb2.BottomSurface = 0
bomb2.TopSurface = 0
bomb2.Reflectance = 0
bomb2.Name = "TimeBomb"
bomb2.Locked = true

local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = vPlayer
creator_tag.Name = "creator"
creator_tag.Parent = bomb2

bomb2.Parent = game.Workspace
local new_script = bombScript:clone()
new_script.Disabled = false
new_script.Parent = bomb2
end


Tool.Enabled = true
function onActivated()

if not Tool.Enabled then
return
end

Tool.Enabled = false

local character = Tool.Parent;
local humanoid = character.Humanoid
if humanoid == nil then
print("Humanoid not found")
return
end

local targetPos = humanoid.TargetPoint
Bomb.Transparency = 1.0

plant()

wait(6)
Bomb.Transparency = 0.0

Tool.Enabled = true
end

function onUnequipped()
end


Tool.Activated:connect(onActivated)
Tool.Unequipped:connect(onUnequipped)
Report Abuse
UFAIL2 is online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
17 Oct 2015 06:58 PM
If you can't find my typo can you script?
Report Abuse
pischokiller is not online. pischokiller
Joined: 16 Dec 2011
Total Posts: 3902
17 Oct 2015 06:59 PM
lmaoe dident see it
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