|
| 15 May 2015 08:08 PM |
for i = 1,8 do wait(0.1) EarthBarrier.CFrame = EarthBarrier.CFrame +CFrame.new(0,1,0) end
Why won't it work? It's just around in the middle of my HopperBin script, which goes like this:
bin = script.Parent player = script.Parent.Parent.Parent me = script.Parent.Parent.Parent
enabled = true
function onButton1Down(mouse) if not enabled then return end
local player = game.Players.LocalPlayer if player == nil then return end enabled = false local animTrack = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Handsigns) animTrack:Play() wait(0.7) EarthBarrier = Instance.new("Part") EarthBarrier.BrickColor = BrickColor.new("Brown") EarthBarrier.Size = Vector3.new(21, 10, 4) EarthBarrier.TopSurface = "Smooth" EarthBarrier.Material = "Cobblestone" EarthBarrier.BottomSurface = "Smooth" EarthBarrier.Name = ("EarthBarrier") EarthBarrier.CanCollide = false EarthBarrier.Parent = game.Workspace EarthBarrier.CFrame = me.Character.Torso.CFrame*CFrame.new(0, -8, -12) -- orig -12 --Sparks = Instance.new("ParticleEmitter") --Sparks.Parent = EarthBarrier --Sparks.Speed = NumberRange.new(1) --Sparks.Transparency = NumberSequence.new(0.25,0.25) --Sparks.Size = NumberSequence.new(0.7,0.7) --Sparks.Rate = 1500 --Sparks.Lifetime = NumberRange.new(20) for i = 1,8 do wait(0.1) EarthBarrier.CFrame = EarthBarrier.CFrame +CFrame.new(0,1,0) end fd = script.Firedamage:clone() fd.Disabled = false fd.Parent = EarthBarrier y = Instance.new("BodyVelocity") y.maxForce = Vector3.new(math.huge, math.huge, math.huge) y.velocity = me.Character.Torso.CFrame.lookVector*150 --Change the number here for the speed of the jutsu. y.Parent = EarthBarrier game.Debris:AddItem(EarthBarrier, 6) RandomNumber = math.random(5,15) game.Players.LocalPlayer.leaderstat.EXP.Value = game.Players.LocalPlayer.leaderstat.EXP.Value - RandomNumber game.Players.LocalPlayer.PlayerGui.Chakra.ChakraStored.Value = game.Players.LocalPlayer.PlayerGui.Chakra.ChakraStored.Value - 20 game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Earth Release: Rock Crash!") script.Parent.Jutsu:Play() wait(6) enabled = true end
enabled = true function onS(mouse) mouse.Button1Down:connect(function() onButton1Down(mouse) end) end bin.Selected:connect(onS) |
|
|
| Report Abuse |
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 15 May 2015 08:21 PM |
| maybe it's too fast to see? |
|
|
| Report Abuse |
|
|
| 15 May 2015 08:23 PM |
| No. I figured it out, but it's another problem IDK how to handle. Lol |
|
|
| Report Abuse |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 15 May 2015 08:24 PM |
for i = 1,8 do wait(0.1) EarthBarrier.CFrame = EarthBarrier.CFrame * CFrame.new(0,1,0) end
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
| 15 May 2015 08:24 PM |
Use * instead of +
If that don't work use a Tool |
|
|
| Report Abuse |
|