Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --fixed by Scenius
- plr = game.Players.LocalPlayer
- repeat
- wait(0.4)
- until plr.Character
- chr = plr.Character
- human = chr:FindFirstChild("Humanoid")
- mouse = plr:GetMouse()
- selected = false
- equipd = false
- tors = chr.Torso
- rarm = chr["Right Arm"]
- larm = chr["Left Arm"]
- rleg = chr["Right Leg"]
- lleg = chr["Left Leg"]
- hrp = chr.HumanoidRootPart
- head = chr.Head
- anim = human.Animator
- activu = false
- Heartbeat = Instance.new("BindableEvent")
- Heartbeat.Name = "Heartbeat"
- Heartbeat.Parent = script
- frame = 0.03333333333333333
- tf = 0
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- for i = 1, math.floor(tf / frame) do
- Heartbeat:Fire()
- end
- tf = tf - frame * math.floor(tf / frame)
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- Heartbeat.Event:wait()
- else
- for i = 1, num do
- Heartbeat.Event:wait()
- end
- end
- end
- A = true
- if A == true then
- Model = Instance.new("Model")
- Model.Name = "Weapon"
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(10, 12, 10)
- p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Medium stone grey")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Concrete
- m = Instance.new("CylinderMesh")
- m.Scale = Vector3.new(1, 1.02999997, 1)
- m.Parent = p
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(2, 12.8, 2)
- p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("CylinderMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(1.79, 5, 1)
- p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5, 1.40, 0.99)
- p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Center"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(12.5, 5.80, 27.6)
- p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 1
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(6.80, 1, 6.00)
- p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(11, 5.40, 2.79)
- p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(2.60, 11, 1.99)
- p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(3.20, 11.0, 5)
- p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(1.99, 1, 1)
- p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(1, 1, 4.59)
- p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(1, 12.6, 9.80)
- p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5.19, 1.39, 2.39)
- p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(11, 0.60, 1.99)
- p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(3.20, 11, 5.60)
- p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5, 13, 3.79)
- p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5.19, 1.39, 2.39)
- p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5.19, 1, 1)
- p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(3.20, 5, 4)
- p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(6, 6.79, 2.79)
- p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(0.60, 7.40, 3.79)
- p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Black")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(6.80, 1, 6.00)
- p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(11, 3.20, 2.19)
- p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(2.60, 11, 2.39)
- p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5.19, 1, 1)
- p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5, 0.80, 0.79)
- p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(10, 12, 10)
- p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Medium stone grey")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Concrete
- m = Instance.new("CylinderMesh")
- m.Scale = Vector3.new(1, 1.02999997, 1)
- m.Parent = p
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(0.60, 5.19, 5)
- p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(6, 6.79, 2.79)
- p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(2.79, 7.40, 0.79)
- p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Black")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(5.40, 11, 10)
- p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(11, 0.60, 2.39)
- p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(4, 13, 1)
- p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Bright yellow")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(10.1, 1, 0.99)
- p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(1, 1, 4.59)
- p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(1.99, 1, 1)
- p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(1, 1, 4.59)
- p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- p = Instance.new("Part", Model)
- p.Name = "Part"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.Size = Vector3.new(10.1, 1, 0.99)
- p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008)
- p.BrickColor = BrickColor.new("Mid gray")
- p.Transparency = 0
- p.Reflectance = .1
- p.Material = Enum.Material.Plastic
- m = Instance.new("SpecialMesh")
- m.Scale = Vector3.new(1, 1, 1)
- m.Parent = p
- m.MeshType = Enum.MeshType.Wedge
- Spawn = function()
- Modelc = Model:clone()
- for _, v in pairs(Modelc:children()) do
- if v.className == "Part" then
- if v.Name ~= "Center" then
- w = Instance.new("Weld")
- w.Part0 = Modelc.Center
- w.Part1 = v
- w.C1 = v.CFrame:inverse() * CFrame.new(v.Position)
- w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position)
- w.Parent = w.Part0
- end
- end
- end
- return Modelc
- end
- CameraRadius = 66
- TimeStopRadius = 66
- RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- getWelds = function(c) --designate weld variables
- local t = c.Torso
- local hrp = c.HumanoidRootPart.RootJoint
- RightShoulder = t:FindFirstChild("Right Shoulder")
- LeftShoulder = t:FindFirstChild("Left Shoulder")
- RightHip = t:FindFirstChild("Right Hip")
- LeftHip = t:FindFirstChild("Left Hip")
- RootJoint = hrp
- Neck = t:FindFirstChild("Neck")
- end
- resetWelds = function(ext, occ) --extent 1-3; occlusion
- --1 == reset desiredangle/currentangle
- --2 == reset C0/C1
- --3 == reset both des/cur/c0/c1
- local r = {
- RightShoulder,
- LeftShoulder,
- RightHip,
- LeftHip,
- RootJoint,
- Neck,
- Grip
- }
- for _, v in pairs(r) do
- for i = 1, #occ do
- if occ[i] == v then
- table.remove(r, _)
- end
- end
- end
- for _, v in pairs(r) do
- if v.Name == "Right Shoulder" then
- if ext == 1 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- elseif ext == 2 then
- v.C0 = RightShoulderC0
- v.C1 = RightShoulderC1
- elseif ext == 3 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- v.C0 = RightShoulderC0
- v.C1 = RightShoulderC1
- end
- elseif v.Name == "Left Shoulder" then
- if ext == 1 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- elseif ext == 2 then
- v.C0 = LeftShoulderC0
- v.C1 = LeftShoulderC1
- elseif ext == 3 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- v.C0 = LeftShoulderC0
- v.C1 = LeftShoulderC1
- end
- elseif v.Name == "Right Hip" then
- if ext == 1 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- elseif ext == 2 then
- v.C0 = RightHipC0
- v.C1 = RightHipC1
- elseif ext == 3 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- v.C0 = RightHipC0
- v.C1 = RightHipC1
- end
- elseif v.Name == "Left Hip" then
- if ext == 1 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- elseif ext == 2 then
- v.C0 = LeftHipC0
- v.C1 = LeftHipC1
- elseif ext == 3 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- v.C0 = LeftHipC0
- v.C1 = LeftHipC1
- end
- elseif v.Name == "Neck" then
- if ext == 1 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- elseif ext == 2 then
- v.C0 = NeckC0
- v.C1 = NeckC1
- elseif ext == 3 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- v.C0 = NeckC0
- v.C1 = NeckC1
- end
- elseif v.Name == "RootJoint" then
- if ext == 1 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- elseif ext == 2 then
- v.C0 = RootJointC0
- v.C1 = RootJointC1
- elseif ext == 3 then
- v.DesiredAngle = 0
- v.CurrentAngle = 0
- v.C0 = RootJointC0
- v.C1 = RootJointC1
- end
- elseif v.Name == "RightGrip" then
- if ext == 1 then
- elseif ext == 2 then
- Grip.C0 = nGrip.C0
- Grip.C1 = nGrip.C1
- elseif ext == 3 then
- Grip.C0 = nGrip.C0
- Grip.C1 = nGrip.C1
- end
- end
- end
- end
- doitdocdoit = function()
- if deb == false then
- return
- end
- deb = false
- vPlayer = game.Players.LocalPlayer
- cPlayer = vPlayer.Character
- Anim = cPlayer.Animate
- Anim.Disabled = true
- Hum = cPlayer.Humanoid
- Hum.Name = "NOPE"
- Hum.WalkSpeed = 0
- getWelds(cPlayer)
- resetWelds(3, {})
- bodypos = Instance.new("BodyPosition")
- bodypos.P = 4000
- bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000
- bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0)
- bodypos.Parent = cPlayer.Torso
- dir = cPlayer.HumanoidRootPart.CFrame.lookVector
- CPlayer = cPlayer
- partpos = Instance.new("Part", workspace)
- partpos.Transparency = 1
- partpos.CanCollide = false
- partpos.Anchored = true
- partpos.CFrame = cPlayer.Torso.CFrame
- sound = Instance.new("Sound")
- sound.Parent = partpos
- sound.Volume = 1
- sound.SoundId = "http://www.roblox.com/asset/?id=468760371"
- -- sound.SoundId="http://www.roblox.com/asset/?id=168009623"
- sound2 = Instance.new("Sound")
- sound2.Parent = workspace.CurrentCamera
- sound2.Volume = 1
- sound2.SoundId = "http://www.roblox.com/asset/?id=468760371"
- -- sound2.SoundId="http://www.roblox.com/asset/?id=168009623"
- sound:Play()
- sound2:Play()
- expected = 10
- did = false
- pooted = 0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- end)
- --[[sound=Instance.new("Sound")
- sound.Parent=cPlayer.Torso
- sound.Volume=1
- sound.SoundId="http://www.roblox.com/asset/?id=316900066"
- sound:Play()]]--
- while did == false do
- wait()
- end
- expected = 10
- did = false
- pooted = 0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9))
- RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10))
- end)
- while did == false do
- wait()
- end
- wait(.2)
- expected = 5
- did = false
- pooted = 0
- nubhit = nil
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40))
- RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34))
- if nubhit == nil then
- bodypos.position = bodypos.position + dir * 4
- cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20)
- --bodypos.position=bodypos.position + dir*9
- --cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20)
- end
- if nubhit == nil and pooted >= 2 then
- pos = bodypos.position + dir * 2
- radi = 6
- for _, v in pairs(workspace:children()) do
- h = v:FindFirstChild("Humanoid")
- t = v:FindFirstChild("Torso")
- if h ~= nil and t ~= nil and v ~= cPlayer then
- if (t.Position - pos).magnitude <= radi then
- print(":>")
- nubhit = v
- break
- end
- end
- end
- end
- if nubhit ~= nil then
- if nubhit.Torso:FindFirstChild("PART1") == nil then
- v = Instance.new("BodyVelocity")
- v.P = 4000
- v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000)
- v.velocity = dir * 4 + Vector3.new(0, 4, 0)
- v.Name = "PART1"
- v.Parent = nubhit.Torso
- game:GetService("Debris"):AddItem(v, 5)
- coroutine.resume(coroutine.create(function(v)
- for i = 1, 100 do
- v.velocity = v.velocity - Vector3.new(0, .07, 0)
- wait()
- end
- end), v)
- v = Instance.new("BodyGyro")
- v.P = 20
- v.D = 30
- v.maxTorque = Vector3.new(5000000, 5000000, 5000000)
- v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0)
- v.Name = "PART1"
- v.Parent = nubhit.Torso
- game:GetService("Debris"):AddItem(v, 5)
- end
- end
- end)
- while did == false do
- wait()
- end
- if nubhit == nil then
- sound:Stop()
- wait(.5)
- sound2:Stop()
- else
- expected = 32
- did = false
- pooted = 0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1))
- RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05))
- bodypos.position = bodypos.position + dir * .05
- cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20)
- end)
- while did == false do
- wait()
- end
- bodypos.Parent = nil
- expected = 12
- did = false
- pooted = 0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8))
- RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7))
- end)
- while did == false do
- wait()
- end
- expected = 6
- did = false
- pooted = 0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1))
- print(":(")
- end)
- wait(.3)
- while did == false do
- wait()
- end
- resetWelds(3, {
- "Neck"
- })
- expected = 5
- did = false
- pooted = 0
- p = Instance.new("Part", workspace)
- p.Name = "ORB"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.CFrame = cPlayer.Torso.CFrame
- m = Instance.new("SpecialMesh", p)
- m.MeshType = "Sphere"
- p.BrickColor = BrickColor:White()
- p.Size = Vector3.new(1, 1, 1)
- p.CanCollide = false
- p.Anchored = true
- game:GetService("Debris"):AddItem(p, 5)
- coroutine.resume(coroutine.create(function(p)
- nubhit.Torso.Anchored = true
- for i = 1, 10 do
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5)
- p.Transparency = .5 + i / 20
- wait()
- end
- p:Remove()
- end), p)
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2))
- print(":(")
- end)
- while did == false do
- wait()
- end
- wait(1)
- expected = 5
- did = false
- pooted = 0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0))
- print(":(")
- end)
- while did == false do
- wait()
- end
- wait(.8)
- expected = 5
- did = false
- pooted = 0
- bodypos.Parent = cPlayer.Torso
- workspace.CurrentCamera.CameraType = "Follow"
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0))
- bodypos.position = bodypos.position + Vector3.new(0, 240, 0)
- cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 240, 0)
- print(":(")
- end)
- local DIOPLS = Instance.new("Sound", cPlayer.Torso)
- DIOPLS.SoundId = "rbxassetid://316900066"
- DIOPLS.Volume = 1
- DIOPLS:Play()
- Instance.new("DistortionSoundEffect", DIOPLS).Level = 1
- game:GetService("Debris"):AddItem(DIOPLS, 19)
- while did == false do
- wait()
- end
- wait(.8)
- LOL = Spawn()
- LOL.Parent = workspace
- LOL:MakeJoints()
- LOL:MoveTo(cPlayer.Torso.CFrame.p)
- C = LOL.Center
- C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0)
- bb = Instance.new("BodyPosition")
- bb.Parent = C
- bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000)
- bb.position = bb.Parent.Position
- C.CFrame = CFrame.new(bb.position)
- orig = bb.position
- gg = Instance.new("BodyGyro")
- gg.P = 15000
- gg.D = 100
- gg.maxTorque = Vector3.new(500000000, 500000000, 500000000)
- gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0)
- gg.Parent = C
- expected = 80
- did = false
- pooted = 0
- resetWelds(3, {})
- Hum.PlatformStand = true
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- bodypos.Parent = nil
- w = Instance.new("Weld")
- w.Part0 = C
- w.Part1 = cPlayer.Torso
- w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0)
- w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- w.Parent = w.Part0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0)
- C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0)
- print(":(")
- end)
- while did == false do
- wait()
- end
- C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0)
- C.CFrame = C.CFrame * CFrame.new(8, 0, 0)
- bl2 = Instance.new("Part")
- bl2.TopSurface = 0
- bl2.BottomSurface = 0
- bl2.CanCollide = false
- bl2.formFactor = "Symmetric"
- local ShockWaveSound = Instance.new("Sound", bl2)
- ShockWaveSound.SoundId = "rbxassetid://138186576"
- ShockWaveSound.Pitch = 0.8
- ShockWaveSound.Volume = 1
- ShockWaveSound:Play()
- Instance.new("DistortionSoundEffect", ShockWaveSound).Level = 1
- m = Instance.new("SpecialMesh")
- m.MeshId = "http://www.roblox.com/asset/?id=20329976"
- m.Scale = Vector3.new(1, 4, 1)
- m.Parent = bl2
- bl2.Size = Vector3.new(1, 1, 1)
- bl2.Anchored = false
- bl2.Name = "c"
- bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0)
- bl2.BrickColor = BrickColor.new("White")
- bl2.Parent = CPlayer
- coroutine.resume(coroutine.create(function(p)
- for i = 1, 10 do
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8)
- p.Transparency = .25 + i * .075
- p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0)
- wait()
- end
- p:Remove()
- end), bl2)
- bl2.Anchored = true
- bl2 = Instance.new("Part")
- bl2.TopSurface = 0
- bl2.BottomSurface = 0
- bl2.CanCollide = false
- bl2.formFactor = "Symmetric"
- m = Instance.new("SpecialMesh")
- m.MeshId = "http://www.roblox.com/asset/?id=20329976"
- m.Scale = Vector3.new(1, 6, 1)
- m.Parent = bl2
- bl2.Size = Vector3.new(1, 1, 1)
- bl2.Anchored = false
- bl2.Name = "c"
- bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0)
- bl2.BrickColor = BrickColor.new("White")
- bl2.Parent = CPlayer
- coroutine.resume(coroutine.create(function(p)
- for i = 1, 20 do
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6)
- p.Transparency = i / 20
- p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0)
- wait()
- end
- p:Remove()
- end), bl2)
- bl2.Anchored = true
- gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0)
- expected = 3
- did = false
- pooted = 0
- workspace.CurrentCamera.CameraType = "Follow"
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0))
- w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0)
- print(":(")
- end)
- while did == false do
- wait()
- end
- wait(.3)
- expected = 5
- did = false
- pooted = 0
- workspace.CurrentCamera.CameraType = "Follow"
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0))
- w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0)
- print(":(")
- end)
- while did == false do
- wait()
- end
- expected = 203
- did = false
- pooted = 0
- workspace.CurrentCamera.CameraType = "Follow"
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {
- RightHip,
- LeftHip,
- RootJoint,
- Neck
- })
- RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2)
- LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2)
- RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30))
- LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0))
- w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200)
- if pooted / 2 == math.floor(pooted / 2) then
- p = cPlayer["Right Arm"]:clone()
- p.Anchored = true
- p.CanCollide = false
- p.Parent = workspace
- p.Transparency = .5
- game:GetService("Debris"):AddItem(p, .2)
- p = cPlayer["Left Arm"]:clone()
- p.Anchored = true
- p.CanCollide = false
- p.Parent = workspace
- p.Transparency = .5
- game:GetService("Debris"):AddItem(p, .2)
- p = Instance.new("Part", workspace)
- p.Name = "ORB"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Custom"
- p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15)
- m = Instance.new("SpecialMesh", p)
- m.MeshType = "Sphere"
- p.BrickColor = BrickColor:White()
- p.Size = Vector3.new(.4, .4, .4)
- p.CanCollide = false
- p.Anchored = true
- game:GetService("Debris"):AddItem(p, 5)
- coroutine.resume(coroutine.create(function(p)
- for i = 1, 8 do
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1)
- p.Transparency = i / 8
- wait()
- end
- p:Remove()
- end), p)
- end
- print(":)")
- end)
- while did == false do
- wait()
- end
- wait(.5)
- expected = 20
- did = false
- pooted = 0
- workspace.CurrentCamera.CameraType = "Follow"
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {
- Neck,
- RootJoint,
- RightHip,
- LeftHip
- })
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0))
- print(":)")
- end)
- while did == false do
- wait()
- end
- wait(2)
- expected = 5
- did = false
- pooted = 0
- workspace.CurrentCamera.CameraType = "Follow"
- w.Parent = nil
- bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0)
- poo = cPlayer.Torso.CFrame.lookVector
- cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50)
- bodypos.Parent = cPlayer.Torso
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0))
- print(":)")
- end)
- while did == false do
- wait()
- end
- wait(.7)
- expected = 5
- did = false
- pooted = 0
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- resetWelds(3, {})
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0))
- print(":(")
- end)
- while did == false do
- wait()
- end
- wait(.2)
- expected = 10
- did = false
- pooted = 0
- workspace.CurrentCamera.CameraType = "Follow"
- g = Instance.new("BodyGyro")
- g.Parent = cPlayer.Torso
- sos = game:GetService("RunService").Stepped:connect(function()
- pooted = pooted + 1
- if pooted >= expected + 1 then
- sos:disconnect()
- did = true
- return
- end
- RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2))
- LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2))
- RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4))
- LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4))
- Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0))
- RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
- if pooted >= 2 then
- bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5
- cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5
- end
- print(":(")
- end)
- while did == false do
- wait()
- end
- wait(.2)
- bodypos:Remove()
- wait(.5)
- e = Instance.new("Explosion")
- e.BlastRadius = 30
- e.Position = C.Position
- e.BlastPressure = e.BlastPressure * 2.5
- e.Parent = workspace
- s = Instance.new("Sound", C)
- s.SoundId = "rbxassetid://258057783"
- s.Volume = 1
- s:Play()
- Instance.new("DistortionSoundEffect", s).Level = 1
- g:Remove()
- --dun
- nubhit.Torso.Anchored = false
- Hum.PlatformStand = false
- C.Anchored = true
- coroutine.resume(coroutine.create(function(t)
- wait(3)
- p = Instance.new("Sound")
- p.SoundId = "http://www.roblox.com/asset/?id=154677261"
- p.Parent = t
- p.Volume = 1
- p:Play()
- end), C)
- game:GetService("Debris"):AddItem(LOL, 5)
- end
- resetWelds(3, {})
- workspace.CurrentCamera.CameraType = "Custom"
- Hum.WalkSpeed = 16
- Hum.Name = "Humanoid"
- bodypos:Remove()
- partpos:Remove()
- Anim.Parent = nil
- wait(.1)
- Anim.Disabled = false
- Anim.Parent = cPlayer
- deb = true
- end
- Tool = Instance.new("HopperBin")
- Tool.Name = "ROAD ROLLER DA"
- Tool.Parent = game.Players.LocalPlayer.Backpack
- Tool.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function()
- doitdocdoit()
- end)
- end)
- end
- tool = Instance.new("Tool")
- tool.CanBeDropped = false
- tool.RequiresHandle = false
- tool.Name = "fir"
- tool.Parent = plr.Backpack
- 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 = tors:FindFirstChild("Right Shoulder")
- LS = tors:FindFirstChild("Left Shoulder")
- RH = tors:FindFirstChild("Right Hip")
- LH = tors:FindFirstChild("Left Hip")
- RJ = hrp:FindFirstChild("RootJoint")
- N = tors:FindFirstChild("Neck")
- cf = CFrame.new
- ang = CFrame.Angles
- rd = math.rad
- rd2 = math.random
- function nooutline(p)
- p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
- end
- function makepart(color, name, reflec, mater, parnt, cfram)
- local port = Instance.new("Part")
- port.BrickColor = BrickColor.new(color)
- port.Name = name
- nooutline(port)
- port.Reflectance = reflec
- port.Material = mater
- port.Anchored = false
- port.CanCollide = false
- port.Locked = true
- port.Size = Vector3.new(0.2, 0.2, 0.2)
- port.Parent = parnt
- return port
- end
- function makemesh(meshtype, scale, meshid, parent)
- local mes = Instance.new("SpecialMesh")
- mes.MeshType = meshtype
- mes.Scale = scale
- if meshtype == "FileMesh" then
- mes.MeshId = meshid
- end
- mes.Parent = parent
- return mes
- end
- function makeweld(parent, p0, p1, c0, c1)
- local wel = Instance.new("Weld")
- wel.Part0 = p0
- wel.Part1 = p1
- wel.C0 = c0
- if c1 ~= nil then
- wel.C1 = c1
- end
- wel.Parent = parent
- return wel
- end
- function smokz(prnt)
- s = Instance.new("Smoke")
- s.Color = Color3.new(1, 1, 1)
- s.Enabled = false
- s.Name = "smok"
- s.Opacity = 0.5
- s.RiseVelocity = 0.2
- s.Size = 0.1
- s.Parent = prnt
- end
- function glow(tz, paz, smokinz, length)
- if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
- do
- local s = Instance.new("Sound")
- s.SoundId = "rbxassetid://298181829"
- s.Volume = 0.25
- s.Pitch = math.random(9, 11) / 10
- s.Parent = paz
- s:Play()
- paz.Transparency = 0.7
- if smokinz == true then
- paz.smok.Enabled = true
- end
- delay(length, function()
- paz.Transparency = 1
- paz.smok.Enabled = false
- s:Destroy()
- end)
- end
- end
- end
- function makeglow()
- for _, p in pairs(chr:GetChildren()) do
- if p.ClassName == "Accessory" then
- do
- local h = p:FindFirstChildOfClass("Part")
- local nh = h:Clone()
- nh.Parent = nil
- nh.CFrame = h.CFrame
- nh.Transparency = 1
- nh.Name = "Glow"
- nh.Material = "Neon"
- nh.BrickColor = BrickColor.new("Really red")
- nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
- nh.Parent = h
- makeweld(nh, nh, h, cf(0, 0, 0))
- local m = nh:FindFirstChildOfClass("SpecialMesh")
- m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
- m.TextureId = ""
- smokz(nh)
- nh.Touched:connect(function(po)
- glow(po, nh, true, 0.8)
- end)
- end
- elseif p.ClassName == "Part" and p ~= hrp then
- do
- local n = p:Clone()
- n.Parent = nil
- n.Transparency = 1
- n.Material = "Neon"
- n.Name = "Glow"
- n.BrickColor = BrickColor.new("Really red")
- n.CFrame = p.CFrame
- n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
- n.Parent = p
- makeweld(n, n, p, cf(0, 0, 0))
- smokz(n)
- n.Touched:connect(function(po)
- glow(po, n, true, 0.8)
- end)
- if n:FindFirstChildOfClass("Decal") then
- n:FindFirstChildOfClass("Decal"):Destroy()
- end
- if p:FindFirstChildOfClass("SpecialMesh") then
- local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
- c.Parent = nil
- c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
- c.Parent = n
- else
- local m = Instance.new("BlockMesh")
- m.Scale = Vector3.new(1.05, 1.025, 1.05)
- if p == tors then
- m.Scale = Vector3.new(1.05, 1.05, 1.05)
- end
- m.Parent = n
- end
- end
- end
- end
- end
- makeglow()
- function fglow(glopart, duration)
- for _ = 1, 4 do
- swait()
- glopart.Transparency = glopart.Transparency - 0.075
- end
- delay(duration, function()
- for _ = 1, 4 do
- swait()
- glopart.Transparency = glopart.Transparency + 0.075
- 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
- end
- function RFistDamage()
- end
- function rsmash()
- if activu == true or selected == false then
- return
- end
- coroutine.resume(coroutine.create(function()
- fglow(rarm.Glow, 3)
- end))
- activu = true
- human.WalkSpeed = human.WalkSpeed - 13
- animo(false)
- local Mus = Instance.new("Sound",workspace)
- Mus.SoundId = "rbxassetid://512813873"
- Mus.Pitch = 1
- Mus.Volume = 10
- Mus.Looped = false
- wait(0.3)
- Mus:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe.LightEmission = 0.9
- pe.Size = NumberSequence.new(0.5)
- pe.Texture = "rbxassetid://359293258"
- pe.Transparency = NumberSequence.new(0.1)
- pe.Lifetime = NumberRange.new(0.1)
- pe.Rate = 1
- pe.RotSpeed = NumberRange.new(360)
- pe.Speed = NumberRange.new(3)
- pe.VelocitySpread = 360
- pe.Parent = rarm.Glow
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe2.LightEmission = 0.9
- pe2.Size = NumberSequence.new(5)
- pe2.Texture = "rbxassetid://359293258"
- pe2.Transparency = NumberSequence.new(0.4)
- pe2.ZOffset = 2
- pe2.Enabled = false
- pe2.LockedToPart = true
- pe2.Lifetime = NumberRange.new(0.07)
- pe2.Rate = 8
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.RotSpeed = NumberRange.new(0)
- pe2.Speed = NumberRange.new(0)
- pe2.VelocitySpread = 180
- pe2.Parent = rarm.Glow
- for _ = 1, 45 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
- lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
- lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- pe.Rate = pe.Rate + 25
- end
- pe2.Enabled = true
- pe.Speed = NumberRange.new(10)
- for _ = 1, 30 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
- lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
- lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
- lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
- end
- for l = 1, 3 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
- lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
- lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
- lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
- end
- pe:Destroy()
- pe2:Destroy()
- KABOOMZ()
- rarm.Glow.smok.Enabled = true
- for _ = 1, 8 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
- lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
- lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
- lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
- end
- wait(1.5)
- animo(true)
- human.WalkSpeed = human.WalkSpeed + 13
- for _ = 1, 24 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
- end
- resetlerp()
- rarm.Glow.smok.Enabled = false
- activu = false
- end
- local debris=game:service"Debris"
- vt = Vector3.new
- bc = BrickColor.new
- function Ring()
- local effspwn = Instance.new("Part")
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = workspace
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(10000020,10000030))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
- end
- end
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring1"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(12, 12, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -3), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shokwve"
- shok.BrickColor = BrickColor.new("Really black")
- shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.6
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(4, 4, 4)
- mesh.Parent = shok
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(5, 5, 5)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 32 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.03
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(20, 20, 20)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(20, 20, 20)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- function Landing()
- 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(tors.CFrame.x,0,tors.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
- ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
- Ring()
- end
- function newRay(start,face,range,wat)
- local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
- hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
- return rey,hit,pos
- end
- function jum()
- if activu == true or selected == false then
- return
- end
- coroutine.resume(coroutine.create(function()
- fglow(rleg.Glow, 1)
- fglow(lleg.Glow, 1)
- end))
- activu = true
- human.WalkSpeed = human.WalkSpeed - 13
- local pe = Instance.new("ParticleEmitter")
- pe.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe.LightEmission = 0.9
- pe.Size = NumberSequence.new(0.5)
- pe.Texture = "rbxassetid://359293258"
- pe.Transparency = NumberSequence.new(0.1)
- pe.Lifetime = NumberRange.new(0.1)
- pe.Rate = 250
- pe.RotSpeed = NumberRange.new(360)
- pe.Speed = NumberRange.new(3)
- pe.VelocitySpread = 360
- pe.Parent = rleg.Glow
- local pea = pe:Clone()
- pea.Parent = lleg.Glow
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe2.LightEmission = 0.9
- pe2.Size = NumberSequence.new(5)
- pe2.Texture = "rbxassetid://359293258"
- pe2.Transparency = NumberSequence.new(0.4)
- pe2.ZOffset = 2
- pe2.Enabled = true
- pe2.LockedToPart = true
- pe2.Lifetime = NumberRange.new(0.07)
- pe2.Rate = 8
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.RotSpeed = NumberRange.new(0)
- pe2.Speed = NumberRange.new(0)
- pe2.VelocitySpread = 180
- pe2.Parent = lleg.Glow
- local pea2 = pe2:Clone()
- pea2.Parent = rleg.Glow
- for l = 1, 30 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- end
- pe:Destroy()
- pe2:Destroy()
- pea:Destroy()
- pea2:Destroy()
- human.WalkSpeed = 50
- BV = Instance.new("BodyVelocity", tors)
- BV.maxForce = Vector3.new(0,100000,0)
- BV.P = 100000
- BV.velocity = Vector3.new(0,800,0)
- KABOOMZ2()
- coroutine.resume(coroutine.create(function()
- swait(3)
- BV:Destroy()
- end))
- for _ = 1, 18 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- end
- for _ = 1, 18 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 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) * ang(rd(0), rd(0), rd(0)), 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(0), rd(0), rd(0)), 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(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- resetlerp()
- local ry,ht,ps=nil,nil,nil
- while ht==nil do
- ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
- wait()
- end
- human.WalkSpeed = 0
- Landing()
- z = Instance.new("Sound",tors)
- z.SoundId = "rbxassetid://142070127"
- z.Volume = 2
- wait(.1)
- z:Play()
- for l = 1, 30 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- end
- resetlerp()
- human.WalkSpeed = 16
- activu = false
- 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)
- --[[if Func == "sin" then
- return (math.sin((1-Num)*math.pi)+1)/2
- elseif Func == "cos" then
- return (math.cos((1-Num)*math.pi)+1)/2
- end]]
- 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
- end
- end
- wait(0.02)
- end
- Parts = nil
- end)
- end
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= chr then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- function KABOOMZ()
- local effspwn = Instance.new("Part")
- coroutine.resume(coroutine.create(function()
- local sound1 = Instance.new("Sound")
- sound1.SoundId = "rbxassetid://138137702"
- sound1.MaxDistance = 300
- sound1.EmitterSize = 20
- sound1.Volume = 4
- sound1.Pitch = 0.95
- sound1.Parent = effspwn
- local sound2 = Instance.new("Sound")
- sound2.SoundId = "rbxassetid://157878578"
- sound2.MaxDistance = 300
- sound2.EmitterSize = 20
- sound2.Volume = 2
- sound2.Pitch = 0.9
- sound2.Parent = effspwn
- local sound3 = Instance.new("Sound")
- sound3.SoundId = "rbxassetid://511715134"
- sound2.MaxDistance = 400
- sound2.EmitterSize = 30
- sound2.Volume = 5
- sound2.Pitch = 0.6
- sound2.Parent = effspwn
- sound2:Play()
- wait()
- sound1:Play()
- sound3:Play()
- end))
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = workspace
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
- effspwn.Parent = model
- Crater(head,60)
- for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(10000020,10000030))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
- end
- end
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "whoosh"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.1
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://437347603"
- mesh.Scale = Vector3.new(20, 20, 15)
- mesh.Parent = shok
- for e = 1, 8 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
- shok.Transparency = shok.Transparency + 0.035
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
- shok.Transparency = shok.Transparency + 0.11
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring1"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(0.3, 0.3, 0.15)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(4.6, 4.6, 5)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(20, 20, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(20.4, 20.4, 12)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "coil1"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "coil2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- mesh.Scale = Vector3.new(6, 12, 6)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.005
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.005
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.09
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shokwve"
- shok.BrickColor = BrickColor.new("Really black")
- shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.6
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 32 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.03
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- end
- function KABOOMZ2()
- local effspwn = Instance.new("Part")
- coroutine.resume(coroutine.create(function()
- local sound1 = Instance.new("Sound")
- sound1.SoundId = "rbxassetid://138137702"
- sound1.MaxDistance = 300
- sound1.EmitterSize = 20
- sound1.Volume = 2.5
- sound1.Pitch = 0.65
- sound1.Parent = effspwn
- local sound2 = Instance.new("Sound")
- sound2.SoundId = "rbxassetid://157878578"
- sound2.MaxDistance = 300
- sound2.EmitterSize = 20
- sound2.Volume = 1
- sound2.Pitch = 0.7
- sound2.Parent = effspwn
- local sound3 = Instance.new("Sound")
- sound3.SoundId = "rbxassetid://138250406"
- sound2.MaxDistance = 400
- sound2.EmitterSize = 30
- sound2.Volume = 0.5
- sound2.Pitch = 0.5
- sound2.Parent = effspwn
- sound2:Play()
- wait()
- sound1:Play()
- sound3:Play()
- end))
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = workspace
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- Crater(head,60)
- Crater(head,120)
- for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(10000020,10000030))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
- end
- end
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "whoosh"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.1
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://437347603"
- mesh.Scale = Vector3.new(20, 20, 15)
- mesh.Parent = shok
- for e = 1, 8 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
- shok.Transparency = shok.Transparency + 0.035
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
- shok.Transparency = shok.Transparency + 0.11
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring1"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(20, 20, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "coil1"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "coil2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- mesh.Scale = Vector3.new(6, 12, 6)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.005
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.005
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.09
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shokwve"
- shok.BrickColor = BrickColor.new("Really black")
- shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.6
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 32 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.03
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- tor = chr.Torso
- Debounce = false
- Invis = function()
- for i = 1,20 do
- chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05
- chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
- chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
- chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
- chr['Head'].Transparency = chr['Head'].Transparency + .05
- chr['Torso'].Transparency = chr['Torso'].Transparency + .05
- chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
- game["Run Service"].RenderStepped:wait()
- end
- end
- Vis = function()
- for i = 1,20 do
- chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05
- chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
- chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
- chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
- chr['Head'].Transparency = chr['Head'].Transparency - .05
- chr['Torso'].Transparency = chr['Torso'].Transparency - .05
- chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
- game["Run Service"].RenderStepped:wait()
- end
- end
- Fade = function(Part)
- if Part:IsA'Part' then
- for i = 1,20 do
- Part.Transparency = Part.Transparency + .05
- Part.Size = Part.Size - Vector3.new(.04,.04,.04)
- Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
- wait()
- end
- Part:Destroy()
- end
- end
- Teleport = function(cx,cy,cz)
- Debounce = true
- tor.Anchored = true
- Invis()
- --MakeTpPart()
- tor.Anchored = false
- tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
- tor.Anchored = true
- Vis()
- tor.Anchored = false
- Debounce = false
- end;
- tps = Instance.new("Sound",chr)
- tps.SoundId = "http://www.roblox.com/asset/?id = 357621062"
- tps.Volume = 30
- function Tele()
- human.WalkSpeed = 0
- if activu == true or selected == false then
- return
- end
- coroutine.resume(coroutine.create(function()
- fglow(rleg.Glow, 1)
- fglow(lleg.Glow, 1)
- end))
- activu = true
- local pe = Instance.new("ParticleEmitter")
- pe.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe.LightEmission = 0.9
- pe.Size = NumberSequence.new(0.5)
- pe.Texture = "rbxassetid://359293258"
- pe.Transparency = NumberSequence.new(0.1)
- pe.Lifetime = NumberRange.new(0.1)
- pe.Rate = 250
- pe.RotSpeed = NumberRange.new(360)
- pe.Speed = NumberRange.new(3)
- pe.VelocitySpread = 360
- pe.Parent = rleg.Glow
- local pea = pe:Clone()
- pea.Parent = lleg.Glow
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe2.LightEmission = 0.9
- pe2.Size = NumberSequence.new(5)
- pe2.Texture = "rbxassetid://359293258"
- pe2.Transparency = NumberSequence.new(0.4)
- pe2.ZOffset = 2
- pe2.Enabled = true
- pe2.LockedToPart = true
- pe2.Lifetime = NumberRange.new(0.07)
- pe2.Rate = 8
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.RotSpeed = NumberRange.new(0)
- pe2.Speed = NumberRange.new(0)
- pe2.VelocitySpread = 180
- pe2.Parent = lleg.Glow
- local pea2 = pe2:Clone()
- pea2.Parent = rleg.Glow
- for l = 1, 30 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- end
- pe:Destroy()
- pe2:Destroy()
- pea:Destroy()
- pea2:Destroy()
- local rng = Instance.new("Part", chr)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Really black")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.5
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Position = tors.Position - Vector3.new(0,2,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(1, 1, 2)
- coroutine.wrap(function()
- for i = 1, 60, 8 do
- rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
- rng.Transparency = i/60
- wait()
- end
- wait()
- rng:Destroy()
- end)()
- tps:Play()
- Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
- resetlerp()
- human.WalkSpeed = 16
- activu = false
- end
- boom3 = Instance.new("Sound",chr)
- boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
- boom3.Volume = 50
- gprop = {}
- function materialhit(hit)
- if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
- gprop = {hit.BrickColor,hit.Material}
- end
- end
- chr["Left Leg"].Touched:connect(materialhit)
- chr["Right Leg"].Touched:connect(materialhit)
- function KickBoom()
- local effspwn = Instance.new("Part")
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = chr
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- for i = 1, 15 do
- local gtrace = Instance.new("Part",game.Workspace)
- gtrace.BrickColor = gprop[1]
- gtrace.Material = gprop[2]
- gtrace.Size = Vector3.new(16,16,16)
- gtrace.Anchored = true
- gtrace.CanCollide = false
- gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(3)
- for i = 1, 9 do
- wait(.1)
- gtrace.Transparency = gtrace.Transparency + .1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- Crater(head,67)
- for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(10000020,10000030))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
- end
- end
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(19, 19, 19)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(47, 47, 47)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(79, 79, 79)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- cam = workspace.CurrentCamera
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- it = Instance.new
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function Stom()
- cf=CFrame.new
- angles=CFrame.Angles
- euler=CFrame.fromEulerAnglesXYZ
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RootPart=chr.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- if activu == true or selected == false then
- return
- end
- coroutine.resume(coroutine.create(function()
- fglow(lleg.Glow, 6)
- end))
- activu = true
- local pe = Instance.new("ParticleEmitter")
- pe.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe.LightEmission = 0.9
- pe.Size = NumberSequence.new(0.5)
- pe.Texture = "rbxassetid://359293258"
- pe.Transparency = NumberSequence.new(0.1)
- pe.Lifetime = NumberRange.new(0.1)
- pe.Rate = 250
- pe.RotSpeed = NumberRange.new(360)
- pe.Speed = NumberRange.new(3)
- pe.VelocitySpread = 360
- pe.Parent = lleg.Glow
- local pea = pe:Clone()
- pea.Parent = lleg.Glow
- wait(0.5)
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe2.LightEmission = 0.9
- pe2.Size = NumberSequence.new(5)
- pe2.Texture = "rbxassetid://359293258"
- pe2.Transparency = NumberSequence.new(0.4)
- pe2.ZOffset = 2
- pe2.Enabled = true
- pe2.LockedToPart = true
- pe2.Lifetime = NumberRange.new(0.07)
- pe2.Rate = 8
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.RotSpeed = NumberRange.new(0)
- pe2.Speed = NumberRange.new(0)
- pe2.VelocitySpread = 180
- pe2.Parent = lleg.Glow
- local pea2 = pe2:Clone()
- pea2.Parent = lleg.Glow
- local Mus = Instance.new("Sound",workspace)
- Mus.SoundId = "rbxassetid://840567549"
- Mus.Pitch = 1
- Mus.Volume = 90000
- Mus.Looped = false
- wait(0.9)
- Mus:Play()
- human.WalkSpeed = 0
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- end
- wait(1)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
- LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- end
- KickBoom()
- so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)
- so("http://roblox.com/asset/?id=321321137",lleg,1,1)
- so("http://roblox.com/asset/?id=506384002",lleg,1,1)
- so("http://roblox.com/asset/?id=157878578",lleg,25,1)
- so("http://roblox.com/asset/?id=165970126",lleg,25,1)
- wait(3)
- human.WalkSpeed = 16
- pe:Destroy()
- pe2:Destroy()
- pea:Destroy()
- pea2:Destroy()
- resetlerp()
- activu = false
- end
- function Smash()
- for i = 1, 15 do
- local gtrace = Instance.new("Part",game.Workspace)
- gtrace.BrickColor = gprop[1]
- gtrace.Material = gprop[2]
- gtrace.Size = Vector3.new(19,19,19)
- gtrace.Anchored = true
- gtrace.CanCollide = false
- gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(7)
- for i = 1, 9 do
- wait(.1)
- gtrace.Transparency = gtrace.Transparency + .1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- Crater(head,67)
- end
- function Smash2()
- for i = 1, 15 do
- local gtrace = Instance.new("Part",game.Workspace)
- gtrace.BrickColor = gprop[1]
- gtrace.Material = gprop[2]
- gtrace.Size = Vector3.new(19,19,19)
- gtrace.Anchored = true
- gtrace.CanCollide = false
- gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(7)
- for i = 1, 9 do
- wait(.1)
- gtrace.Transparency = gtrace.Transparency + .1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- function Smash3()
- for i = 1, 15 do
- local gtrace = Instance.new("Part",game.Workspace)
- gtrace.BrickColor = gprop[1]
- gtrace.Material = gprop[2]
- gtrace.Size = Vector3.new(19,19,19)
- gtrace.Anchored = true
- gtrace.CanCollide = false
- gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(7)
- for i = 1, 9 do
- wait(.1)
- gtrace.Transparency = gtrace.Transparency + .1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- function Smash4()
- for i = 1, 15 do
- local gtrace = Instance.new("Part",game.Workspace)
- gtrace.BrickColor = gprop[1]
- gtrace.Material = gprop[2]
- gtrace.Size = Vector3.new(19,19,19)
- gtrace.Anchored = true
- gtrace.CanCollide = false
- gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(7)
- for i = 1, 9 do
- wait(.1)
- gtrace.Transparency = gtrace.Transparency + .1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- function Smash5()
- for i = 1, 15 do
- local gtrace = Instance.new("Part",game.Workspace)
- gtrace.BrickColor = gprop[1]
- gtrace.Material = gprop[2]
- gtrace.Size = Vector3.new(19,19,19)
- gtrace.Anchored = true
- gtrace.CanCollide = false
- gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(7)
- for i = 1, 9 do
- wait(.1)
- gtrace.Transparency = gtrace.Transparency + .1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- function Smash6()
- for i = 1, 15 do
- local gtrace = Instance.new("Part",game.Workspace)
- gtrace.BrickColor = gprop[1]
- gtrace.Material = gprop[2]
- gtrace.Size = Vector3.new(19,19,19)
- gtrace.Anchored = true
- gtrace.CanCollide = false
- gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(7)
- for i = 1, 9 do
- wait(.1)
- gtrace.Transparency = gtrace.Transparency + .1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
- end
- end
- function HeavenSmash()
- if activu == true or selected == false then
- return
- end
- coroutine.resume(coroutine.create(function()
- fglow(lleg.Glow, 19)
- fglow(rleg.Glow, 19)
- fglow(rarm.Glow, 19)
- fglow(larm.Glow, 19)
- fglow(head.Glow, 19)
- fglow(tors.Glow, 19)
- end))
- activu = true
- local pe = Instance.new("ParticleEmitter")
- pe.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe.LightEmission = 0.9
- pe.Size = NumberSequence.new(0.5)
- pe.Texture = "rbxassetid://359293258"
- pe.Transparency = NumberSequence.new(0.1)
- pe.Lifetime = NumberRange.new(0.1)
- pe.Rate = 250
- pe.RotSpeed = NumberRange.new(360)
- pe.Speed = NumberRange.new(3)
- pe.VelocitySpread = 360
- pe.Parent = lleg.Glow
- local pea = pe:Clone()
- pea.Parent = lleg.Glow
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pe2.LightEmission = 0.9
- pe2.Size = NumberSequence.new(5)
- pe2.Texture = "rbxassetid://359293258"
- pe2.Transparency = NumberSequence.new(0.4)
- pe2.ZOffset = 2
- pe2.Enabled = true
- pe2.LockedToPart = true
- pe2.Lifetime = NumberRange.new(0.07)
- pe2.Rate = 8
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.RotSpeed = NumberRange.new(0)
- pe2.Speed = NumberRange.new(0)
- pe2.VelocitySpread = 180
- pe2.Parent = lleg.Glow
- local pea2 = pe2:Clone()
- pea2.Parent = lleg.Glow
- local pet = Instance.new("ParticleEmitter")
- pet.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pet.LightEmission = 0.9
- pet.Size = NumberSequence.new(0.5)
- pet.Texture = "rbxassetid://359293258"
- pet.Transparency = NumberSequence.new(0.1)
- pet.Lifetime = NumberRange.new(0.1)
- pet.Rate = 1
- pet.RotSpeed = NumberRange.new(360)
- pet.Speed = NumberRange.new(3)
- pet.VelocitySpread = 360
- pet.Parent = rarm.Glow
- local pet2 = Instance.new("ParticleEmitter")
- pet2.Color = ColorSequence.new(Color3.new(0, 0, 0))
- pet2.LightEmission = 0.9
- pet2.Size = NumberSequence.new(5)
- pet2.Texture = "rbxassetid://359293258"
- pet2.Transparency = NumberSequence.new(0.4)
- pet2.ZOffset = 2
- pet2.Enabled = false
- pet2.LockedToPart = true
- pet2.Lifetime = NumberRange.new(0.07)
- pet2.Rate = 8
- pet2.Rotation = NumberRange.new(0, 360)
- pet2.RotSpeed = NumberRange.new(0)
- pet2.Speed = NumberRange.new(0)
- pet2.VelocitySpread = 180
- pet2.Parent = rarm.Glow
- local petl = Instance.new("ParticleEmitter")
- petl.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl.LightEmission = 0.9
- petl.Size = NumberSequence.new(0.5)
- petl.Texture = "rbxassetid://359293258"
- petl.Transparency = NumberSequence.new(0.1)
- petl.Lifetime = NumberRange.new(0.1)
- petl.Rate = 1
- petl.RotSpeed = NumberRange.new(360)
- petl.Speed = NumberRange.new(3)
- petl.VelocitySpread = 360
- petl.Parent = larm.Glow
- local petl2 = Instance.new("ParticleEmitter")
- petl2.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl2.LightEmission = 0.9
- petl2.Size = NumberSequence.new(5)
- petl2.Texture = "rbxassetid://359293258"
- petl2.Transparency = NumberSequence.new(0.4)
- petl2.ZOffset = 2
- petl2.Enabled = false
- petl2.LockedToPart = true
- petl2.Lifetime = NumberRange.new(0.07)
- petl2.Rate = 8
- petl2.Rotation = NumberRange.new(0, 360)
- petl2.RotSpeed = NumberRange.new(0)
- petl2.Speed = NumberRange.new(0)
- petl2.VelocitySpread = 180
- petl2.Parent = larm.Glow
- local petl3 = Instance.new("ParticleEmitter")
- petl3.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl3.LightEmission = 0.9
- petl3.Size = NumberSequence.new(0.5)
- petl3.Texture = "rbxassetid://359293258"
- petl3.Transparency = NumberSequence.new(0.1)
- petl3.Lifetime = NumberRange.new(0.1)
- petl3.Rate = 1
- petl3.RotSpeed = NumberRange.new(360)
- petl3.Speed = NumberRange.new(3)
- petl3.VelocitySpread = 360
- petl3.Parent = head.Glow
- local petl23 = Instance.new("ParticleEmitter")
- petl23.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl23.LightEmission = 0.9
- petl23.Size = NumberSequence.new(5)
- petl23.Texture = "rbxassetid://359293258"
- petl23.Transparency = NumberSequence.new(0.4)
- petl23.ZOffset = 2
- petl23.Enabled = false
- petl23.LockedToPart = true
- petl23.Lifetime = NumberRange.new(0.07)
- petl23.Rate = 8
- petl23.Rotation = NumberRange.new(0, 360)
- petl23.RotSpeed = NumberRange.new(0)
- petl23.Speed = NumberRange.new(0)
- petl23.VelocitySpread = 180
- petl23.Parent = head.Glow
- local petl34 = Instance.new("ParticleEmitter")
- petl34.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl34.LightEmission = 0.9
- petl34.Size = NumberSequence.new(0.5)
- petl34.Texture = "rbxassetid://359293258"
- petl34.Transparency = NumberSequence.new(0.1)
- petl34.Lifetime = NumberRange.new(0.1)
- petl34.Rate = 1
- petl34.RotSpeed = NumberRange.new(360)
- petl34.Speed = NumberRange.new(3)
- petl34.VelocitySpread = 360
- petl34.Parent = rleg.Glow
- local petl234 = Instance.new("ParticleEmitter")
- petl234.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl234.LightEmission = 0.9
- petl234.Size = NumberSequence.new(5)
- petl234.Texture = "rbxassetid://359293258"
- petl234.Transparency = NumberSequence.new(0.4)
- petl234.ZOffset = 2
- petl234.Enabled = false
- petl234.LockedToPart = true
- petl234.Rate = 8
- petl234.Rotation = NumberRange.new(0, 360)
- petl234.RotSpeed = NumberRange.new(0)
- petl234.Speed = NumberRange.new(0)
- petl234.VelocitySpread = 180
- petl234.Parent = rleg.Glow
- local petl345 = Instance.new("ParticleEmitter")
- petl345.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl345.LightEmission = 0.9
- petl345.Size = NumberSequence.new(0.5)
- petl345.Texture = "rbxassetid://359293258"
- petl345.Transparency = NumberSequence.new(0.1)
- petl345.Lifetime = NumberRange.new(0.1)
- petl345.Rate = 1
- petl345.RotSpeed = NumberRange.new(360)
- petl345.Speed = NumberRange.new(3)
- petl345.VelocitySpread = 360
- petl345.Parent = tors.Glow
- local petl2345 = Instance.new("ParticleEmitter")
- petl2345.Color = ColorSequence.new(Color3.new(0, 0, 0))
- petl2345.LightEmission = 0.9
- petl2345.Size = NumberSequence.new(5)
- petl2345.Texture = "rbxassetid://359293258"
- petl2345.Transparency = NumberSequence.new(0.4)
- petl2345.ZOffset = 2
- petl2345.Enabled = false
- petl2345.LockedToPart = true
- petl2345.Rate = 8
- petl2345.Rotation = NumberRange.new(0, 360)
- petl2345.RotSpeed = NumberRange.new(0)
- petl2345.Speed = NumberRange.new(0)
- petl2345.VelocitySpread = 180
- petl2345.Parent = tors.Glow
- human.WalkSpeed = 0
- so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
- so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
- for l = 1, 30 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
- end
- resetlerp()
- BV = Instance.new("BodyVelocity", tors)
- BV.maxForce = Vector3.new(0,200000,0)
- BV.P = 100000
- BV.velocity = Vector3.new(0,150,0)
- local rng = Instance.new("Part", chr)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Really black")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.5
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Position = tors.Position - Vector3.new(0,2,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(10, 10, 20)
- x = Instance.new("Sound",tors)
- x.SoundId = "http://www.roblox.com/asset/?id=169445602"
- x.Looped = false
- x.Pitch = .7
- x.Volume = 30
- x:Play()
- coroutine.wrap(function()
- for i = 1, 60, 8 do
- rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
- rng.Transparency = i/60
- wait()
- end
- wait()
- rng:Destroy()
- end)()
- wait(2.6)
- BV:Destroy()
- tors.Anchored = true
- wait(3.2)
- tors.Anchored = false
- BV = Instance.new("BodyVelocity", tors)
- BV.maxForce = Vector3.new(0,-20000,0)
- BV.P = 1000
- BV.velocity = Vector3.new(0,-150,0)
- wait(1)
- BV:Destroy()
- wait(0.01)
- human.WalkSpeed = 0
- boom3:Play()
- Smash()
- Smash2()
- Smash3()
- Ring()
- pe:Destroy()
- pea:Destroy()
- pea2:Destroy()
- pe2:Destroy()
- wait(2)
- human.WalkSpeed = 16
- activu = false
- end
- sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
- sound.SoundId = "rbxassetid://220025776"
- sound.Volume = 6
- sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
- sound2.SoundId = "rbxassetid://386946017"
- sound2.Volume = 6
- sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
- sound3.SoundId = "rbxassetid://165969964"
- sound3.Volume = 6
- function rip()
- activu = true
- local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
- detect.Size = Vector3.new(1,1,1)
- detect:BreakJoints()
- detect.CanCollide = false
- local weld = Instance.new("Weld", detect)
- weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- weld.Part1 = detect
- weld.C0 = weld.C0 * CFrame.new(0,-1,0)
- local function attack(prt)
- local humanoid = prt.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil then
- local torso = prt.Parent:findFirstChild("Torso")
- function KABOOMZ3()
- local effspwn = Instance.new("Part")
- coroutine.resume(coroutine.create(function()
- local sound1 = Instance.new("Sound")
- sound1.SoundId = "rbxassetid://138137702"
- sound1.MaxDistance = 300
- sound1.EmitterSize = 20
- sound1.Volume = 2.5
- sound1.Pitch = 0.65
- sound1.Parent = effspwn
- local sound2 = Instance.new("Sound")
- sound2.SoundId = "rbxassetid://157878578"
- sound2.MaxDistance = 300
- sound2.EmitterSize = 20
- sound2.Volume = 1
- sound2.Pitch = 0.7
- sound2.Parent = effspwn
- local sound3 = Instance.new("Sound")
- sound3.SoundId = "rbxassetid://138250406"
- sound2.MaxDistance = 400
- sound2.EmitterSize = 30
- sound2.Volume = 0.5
- sound2.Pitch = 0.5
- sound2.Parent = effspwn
- sound2:Play()
- wait()
- sound1:Play()
- sound3:Play()
- end))
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = workspace
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- Crater(head,60)
- Crater(head,120)
- for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(10000020,10000030))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
- end
- end
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "whoosh"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.1
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://437347603"
- mesh.Scale = Vector3.new(1.2, 1.2, 0.5)
- mesh.Parent = shok
- for e = 1, 8 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
- shok.Transparency = shok.Transparency + 0.035
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
- shok.Transparency = shok.Transparency + 0.11
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
- hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring1"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(12, 12, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "coil1"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "coil2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- mesh.Scale = Vector3.new(6, 12, 6)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.005
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.005
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
- shok.Transparency = shok.Transparency + 0.09
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shokwve"
- shok.BrickColor = BrickColor.new("Really black")
- shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.6
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 32 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.03
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- if torso ~= nil then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- for i = 1,5 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
- game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
- end
- sound:Play()
- local bodyVel = Instance.new("BodyPosition", torso)
- bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
- bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- wait(2)
- torso.Anchored = true
- for i = 1,5 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
- game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
- end
- for i = 1,5 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
- end
- wait(1)
- local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
- bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bodyvel.Position = torso.Position
- for i = 1,5 do
- wait()
- game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
- end
- wait(2)
- bodyVel:destroy()
- game.Players.LocalPlayer.Character.Torso.Anchored = true
- torso.Anchored = false
- humanoid.PlatformStand = true
- local bodyVel = Instance.new("BodyPosition", torso)
- bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
- bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- sound2:Play()
- wait(1.2)
- game.Players.LocalPlayer.Character.Torso.Anchored = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- activu = false
- wait(0.5)
- bodyvel:destroy()
- local ROW3 = 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(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
- c.Locked=true
- game.Debris:AddItem(c,25)
- end
- end
- sound3:Play()
- ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
- game.Players.LocalPlayer.Character.Torso.Anchored = true
- KABOOMZ3()
- wait(0.1)
- game.Players.LocalPlayer.Character.Torso.Anchored = false
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- end
- end
- end
- detect.Touched:connect(attack)
- wait(0.1)
- detect:destroy()
- activu = false
- end
- function hito(partoz, magn, dmg, debtim)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
- do
- local humz = guy:FindFirstChild("Humanoid")
- local hed = guy:FindFirstChild("Head")
- humz:TakeDamage(dmg)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = hed
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- end
- end
- function animo(yep)
- if yep == true then
- anim.Parent = human
- chr.Animate.Disabled = false
- elseif yep == false then
- chr.Animate.Disabled = true
- anim.Parent = nil
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- rsmash()
- end
- if key == "t" then
- jum()
- end
- if key == "r" then
- Tele()
- end
- if key == "q" then
- Stom()
- end
- if key == "f" then
- HeavenSmash()
- end
- if key == "h" then
- rip()
- end
- end)
- tool.Equipped:connect(function()
- selected = true
- end)
- tool.Unequipped:connect(function()
- selected = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement