Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local me = "yournamehere" -- put name just incase people copy the script
- while wait() do
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name ~= me and not v.PlayerGui:FindFirstChild("goku") and v:FindFirstChild("PlayerGui") then
- spawn(function()
- local newgui = Instance.new("ScreenGui",v.PlayerGui)
- newgui.Name = "goku"
- local newimage = Instance.new("ImageLabel",newgui)
- newimage.Image = "rbxassetid://142410803"
- newimage.Size = UDim2.new(1,0,1,0)
- local s = Instance.new("Sound",newgui)
- s.SoundId = "rbxassetid://166038742"
- s.Volume = 1
- s.Looped = true
- s:Play()
- print("Screamed "..v.Name)
- while wait() do
- newimage.ImageColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
- wait()
- newimage.ImageColor3 = Color3.new(1,1,1)
- end
- end)
- end
- end
- end
- -- 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://34668268"
- 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=393374766"
- char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991"
- end)
- ----------------------------------------------------
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- ----------------------------------------------------
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- end
- ----------------------------------------------------
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- ----------------------------------------------------
- function HasntTouched(plrname)
- local ret = true
- for _, v in pairs(Touche) do
- if v == plrname then
- ret = false
- end
- end
- return ret
- end
- ----------------------------------------------------
- newWeld(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, hed, 0, 1.5, 0)
- newWeld(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(root, torso, 0, -1, 0)
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- ----------------------------------------------------
- z = Instance.new("Sound", char)
- z.SoundId = "rbxassetid://303570180"--303570180
- z.Looped = true
- z.Pitch = 1
- z.Volume = 1
- wait(.1)
- z:Play()
- ----------------------------------------------------
- local Transforming = true
- hum.WalkSpeed = 0
- local fx = Instance.new("Part",torso)
- fx.Anchored = true
- fx.Material = "Neon"
- fx.CanCollide = false
- fx.Locked = true
- fx.Transparency = 1
- fx.Material = "SmoothPlastic"
- fx.Size = Vector3.new(1,1,1)
- fx.TopSurface = "SmoothNoOutlines"
- fx.BottomSurface = "SmoothNoOutlines"
- fx.BrickColor = BrickColor.new("New Yeller")
- fxm = Instance.new("SpecialMesh",fx)
- fxm.MeshType = "Sphere"
- fxm.Scale = Vector3.new(1,1,1)
- for i = 1, 20 do rs:wait()
- fx.Transparency = fx.Transparency - (1/20)
- fx.CFrame = torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
- rs:wait()
- end
- ----------------------------------------------------
- local m = Instance.new("Model")
- m.Name = "Hair"
- p1 = Instance.new("Part", m)
- p1.BrickColor = BrickColor.new("New Yeller")
- p1.FormFactor = Enum.FormFactor.Symmetric
- p1.Size = Vector3.new(1, 1, 1)
- p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
- p1.CanCollide = false
- p1.Locked = true
- p1.BottomSurface = Enum.SurfaceType.Smooth
- p1.TopSurface = Enum.SurfaceType.Smooth
- b1 = Instance.new("SpecialMesh", p1)
- b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b1.TextureId = ""
- b1.MeshType = Enum.MeshType.FileMesh
- b1.Name = "Mesh"
- b1.VertexColor = Vector3.new(0, 0, 0)
- b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
- p2 = Instance.new("Part", m)
- p2.BrickColor = BrickColor.new("Pastel brown")
- p2.Transparency = 1
- p2.Name = "Head"
- p2.FormFactor = Enum.FormFactor.Symmetric
- p2.Size = Vector3.new(2, 1, 1)
- p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
- p2.CanCollide = false
- p2.Locked = true
- p2.TopSurface = Enum.SurfaceType.Smooth
- b2 = Instance.new("SpecialMesh", p2)
- b2.MeshType = Enum.MeshType.Head
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(1.25, 1.25, 1.25)
- p3 = Instance.new("Part", m)
- p3.BrickColor = BrickColor.new("New Yeller")
- p3.FormFactor = Enum.FormFactor.Symmetric
- p3.Size = Vector3.new(2, 2, 2)
- p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
- p3.CanCollide = false
- p3.Locked = true
- p3.BottomSurface = Enum.SurfaceType.Smooth
- p3.TopSurface = Enum.SurfaceType.Smooth
- b3 = Instance.new("SpecialMesh", p3)
- b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
- b3.TextureId = ""
- b3.MeshType = Enum.MeshType.FileMesh
- b3.Name = "Mesh"
- b3.VertexColor = Vector3.new(0, 0, 0)
- b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- p4 = Instance.new("Part", m)
- p4.BrickColor = BrickColor.new("New Yeller")
- p4.FormFactor = Enum.FormFactor.Symmetric
- p4.Size = Vector3.new(1, 1, 1)
- p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
- p4.CanCollide = false
- p4.Locked = true
- p4.BottomSurface = Enum.SurfaceType.Smooth
- p4.TopSurface = Enum.SurfaceType.Smooth
- b4 = Instance.new("SpecialMesh", p4)
- b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
- b4.TextureId = ""
- b4.MeshType = Enum.MeshType.FileMesh
- b4.Name = "Mesh"
- b4.VertexColor = Vector3.new(0, 0, 0)
- p5 = Instance.new("Part", m)
- p5.BrickColor = BrickColor.new("New Yeller")
- p5.FormFactor = Enum.FormFactor.Symmetric
- p5.Size = Vector3.new(1, 1, 1)
- p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
- p5.CanCollide = false
- p5.Locked = true
- p5.BottomSurface = Enum.SurfaceType.Smooth
- p5.TopSurface = Enum.SurfaceType.Smooth
- b5 = Instance.new("SpecialMesh", p5)
- b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
- b5.TextureId = ""
- b5.MeshType = Enum.MeshType.FileMesh
- b5.Name = "Mesh"
- b5.VertexColor = Vector3.new(0, 0, 0)
- b5.Scale = Vector3.new(1, 0.899999976, 1)
- p6 = Instance.new("Part", m)
- p6.BrickColor = BrickColor.new("New Yeller")
- p6.FormFactor = Enum.FormFactor.Symmetric
- p6.Size = Vector3.new(1, 1, 1)
- p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
- p6.CanCollide = false
- p6.Locked = true
- p6.BottomSurface = Enum.SurfaceType.Smooth
- p6.TopSurface = Enum.SurfaceType.Smooth
- b6 = Instance.new("SpecialMesh", p6)
- b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
- b6.TextureId = ""
- b6.MeshType = Enum.MeshType.FileMesh
- b6.Name = "Mesh"
- b6.VertexColor = Vector3.new(0, 0, 0)
- p7 = Instance.new("Part", m)
- p7.BrickColor = BrickColor.new("New Yeller")
- p7.FormFactor = Enum.FormFactor.Symmetric
- p7.Size = Vector3.new(1, 1, 1)
- p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
- p7.CanCollide = false
- p7.Locked = true
- p7.BottomSurface = Enum.SurfaceType.Smooth
- p7.TopSurface = Enum.SurfaceType.Smooth
- b7 = Instance.new("SpecialMesh", p7)
- b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
- b7.TextureId = ""
- b7.MeshType = Enum.MeshType.FileMesh
- b7.Name = "Mesh"
- b7.VertexColor = Vector3.new(0, 0, 0)
- p8 = Instance.new("Part", m)
- p8.BrickColor = BrickColor.new("New Yeller")
- p8.FormFactor = Enum.FormFactor.Symmetric
- p8.Size = Vector3.new(1, 1, 1)
- p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
- p8.CanCollide = false
- p8.Locked = true
- p8.BottomSurface = Enum.SurfaceType.Smooth
- p8.TopSurface = Enum.SurfaceType.Smooth
- b8 = Instance.new("SpecialMesh", p8)
- b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b8.TextureId = ""
- b8.MeshType = Enum.MeshType.FileMesh
- b8.Name = "Mesh"
- b8.VertexColor = Vector3.new(0, 0, 0)
- b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
- p9 = Instance.new("Part", m)
- p9.BrickColor = BrickColor.new("New Yeller")
- p9.FormFactor = Enum.FormFactor.Symmetric
- p9.Size = Vector3.new(2, 1, 2)
- p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
- p9.CanCollide = false
- p9.Locked = true
- p9.BottomSurface = Enum.SurfaceType.Smooth
- p9.TopSurface = Enum.SurfaceType.Smooth
- b9 = Instance.new("SpecialMesh", p9)
- b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
- b9.TextureId = ""
- b9.MeshType = Enum.MeshType.FileMesh
- b9.Name = "Mesh"
- b9.VertexColor = Vector3.new(0, 0, 0)
- b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
- p10 = Instance.new("Part", m)
- p10.BrickColor = BrickColor.new("New Yeller")
- p10.FormFactor = Enum.FormFactor.Symmetric
- p10.Size = Vector3.new(1, 1, 1)
- p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
- p10.CanCollide = false
- p10.Locked = true
- p10.BottomSurface = Enum.SurfaceType.Smooth
- p10.TopSurface = Enum.SurfaceType.Smooth
- b10 = Instance.new("SpecialMesh", p10)
- b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b10.TextureId = ""
- b10.MeshType = Enum.MeshType.FileMesh
- b10.Name = "Mesh"
- b10.VertexColor = Vector3.new(0, 0, 0)
- b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
- p11 = Instance.new("Part", m)
- p11.BrickColor = BrickColor.new("New Yeller")
- p11.FormFactor = Enum.FormFactor.Symmetric
- p11.Size = Vector3.new(1, 1, 1)
- p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
- p11.CanCollide = false
- p11.Locked = true
- p11.BottomSurface = Enum.SurfaceType.Smooth
- p11.TopSurface = Enum.SurfaceType.Smooth
- b11 = Instance.new("SpecialMesh", p11)
- b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b11.TextureId = ""
- b11.MeshType = Enum.MeshType.FileMesh
- b11.Name = "Mesh"
- b11.VertexColor = Vector3.new(0, 0, 0)
- b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
- p12 = Instance.new("Part", m)
- p12.BrickColor = BrickColor.new("New Yeller")
- p12.FormFactor = Enum.FormFactor.Custom
- p12.Size = Vector3.new(1, 3.5, 1)
- p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
- p12.CanCollide = false
- p12.Locked = true
- p12.BottomSurface = Enum.SurfaceType.Smooth
- p12.TopSurface = Enum.SurfaceType.Smooth
- b12 = Instance.new("SpecialMesh", p12)
- b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b12.TextureId = ""
- b12.MeshType = Enum.MeshType.FileMesh
- b12.Name = "Mesh"
- b12.VertexColor = Vector3.new(0, 0, 0)
- b12.Scale = Vector3.new(1, 3, 1.29999995)
- p13 = Instance.new("Part", m)
- p13.BrickColor = BrickColor.new("New Yeller")
- p13.FormFactor = Enum.FormFactor.Custom
- p13.Size = Vector3.new(1, 2, 1)
- p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
- p13.CanCollide = false
- p13.Locked = true
- p13.BottomSurface = Enum.SurfaceType.Smooth
- p13.TopSurface = Enum.SurfaceType.Smooth
- b13 = Instance.new("SpecialMesh", p13)
- b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b13.TextureId = ""
- b13.MeshType = Enum.MeshType.FileMesh
- b13.Name = "Mesh"
- b13.VertexColor = Vector3.new(0, 0, 0)
- b13.Scale = Vector3.new(1, 3, 1.29999995)
- p14 = Instance.new("Part", m)
- p14.BrickColor = BrickColor.new("New Yeller")
- p14.FormFactor = Enum.FormFactor.Custom
- p14.Size = Vector3.new(1, 2, 1)
- p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
- p14.CanCollide = false
- p14.Locked = true
- p14.BottomSurface = Enum.SurfaceType.Smooth
- p14.TopSurface = Enum.SurfaceType.Smooth
- b14 = Instance.new("SpecialMesh", p14)
- b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b14.TextureId = ""
- b14.MeshType = Enum.MeshType.FileMesh
- b14.Name = "Mesh"
- b14.VertexColor = Vector3.new(0, 0, 0)
- b14.Scale = Vector3.new(1, 3, 1.29999995)
- p15 = Instance.new("Part", m)
- p15.BrickColor = BrickColor.new("New Yeller")
- p15.FormFactor = Enum.FormFactor.Custom
- p15.Size = Vector3.new(1, 2.5, 1)
- p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
- p15.CanCollide = false
- p15.Locked = true
- p15.BottomSurface = Enum.SurfaceType.Smooth
- p15.TopSurface = Enum.SurfaceType.Smooth
- b15 = Instance.new("SpecialMesh", p15)
- b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b15.TextureId = ""
- b15.MeshType = Enum.MeshType.FileMesh
- b15.Name = "Mesh"
- b15.VertexColor = Vector3.new(0, 0, 0)
- b15.Scale = Vector3.new(1, 3, 1.29999995)
- p16 = Instance.new("Part", m)
- p16.BrickColor = BrickColor.new("New Yeller")
- p16.FormFactor = Enum.FormFactor.Custom
- p16.Size = Vector3.new(1, 2.5, 1)
- p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
- p16.CanCollide = false
- p16.Locked = true
- p16.BottomSurface = Enum.SurfaceType.Smooth
- p16.TopSurface = Enum.SurfaceType.Smooth
- b16 = Instance.new("SpecialMesh", p16)
- b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b16.TextureId = ""
- b16.MeshType = Enum.MeshType.FileMesh
- b16.Name = "Mesh"
- b16.VertexColor = Vector3.new(0, 0, 0)
- b16.Scale = Vector3.new(1, 3, 1.29999995)
- p17 = Instance.new("Part", m)
- p17.BrickColor = BrickColor.new("New Yeller")
- p17.FormFactor = Enum.FormFactor.Custom
- p17.Size = Vector3.new(1, 2.4000001, 1)
- p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
- p17.CanCollide = false
- p17.Locked = true
- p17.BottomSurface = Enum.SurfaceType.Smooth
- p17.TopSurface = Enum.SurfaceType.Smooth
- b17 = Instance.new("SpecialMesh", p17)
- b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
- b17.TextureId = ""
- b17.MeshType = Enum.MeshType.FileMesh
- b17.Name = "Mesh"
- b17.VertexColor = Vector3.new(0, 0, 0)
- b17.Scale = Vector3.new(1, 3, 1.29999995)
- p18 = Instance.new("Part", m)
- p18.BrickColor = BrickColor.new("New Yeller")
- p18.FormFactor = Enum.FormFactor.Custom
- p18.Size = Vector3.new(2, 2, 2)
- p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
- p18.CanCollide = false
- p18.Locked = true
- p18.BottomSurface = Enum.SurfaceType.Smooth
- p18.TopSurface = Enum.SurfaceType.Smooth
- b18 = Instance.new("SpecialMesh", p18)
- b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
- b18.TextureId = ""
- b18.MeshType = Enum.MeshType.FileMesh
- b18.Name = "Mesh"
- b18.VertexColor = Vector3.new(0, 0, 0)
- b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- w1 = Instance.new("Weld", p1)
- w1.Name = "Head_Weld"
- w1.Part0 = p1
- w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
- w1.Part1 = p2
- w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
- w2 = Instance.new("Weld", p2)
- w2.Name = "Part_Weld"
- w2.Part0 = p2
- w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
- w2.Part1 = p3
- w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
- w3 = Instance.new("Weld", p3)
- w3.Name = "Part_Weld"
- w3.Part0 = p3
- w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
- w3.Part1 = p4
- w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
- w4 = Instance.new("Weld", p4)
- w4.Name = "Part_Weld"
- w4.Part0 = p4
- w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
- w4.Part1 = p5
- w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
- w5 = Instance.new("Weld", p5)
- w5.Name = "Part_Weld"
- w5.Part0 = p5
- w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
- w5.Part1 = p6
- w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
- w6 = Instance.new("Weld", p6)
- mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
- --[[X.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- end
- end)
- part3.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- end
- end)]]--
- for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(60,90))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
- end
- end
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- local function toAxisAngle(CFr)
- local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
- local Angle = math.acos((R00+R11+R22-1)/2)
- local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- A = A == 0 and 0.00001 or A
- local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- B = B == 0 and 0.00001 or B
- local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- C = C == 0 and 0.00001 or C
- local x = (R21-R12)/sqrt(A)
- local y = (R02-R20)/sqrt(B)
- local z = (R10-R01)/sqrt(C)
- return Vec3(x,y,z),Angle
- end
- function ApplyTrig(Num,Func)
- local Min,Max = Func(0),Func(1)
- local i = Func(Num)
- return (i-Min)/(Max-Min)
- end
- function LerpCFrame(CFrame1,CFrame2,Num)
- local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
- return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
- end
- function Crater(Torso,Radius)
- Spawn(function()
- local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore+1] = v.Character
- end
- end
- local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
- if Hit == nil then return end
- local Parts = {}
- for i = 1,360,10 do
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
- if math.random(0,5) == 0 then -- rubble
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
- end
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
- end
- wait(0.02)
- end
- for i,v in pairs(Parts) do
- if v[1].Size.X > 2.1 then
- v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
- end
- v[1].Anchored = false
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].Transparency = i
- if i == 1 then
- v[1]:Destroy()
- elseif i >= 0.25 then
- v[1].CanCollide = false
- fake scripting and copied by another not working and horrible script = true
- are you a idiot? = true
- end
- wait(0.02)
- end
- Parts = nil
- end)
- end
- ROW = function(out, trans, s, wt, t, ang, plus)
- for i = 1, 360, 360/t do
- local c = Instance.new("Part", game.Workspace)
- c.FormFactor = 3
- c.TopSurface = 0
- c.BottomSurface = 0
- c.Size = s
- c.Anchored = true
- c.CanCollide = wt
- c.Material=workspace.Base.Material
- c.Transparency = trans
- c.BrickColor = workspace.Base.BrickColor
- c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
- c.Locked=true
- game.Debris:AddItem(c,15)
- end
- end
- Part = function(x,y,z,color,tr,cc,an,parent)
- local p = Instance.new('Part',parent or Weapon)
- p.formFactor = 'Custom'
- p.Size = Vector3.new(x,y,z)
- p.BrickColor = BrickColor.new(color)
- p.CanCollide = cc
- p.Transparency = tr
- p.Anchored = an
- p.TopSurface,p.BottomSurface = 0,0
- p.Locked=true
- p:BreakJoints()
- return p end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement