SHOW:
|
|
- or go back to the newest paste.
| 1 | -- [[Project VOODOO By Yourfirstnightmare]] -- | |
| 2 | function CreateWeld(Part0, Part1, C0, C1) -- Welding function | |
| 3 | if Part0 == nil or Part1 == nil then return end | |
| 4 | C0 = C0 or CFrame.new(0, 0, 0) | |
| 5 | C1 = C1 or CFrame.new(0, 0, 0) | |
| 6 | ||
| 7 | local weld = Instance.new("Weld", Part0)
| |
| 8 | weld.Part0 = Part0 | |
| 9 | weld.Part1 = Part1 | |
| 10 | weld.C0 = C0 | |
| 11 | weld.C1 = C1 | |
| 12 | return weld | |
| 13 | end | |
| 14 | function NoOutline(Part) | |
| 15 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 16 | end | |
| 17 | -----------------------------------------------------------PLAYER/TOOL | |
| 18 | plr = game.Players.LocalPlayer | |
| 19 | repeat | |
| 20 | wait() | |
| 21 | until plr~= nil | |
| 22 | -- 541909677 trip 294509931 Stab 179285891 break | |
| 23 | char = plr.Character | |
| 24 | locgui = plr.PlayerGui | |
| 25 | mouse = plr:GetMouse() | |
| 26 | modes = {"Break","Explode","Trip","Stab"}
| |
| 27 | toggle = 1 | |
| 28 | tmode = modes[toggle] | |
| 29 | trip = Instance.new("Sound",char)
| |
| 30 | trip.SoundId = "http://www.roblox.com/asset/?id=541909677" | |
| 31 | stab = Instance.new("Sound",char)
| |
| 32 | stab.SoundId = "http://www.roblox.com/asset/?id=294509931" | |
| 33 | brek = Instance.new("Sound",char)
| |
| 34 | brek.SoundId = "http://www.roblox.com/asset/?id=179285891" | |
| 35 | boom = Instance.new("Sound",char)
| |
| 36 | boom.SoundId = "http://www.roblox.com/asset/?id=144650218" | |
| 37 | tool = Instance.new("Tool",char)
| |
| 38 | tool.Name = "Voodoo" | |
| 39 | hnd = Instance.new("Part",tool)
| |
| 40 | hnd.Name = "Handle" | |
| 41 | hnd.Size = Vector3.new(1.1,1,1) | |
| 42 | hnd.BrickColor = BrickColor.new("Bright blue")
| |
| 43 | NoOutline(hnd) | |
| 44 | leftarm = Instance.new("Part",hnd)
| |
| 45 | leftarm.Size = Vector3.new(.5,1,1) | |
| 46 | leftarm.BrickColor = BrickColor.new("Bright yellow")
| |
| 47 | CreateWeld(hnd,leftarm,CFrame.new(.8,0,0)) -- larm weld | |
| 48 | rightarm = Instance.new("Part",hnd)
| |
| 49 | rightarm.Size = Vector3.new(.5,1,1) | |
| 50 | rightarm.BrickColor = BrickColor.new("Bright yellow")
| |
| 51 | CreateWeld(hnd,rightarm,CFrame.new(-.8,0,0)) -- rarm weld | |
| 52 | head = Instance.new("Part",hnd)
| |
| 53 | head.Size = Vector3.new(1,1,1) | |
| 54 | fce = Instance.new("Decal",head)
| |
| 55 | fce.Texture = "rbxassetid://144080495" | |
| 56 | spc = Instance.new("SpecialMesh",head)
| |
| 57 | head.BrickColor = BrickColor.new("Bright yellow")
| |
| 58 | CreateWeld(hnd,head,CFrame.new(0,.9,0)) -- hed weld | |
| 59 | leftleg = Instance.new("Part",hnd)
| |
| 60 | leftleg.Size = Vector3.new(.6,1,1) | |
| 61 | leftleg.BrickColor = BrickColor.new("Br. yellowish green")
| |
| 62 | CreateWeld(hnd,leftleg,CFrame.new(.25,-1,0)) -- lleg weld | |
| 63 | rightleg = Instance.new("Part",hnd)
| |
| 64 | rightleg.Size = Vector3.new(.6,1,1) | |
| 65 | rightleg.BrickColor = BrickColor.new("Br. yellowish green")
| |
| 66 | CreateWeld(hnd,rightleg,CFrame.new(-.25,-1,0)) -- rleg weld | |
| 67 | NoOutline(leftarm) | |
| 68 | NoOutline(leftleg) | |
| 69 | NoOutline(rightarm) | |
| 70 | NoOutline(rightleg) | |
| 71 | -----------------------------------------------------------PLAYER/TOOLS | |
| 72 | function findplayer(Plr) -- Finding Player | |
| 73 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 74 | if v.Name:lower():match(Plr:lower()) then | |
| 75 | return v | |
| 76 | end | |
| 77 | end | |
| 78 | end | |
| 79 | function wirecreate(par,from,to,timer) | |
| 80 | local wire = Instance.new("FloorWire",par)
| |
| 81 | wire.From = from | |
| 82 | wire.To = to | |
| 83 | game:GetService('Debris'):AddItem(wire,timer)
| |
| 84 | end | |
| 85 | function blood(create) | |
| 86 | for i=1,30 do | |
| 87 | local z = Instance.new("Part",create)
| |
| 88 | z.Size = Vector3.new(1,.5,1) | |
| 89 | z.Position = create.Position | |
| 90 | z.CanCollide = false | |
| 91 | z.Velocity = Vector3.new(math.random(1,15),math.random(1,5),math.random(1,15)) | |
| 92 | z.BrickColor = BrickColor.new("Really red")
| |
| 93 | wait() | |
| 94 | end | |
| 95 | end | |
| 96 | -----------------------------------------------------------GUIS | |
| 97 | gui = Instance.new("ScreenGui",locgui)
| |
| 98 | gui.Enabled = false | |
| 99 | frm = Instance.new("Frame",gui)
| |
| 100 | frm.Size = UDim2.new(0,150,0,50) | |
| 101 | frm.Position = UDim2.new(0,0,.7,0) | |
| 102 | frm.BackgroundTransparency = 1 | |
| 103 | text = Instance.new("TextLabel",frm)
| |
| 104 | text.BackgroundTransparency = .3 | |
| 105 | text.BorderSizePixel = 5 | |
| 106 | text.TextScaled = true | |
| 107 | text.Size = UDim2.new(1,0,1,0) | |
| 108 | text.Text = "Mode:" | |
| 109 | text2 = Instance.new("TextBox",frm)
| |
| 110 | text2.Size = UDim2.new(0,150,0,30) | |
| 111 | text2.Position = UDim2.new(0,0,-.7,0) | |
| 112 | text2.BackgroundTransparency = .3 | |
| 113 | text2.BorderSizePixel = 5 | |
| 114 | text2.Text = "Victim" | |
| 115 | tbutton = Instance.new("TextButton",frm)
| |
| 116 | tbutton.Size = UDim2.new(0,150,0,30) | |
| 117 | tbutton.Position = UDim2.new(0,0,1.2,0) | |
| 118 | tbutton.BackgroundTransparency = .3 | |
| 119 | tbutton.BorderSizePixel = 5 | |
| 120 | tbutton.Text = "Curse" | |
| 121 | tbutton.TextScaled = true | |
| 122 | tbutton.BackgroundColor3 = Color3.new(0,0,0) | |
| 123 | tbutton.TextColor3 = Color3.new(170,0,0) | |
| 124 | -----------------------------------------------------------GUIS | |
| 125 | -----------------------------------------------------------MAIN MAKE 1 CURSE AT THE VERY LEAST | |
| 126 | tool.Equipped:connect(function(mo) | |
| 127 | gui.Enabled = true | |
| 128 | mo.KeyDown:connect(function(ke) | |
| 129 | ke = ke:lower() | |
| 130 | if ke == "e" then | |
| 131 | toggle = toggle + 1 | |
| 132 | if toggle >#modes then | |
| 133 | toggle = 1 | |
| 134 | end | |
| 135 | text.Text = "Mode:" .. modes[toggle] | |
| 136 | tbutton.MouseButton1Down:connect(function() | |
| 137 | local who = findplayer(text2.Text) | |
| 138 | if who and who.Character and who.Character.Torso and who.Character.Humanoid and who.Character.Head then | |
| 139 | if modes[toggle] == "Break" then | |
| 140 | brek:Play() | |
| 141 | wirecreate(hnd,hnd,who.Character.Torso,2) | |
| 142 | who.Character.Humanoid.PlatformStand = true | |
| 143 | who.Character.Torso.CFrame = who.Character.Torso.CFrame * CFrame.Angles(math.random(1,90),math.random(1,90),math.random(1,90)) | |
| 144 | wait(2) | |
| 145 | who.Character.Head:Remove() | |
| 146 | elseif modes[toggle] == "Explode" then | |
| 147 | boom:Play() | |
| 148 | wirecreate(hnd,hnd,who.Character.Torso,2) | |
| 149 | wait(2) | |
| 150 | local z=Instance.new("Explosion",who.Character.Torso)
| |
| 151 | z.Position = who.Character.Torso.Position | |
| 152 | elseif modes[toggle] == "Trip" then | |
| 153 | trip:Play() | |
| 154 | wirecreate(hnd,hnd,who.Character.Torso,2) | |
| 155 | who.Character.Humanoid.Jump = true | |
| 156 | wait() | |
| 157 | who.Character.Humanoid.PlatformStand = true | |
| 158 | who.Character.Torso.CFrame = who.Character.Torso.CFrame * CFrame.Angles(90,12,41) | |
| 159 | wait(2) | |
| 160 | who.Character.Humanoid.PlatformStand = false | |
| 161 | elseif modes[toggle] == "Stab" then | |
| 162 | stab:Play() | |
| 163 | wirecreate(hnd,hnd,who.Character.Torso,2) | |
| 164 | blood(who.Character.Torso) | |
| 165 | who.Character.Humanoid.PlatformStand = true | |
| 166 | wait(1) | |
| 167 | who.Character.Head:BreakJoints() | |
| 168 | end | |
| 169 | end | |
| 170 | end) | |
| 171 | end | |
| 172 | end) | |
| 173 | end) | |
| 174 | tool.Unequipped:connect(function() | |
| 175 | gui.Enabled = false | |
| 176 | end) | |
| 177 | -----------------------------------------------------------MAIN |