Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.voldemare -- changge voldemare to your username
- local sword = Instance.new("Tool")
- sword.Name = "sword"
- local Handle = Instance.new("Part")
- Handle.Name = "Handle"
- Handle.BottomSurface = Enum.SurfaceType.Smooth
- Handle.TopSurface = Enum.SurfaceType.Smooth
- Handle.Reflectance = 0
- Handle.Color = Color3.fromRGB(117, 0, 0)
- Handle.Material = Enum.Material.SmoothPlastic
- Handle.Size = Vector3.new(1, 0.80000001192093, 4)
- Handle.CFrame = CFrame.new(-186.14572143555, 1.9999990463257, -41.285217285156, -0.99999839067459, 5.9603376456607e-08, 2.3196737402031e-06, 2.3196735128295e-06, -2.3723503717044e-10, 0.99999892711639, 5.9605788749195e-08, 0.9999994635582, 2.3957033579158e-10)
- Handle.Parent = sword
- local Mesh = Instance.new("SpecialMesh")
- Mesh.VertexColor = Vector3.new(0, 0, 0)
- Mesh.MeshId = "rbxasset://fonts/sword.mesh"
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.Parent = Handle
- local Hitbox = Instance.new("Part")
- Hitbox.Name = "Hitbox"
- Hitbox.BottomSurface = Enum.SurfaceType.Smooth
- Hitbox.TopSurface = Enum.SurfaceType.Smooth
- Hitbox.Reflectance = 0.4
- Hitbox.Color = Color3.fromRGB(117, 0, 0)
- Hitbox.Material = Enum.Material.SmoothPlastic
- Hitbox.Size = Vector3.new(1, 0.79999995231628, 3.0947604179382)
- Hitbox.CFrame = CFrame.new(-186.14572143555, 2.9159038066864, -41.285217285156, -0.99999839067459, 5.9603376456607e-08, 2.3196737402031e-06, 2.3196735128295e-06, -2.3723503717044e-10, 0.99999892711639, 5.9605788749195e-08, 0.9999994635582, 2.3957033579158e-10)
- Hitbox.Parent = sword
- Hitbox.Transparency = 0
- local Slapped = Instance.new("Sound")
- Slapped.Name = "Slapped"
- Slapped.SoundId = "rbxassetid://4137216950"
- Slapped.Parent = Hitbox
- sword.Parent = plr.Character
- Hitbox.Touched:Connect(function(h)
- if h.Parent.Humanoid then
- h.Parent.Humanoid:TakeDamage(9e9)
- Slapped:Play()
- end
- end)
- r = 255
- g = 0
- b = 0
- while true do
- wait(0.005)
- while (r == 255 and g ~= 255) do
- wait(0.005)
- g = g + 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- end
- wait(0.005)
- r = r - 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- while (r ~= 0) do
- wait(0.005)
- r = r - 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- end
- while (g == 255 and b ~= 255) do
- wait(0.005)
- b = b + 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- end
- wait(0.005)
- g = g - 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- while (g ~= 0) do
- wait(0.005)
- g = g - 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- end
- while (b == 255 and r ~= 255) do
- wait(0.005)
- r = r + 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- end
- wait(0.005)
- b = b - 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- while (b ~= 0) do
- wait(0.005)
- b = b - 1
- script.Parent.Color = Color3.fromRGB(r,g,b)
- end
- end
RAW Paste Data