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 » Scripting Helpers
Home Search
 

Re: Free Script Builder Scripts, Share Your Scripts!

Previous Thread :: Next Thread 
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:40 AM
I have Few:


Nyan Cat:

Rainbow = {"Bright red", "Neon orange", "Bright yellow", "Lime green", "Deep blue", "Bright violet"}me = game.Players.YOURNAMEHEREfunction Part(P, Anch, Coll, Tran, Ref, Col, Size, Name)local p = Instance.new("Part")p.TopSurface = 0p.BottomSurface = 0p.Transparency = Tranp.Reflectance = Refp.CanCollide = Collp.Anchored = Anchp.BrickColor = BrickColor.new(Col)p.formFactor = "Custom"p.Size = Sizeif Name then p.Name = Name endp.Parent = Pp.Locked = truep:BreakJoints()return pendV3 = Vector3.newCN = CFrame.newCA = CFrame.AnglesMR = math.radMRA = math.randomfunction Weld(P0, P1, CF1, CF2, Name)local w = Instance.new("Motor6D")w.Part0 = P0w.Part1 = P1w.C0 = CF1w.C1 = CF2if Name then w.Name = Name endw.Parent = P0return wendfunction MakeNyan(Player, S)local Naim = "Nyan "..Player.Name:sub(1,5)if S >= 5 then Naim = "Giant Nyan "..Player.Name:sub(1,5) endlocal Model = Instance.new("Model")Model.Name = Naimlocal Torso = Part(Model, false, false, 0, 0, "Brick yellow", V3(0.5*S, 1.5*S, 2*S), "Torso")local Head = Part(Model, false, false, 0, 0, "Dark grey", V3(0.6*S, 0.8*S, 1.2*S), "Head")Instance.new("BlockMesh",Head)local Neck = Weld(Torso, Head, CN(0, -0.35*S, -0.9*S), CN(), "Neck")local Tart = Part(Model, false, false, 0, 0, "Pink", V3(0.5*S+0.05, 1.2*S, 1.7*S), "Torso")Instance.new("BlockMesh",Tart)Weld(Torso, Tart, CN(), CN())local RFL = Part(Model, false, false, 0, 0, "Dark grey", V3(0.4*S, 0.6*S, 0.4*S), "Right Arm")Instance.new("SpecialMesh",RFL).MeshType = "Sphere"local LFL = Part(Model, false, false, 0, 0, "Dark grey", V3(0.4*S, 0.6*S, 0.4*S), "Left Arm")Instance.new("SpecialMesh",LFL).MeshType = "Sphere"local RBL = Part(Model, false, false, 0, 0, "Dark grey", V3(0.4*S, 0.6*S, 0.4*S), "Right Leg")Instance.new("SpecialMesh",RBL).MeshType = "Sphere"local LBL = Part(Model, false, false, 0, 0, "Dark grey", V3(0.4*S, 0.6*S, 0.4*S), "Left Leg")Instance.new("SpecialMesh",LBL).MeshType = "Sphere"local RSH = Weld(Torso, RFL, CN(), CN(-0.1*S, 0.8*S, 0.8*S), "Right Shoulder")local LSH = Weld(Torso, LFL, CN(), CN(0.1*S, 0.8*S, 0.6*S), "Left Shoulder")local RH = Weld(Torso, RBL, CN(), CN(-0.1*S, 0.8*S, -0.8*S), "Right Hip")local LH = Weld(Torso, LBL, CN(), CN(0.1*S, 0.8*S, -1*S), "Left Hip")local Mouth = Part(Model, false, false, 0, 0, "Really black", V3(0.6*S+0.05, 0.2*S, 0.6*S))Weld(Head, Mouth, CN(0, -0.25*S, -0.1), CN())Instance.new("BlockMesh",Mouth).Scale = V3(1, 0.6, 0.8)for i = -0.25, 0.25, 0.25 dolocal Mouth2 = Part(Model, false, false, 0, 0, "Really black", V3(0.6*S+0.05, 0.3*S, 0.2*S))Weld(Mouth, Mouth2, CN(0, 0.1*S, i*S), CN())Instance.new("BlockMesh",Mouth2).Scale = V3(1, 0.6, 0.6)endlocal Nose = Part(Model, false, false, 0, 0, "Really black", V3(0.6*S+0.05, 0.2*S, 0.2*S))Weld(Head, Nose, CN(0, 0.05*S, -0.1*S), CN())Instance.new("BlockMesh",Nose).Scale = V3(1, 0.6, 0.6)for i = -0.3, 0.31, 0.6 dolocal Eye = Part(Model, false, false, 0, 0, "Really black", V3(0.6*S+0.05, 0.3*S, 0.3*S))Weld(Head, Eye, CN(0, 0.15*S, (i-0.1)*S), CN())local Eye2 = Part(Model, false, false, 0, 0, "Institutional white", V3(0.6*S+0.1, 0.2*S, 0.2*S))Weld(Eye, Eye2, CN(0, 0.04*S, 0.04*S), CN())Instance.new("BlockMesh",Eye).Scale = V3(1, 0.6, 0.6)Instance.new("BlockMesh",Eye2).Scale = V3(1, 0.4, 0.4)endfor i = -0.4, 0.5, 0.9 dolocal Cheek = Part(Model, false, false, 0, 0, "Medium red", V3(0.6*S+0.05, 0.2*S, 0.2*S))Instance.new("BlockMesh",Cheek).Scale = V3(1, 0.8, 0.8)Weld(Head, Cheek, CN(0, -0.05*S, (i-0.1)*S), CN())endfor i = -80, -140, -20 dolocal tail = Part(Model, false, false, 0, 0, "Dark grey", V3(0.4*S, 0.25*S, 0.3*S))Weld(Torso, tail, CN(0, 0.2*S, 1.15*S) * CA(MR(i), 0, 0), CN(0, 0, 0.5*S))Instance.new("BlockMesh",tail)endfor i = 0, 180, 180 dolocal ear = Part(Model, false, false, 0, 0, "Dark grey", V3(0.6*S, 0.4*S, 0.5*S))Instance.new("SpecialMesh",ear).MeshType = "Wedge"Weld(Head, ear, CN(0, 0.45*S, 0) * CA(0, MR(i), 0), CN(0, 0, -0.32*S) * CA(MR(15), 0, 0))endlocal Hum = Instance.new("Humanoid")Hum.Name = "Humanoid"Hum.MaxHealth = 100Hum.Health = 100Hum.WalkSpeed = 11+(5*S)Hum.Parent = ModelModel.Parent = workspaceModel:MakeJoints()Model:MoveTo(V3(0, 2*S, 0))Player.Character = Modellocal lastP = (Torso.CFrame * CN(0, 0, 0.9*S)).plocal function runn()for i = 0.5, 1, 0.5 doRSH.C0 = CN(0, -(0.2*S)*i, 0)LSH.C0 = CN(0, -(0.2*S)*i, 0)RH.C0 = CN(0, -(0.2*S)*i, 0)LH.C0 = CN(0, -(0.2*S)*i, 0)wait()endfor i = 0.5, 1, 0.5 doRSH.C0 = CN(0, -(0.2*S), (0.2*S)*i)LSH.C0 = CN(0, -(0.2*S), (0.2*S)*i)RH.C0 = CN(0, -(0.2*S), (0.2*S)*i)LH.C0 = CN(0, -(0.2*S), (0.2*S)*i)wait()endfor i = 0.5, 1, 0.5 doRSH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))LSH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))RH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))LH.C0 = CN(0, -(0.2*S)+(0.2*S)*i, (0.2*S))wait()endfor i = 0.5, 1, 0.5 doRSH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)LSH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)RH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)LH.C0 = CN(0, 0, (0.2*S)-(0.2*S)*i)wait()endendlocal poss = "Standing"coroutine.resume(coroutine.create(function()while Player.Character == Model dowait(0.1)if poss == "Running" thenrunn()endendend))coroutine.resume(coroutine.create(function()while Player.Character == Model dowait(0.1)local speed = Torso.Velocity.magnitudelocal posnow = (Torso.CFrame * CN(0, 0, 0.9*S)).pcoroutine.resume(coroutine.create(function()if speed > 2 thenposs = "Running"local ps = {}for i,v in pairs(Rainbow) dolocal a = (#Rainbow-i)a = ((a-(a/2))/2.5)*Slocal pp = Part(Model, true, false, 0, 0, v, V3(0.2, 0.2, 0.2), "Rainbow")local dist = (posnow - lastP).magnitudeInstance.new("BlockMesh",pp).Scale = V3(1, ((1.4*S)/#Rainbow)*5, dist*5)pp.CFrame = CN(lastP, posnow) * CN(0, a, -dist/2)table.insert(ps, pp)endcoroutine.resume(coroutine.create(function()wait(10)for i = 0, 1, 0.2 dowait()for _,v in pairs(ps) dov.Transparency = iendendfor _,v in pairs(ps) dov:remove()endend))else poss = "Standing" endend))lastP = posnowendend))end--for i,v in pairs(game.Players:GetPlayers()) do-- MakeNyan(v, MRA(10,120)/10)--endMakeNyan(me, 1)


--------------------------------------
And:
--------------------------------------



Knife:

me = game.Players.djface203

char = me.Character

selected = false

attacking = false

hurt = false

grabbed = nil

mode = "drop"

bloodcolors = {"Really red", "Bright red"}



function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)

part.Parent = parent

part.formFactor = form

part.CanCollide = collide

part.Transparency = tran

part.Reflectance = ref

part.Size = Vector3.new(x,y,z)

part.BrickColor = BrickColor.new(color)

part.TopSurface = 0

part.BottomSurface = 0

part.Anchored = anchor

part.Locked = true

part:BreakJoints()

end


function weld(w, p, p1, a, b, c, x, y, z)

w.Parent = p

w.Part0 = p

w.Part1 = p1

w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)

end


function mesh(mesh, parent, x, y, z, type)

mesh.Parent = parent

mesh.Scale = Vector3.new(x, y, z)

mesh.MeshType = type

end


function remgui()

for _,v in pairs(me.PlayerGui:GetChildren()) do

if v.Name == "Modeshow" then

v:remove()

end

end

end


function inform(text,delay)

remgui()

local sc = Instance.new("ScreenGui")

sc.Parent = me.PlayerGui

sc.Name = "Modeshow"

local bak = Instance.new("Frame",sc)

bak.BackgroundColor3 = Color3.new(1,1,1)

bak.Size = UDim2.new(0.94,0,0.1,0)

bak.Position = UDim2.new(0.03,0,0.037,0)

bak.BorderSizePixel = 0

local gi = Instance.new("TextLabel",sc)

gi.Size = UDim2.new(0.92,0,0.09,0)

gi.BackgroundColor3 = Color3.new(0,0,0)

gi.Position = UDim2.new(0.04,0,0.042,0)

gi.TextColor3 = Color3.new(1,1,1)

gi.FontSize = "Size12"

gi.Text = text

coroutine.resume(coroutine.create(function()

wait(delay)

sc:remove()

end))

end


if char:findFirstChild("Bricks",true) then

char:findFirstChild("Bricks",true):remove()

end


bricks = Instance.new("Model",me.Character)

bricks.Name = "Bricks"


--Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------


rarm = char:findFirstChild("Right Arm")

larm = char:findFirstChild("Left Arm")

lleg = char:findFirstChild("Left Leg")

torso = char:findFirstChild("Torso")

hum = char:findFirstChild("Humanoid")


righthold = Instance.new("Part")

prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w11 = Instance.new("Weld")

weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)


lefthold = Instance.new("Part")

prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w12 = Instance.new("Weld")

weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)


hold = Instance.new("Part")

prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Really red", false, "Custom")

oh = Instance.new("Weld")

weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)


knife = Instance.new("Part")

prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Really black", false, "Custom")

orr = Instance.new("Weld")

weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)

ar = Instance.new("Weld")

weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)



blade = Instance.new("Part")

prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")

Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)

w2 = Instance.new("Weld")

weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)


blade2 = Instance.new("Part")

prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")

local mew = Instance.new("SpecialMesh",blade2)

mew.MeshType = "Wedge"

mew.Scale = Vector3.new(0.3,1,1)

w3 = Instance.new("Weld")

weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)





rb = Instance.new("Part")

prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w13 = Instance.new("Weld")

weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)


lb = Instance.new("Part")

prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w14 = Instance.new("Weld")

weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)


rw = Instance.new("Weld")

weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)


lw = Instance.new("Weld")

weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)


grabweld = nil

platlol = nil

lolhum = nil


function touch(h)

if hurt then

if grabbed == nil then

local hu = h.Parent:findFirstChild("Humanoid")

local head = h.Parent:findFirstChild("Head")

local torz = h.Parent:findFirstChild("Torso")

if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then

if hu.Health > 0 then

grabbed = torz

hu.PlatformStand = true

local w = Instance.new("Weld")

weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)

grabweld = w

lolhum = hu

local lolxd = true

platlol = lolxd

hu.Changed:connect(function(prop)

if prop == "PlatformStand" and platlol then

hu.PlatformStand = true

end

end)

end

end

end

end

end


righthold.Touched:connect(touch)

lefthold.Touched:connect(touch)


function bleed(part,po)

local lol1 = math.random(5,30)/100

local lol2 = math.random(5,30)/100

local lol3 =math.random(5,30)/100

local lol4 = math.random(1,#bloodcolors)

local p = Instance.new("Part")

prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")

p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)

p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)

p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)

coroutine.resume(coroutine.create(function()

wait(3)

p:remove()

end))

end


if script.Parent.className ~= "HopperBin" then

h = Instance.new("HopperBin",me.Backpack)

h.Name = "Grab"

script.Parent = h

end


bin = script.Parent


function select(mouse)

orr.Part1 = nil

ar.Part1 = knife

mouse.Button1Down:connect(function()

if attacking == false then

attacking = true

lw.Part1 = larm

rw.Part1 = rarm

hurt = true

for i=1, 8 do

rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)

lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)

wait()

end

wait(1)

hurt = false

if grabbed == nil then

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

attacking = false

end

elseif hurt == false and grabbed ~= nil and mode == "drop" then

grabweld:remove()

grabweld = nil

platlol = false

grabbed = nil

lolhum.PlatformStand = false

lolhum = nil

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

attacking = false

platlol = nil

elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then

grabweld:remove()

grabweld = nil

local bf = Instance.new("BodyForce",grabbed)

bf.force = torso.CFrame.lookVector * 8500

bf.force = bf.force + Vector3.new(0,7400,0)

coroutine.resume(coroutine.create(function()

wait(0.12)

bf:remove()

end))

for i=1, 6 do

rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)

lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)

wait()

end

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)

lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)

wait()

end

wait(0.2)

platlol = false

grabbed = nil

lolhum.PlatformStand = false

lolhum = nil

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

attacking = false

platlol = nil

elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then

for i=1, 5 do

lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)

wait()

end

local ne = grabbed:findFirstChild("Neck")

coroutine.resume(coroutine.create(function()

local duh = grabbed

local duh2 = grabbed.Parent.Head

local lolas = lolhum

duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))

for i=1, 60 do

wait()

local hm = math.random(1,9)

pcall(function()

if hm == 1 then

duh2.Sound.Pitch = math.random(90,110)/100

duh2.Sound:play()

end

end)

if hm > 0 and hm < 3 then

bleed(duh,1)

bleed(duh2,-0.5)

end

end

lolas.Health = 0

for i=1, 85 do

wait()

local hm = math.random(1,9)

pcall(function()

if hm == 1 then

duh2.Sound.Pitch = math.random(90,110)/100

duh2.Sound:play()

end

end)

if hm > 0 and hm < 3 then

bleed(duh,1)

bleed(duh2,-0.5)

end

end

end))

for i=1, 3 do

lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)

if ne ~= nil then

grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)

end

wait()

end

grabweld:remove()

grabweld = nil

for i=1, 4 do

lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)

wait()

end

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

platlol = false

grabbed = nil

lolhum = nil

attacking = false

platlol = nil

end

end)

mouse.KeyDown:connect(function(kai)

key = kai:lower()

if key == "q" then

mode = "drop"

inform("Mode: Drop",2)

elseif key == "e" then

mode = "throw"

inform("Mode: Throw",2)

elseif key == "f" then

mode = "kill"

inform("Mode: Kill",2)

end

end)

end


function desel()

repeat wait() until attacking == false

orr.Part1 = knife

ar.Part1 = nil

end


bin.Selected:connect(select)

bin.Deselected:connect(desel)


char.Humanoid.Died:connect(function()

pcall(function()

grabweld:remove()

grabweld = nil

grabbed = nil

platlol = false

platlol = nil

end)

end)


inform("Grab script loaded succesfully.",2)
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:42 AM
This will Make you OBC:
game.Players.YourNameHere.MembershipTypeReplicate = 3

0=No-BC
1=BC
2=TBC
3=OBC
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:44 AM
Raining Ducks:

print("It's raining ducks!")

while true do
wait ()
c = Instance.new("Part")
c.Position = Vector3.new(math.random(-100,100),math.random(0,50),math.random(-100,100))
c.Size = Vector3.new(1, 1, 1)
c.BrickColor = BrickColor.new("New Yeller")
c.CanCollide = false
c.Locked = true
c.Anchored = false
c.Parent = game.Workspace

mesh = Instance.new("SpecialMesh")
mesh.MeshId = ("http://www.roblox.com/asset/?id=9419831")
mesh.Scale = Vector3.new(7,7,7)
mesh.Parent = c
mesh.TextureId = ("http://www.roblox.com/asset/?id=9419827")

end
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:46 AM
Batman script:

me = game.Players.YourNameHere

h = Instance.new("HopperBin",me.Backpack)

h.Name = "Batman"

script.Parent = h



bin = script.Parent

hold = false



deb = false



torso = me.Character.Torso

rarm = torso["Right Shoulder"]

larm = torso["Left Shoulder"]

leftnorm = larm.C0

rightnorm = rarm.C0



part = Instance.new("Part",me.Character)

part.Size = Vector3.new(1,1,1)

part.Position = Vector3.new(0,10,0)

part.CanCollide = false

part.Transparency = 1



weld = Instance.new("Weld",torso)

weld.Part0 = torso

weld.Part1 = part

weld.C1 = CFrame.fromEulerAnglesXYZ(-1.57,0,0) * CFrame.new(0,0,0)



wings = part:clone()

wings.Parent = me.Character

wings.Transparency = 0



mesh = Instance.new("SpecialMesh",wings)

mesh.MeshType = "FileMesh"

mesh.MeshId = "http://www.roblox.com/asset/?id=19367744"

mesh.TextureId = "http://www.roblox.com/asset/?id=19367734"

mesh.Scale = Vector3.new(2,2,2)



w2 = Instance.new("Weld",torso)

w2.Part0 = w2.Parent

w2.Part1 = wings

w2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.2,-2)



brick = part:clone()

brick.Parent = me.Character



wah = Instance.new("Weld",torso)

wah.Part0 = torso

wah.Part1 = brick

wah.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-1.2,-0.5,0)



rw = Instance.new("Weld",brick)

rw.Part0 = nil

rw.Part1 = nil

rw.C1 = CFrame.fromEulerAnglesXYZ(-0.6,-0.1,-0.2) * CFrame.new(0,0.5,0.3)



star = Instance.new("Part",game.Lighting)

star.formFactor = "Plate"

star.Size = Vector3.new(1,0.4,1)

star.CanCollide = false

star:BreakJoints()



starmesh = Instance.new("SpecialMesh",star)

starmesh.MeshType = "FileMesh"

starmesh.MeshId = "http://www.roblox.com/asset/?id=11376946"

starmesh.TextureId = "http://www.roblox.com/asset/?id=11376931"

starmesh.Scale = Vector3.new(3,3,3)



speed = 0

maxspeed = 100



bin.Selected:connect(function(mouse)

speed = 0

rw.Part0 = brick

rw.Part1 = me.Character["Right Arm"]

star.Parent = me.Character

wepweld = Instance.new("Weld",me.Character["Right Arm"])

wepweld.Part0 = wepweld.Parent

wepweld.Part1 = star

wepweld.C1 = CFrame.fromEulerAnglesXYZ(1.57,1,0) * CFrame.new(0,1.4,0)

mouse.Button1Down:connect(function()

if deb then return end

deb = true

hold = true

me.Character.Humanoid.PlatformStand = true

bg = Instance.new("BodyGyro",part)

bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)

bv = Instance.new("BodyVelocity",part)

bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)

bg.cframe = CFrame.new(part.Position, mouse.Hit.p)

bv.velocity = part.CFrame.lookVector * speed

while hold do

wait()

speed = speed + 2

if speed >= maxspeed then

speed = maxspeed

end

bg.cframe = CFrame.new(part.Position, mouse.Hit.p)

bv.velocity = part.CFrame.lookVector * speed

end

end)

mouse.Button1Up:connect(function()

hold = false

me.Character.Humanoid.PlatformStand = false

for i = speed, 0, -8 do

wait()

speed = i

bv.velocity = part.CFrame.lookVector * speed

end

bg:remove()

bv:remove()

deb = false

end)

mouse.KeyDown:connect(function(key)

key = key:lower()

if key == "q" then

local bav = Instance.new("BodyAngularVelocity",torso)

bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)

bav.angularvelocity = torso.CFrame.lookVector * -10

wait(0.6)

bav:remove()

elseif key == "e" then

local bav = Instance.new("BodyAngularVelocity",torso)

bav.maxTorque = Vector3.new(math.huge,math.huge,math.huge)

bav.angularvelocity = torso.CFrame.lookVector * 10

wait(0.6)

bav:remove()

elseif key == "f" then

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(0.1,0.05,-0.3)

wait()

end

for i=1, 3 do

rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0.1,0.4)

wait()

end

local throw = star:clone()

throw.Parent = workspace

throw.CanCollide = true

throw.CFrame = star.CFrame * CFrame.new(0,0,-2)

throw.CFrame = CFrame.new(throw.Position, mouse.Hit.p)

throw.Velocity = throw.CFrame.lookVector * 230

for i=1, 3 do

rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0.1,0.4)

wait()

end

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,-0.3)

wait()

end

rw.C0 = CFrame.new(0,0,0)

end

end)

end)



bin.Deselected:connect(function()

rw.Part0 = nil

rw.Part1 = nil

star.Parent = game.Lighting

speed = 0

end
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:47 AM
Troll Script:


c = script:Clone()
c.Parent = game.Lighting
s = Instance.new("Sky")
s.Name = "loltroll"
s.SkyboxBk = "http://www.roblox.com/asset/?id=62866150"
s.SkyboxDn = "http://www.roblox.com/asset/?id=62866150"
s.SkyboxFt = "http://www.roblox.com/asset/?id=62866150"
s.SkyboxLf = "http://www.roblox.com/asset/?id=62866150"
s.SkyboxRt = "http://www.roblox.com/asset/?id=62866150"
s.SkyboxUp = "http://www.roblox.com/asset/?id=62866150"
s.Parent = game.Lighting

while true do
wait(0.225555)
t = game.Teams:GetChildren()
for i = 1, #t do
if t[i] == true then
t[i].Name = math.random()
end
end
p = game.Players:GetChildren()
for i = 1, #p do
o = p[i].Character:GetChildren()
for i = 1, #o do
if o[i].ClassName == "Part" then
q = Instance.new("SpecialMesh", o[i])
q.MeshType = math.random(1,11)
end
end
end
w = game.Workspace:GetChildren()
for i = 1, #w do
if w[i].ClassName == "Part" then
m = Instance.new("SpecialMesh", w[i])
m.MeshType = math.random(1,11)
elseif w[i].ClassName == "Model" then
mo = w[i]:GetChildren()
for i = 1, #mo do
if mo[i].ClassName == "Part" then
m = Instance.new("SpecialMesh", w[i])
m.MeshType = math.random(1,11)
end
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:49 AM
Super Jump:

local b = Instance.new("BodyForce")
b.force = Vector3.new(0,1300,0)
b.Parent = game.Workspace.YourNameHere.Torso
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:50 AM
Random Script:

game.Players.YourNameHere.CharacterAppearance = "http://www.roblox.com/asset/?id=81396901"wait(1) game.Workspace.Dman2435.Head:Remove()
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
13 Aug 2012 06:59 AM
Forcefield:

h=Instance.new("ForceField")
h.Parent = game.Workspace.YourNameHere


Disco head:

while true do
wait(.1)
game.Players.YourName.Character.Head.BrickColor = BrickColor.Random()
end


Make Your Head Turn:

for X = 1, math.huge, 0.1 do
wait()
game.Workspace.YOURNAMEHERE.Torso.Neck.C0 = CFrame.new(0,1.5,0) CFrame.fromAxisAngle(Vector3.new(0,1,0),X)
game.Workspace.YOURNAMEHERE.Torso.Neck.C1 = CFrame.new(0,0,0)
end


Head Fire Script:
f = Instance.new("Fire") f.Parent = game.
Workspace.aballoon.Head
Report Abuse
romaster512 is not online. romaster512
Joined: 13 Mar 2009
Total Posts: 1250
13 Aug 2012 07:03 AM
If you're kicked, everyone gets kicked:

Game.Players,ChildRemoved:connect(function(plyr)
if plyr.Name == "YOURNAMEHERE" then
local b = game.Players:GetChildren()
b:Destroy()
end
end)

-- That should work, on phone.
Report Abuse
MrChickens is not online. MrChickens
Joined: 21 Feb 2009
Total Posts: 1076
13 Aug 2012 07:22 AM
Thanks! I'm using the OP's scripts at my place.
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
16 Aug 2012 12:39 PM
WarHammer:


me = game.Players.YOUR NAME HERE
char = me.Character
Modelname = "Warhammah"
Toolname = "Warhammar"
Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
selected = false
effectOn = false
Hurt = false
Leghurt = false
Deb = true
LegDeb = true
Able = true
Resting = false
RestingAnim = false
AbleG = true
Prop = {Damage = 42, Legdmg = 34, AS = 28, ShockDMG = 50, Rage = 7000000, RageIncome = 7000, MaxRage = 7000000}
Prop.AS = Prop.AS/300
Cam = workspace.CurrentCamera

ToolIcon = "http://www.roblox.com/asset/?id=49192762"
MouseIc = "http://www.roblox.com/asset/?id=49192792"
MouseDo = "http://www.roblox.com/asset/?id=49192819"

Add = {
Sphere = function(P)
local m = Instance.new("SpecialMesh",P)
m.MeshType = "Sphere"
return m
end,
BF = function(P)
local bf = Instance.new("BodyForce",P)
bf.force = Vector3.new(0, P:GetMass()*187, 0)
return bf
end,
BP = function(P)
local bp = Instance.new("BodyPosition",P)
bp.maxForce = Vector3.new(math.huge, 0, math.huge)
bp.P = 14000
return bp
end,
BG = function(P)
local bg = Instance.new("BodyGyro",P)
bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
bg.P = 14000
return bg
end,
Mesh = function(P, ID, x, y, z)
local m = Instance.new("SpecialMesh")
m.MeshId = ID
m.Scale = Vector3.new(x, y, z)
m.Parent = P
return m
end,
Sound = function(P, ID, vol, pitch)
local s = Instance.new("Sound")
s.SoundId = ID
s.Volume = vol
s.Pitch = pitch
s.Parent = P
return s
end
}

function find(tab, arg)
local ah = nil
for i,v in pairs(tab) do
if v == arg then
ah = v
end
end
return ah
end

function getAllParts(from)
local t = {}
function getParts(where)
for i, v in pairs(where:children()) do
if v:IsA("BasePart") then
if v.Parent ~= char and v.Parent.Parent ~= char then
table.insert(t, v)
end
end
getParts(v)
end
end
getParts(workspace)
return t
end

function RayCast(pos1, pos2, maxDist, forward)
local list = getAllParts(workspace)
local pos0 = pos1
for dist = 1, maxDist, forward do
pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p
for _, v in pairs(list) do
local pos3 = v.CFrame:pointToObjectSpace(pos0)
local s = v.Size
if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide and v:GetMass() > 14 then
return pos0, v
end
end
end
return pos0, nil
end

function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
local p = Instance.new("Part")
p.formFactor = "Custom"
p.Anchored = Anchor
p.CanCollide = Collide
p.Transparency = Tran
p.Reflectance = Ref
p.BrickColor = BrickColor.new(Color)
for _, Surf in pairs(Surfaces) do
p[Surf] = "Smooth"
end
p.Size = Vector3.new(X, Y, Z)
if Break then
p:BreakJoints()
else p:MakeJoints() end
p.Parent = Parent
p.Locked = true
return p
end

function Weld(p0, p1, x, y, z, a, b, c)
local w = Instance.new("Weld")
w.Parent = p0
w.Part0 = p0
w.Part1 = p1
w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
return w
end

function ComputePos(pos1, pos2)
local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
return CFrame.new(pos1, pos3)
end

function getHumanoid(c)
local h = nil
for i,v in pairs(c:children()) do
if v:IsA("Humanoid") and c ~= char then
if v.Health > 0 then
h = v
end
end
end
return h
end

for i,v in pairs(char:children()) do
if v.Name == Modelname then
v:remove()
end
end

pcall(function() me.PlayerGui:findFirstChild("RaigMeter",true):remove() end)

Sc = Instance.new("ScreenGui",me:findFirstChild("PlayerGui"))
Sc.Name = "RaigMeter"

Fr = Instance.new("Frame",Sc)
Fr.Size = UDim2.new(0, 250, 0, 28)
Fr.Position = UDim2.new(0.5, -125, 0, 5)
Fr.BackgroundColor3 = Color3.new(0.8, 0.3, 0.1)

Met = Instance.new("Frame", Fr)
Met.Size = UDim2.new(1, -10, 1, -6)
Met.Position = UDim2.new(0, 5, 0, 3)
Met.BackgroundColor3 = Color3.new(0, 0, 0)
Met.BorderSizePixel = 0

Meter = Instance.new("ImageLabel", Met)
Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
Meter.Position = UDim2.new(0, 0, 0, 1)
Meter.Image = "http://www.roblox.com/asset/?id=48965808"
Meter.BorderSizePixel = 0
Meter.BackgroundColor3 = Color3.new(1, 0.6, 0.1)

Tx = Instance.new("TextLabel", Met)
Tx.Size = UDim2.new(0, 0, 1, 0)
Tx.Position = UDim2.new(0, 5, 0, 0)
Tx.Text = Prop.Rage.." / "..Prop.MaxRage
Tx.Font = "ArialBold"
Tx.FontSize = "Size18"
Tx.BackgroundTransparency = 1
Tx.TextColor3 = Color3.new(1, 0, 0)
Tx.TextXAlignment = "Left"

laast = Prop.Rage
coroutine.resume(coroutine.create(function()
while true do
wait()
if Prop.Rage > Prop.MaxRage then Prop.Rage = Prop.MaxRage end
if laast ~= Prop.Rage then
Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
laast = Prop.Rage
Tx.Text = Prop.Rage.." / "..Prop.MaxRage
end
end
end))

torso = char.Torso
neck = torso.Neck
hum = char.Humanoid
Rarm = char["Right Arm"]
Larm = char["Left Arm"]
Rleg = char["Right Leg"]
Lleg = char["Left Leg"]

hc = Instance.new("Humanoid")
hc.Health = 0
hc.MaxHealth = 0

slash = Add.Sound(nil, "rbxasset://sounds//swordslash.wav", 0.9, 0.8)
hitsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2801263", 0.7, 0.6)
charge = Add.Sound(nil, "http://www.roblox.com/asset/?id=2101137", 0.8, 0.65)
boom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2691586", 0.8, 0.3)
smashsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2692806", 0.8, 0.35)
boomboom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2760979", 1, 0.18)
equip = Add.Sound(nil, "rbxasset://sounds\\unsheath.wav", 0.6, 0.7)

function PlaySound(sound, pitch)
local s = sound:clone()
if pitch ~= nil then
if tonumber(pitch) then
s.Pitch = tonumber(pitch)
end
end
s.Parent = torso
s.PlayOnRemove = true
coroutine.resume(coroutine.create(function()
wait()
s:remove()
end))
end

Mo = Instance.new("Model")
Mo.Name = Modelname

RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)

RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)

RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)

HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
HBW = Weld(Rarm, HB, 0, 1, 0, 0, 0, 0)
HW = Weld(HB, nil, 0, -1.3, 0, math.pi/2, 0, 0)

TH = Weld(torso, nil, -0.8, 0.1, 0, 0, math.pi/2, math.rad(-140))

RAWStand, LAWStand, RLWStand, LLWStand, HWStand = nil

handle = Part(Mo, false, false, 0, 0, "Navy blue", 0.4, 5, 0.4, true)
handle.Name = "Handle"
Instance.new("SpecialMesh",handle)

maintip = Part(Mo, false, false, 1, 0, "Bright yellow", 0.6, 0.5, 0.6, true)
Weld(handle, maintip, 0, -1.8, 0, 0, 0, 0)

DMGParts = {}

for i = 0, 135, 45 do
local tip = Part(Mo, false, false, 0, 0, "Dark grey", 0.54, 1.3, 2.2, true)
Instance.new("BlockMesh",tip)
Weld(maintip, tip, 0, 0, 0, 0, 0, math.rad(i))
table.insert(DMGParts, tip)
for a = -0.9, 0.9, 1.8 do
for x = 0, math.pi, math.pi do
local spike = Part(Mo, false, false, 0, 0, "Medium grey", 0.3, 0.5, 0.3, true)
local w = Weld(tip, spike, 0, 0, 0, 0, 0, 0)
w.C0 = CFrame.new(0, 0, a) * CFrame.Angles(x, 0, 0)
w.C1 = CFrame.new(0, -1, 0)
Add.Mesh(spike, "http://www.roblox.com/asset/?id=1033714", 0.14, 1, 0.14)
local trim = Part(Mo, false, false, 0, 0, "Really black", 0.67, 0.1, 0.5, true)
local w2 = Weld(tip, trim, 0, 0, 0, 0, 0, 0)
w2.C0 = CFrame.new(0, 0, a) * CFrame.Angles(x, 0, 0)
w2.C1 = CFrame.new(0, -0.58, 0)
end
end
end

spiketip = Part(Mo, false, false, 0, 0.2, "Navy blue", 0.3, 0.8, 0.3, true)
Weld(handle, spiketip, 0, -3.1, 0, 0, 0, 0)
Add.Mesh(spiketip, "http://www.roblox.com/asset/?id=1033714", 0.17, 2, 0.17)

table.insert(DMGParts, spiketip)

local handletip1 = Part(Mo, false, false, 0, 0.2, "Really black", 0.5, 0.5, 0.5, true)
local w1 = Weld(handle, handletip1, 0, 0, 0, 0, 0, 0)
w1.C0 = CFrame.new(0, -2.6, 0)
Add.Mesh(handletip1, "http://www.roblox.com/asset/?id=9756362", 0.85, 0.75, 0.85)

local handletip2 = Part(Mo, false, false, 0, 0.2, "Dark grey", 0.5, 0.5, 0.5, true)
Weld(handletip1, handletip2, 0, 0, 0, 0, math.rad(45), 0)
Add.Mesh(handletip2, "http://www.roblox.com/asset/?id=9756362", 0.95, 0.5, 0.95)

Mo.Parent = char
TH.Part1 = handle

function showdmg(dmg, p, pos)
local mo = Instance.new("Model")
mo.Name = dmg
local pa = Part(mo, false, true, 0, 0, "Bright red", 0.8, 0.3, 0.8, true)
pa.CFrame = CFrame.new(p.Position) * CFrame.new(0, pos, 0)
pa.Name = "Head"
local hah = hc:clone()
hah.Parent = mo
local bp = Add.BP(pa)
bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
bp.position = p.Position + Vector3.new(0, 3+pos, 0)
Add.BG(pa)
coroutine.resume(coroutine.create(function()
wait()
mo.Parent = workspace
wait(1.4)
mo:remove()
end))
end

function damage(hum, p, num, dm1, dm2)
local dmg = math.random(dm1, dm2)
hum.Health = hum.Health - dmg
showdmg(dmg, p, num)
return dmg
end

function brickdamage(hit)
local h = getHumanoid(hit.Parent)
if h ~= nil and Hurt and Deb then
Deb = false
local dmg = damage(h, maintip, 0, Prop.Damage/4, Prop.Damage)
PlaySound(hitsound)
Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
wait(0.3)
Deb = true
end
end

function legdamage(hit)
local h = getHumanoid(hit.Parent)
if h ~= nil and Leghurt and LegDeb then
LegDeb = false
local dmg = damage(h, Rleg, 0, Prop.Legdmg/2, Prop.Legdmg)
PlaySound(hitsound)
Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
coroutine.resume(coroutine.create(function()
local haha = math.random(1,3)
if haha == 1 then
h.PlatformStand = true
wait()
local ps = getAllParts(h.Parent)
for i, v in pairs(ps) do
if v.Anchored == false then
v.Velocity = CFrame.new(handle.Position, v.Position).lookVector * 40
v.RotVelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
end
end
wait(0.8)
h.PlatformStand = false
end
end))
wait(0.2)
LegDeb = true
end
end

for i, v in pairs({Rleg, Lleg}) do
v.Touched:connect(legdamage)
end

for i,v in pairs(DMGParts) do
v.Touched:connect(brickdamage)
end

if script.Parent.className ~= "HopperBin" then
h = Instance.new("HopperBin",me.Backpack)
h.Name = Toolname
h.TextureId = ToolIcon
script.Parent = h
end

bin = script.Parent

function StartEffect(part)
effectOn = true
local lastPoint = part.Position
coroutine.resume(coroutine.create(function()
while effectOn do
wait()
local point = CFrame.new(lastPoint, part.Position) * CFrame.Angles(-math.pi/2, 0, 0)
local mag = (lastPoint - part.Position).magnitude
local p = Part(workspace, true, false, 0.1, 0, "Institutional white", 1, 1, 1, true)
local m = Instance.new("SpecialMesh",p)
p.CFrame = point * CFrame.new(0, mag/2, 0)
m.Scale = Vector3.new(1.2, mag+0.6, 1.2)
lastPoint = part.Position
coroutine.resume(coroutine.create(function() for i = 0.1, 1, 0.9/5 do wait() p.Transparency = i end p:remove() end))
end
end))
end

function EndEffect()
effectOn = false
end

function detach(bool)
LLW.C0 = CFrame.new(0, 0, 0)
RLW.C0 = CFrame.new(0, 0, 0)
LAW.C0 = CFrame.new(0,0,0)
RAW.C0 = CFrame.new(0, 0, 0)
if bool then
LLW.Part1 = nil
RLW.Part1 = nil
RAW.Part1 = nil
LAW.Part1 = nil
end
end

function attach()
RAW.Part1 = Rarm
LAW.Part1 = Larm
RLW.Part1 = Rleg
LLW.Part1 = Lleg
end

function normal()
neck.C0 = necko
RAW.C0 = RAWStand
LAW.C0 = LAWStand
RLW.C0 = RLWStand
LLW.C0 = LLWStand
RAW.C1 = CFrame.new(0, 0.5, 0)
LAW.C1 = CFrame.new(0, 0.5, 0)
RLW.C1 = CFrame.new(0, 0.8, 0)
LLW.C1 = CFrame.new(0, 0.8, 0)
HW.C0 = HWStand
end

function idleanim()
attach()
for i = 0, 10, 10/22 do
RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
wait()
end
wait()
for i = 10, 0, -10/29 do
RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
wait()
end
normal()
end

function runanim()
RLW.Part1 = nil
LLW.Part1 = nil
end

coroutine.resume(coroutine.create(function()
while true do
wait()
if selected and Able == true and RestingAnim == false then
if torso.Velocity.magnitude < 2 then
idleanim()
wait()
else
runanim()
wait()
end
end
end
end))

function selectanim()
if RestingAnim == false and Able == true then
local ah = CFrame.Angles(0, 0, math.rad(90))
RAW.Part1 = Rarm
for i = 0, 270, 270/5 do
RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
wait()
end
HW.C0 = ah
HW.Part1 = handle
TH.Part1 = nil
PlaySound(equip)
for i = 270, 70, -200/13 do
RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
wait()
end
attach()
for i = 70, 120, 50/8 do
local asd = i-70
RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
wait()
end
if RAWStand == nil then
RAWStand = RAW.C0
LAWStand = LAW.C0
RLWStand = RLW.C0
LLWStand = LLW.C0
HWStand = HW.C0
end
normal()
end
end

function deselanim()
if RestingAnim == false and Able == true then
local ah = CFrame.Angles(0, 0, math.rad(90))
for i = 120, 70, -50/8 do
local asd = i-70
RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
wait()
end
LLW.Part1 = nil
RLW.Part1 = nil
LAW.Part1 = nil
for i = 70, 270, 200/13 do
RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
wait()
end
HW.C0 = ah
HW.Part1 = nil
TH.Part1 = handle
for i = 270, 0, -270/6 do
RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
wait()
end
neck.C0 = necko
detach(true)
end
end

function smash(mouse)
attach()
local mouseHit = mouse
local Orig = torso.CFrame
local bg = Add.BG(torso)
local bp = Add.BP(torso)
bp.position = Orig.p
local CF = ComputePos(Orig.p, mouseHit)
local CF2 = CF
bg.cframe = CF2
PlaySound(slash)
for i = 0, 1, Prop.AS*1.1 do
RAW.C0 = RAWStand * CFrame.Angles(math.rad(80*i), 0, math.rad(45*i)) * CFrame.new(0, -0.4*i, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(75*i), 0, math.rad(40*i)) * CFrame.new(0, -0.5*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), math.rad(16*i), math.rad(-8*i))
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30*i), math.rad(-16*i), math.rad(8*i))
HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(30*i))
neck.C0 = necko * CFrame.Angles(math.rad(-35*i), 0, math.rad(-10*i))
wait()
end
bp.position = CF * CFrame.new(0, 0, -1.1).p
StartEffect(maintip)
Hurt = true
for i = 0, 1, Prop.AS*1.5 do
RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150*i), math.rad(-45*i), math.rad(45-140*i)) * CFrame.new(0, -0.4, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180*i), math.rad(80*i), math.rad(40-20*i)) * CFrame.new(0, -0.5, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50*i), math.rad(16-16*i), math.rad(-8+8*i))
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40*i), math.rad(-16+16*i), math.rad(8-8*i))
HW.C0 = HWStand * CFrame.Angles(math.rad(-48*i), 0, math.rad(30))
neck.C0 = necko * CFrame.Angles(math.rad(-35+75*i), 0, math.rad(-10+26*i))
wait()
end
Hurt = false
EndEffect()
PlaySound(smashsound)
bp.position = CF * CFrame.new(0, 0, -1.9).p
for i = 0, 1, Prop.AS do
RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150+80*i), math.rad(-45+45*i), math.rad(45-140+95*i)) * CFrame.new(0, -0.4+0.4*i, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180+105*i), math.rad(80-80*i), math.rad(20-20*i)) * CFrame.new(0, -0.5+0.5*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50+30*i), 0, 0)
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40-10*i), 0, 0)
HW.C0 = HWStand * CFrame.Angles(math.rad(-48+48*i), 0, math.rad(30-30*i))
neck.C0 = necko * CFrame.Angles(math.rad(-35+75-40*i), 0, math.rad(-10+26-16*i))
wait()
end
normal()
bg:remove()
bp:remove()
end

function swing(mouse)
attach()
local mouseHit = mouse
local Orig = torso.CFrame
local bg = Add.BG(torso)
local bp = Add.BP(torso)
bp.position = Orig.p
local CF = ComputePos(Orig.p, mouseHit)
local CF2 = CF
bg.cframe = CF2
PlaySound(slash)
for i = 0, 1, Prop.AS*1.5 do
RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(-140*i), 0) * CFrame.new(0, 0, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(25*i), 0, math.rad(20*i)) * CFrame.new(0, -0.4*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), 0, 0)
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10*i), 0, 0)
HW.C0 = HWStand * CFrame.Angles(0, math.rad(-10*i), 0)
neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50*i))
bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40*i), 0)
wait()
end
Hurt = true
StartEffect(maintip)
for i = 0, 1, Prop.AS*1.3 do
RAW.C0 = RAWStand * CFrame.Angles(math.rad(70*i), math.rad(-140), 0) * CFrame.new(0, -0.9*i, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(25), 0, math.rad(20-100*i)) * CFrame.new(0, -0.4+0.6*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(20), 0, 0)
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10), 0, 0)
HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), math.rad(-15), 0) * CFrame.new(0, 0, -0.9*i)
neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90*i))
bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40+80*i), 0)
wait()
end
EndEffect()
Hurt = false
for i = 0, 1, Prop.AS*0.8 do
RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-70*i), math.rad(-140+140*i), 0) * CFrame.new(0, -0.9+0.9*i, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(25-25*i), 0, math.rad(20-100+80*i)) * CFrame.new(0, -0.4+0.6-0.2*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-20*i), 0, 0)
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10+10*i), 0, 0)
HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), math.rad(-15+15*i), 0) * CFrame.new(0, 0, -0.9+0.9*i)
neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90-40*i))
bg.cframe = CF2 * CFrame.Angles(0, math.rad(40-40*i), 0)
wait()
end
normal()
bg:remove()
bp:remove()
end

function stab(mouse)
attach()
local mouseHit = mouse
local Orig = torso.CFrame
local bg = Add.BG(torso)
local bp = Add.BP(torso)
bp.position = Orig.p
local CF = ComputePos(Orig.p, mouseHit)
local CF2 = CF
bg.cframe = CF2
PlaySound(slash)
for i = 0, 1, Prop.AS do
RAW.C0 = RAWStand * CFrame.new(0, 0.6*i, 0) * CFrame.Angles(math.rad(-60*i), math.rad(-40*i), math.rad(-30*i)) * CFrame.new(-0.45*i, 0, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50*i), 0, math.rad(40*i)) * CFrame.new(0, -0.6*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(3*i), math.rad(20*i), math.rad(-10*i))
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3*i), math.rad(-20*i), math.rad(10*i))
HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1*i)
neck.C0 = necko * CFrame.Angles(math.rad(25*i), 0, math.rad(-45*i))
bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30*i), 0)
wait()
end
StartEffect(maintip)
Hurt = true
bp.position = CF * CFrame.new(0, 0, -0.6).p
for i = 0, 1, Prop.AS*1.5 do
RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8*i, 0) * CFrame.Angles(math.rad(-60+100*i), math.rad(-40), math.rad(-30+70*i)) * CFrame.new(-0.45, 0, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60*i), 0, math.rad(40-30*i)) * CFrame.new(0, -0.6-0.4*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18*i), math.rad(20-40*i), math.rad(-10+20*i))
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18*i), math.rad(-20+40*i), math.rad(10-20*i))
HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), 0, 0) * CFrame.new(0, 0, 1-1.4*i)
neck.C0 = necko * CFrame.Angles(math.rad(25-20*i), 0, math.rad(-45+35*i))
bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45*i), 0)
wait()
end
Hurt = false
EndEffect()
bp.position = CF.p
for i = 0, 1, Prop.AS*1.1 do
RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8+0.2*i, 0) * CFrame.Angles(math.rad(-60+100-40*i), math.rad(-40+40*i), math.rad(-30+70-40*i)) * CFrame.new(-0.45+0.45*i, 0, 0)
LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60-10*i), 0, math.rad(40-30-10*i)) * CFrame.new(0, -0.6-0.4+1*i, 0)
RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18+15*i), math.rad(20-40+20*i), math.rad(-10+20-10*i))
LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18-15*i), math.rad(-20+40-20*i), math.rad(10-20+10*i))
HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), 0, 0) * CFrame.new(0, 0, 1-1.4+0.4*i)
neck.C0 = necko * CFrame.Angles(math.rad(5-5*i), 0, math.rad(-10+10*i))
bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45-15*i), 0)
wait()
end
normal()
bg:remove()
bp:remove()
end

function epicsmashfunc(hit)
local ch = hit.Parent
local h = getHumanoid(ch)
local t, head = ch:findFirstChild("Torso"), ch:findFirstChild("Head")
return h, t, head
end
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
16 Aug 2012 12:42 PM
Insert Tool Script:

local x = game:GetService("InsertService"):LoadAsset(IDHERE) x.Parent = game.Players.YOURNAMEHERE

-----Might Not Work Anymore!
Report Abuse
PenguinvilleRescue1 is not online. PenguinvilleRescue1
Joined: 06 Nov 2011
Total Posts: 5438
16 Aug 2012 12:57 PM
That's just TOO much of scripts
Report Abuse
PenguinvilleRescue1 is not online. PenguinvilleRescue1
Joined: 06 Nov 2011
Total Posts: 5438
16 Aug 2012 01:02 PM
Now my plugin has crashed.
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
19 Aug 2012 03:30 AM
Random Script...:
game.Workspace.Base.Touched:connect(function()
C = game:getChildren()
for i = 1, #C do
if C[i].name = "Workspace" then
for _, v in pairs(C[i]:getChildren) do
if v.className ~= "Camera" then
v.Name == "YourNameHere"
elseIf C[i].Name == "Lighting" then
m = C[i]:getChildren()
m:remove()
wait()
end

-Dont know if it works..
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
19 Aug 2012 03:31 AM
I need to get this work...

p= game.Players:GetChildren()
for i= 1, #p do
b = Instance.new("BodyForce")
b.Parent = p[i].Character.theakon.Torso
b.force = Vector3.new(1000, 1, 0)
end

- When i touch someone they like Bunch away, but it seems i dont get this work.. or i have made wrong script. Lol, Does anyone have Script like that..?
Report Abuse
spartakilla is not online. spartakilla
Joined: 04 Dec 2010
Total Posts: 1
19 Aug 2012 11:04 AM
nice
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
19 Aug 2012 11:06 AM
I can guarantee akon didn't make one script...
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
19 Aug 2012 11:15 AM
heres one:

while true do
if game.Players:getPlayers() == type(table) then
for _,v in pairs(game.Players:getPlayers()) do
pcall(function()
for _,t in pairs(v.Character:getChildren()) do
if t:IsA("Part") then
pcall(function() t.Touched:connect(function(hit)
if hit:IsA("Part") then
hit2 = hit:clone()
hit2.Parent = hit.Parent
hit2.CFrame = hit.CFrame
end
end) end)
end
end
end)
end
end
end
Report Abuse
ROBLOX4233 is not online. ROBLOX4233
Joined: 16 Nov 2008
Total Posts: 960
19 Aug 2012 11:18 AM
game.Forum:remove()
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
19 Aug 2012 11:18 AM
@Roblox Forum is not a service in game. Ktb
Report Abuse
ROBLOX4233 is not online. ROBLOX4233
Joined: 16 Nov 2008
Total Posts: 960
19 Aug 2012 11:22 AM
It's called sarcasm....
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
19 Aug 2012 11:24 AM
Apperently you don't know what sarcasm is either.
Report Abuse
theakon is not online. theakon
Joined: 26 Dec 2009
Total Posts: 43
19 Aug 2012 02:42 PM
I got the BodyForce Script..

bf = Instance.new("BodyForce",workspace.Part)
bf.force = Vector3.new(0,5000,0)


-- This Should Work...
Report Abuse
grass3 is not online. grass3
Joined: 05 May 2010
Total Posts: 2645
20 Aug 2012 12:02 AM
me = game.Players.grass3

char = me.Character

selected = false

attacking = false

hurt = false

grabbed = nil

mode = "drop"

bloodcolors = {"Really red", "Bright red"}



function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)

part.Parent = parent

part.formFactor = form

part.CanCollide = collide

part.Transparency = tran

part.Reflectance = ref

part.Size = Vector3.new(x,y,z)

part.BrickColor = BrickColor.new(color)

part.TopSurface = 0

part.BottomSurface = 0

part.Anchored = anchor

part.Locked = true

part:BreakJoints()

end


function weld(w, p, p1, a, b, c, x, y, z)

w.Parent = p

w.Part0 = p

w.Part1 = p1

w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)

end


function mesh(mesh, parent, x, y, z, type)

mesh.Parent = parent

mesh.Scale = Vector3.new(x, y, z)

mesh.MeshType = type

end


function remgui()

for _,v in pairs(me.PlayerGui:GetChildren()) do

if v.Name == "Modeshow" then

v:remove()

end

end

end


function inform(text,delay)

remgui()

local sc = Instance.new("ScreenGui")

sc.Parent = me.PlayerGui

sc.Name = "Modeshow"

local bak = Instance.new("Frame",sc)

bak.BackgroundColor3 = Color3.new(1,1,1)

bak.Size = UDim2.new(0.94,0,0.1,0)

bak.Position = UDim2.new(0.03,0,0.037,0)

bak.BorderSizePixel = 0

local gi = Instance.new("TextLabel",sc)

gi.Size = UDim2.new(0.92,0,0.09,0)

gi.BackgroundColor3 = Color3.new(0,0,0)

gi.Position = UDim2.new(0.04,0,0.042,0)

gi.TextColor3 = Color3.new(1,1,1)

gi.FontSize = "Size12"

gi.Text = text

coroutine.resume(coroutine.create(function()

wait(delay)

sc:remove()

end))

end


if char:findFirstChild("Bricks",true) then

char:findFirstChild("Bricks",true):remove()

end


bricks = Instance.new("Model",me.Character)

bricks.Name = "Bricks"


--Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------


rarm = char:findFirstChild("Right Arm")

larm = char:findFirstChild("Left Arm")

lleg = char:findFirstChild("Left Leg")

torso = char:findFirstChild("Torso")

hum = char:findFirstChild("Humanoid")


righthold = Instance.new("Part")

prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w11 = Instance.new("Weld")

weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)


lefthold = Instance.new("Part")

prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w12 = Instance.new("Weld")

weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)


hold = Instance.new("Part")

prop(hold, bricks, false, 0, 0, 0.2, 0.4, 0.7, "Really red", false, "Custom")

oh = Instance.new("Weld")

weld(oh, lleg, hold, -math.pi/1.4, 0, math.rad(35), 0.55, -0.9, 0.3)


knife = Instance.new("Part")

prop(knife, bricks, false, 0, 0, 0.35, 1.1, 0.5, "Really black", false, "Custom")

orr = Instance.new("Weld")

weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)

ar = Instance.new("Weld")

weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)



blade = Instance.new("Part")

prop(blade, bricks, false, 0, 0, 0.1, 1.5, 0.4, "Medium grey", false, "Custom")

Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)

w2 = Instance.new("Weld")

weld(w2, knife, blade, 0, 0, 0, 0, -1.2, 0)


blade2 = Instance.new("Part")

prop(blade2, bricks, false, 0, 0, 0.1, 0.5, 0.4, "Medium grey", false, "Custom")

local mew = Instance.new("SpecialMesh",blade2)

mew.MeshType = "Wedge"

mew.Scale = Vector3.new(0.3,1,1)

w3 = Instance.new("Weld")

weld(w3, blade, blade2, 0, 0, 0, 0, -1, 0)





rb = Instance.new("Part")

prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w13 = Instance.new("Weld")

weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)


lb = Instance.new("Part")

prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom")

w14 = Instance.new("Weld")

weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)


rw = Instance.new("Weld")

weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)


lw = Instance.new("Weld")

weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)


grabweld = nil

platlol = nil

lolhum = nil


function touch(h)

if hurt then

if grabbed == nil then

local hu = h.Parent:findFirstChild("Humanoid")

local head = h.Parent:findFirstChild("Head")

local torz = h.Parent:findFirstChild("Torso")

if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then

if hu.Health > 0 then

grabbed = torz

hu.PlatformStand = true

local w = Instance.new("Weld")

weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)

grabweld = w

lolhum = hu

local lolxd = true

platlol = lolxd

hu.Changed:connect(function(prop)

if prop == "PlatformStand" and platlol then

hu.PlatformStand = true

end

end)

end

end

end

end

end


righthold.Touched:connect(touch)

lefthold.Touched:connect(touch)


function bleed(part,po)

local lol1 = math.random(5,30)/100

local lol2 = math.random(5,30)/100

local lol3 =math.random(5,30)/100

local lol4 = math.random(1,#bloodcolors)

local p = Instance.new("Part")

prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")

p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)

p.Velocity = Vector3.new(math.random(-190,190)/10,math.random(-190,190)/10,math.random(-190,190)/10)

p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)

coroutine.resume(coroutine.create(function()

wait(3)

p:remove()

end))

end


if script.Parent.className ~= "HopperBin" then

h = Instance.new("HopperBin",me.Backpack)

h.Name = "Grab"

script.Parent = h

end


bin = script.Parent


function select(mouse)

orr.Part1 = nil

ar.Part1 = knife

mouse.Button1Down:connect(function()

if attacking == false then

attacking = true

lw.Part1 = larm

rw.Part1 = rarm

hurt = true

for i=1, 8 do

rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)

lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)

wait()

end

wait(1)

hurt = false

if grabbed == nil then

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

attacking = false

end

elseif hurt == false and grabbed ~= nil and mode == "drop" then

grabweld:remove()

grabweld = nil

platlol = false

grabbed = nil

lolhum.PlatformStand = false

lolhum = nil

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

attacking = false

platlol = nil

elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then

grabweld:remove()

grabweld = nil

local bf = Instance.new("BodyForce",grabbed)

bf.force = torso.CFrame.lookVector * 8500

bf.force = bf.force + Vector3.new(0,7400,0)

coroutine.resume(coroutine.create(function()

wait(0.12)

bf:remove()

end))

for i=1, 6 do

rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)

lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)

wait()

end

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)

lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)

wait()

end

wait(0.2)

platlol = false

grabbed = nil

lolhum.PlatformStand = false

lolhum = nil

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

attacking = false

platlol = nil

elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then

for i=1, 5 do

lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)

wait()

end

local ne = grabbed:findFirstChild("Neck")

coroutine.resume(coroutine.create(function()

local duh = grabbed

local duh2 = grabbed.Parent.Head

local lolas = lolhum

duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))

for i=1, 60 do

wait()

local hm = math.random(1,9)

pcall(function()

if hm == 1 then

duh2.Sound.Pitch = math.random(90,110)/100

duh2.Sound:play()

end

end)

if hm > 0 and hm < 3 then

bleed(duh,1)

bleed(duh2,-0.5)

end

end

lolas.Health = 0

for i=1, 85 do

wait()

local hm = math.random(1,9)

pcall(function()

if hm == 1 then

duh2.Sound.Pitch = math.random(90,110)/100

duh2.Sound:play()

end

end)

if hm > 0 and hm < 3 then

bleed(duh,1)

bleed(duh2,-0.5)

end

end

end))

for i=1, 3 do

lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)

if ne ~= nil then

grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)

end

wait()

end

grabweld:remove()

grabweld = nil

for i=1, 4 do

lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)

wait()

end

for i=1, 4 do

rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)

lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)

wait()

end

lw.C0 = CFrame.new(0,0,0)

rw.C0 = CFrame.new(0,0,0)

lw.Part1 = nil

rw.Part1 = nil

platlol = false

grabbed = nil

lolhum = nil

attacking = false

platlol = nil

end

end)

mouse.KeyDown:connect(function(kai)

key = kai:lower()

if key == "q" then

mode = "drop"

inform("Mode: Drop",2)

elseif key == "e" then

mode = "throw"

inform("Mode: Throw",2)

elseif key == "f" then

mode = "kill"

inform("Mode: Kill",2)

end

end)

end


function desel()

repeat wait() until attacking == false

orr.Part1 = knife

ar.Part1 = nil

end


bin.Selected:connect(select)

bin.Deselected:connect(desel)


char.Humanoid.Died:connect(function()

pcall(function()

grabweld:remove()

grabweld = nil

grabbed = nil

platlol = false

platlol = nil

end)

end)


inform("Grab script loaded succesfully.",2)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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