Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Help me spawn two of these?

Asked by
neoG457 315 Moderation Voter
10 years ago

The script works perfectly but I would like to know how to make it spawn to Spike Balls

local enabled = true Player = script.Parent.Parent --Player:WaitForDataReady() mouse = Player:GetMouse() run = game:GetService("RunService") function onKeyDown(key) if not enabled then return end enabled = false Key = key:lower() if key == "x" then -- change the key RightShoulder = Player.Character.Torso["Right Shoulder"] LeftShoulder = Player.Character.Torso["Left Shoulder"] Run = game:GetService("RunService") for i = 1, 2 do for i = 1, 12 do LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.16) RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16) RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0.1, 0) LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0.1, 0) Run.Stepped:wait(0.01) end for i = 1, 12 do LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0.1, 0) RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0.1, 0) LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0.16) RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.16) Run.Stepped:wait(0.005) end end for i = 1, 12 do LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.16) RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.16) -- DONT CHANGE ANY OF THIS!!!!!! RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0.1, 0) LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0.1, 0) Run.Stepped:wait(0.005) end game:GetService("Chat"):Chat(Player.Character.Head, "SHADOW BALL!")-- Change this if you want to say something else x = Instance.new ("Part", game.workspace) Instance.new ("SpecialMesh", x) x.Mesh.MeshId = "http://www.roblox.com/Asset/?id=9982590"

    x.BrickColor = BrickColor.new("Really black")-- Colour
    x.Mesh.Scale = Vector3.new(10, 10, 10)-- Change the size
    x.TopSurface = "Smooth"
    x.BottomSurface = "Smooth"
    x.Name = Player.Name
    x.CanCollide = true -- If you want the attack to knock your oppenent away say 'true' if you want it to not move them say 'false'
    x.Transparency = 0 -- Obvious what this does transparency You know what to do bro
    fd = script.Firedamage:clone()
    fd.Parent = x
    y = Instance.new("BodyVelocity")-- 49 TO 53 is how to make it go
    y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
    y.velocity = Player.Character.Torso.CFrame.lookVector*80 -- This is speed change it to make it go faster or slower
    x.Parent = Workspace
    y.Parent = x
    f = Instance.new("Fire", x)-- Get rid of 54 TO 56 if you dont want fire
    f.Size = 25
    f.Heat = 0
    x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0, 0, -12)
    fd.Disabled = false
    game.Debris:AddItem(x, 6)
    wait(0.25)
    for i = 1, 12 do
        LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0.1, 0)
        RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, -0.1, 0)
        LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, 0.16)
        RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.16)
        Run.Stepped:wait(0.01)
    end
end

wait(2) enabled = true end

mouse.KeyDown:connect(onKeyDown)

0
It was a script for my brother so I put bro there :3 neoG457 315 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

I don't really understand what you're talking about. Is there a point in this question? What are you talking about? What ball spikes?

Ad

Answer this question