Advertisement
Guest User

Roblox Goku Super Saiyan script

a guest
Dec 3rd, 2017
6,467
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.00 KB | None | 0 0
  1. local p = game.Players.LocalPlayer local char = p.Character local mouse = p:GetMouse() local larm = char["Left Arm"] local rarm = char["Right Arm"] local lleg = char["Left Leg"] local rleg = char["Right Leg"] local hed = char.Head local torso = char.Torso local hum = char.Humanoid local cam = game.Workspace.CurrentCamera local root = char.HumanoidRootPart local deb = false local shot = 0 local debris=game:service"Debris" local l = game:GetService("Lighting") local rs = game:GetService("RunService").RenderStepped ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} math.randomseed(os.time()) for i,v in pairs(char:children()) do if v:IsA("Hat") then v:Destroy() end end for i,v in pairs (hed:GetChildren()) do if v:IsA("Sound") then v:Destroy() end end ---------------------------------------------------- Debounces = { CanAttack = true; NoIdl = false; Slashing = false; Slashed = false; RPunch = false; RPunched = false; LPunch = false; LPunched = false; } local Touche = {char.Name, } ---------------------------------------------------- hed.face.Texture = "rbxassetid://33395282" char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") ---------------------------------------------------- ypcall(function() char.Shirt:Destroy() char.Pants:Destroy() shirt = Instance.new("Shirt", char) shirt.Name = "Shirt" pants = Instance.new("Pants", char) pants.Name = "Pants" char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=513620832" char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=513621366" end) ---------------------------------------------------- LoudVolume = false Submerged = false Music = true script.Name = "GOKU" Player = game.Players.LocalPlayer c = game.Players.LocalPlayer.Character Head = c.Head anim = c.Humanoid.Animator Humanoid = c:findFirstChild("Humanoid") Humanoid.Name = "InfiniteBeing" b23 = Instance.new("BoolValue", c) b23.Name = "InfiniteHuman" rage = false p = game.Players.LocalPlayer Music = false local Effects = {} attack = false local attacking = false vt = Vector3.new bc = BrickColor.new br = BrickColor.random it = Instance.new cf = CFrame.new euler = CFrame.fromEulerAnglesXYZ angles = CFrame.Angles matr = math.random mouse = Player:GetMouse() RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) RS = c.Torso:FindFirstChild("Right Shoulder") LS = c.Torso:FindFirstChild("Left Shoulder") RH = c.Torso:FindFirstChild("Right Hip") LH = c.Torso:FindFirstChild("Left Hip") RJ = c.HumanoidRootPart:FindFirstChild("RootJoint") N = c.Torso:FindFirstChild("Neck") cf = CFrame.new ang = CFrame.Angles rd = math.rad rd2 = math.random function swait(num) if num == 0 or num == nil then game:service("RunService").Heartbeat:wait(0) else for i = 0, num do game:service("RunService").Heartbeat:wait(0) end end end function lerpz(joint, prop, cfrmz, alp) joint[prop] = joint[prop]:lerp(cfrmz, alp) end function resetlerp() RJ.C0 = RJC0 RJ.C1 = RJC1 N.C0 = NC0 N.C1 = NC1 RS.C0 = RSC0 RS.C1 = RSC1 LS.C0 = LSC0 LS.C1 = LSC1 RH.C0 = RHC0 RH.C1 = RHC1 LH.C0 = LHC0 LH.C1 = LHC1 end for _, c in pairs(c:children()) do if c.className == "Accessory" then c.Parent = nil end end local S2 = Instance.new("Sound", c.HumanoidRootPart) S2.SoundId = "" S2.Volume = 0 S2.Looped = true local P = Instance.new("Part", c) P.CanCollide = false P.Size = Vector3.new(0.2, 0.2, 0.2) P.BrickColor = BrickColor.new("Really black") local M = Instance.new("SpecialMesh", P) M.MeshId = "rbxassetid://884095858" M.Scale = Vector3.new(0.04, 0.04, 0.04) M.Offset = Vector3.new(-0.225, 0.65, -0.1) local W = Instance.new("Weld", c.Head) W.Part0 = c.Head W.Part1 = P W.C0 = CFrame.Angles(0, math.rad(180), 0) trazx = Instance.new("ParticleEmitter") function New(Object, Parent, Name, Data) local Object = Instance.new(Object) for Index, Value in pairs(Data or {}) do Object[Index] = Value end Object.Parent = Parent Object.Name = Name return Object end Form = "None" function SSJB() if Form == "None" then Form = "SSJB" hed.face.Texture = "rbxassetid://439123785" attack = true anim.Parent = nil for i = 1, 35 do swait() lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3) lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3) lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3) lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3) lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3) lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3) lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) end local S = Instance.new("Sound", c.HumanoidRootPart) S.SoundId = "rbxassetid://263260463" S.Volume = 1 S:Play() local S2 = Instance.new("Sound", c.HumanoidRootPart) S2.SoundId = "rbxassetid://600060450" S2.Looped = true S2:Play() for i = 1, 15 do swait() lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5) lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5) lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5) lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5) lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5) lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5) lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) end for i, v in pairs(c:children()) do if v.ClassName == "Part" then local tra = trazx:clone() tra.Parent = v tra.LightEmission = 1 tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1)) tra.Rate = 15 tra.Rotation = NumberRange.new(-5, 5) tra.Lifetime = NumberRange.new(1.5, 2) tra.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0, 0) }) tra.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(0.135, 0, 0), NumberSequenceKeypoint.new(0.875, 0, 0), NumberSequenceKeypoint.new(1, 1, 0) }) tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360 tra.VelocityInheritance = 0.5 tra.ZOffset = 2 tra.Acceleration = Vector3.new(0, 2.5, 0) end end local tra = trazx:clone() tra.Parent = c.HumanoidRootPart tra.Texture = "rbxassetid://347730682" tra.LightEmission = 0.8 tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1)) tra.Rate = 250 tra.Rotation = NumberRange.new(-5, 5) tra.Lifetime = NumberRange.new(0.75) tra.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, 4.81, 0.875), NumberSequenceKeypoint.new(1, 2.13, 0.875) }) tra.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(0.0399, 0.85, 0), NumberSequenceKeypoint.new(0.394, 0.9, 0), NumberSequenceKeypoint.new(0.699, 1, 0), NumberSequenceKeypoint.new(1, 1, 0) }) tra.Speed = NumberRange.new(15) tra.VelocitySpread = 360 tra.VelocityInheritance = 0.5 tra.ZOffset = 3.5 tra.Acceleration = Vector3.new(0, 25, 0) for i = 1, 25 do for i = 1, 3 do swait() lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 0.5) lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5) lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 0.5) lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 0.5) lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 0.5) lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 0.5) lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) end for i = 1, 3 do swait() lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5) lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5) lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 0.5) lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement