Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function clerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- function weld(p0,p1,c0,c1,par)
- local w = Instance.new("Weld", par)
- w.Part0 = p0
- w.Part1 = p1
- w.C0 = c0 or CFrame.new()
- w.C1 = c1 or CFrame.new()
- return w
- end
- xmathrandom = math.random(-10,10)
- ymathrandom = math.random(2,10)
- zmathrandom = math.random(-10,10)
- player = game:service("Players").LocalPlayer
- char = player.Character
- local beat = true
- local beattime = 0.6
- suit = Instance.new("Model", char)
- suit.Name = "Gaster"
- local vDebounce = false
- Torso = char.Torso
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- local SHOT_SPEED = 100
- local SHOT_TIME = 1
- local NOZZLE_OFFSET = Vector3.new(0, 0, 0)
- mouse = player:GetMouse()
Advertisement
Add Comment
Please, Sign In to add comment