Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Salvo_Starly[Salvy].Thingy_2018.7]]--
- --[[Project Name: https://cdn.discordapp.com/attachments/459898357855420417/470482392667389972/unknown.png ]]--
- --[[help]]--
- --[[Run in Non-local btw]]--
- --[[and i can't even find fox shirt/pants because]]--
- chr=game:GetService("Players").Er_xinic.Character
- Rooot=chr.HumanoidRootPart
- create=LoadLibrary("RbxUtility").Create
- ArtificialHB=create("BindableEvent"){
- Parent=script,
- Name="Heartbeat"}
- script:WaitForChild("Heartbeat")
- frame=0.0166666666666666667
- tf=0
- allowframeloss=false
- tossremainder=false
- lastframe=tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s,p)
- tf=tf+s
- if tf >=frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe=tick()
- else
- for i=1,math.floor(tf/frame) do
- script.Heartbeat: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=0,num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function rayCast(Position,Direction,Range,Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
- end
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
- end
- function parts2(Par,name,size,color,mat,ref,tra)
- local part=create("Part"){
- Parent=Par,
- Name=name,
- Size=size,
- CanCollide=true,
- Anchored=true,
- BrickColor=BrickColor.new(color),
- Material=mat,
- Reflectance=ref,
- Transparency=tra}
- --Position=Torso.Position}
- NoOutline(part)
- part:BreakJoints()
- return part
- end
- function parts(Par,name,size,color,mat,ref,tra)
- local part=create("Part"){
- Parent=Par,
- Name=name,
- Size=size,
- CanCollide=false,
- Anchored=false,
- BrickColor=BrickColor.new(color),
- Material=mat,
- Reflectance=ref,
- Transparency=tra}
- --Position=Torso.Position}
- NoOutline(part)
- part:BreakJoints()
- return part
- end
- function meshs(Par,name,scale,mtype,id)
- local mesh=create("SpecialMesh"){
- Parent=Par,
- Name=name,
- Scale=scale,
- MeshType=mtype}
- if id~="" then
- mesh.MeshId="rbxassetid://"..id
- end
- return mesh
- end
- function welds(Par,name,p0,p1,c0,c1)
- local weld=create("Weld"){
- Parent=Par,
- Name=name,
- Part0=p0,
- Part1=p1,
- C0=c0,
- C1=c1}
- return weld
- end
- function sounds(Par,id,vol,pit)
- local sound=create("Sound"){
- Parent=Par,
- SoundId="rbxassetid://"..id,
- Volume=vol,
- PlaybackSpeed=pit}
- sound:Play()
- game:GetService("Debris"):AddItem(sound,10)
- return sound
- end
- function pssounds(Par,id,vol,pit,octave,pri)
- local psound=create("Sound"){
- Parent=Par,
- SoundId="rbxassetid://"..id,
- Volume=vol,
- PlaybackSpeed=pit,
- MaxDistance=66666666}
- psound:Play()
- local pitch=create("PitchShiftSoundEffect"){
- Parent=psound,
- Octave=octave,
- Priority=2,
- Enabled=true
- }
- game:GetService("Debris"):AddItem(psound,10)
- return psound
- end
- function particles(par,zoff,color,id,lemi,linf,direct,sizmin,sizmax,tramin,tramax,lifemin,lifemax,rotmin,rotmax,speed,velocity,lock,timelimit)
- local aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, sizmin),NumberSequenceKeypoint.new(1, sizmax)})
- local bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, tramin),NumberSequenceKeypoint.new(1, tramax)})
- local parti=create("ParticleEmitter"){
- Color=ColorSequence.new(BrickColor.new(color).Color),
- LightEmission=lemi,
- LightInfluence=linf,
- Texture="rbxassetid://"..id,
- Transparency=bbb,
- Size=aaa,
- ZOffset=zoff,
- --Acceleration=Vector3.new(0, 2, 0),
- LockedToPart=lock,
- EmissionDirection=direct,
- Lifetime=NumberRange.new(lifemin,lifemax),
- Rate=12000,
- Rotation=NumberRange.new(-360, 360),
- RotSpeed=NumberRange.new(-rotmin, rotmax),
- Speed=NumberRange.new(speed),
- VelocitySpread=velocity,
- Enabled=true,
- Parent=par
- }
- if timelimit~=nil then
- coroutine.resume(coroutine.create(function(p)
- swait(timelimit)
- parti.Enabled=false
- end),parti)
- game:GetService("Debris"):AddItem(parti,10)
- end
- return parti
- end
- mh=Instance.new("Model",workspace)
- mh.Name="Sh"
- ref=parts2(mh,"ha",Vector3.new(.2,.2,.2),"Dark green",Enum.Material.SmoothPlastic,0,1)
- ref.Anchored=true
- ref.CFrame=Rooot.CFrame*CFrame.new(0,0,-15)
- local hit=nil
- local pos
- repeat
- swait()
- ref.CFrame=Rooot.CFrame*CFrame.new(0,0,-15)
- hit,pos=rayCast(ref.Position,-ref.CFrame.upVector,300,chr)
- until hit~=nil
- if hit~=nil then
- ref.CFrame=CFrame.new(pos)
- Ground=parts2(mh,"Ground",Vector3.new(16, 0.300000001, 16),"Dark green",Enum.Material.SmoothPlastic,0,0)
- --Ground.CFrame=Ground.CFrame*CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Ground.CFrame=ref.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
- Ground.BrickColor=hit.BrickColor
- Ground.Material=hit.Material
- Ground.BackSurface=hit.BackSurface
- Ground.BottomSurface=hit.BottomSurface
- Ground.FrontSurface=hit.FrontSurface
- Ground.LeftSurface=hit.LeftSurface
- Ground.RightSurface=hit.RightSurface
- Ground.TopSurface=hit.TopSurface
- Part=parts2(mh,"Part",Vector3.new(1.00000095, 4.19999838, 1.19999981),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0, 2.05000019, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- BM=create("BlockMesh"){
- Parent=Part,
- Scale=Vector3.new(.99,.99,.99)
- }
- Part=parts2(mh,"Part",Vector3.new(2.40000081, 0.99999845, 2.59999943),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.0598062277, 4.10000038, 9.53674316e-07, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, 1)
- BM=create("BlockMesh"){
- Parent=Part,
- Scale=Vector3.new(.99,.99,.99)
- }
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.450000763, 2.05000019, -0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.450000763, 2.05000019, 0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.449998379, 2.05000019, 0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 4.19999838, 0.0999996886),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.449998379, 2.05000019, -0.550002098, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.125482798, 5.3209281, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.515195489, 5.09592962, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.904906034, 4.87092781, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.515195489, 5.09592962, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(1.02451789, 3.32906961, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 0.0999981984, 2.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.245094895, 2.87906957, 2.86102295e-06, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.634804964, 3.10407043, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(1.00000012, 0.0999981984, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.634804964, 3.10407043, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.329907417, 3.87499976, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.449514985, 4.32499981, 1.25000381, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(-0.329907417, 3.87499976, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Part=parts2(mh,"Part",Vector3.new(0.100000001, 2.39999819, 0.100000001),"Really black",Enum.Material.SmoothPlastic,0,0)
- Part.CFrame=Ground.CFrame*CFrame.new(0.449514985, 4.32499981, -1.24999428, 0.866025329, -0.500000119, 0, 0.500000119, 0.866025329, 0, 0, 0, 1)
- Button=parts2(mh,"Button",Vector3.new(1, 0.400000006, 1),"Persimmon",Enum.Material.SmoothPlastic,0,0)
- Button.CFrame=Ground.CFrame*CFrame.new(0.579421639, 4.39999866, 9.53674316e-07, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, 1)
- CM=create("CylinderMesh"){
- Parent=Button,
- }
- SG=create("SurfaceGui"){
- Parent=Button,
- CanvasSize=Vector2.new(220,220),
- LightInfluence=0,
- Face="Top"
- }
- TL=create("TextLabel"){
- Parent=SG,
- AnchorPoint=Vector2.new(.5,.5),
- Size=UDim2.new(1,0,1,0),
- Position=UDim2.new(.5,0,.5,0),
- BackgroundTransparency=1,
- Text="Boop me! :3",
- Font="SourceSansBold",
- TextScaled=true,
- TextWrapped=true
- }
- CD=create("ClickDetector"){
- Parent=Button,
- MaxActivationDistance=5
- }
- local doing=false
- CD.MouseClick:connect(function(plr)
- if doing then return end
- doing=true
- print(plr.Name)
- local orig=Button.CFrame
- pssounds(Button,"190411970",1.3,1,1.7,3)
- for i=1,15 do
- swait()
- Button.CFrame=Button.CFrame:Lerp(orig*CFrame.new(0,-.22,0),.2)
- end
- coroutine.resume(coroutine.create(function()
- swait(20)
- local chr=plr.Character
- if not chr:findFirstChild("hfyuhhhh") then
- local turning=create("ObjectValue"){
- Parent=chr,
- Name="hfyuhhhh",}
- game:GetService("Debris"):AddItem(turning,4)
- if not chr:findFirstChild("furrified") or chr:findFirstChild("furrified").Value~="amidoneyet" then
- local heed=chr:findFirstChild("Head")
- if heed then
- sounds(heed,"135362176",2,1)
- swait(120)
- sounds(heed,"807874496",1.5,1)
- local isfurrifiedornot=create("StringValue"){
- Parent=chr,
- Name="furrified",
- Value="amidoneyet"
- }
- local shirt
- local pants
- local bcolor
- if chr:findFirstChildOfClass("Shirt") then
- shirt=chr:findFirstChildOfClass("Shirt")
- else
- shirt=create("Shirt"){
- Parent=chr}
- end
- if chr:findFirstChildOfClass("Pants") then
- pants=chr:findFirstChildOfClass("Pants")
- else
- pants=create("Pants"){
- Parent=chr}
- end
- local m=Instance.new("Model",chr)
- m.Name="enjoy"
- local bc={}
- local asset="rbxassetid://"
- local randomf=math.random(1,5)
- if randomf==1 then
- shirt.ShirtTemplate=asset.."22600739"
- pants.PantsTemplate=asset.."22601914"
- elseif randomf==2 then
- shirt.ShirtTemplate=asset.."85870930"
- pants.PantsTemplate=asset.."85856446"
- elseif randomf==3 then
- shirt.ShirtTemplate=asset.."115316811"
- pants.PantsTemplate=asset.."115316833"
- bc={253/255,229/255,154/255}
- elseif randomf==4 then
- shirt.ShirtTemplate=asset.."1439583280"
- pants.PantsTemplate=asset.."1439568311"
- bc={99/255,95/255,98/255}
- elseif randomf==5 then
- shirt.ShirtTemplate=asset.."170964235"
- pants.PantsTemplate=asset.."170962374"
- end
- if randomf==1 then
- elseif randomf==2 then
- elseif randomf==3 then
- elseif randomf==4 then
- elseif randomf==5 then
- elseif randomf==4 then
- elseif randomf==5 then
- end
- end
- end
- end
- end
- end))
- for i=1,14 do
- swait()
- Button.CFrame=Button.CFrame:Lerp(orig,.32)
- end
- doing=false
- end)
- swait()
- script.Parent=Button
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement