Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with PenguinAnonymous's compiler
- --PenguinAnonymous is not responsible for damages caused to your game
- --This plugin does not remove things
- --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use
- --If you use this plugin to create your own, please give me credit
- --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
- --Errors: TouchTransmitter
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Tool")
- o2 = Instance.new("Part")
- o3 = Instance.new("Sound")
- o4 = Instance.new("SpecialMesh")
- o6 = Instance.new("LocalScript")
- o7 = Instance.new("Animation")
- o8 = Instance.new("ScreenGui")
- o9 = Instance.new("Frame")
- o10 = Instance.new("Frame")
- o11 = Instance.new("TextBox")
- o12 = Instance.new("TextLabel")
- o13 = Instance.new("ImageLabel")
- o1.Name = "Spray"
- o1.Parent = mas
- o1.TextureId = "http://www.roblox.com/asset/?id=79155357"
- o1.GripForward = Vector3.new(-0.963558197, -0, -0.267498881)
- o1.GripPos = Vector3.new(0.200000003, -0.25, -0.200000003)
- o1.GripRight = Vector3.new(0.267498881, 0, -0.963558197)
- o1.ToolTip = "Spray"
- o2.Name = "Handle"
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Bright red")
- o2.Reflectance = 0.34999999403954
- o2.Position = Vector3.new(-18.6200008, 2.85500336, 31.2900009)
- o2.Rotation = Vector3.new(-180, 0, -180)
- o2.Locked = true
- o2.FormFactor = Enum.FormFactor.Custom
- o2.Size = Vector3.new(0.759997845, 1.70999885, 0.579999983)
- o2.CFrame = CFrame.new(-18.6200008, 2.85500336, 31.2900009, -1, 4.49842456e-17, -9.71401124e-18, 4.49842456e-17, 1, 1.06407753e-16, 9.71401124e-18, 1.06407753e-16, -1)
- o2.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o2.Position = Vector3.new(-18.6200008, 2.85500336, 31.2900009)
- o3.Parent = o2
- o3.SoundId = "http://www.roblox.com/asset/?id=78496487"
- o3.Volume = 1
- o4.Parent = o2
- o4.MeshId = "http://www.roblox.com/asset/?id=79146128"
- o4.TextureId = "http://www.roblox.com/asset/?id=79146220"
- o4.MeshType = Enum.MeshType.FileMesh
- o6.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --Stickmasterluke
- sp=script.Parent
- cooldown=2.1
- spraysize=5
- range=10
- baseid="http://www.roblox.com/asset/?id="
- sprayid=80373024
- local debris=game:GetService("Debris")
- equipped=false
- check=true
- while gui==nil do
- wait()
- gui=sp:FindFirstChild("SprayGui")
- end
- function updateid()
- if gui:FindFirstChild("Frame") and gui.Frame:FindFirstChild("ImageLabel") and gui.Frame:FindFirstChild("Frame") then
- sprayid=tonumber(tostring(gui.Frame.Frame.TextBox.Text)) or 0
- gui.Frame.ImageLabel.Image=baseid..tostring(sprayid-1)
- gui.Frame.Frame.TextBox.Text=tostring(sprayid)
- end
- end
- gui.Frame.Frame.TextBox.Changed:connect(updateid)
- updateid()
- function onEquipped(mouse)
- equipped=true
- local plr=game.Players.LocalPlayer
- if mouse~=nil and plr~=nil then
- local plrgui=plr.PlayerGui
- if plrgui~=nil then
- gui.Parent=plrgui
- end
- mouse.Button1Down:connect(function()
- local chr=sp.Parent
- if chr and check and mouse.Target~=nil and mouse.TargetSurface~=nil and mouse.Target.Name~="Spray" and mouse.Target.Name~="Effect" and sprayid>0 then
- local surface=mouse.TargetSurface
- local t=chr:FindFirstChild("Torso")
- local h=chr:FindFirstChild("Humanoid")
- local animobject=sp:FindFirstChild("SprayPaint")
- if t and h and animobject then
- if h.Health>0 then
- check=false
- anim=h:LoadAnimation(animobject)
- if anim then
- anim:Play()
- sp.Handle.Sound:Play()
- end
- if (t.Position-mouse.Hit.p).magnitude<range then
- local canspray=false
- if (surface==Enum.NormalId.Front or surface==Enum.NormalId.Back) and mouse.Target.Size.x>=spraysize and mouse.Target.Size.y>=spraysize then
- canspray=true
- elseif (surface==Enum.NormalId.Left or surface==Enum.NormalId.Right) and mouse.Target.Size.y>=spraysize and mouse.Target.Size.z>=spraysize then
- canspray=true
- elseif (surface==Enum.NormalId.Top or surface==Enum.NormalId.Bottom) and mouse.Target.Size.x>=spraysize and mouse.Target.Size.z>=spraysize then
- canspray=true
- end
- if canspray then
- local p=Instance.new("Part")
- local d=Instance.new("Decal")
- d.Texture=baseid..tostring(sprayid-1)
- d.Face=surface
- d.Parent=p
- p.Name="Spray"
- p.formFactor="Custom"
- p.Anchored=false
- p.CanCollide=false
- p.Transparency=1
- if surface==Enum.NormalId.Front or surface==Enum.NormalId.Back then
- p.Size=Vector3.new(spraysize,spraysize,.2)
- elseif surface==Enum.NormalId.Left or surface==Enum.NormalId.Right then
- p.Size=Vector3.new(.2,spraysize,spraysize)
- elseif surface==Enum.NormalId.Top or surface==Enum.NormalId.Bottom then
- p.Size=Vector3.new(spraysize,.2,spraysize)
- end
- local w=Instance.new("Weld")
- w.Part0=mouse.Target
- w.Part1=p
- local cf=CFrame.new(mouse.Target.CFrame:pointToObjectSpace(mouse.Hit.p))
- w.C0=cf
- w.C1=CFrame.new(0,0,0)
- w.Parent=mouse.Target
- p.CFrame=mouse.Target.CFrame:toWorldSpace(cf) --this is here to position the spray other wise it will be at 0,0,0 if the target is anchored
- debris:AddItem(p,60)
- p.Parent=game.Workspace
- end
- end
- wait(cooldown)
- sp.Handle.Sound:Stop()
- check=true
- end
- end
- end
- end)
- end
- end
- function onUnequipped()
- gui.Parent=sp
- equipped=false
- end
- sp.Equipped:connect(onEquipped)
- sp.Unequipped:connect(onUnequipped)
- end,o6)
- end))
- o7.Name = "SprayPaint"
- o7.Parent = o1
- o7.AnimationId = "http://www.roblox.com/Asset?ID=78494810"
- o8.Name = "SprayGui"
- o8.Parent = o1
- o9.Parent = o8
- o9.Position = UDim2.new(1,-240,1,-320)
- o9.Size = UDim2.new(0,220,0,265)
- o9.Style = Enum.FrameStyle.RobloxRound
- o9.Position = UDim2.new(1,-240,1,-320)
- o9.ClipsDescendants = true
- o9.Draggable = true
- o10.Parent = o9
- o10.Position = UDim2.new(0.5,-100,0,0)
- o10.Size = UDim2.new(0,200,0,40)
- o10.Style = Enum.FrameStyle.RobloxRound
- o10.Position = UDim2.new(0.5,-100,0,0)
- o10.ClipsDescendants = true
- o11.Parent = o10
- o11.Position = UDim2.new(1,-105,0.5,-10)
- o11.Size = UDim2.new(0,100,0,20)
- o11.Text = "80373024"
- o11.Position = UDim2.new(1,-105,0.5,-10)
- o11.BackgroundColor3 = Color3.new(1, 1, 1)
- o11.BorderSizePixel = 0
- o11.ZIndex = 2
- o11.ClipsDescendants = true
- o11.Font = Enum.Font.ArialBold
- o11.FontSize = Enum.FontSize.Size18
- o11.TextColor3 = Color3.new(0, 0, 0)
- o11.TextWrapped = true
- o12.Parent = o10
- o12.Size = UDim2.new(1,0,1,0)
- o12.Text = "Decal Id:"
- o12.BackgroundTransparency = 1
- o12.BorderSizePixel = 0
- o12.ClipsDescendants = true
- o12.Font = Enum.Font.ArialBold
- o12.FontSize = Enum.FontSize.Size18
- o12.TextColor3 = Color3.new(1, 1, 1)
- o12.TextXAlignment = Enum.TextXAlignment.Left
- o13.Parent = o9
- o13.Position = UDim2.new(0.5,-100,1,-200)
- o13.Size = UDim2.new(0,200,0,200)
- o13.Position = UDim2.new(0.5,-100,1,-200)
- o13.BackgroundColor3 = Color3.new(0.501961, 0.501961, 0.501961)
- o13.BackgroundTransparency = 0.5
- o13.BorderSizePixel = 0
- o13.ClipsDescendants = true
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement