Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help me spawn two of these?

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)

1 comment

0

It was a script for my brother so I put bro there :3

1 answer

✓ Accepted answer

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?

This discussion is preserved as it was. New answers, comments, and votes are closed.