Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --wait(1)
- tool = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- tool.Name = "Dolphin"
- tool.Parent = workspace["7_qz"]
- local bilguit = Instance.new("BillboardGui", tool.Parent.Head)
- bilguit.Adornee = nil
- bilguit.Name = "name"
- bilguit.Size = UDim2.new(4, 0, 1.2, 0)
- bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
- local modet = Instance.new("TextLabel", bilguit)
- modet.Size = UDim2.new(10/2, 0, 7/2, 0)
- modet.FontSize = "Size8"
- modet.TextScaled = true
- modet.TextTransparency = 0
- modet.BackgroundTransparency = 1
- modet.TextTransparency = 0
- modet.TextStrokeTransparency = 0
- modet.Font = "Antique"
- modet.TextStrokeColor3 = Color3.new(1,1,1)
- modet.TextColor3 = Color3.new(0.25,0.25,0.25)
- modet.Text = "some weird dolphin with a dolphin gun"
- local asd = Instance.new("Sound",workspace["7_qz"].Head)
- asd.Volume = 10
- asd.SoundId = "rbxassetid://686839305"
- asd.Name = "thing"
- asd.Looped = true
- asd:Play()
- tool.ToolTip = "art"
- Part1.Name = "Handle"
- Part1.Parent = tool
- Part1.Size = Vector3.new(3, 3, 9)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "rbxassetid://1505577679"
- SpecialMesh2.Scale = Vector3.new(0.5,0.5, 0.5)
- SpecialMesh2.TextureId = "rbxassetid://1505577733"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- ClickDetector = Instance.new("ClickDetector",Part1)
- ClickDetector.MaxActivationDistance = 10
- script.Parent = tool
- local cooldown = false
- tool.Equipped:connect(function()
- local s = Instance.new("Sound",tool)
- s.Volume = 1
- s.SoundId = "rbxassetid://1329112776"
- s.Name = "dolphinchirp"
- s:play()
- game:GetService("Debris"):AddItem(s, 3)
- end)
- tool.Activated:connect(function()
- if cooldown == false then
- local s = Instance.new("Sound",tool)
- s.Volume = 9e9
- s.Pitch = 0.5
- s.SoundId = "rbxassetid://1329112776"
- s.Name = "dolphinchirp"
- s:play()
- game:GetService("Debris"):AddItem(s, 2)
- local s = Instance.new("Sound",tool)
- s.Volume = 1
- s.SoundId = "rbxassetid://2741718865"
- s.Name = "firelight"
- s:play()
- game:GetService("Debris"):AddItem(s, 3)
- local h = tool.Handle:clone()
- h.Parent = workspace
- h.Anchored = true
- h.CanCollide = false
- tool.Handle.Transparency = 9
- cooldown = true
- h.Mesh.Scale = Vector3.new(3, 3, 3)
- wait(0.6)
- h.Mesh.Scale = Vector3.new(3.5, 3.5, 3.5)
- wait(0.6)
- h.Mesh.Scale = Vector3.new(4, 4, 4)
- wait(0.8)
- local ns = h.Position
- local nc = h.CFrame
- h.Anchored = false
- for i = 1,30 do
- local n = Instance.new("Explosion")
- n.Parent = workspace
- n.BlastRadius = 12
- n.Position = ns + nc.lookVector * 12 * i
- game:GetService("Debris"):AddItem(n, 1)
- local s = Instance.new("Sound",workspace)
- s.Volume = 2
- s.SoundId = "rbxassetid://163064102"
- s.Name = "boom"
- s:play()
- game:GetService("Debris"):AddItem(s, 3)
- wait(0.025)
- end
- wait(0.025)
- Vector3.new(0.5,0.5, 0.5)
- repeat wait(0.01)
- tool.Handle.Transparency = tool.Handle.Transparency - 0.1
- until tool.Handle.Transparency <= 0
- tool.Handle.Transparency = 0
- cooldown = false
- end
- end)
- coroutine.resume(coroutine.create(function()
- while wait(0.1) do
- if workspace["7_qz"].Head:FindFirstChild("thing") == nil then
- local asd = Instance.new("Sound",workspace["7_qz"].Head)
- asd.Volume = 10
- asd.SoundId = "rbxassetid://686839305"
- asd.Name = "thing"
- asd.Looped = true
- asd:Play()
- end
- end
- end))
- --------- SazEreno's Artificial HB --------------
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- Frame_Speed = 1 / 60
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- ------------------
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- -------- RAINBOW LEAVE IT TO ME
- local r = 255
- local g = 0
- local b = 0
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 0, 254/5 do
- swait()
- g = g + 5
- end
- for i = 0, 254/5 do
- swait()
- r = r - 5
- end
- for i = 0, 254/5 do
- swait()
- b = b + 5
- end
- for i = 0, 254/5 do
- swait()
- g = g - 5
- end
- for i = 0, 254/5 do
- swait()
- r = r + 5
- end
- for i = 0, 254/5 do
- swait()
- b = b - 5
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- modet.TextColor3 = Color3.new(r/255,g/255,b/255)
- end
- end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement