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("SpecialMesh")
- o4 = Instance.new("Sound")
- o6 = Instance.new("Script")
- o7 = Instance.new("Tool")
- o8 = Instance.new("LocalScript")
- o9 = Instance.new("Part")
- o10 = Instance.new("Sound")
- o11 = Instance.new("SpecialMesh")
- o13 = Instance.new("Script")
- o1.Name = "GravityCoil"
- o1.Parent = mas
- o1.TextureId = "http://www.roblox.com/asset/?id=16619617"
- o1.GripForward = Vector3.new(0, -0, 1)
- o1.GripPos = Vector3.new(0, 0, 1)
- o1.GripRight = Vector3.new(-1, 0, 0)
- o2.Name = "Handle"
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Bright yellow")
- o2.Position = Vector3.new(58.1746521, 0.500005007, 3.19410706)
- o2.Rotation = Vector3.new(90, 90, 0)
- o2.Size = Vector3.new(1, 2, 2)
- o2.CFrame = CFrame.new(58.1746521, 0.500005007, 3.19410706, 0, 0, 1, 1, 0, 0, 0, 1, 0)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o2.Position = Vector3.new(58.1746521, 0.500005007, 3.19410706)
- o3.Parent = o2
- o3.MeshId = "http://www.roblox.com/asset/?id=16606212"
- o3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- o3.TextureId = "http://www.roblox.com/asset/?id=16606141"
- o3.MeshType = Enum.MeshType.FileMesh
- o4.Name = "CoilSound"
- o4.Parent = o2
- o4.SoundId = "http://www.roblox.com/asset/?id=16619553"
- o4.Volume = 1
- o6.Name = "GravityCoilScript"
- o6.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- -------- OMG HAX
- r = game:service("RunService")
- Tool = script.Parent
- local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass
- local gravity = .9999999999999999 -- things float at > 1
- local ghostEffect = nil
- local massCon1 = nil
- local massCon2 = nil
- function recursiveGetLift(node)
- local m = 0
- local c = node:GetChildren()
- for i=1,#c do
- if c[i].className == "Part" then
- if c[i].Name == "Handle" then
- m = m + (c[i]:GetMass() * equalizingForce * 1) -- hack that makes hats weightless, so different hats don't change your jump height
- else
- m = m + (c[i]:GetMass() * equalizingForce * gravity)
- end
- end
- m = m + recursiveGetLift(c[i])
- end
- return m
- end
- function onMassChanged(child, char)
- print("Mass changed:" .. child.Name .. " " .. char.Name)
- if (ghostEffect ~= nil) then
- ghostEffect.force = Vector3.new(0, recursiveGetLift(char) ,0)
- end
- end
- function UpdateGhostState(isUnequipping)
- if isUnequipping == true then
- ghostEffect:Remove()
- ghostEffect = nil
- massCon1:disconnect()
- massCon2:disconnect()
- else
- if ghostEffect == nil then
- local char = Tool.Parent
- if char == nil then return end
- ghostEffect = Instance.new("BodyForce")
- ghostEffect.Name = "GravityCoilEffect"
- ghostEffect.force = Vector3.new(0, recursiveGetLift(char) ,0)
- ghostEffect.Parent = char.Head
- ghostChar = char
- massCon1 = char.ChildAdded:connect(function(child) onMassChanged(child, char) end)
- massCon2 = char.ChildRemoved:connect(function(child) onMassChanged(child, char) end)
- end
- end
- end
- function onEquipped()
- Tool.Handle.CoilSound:Play()
- UpdateGhostState(false)
- end
- function onUnequipped()
- UpdateGhostState(true)
- end
- script.Parent.Equipped:connect(onEquipped)
- script.Parent.Unequipped:connect(onUnequipped)
- end,o6)
- end))
- o7.Name = "SpeedCoil"
- o7.Parent = mas
- o7.TextureId = "http://www.roblox.com/asset/?id=99170415"
- o7.GripForward = Vector3.new(-1.16108947e-15, -1.16108926e-15, -1)
- o7.GripPos = Vector3.new(-3.39994735e-08, 3.39994877e-08, -0.99999994)
- o7.GripRight = Vector3.new(-0.707106709, 0.707106829, 0)
- o7.GripUp = Vector3.new(-0.707106829, -0.707106709, -1.64202843e-15)
- o8.Parent = o7
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --Made by Stickmasterluke
- sp=script.Parent
- function waitfor(a,b)
- while a:FindFirstChild(b)==nil do
- a.ChildAdded:wait()
- end
- return a:FindFirstChild(b)
- end
- speedboostscript=waitfor(sp,"SpeedBoostScript")
- function Equipped()
- if sp.Parent:FindFirstChild("SpeedBoostScript")==nil then
- local s=speedboostscript:clone()
- local tooltag=Instance.new("ObjectValue")
- tooltag.Name="ToolTag"
- tooltag.Value=sp
- tooltag.Parent=s
- s.Parent=sp.Parent
- s.Disabled=false
- local sound=sp.Handle:FindFirstChild("CoilSound")
- if sound~=nil then
- sound:Play()
- end
- end
- end
- sp.Equipped:connect(Equipped)
- end,o8)
- end))
- o9.Name = "Handle"
- o9.Parent = o7
- o9.BrickColor = BrickColor.new("Bright red")
- o9.Position = Vector3.new(62.0034637, 0.650004983, 3.59976196)
- o9.Rotation = Vector3.new(0, 0, 90)
- o9.Locked = true
- o9.FormFactor = Enum.FormFactor.Custom
- o9.Size = Vector3.new(1.29999995, 1.29999995, 2.4000001)
- o9.CFrame = CFrame.new(62.0034637, 0.650004983, 3.59976196, 0, -1, 0, 1, 0, -0, 0, 0, 1)
- o9.BottomSurface = Enum.SurfaceType.Smooth
- o9.TopSurface = Enum.SurfaceType.Smooth
- o9.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o9.Position = Vector3.new(62.0034637, 0.650004983, 3.59976196)
- o10.Name = "CoilSound"
- o10.Parent = o9
- o10.SoundId = "http://www.roblox.com/asset/?id=99173388"
- o10.Volume = 1
- o11.Parent = o9
- o11.MeshId = "http://www.roblox.com/asset/?id=16606212"
- o11.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- o11.TextureId = "http://www.roblox.com/asset/?id=99170547"
- o11.MeshType = Enum.MeshType.FileMesh
- o13.Name = "SpeedBoostScript"
- o13.Parent = o7
- o13.Disabled = true
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --Made by Stickmasterluke
- sp=script.Parent
- speedboost=1 --100% speed bonus
- speedforsmoke=10 --smoke apears when character running >= 10 studs/second.
- function waitfor(a,b,c)
- local c=c or 5*60
- local d=tick()+c
- while a:FindFirstChild(b)==nil and tick()<=d do
- wait()
- end
- return a:FindFirstChild(b)
- end
- local tooltag=waitfor(script,"ToolTag",2)
- if tooltag~=nil then
- local tool=tooltag.Value
- local h=sp:FindFirstChild("Humanoid")
- if h~=nil then
- h.WalkSpeed=16+16*speedboost
- local t=sp:FindFirstChild("Torso")
- if t~=nil then
- smokepart=Instance.new("Part")
- smokepart.FormFactor="Custom"
- smokepart.Size=Vector3.new(0,0,0)
- smokepart.TopSurface="Smooth"
- smokepart.BottomSurface="Smooth"
- smokepart.CanCollide=false
- smokepart.Transparency=1
- local weld=Instance.new("Weld")
- weld.Name="SmokePartWeld"
- weld.Part0=t
- weld.Part1=smokepart
- weld.C0=CFrame.new(0,-3.5,0)*CFrame.Angles(math.pi/4,0,0)
- weld.Parent=smokepart
- smokepart.Parent=sp
- smoke=Instance.new("Smoke")
- smoke.Enabled=t.Velocity.magnitude>speedforsmoke
- smoke.RiseVelocity=2
- smoke.Opacity=.25
- smoke.Size=.5
- smoke.Parent=smokepart
- h.Running:connect(function(speed)
- if smoke and smoke~=nil then
- smoke.Enabled=speed>speedforsmoke
- end
- end)
- end
- end
- while tool~=nil and tool.Parent==sp and h~=nil do
- sp.ChildRemoved:wait()
- end
- local h=sp:FindFirstChild("Humanoid")
- if h~=nil then
- h.WalkSpeed=16
- end
- end
- if smokepart~=nil then
- smokepart:remove()
- end
- script:remove()
- end,o13)
- end))
- 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
- game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
- game:GetService("Lighting").Brightness = 2
- game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
- game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
- game:GetService("Lighting").GlobalShadows = true
- game:GetService("Lighting").OutdoorAmbient = Color3.new(0.501961, 0.501961, 0.501961)
- game:GetService("Lighting").Outlines = false
- game:GetService("Lighting").GeographicLatitude = 41.733299255371
- game:GetService("Lighting").TimeOfDay = "14:00:00"
- game:GetService("Lighting").FogColor = Color3.new(0.752941, 0.752941, 0.752941)
- game:GetService("Lighting").FogEnd = 100000
- game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment